summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2021-07-09 16:55:21 +0200
committerJonathan Bauer2021-07-09 16:55:21 +0200
commit5692ff836b15fce40d9328e651f2cb5328b9b2ee (patch)
tree2528d990a360f6942691a0d52d02c24b654a156a
parentbwlp: remove busybox from target (diff)
downloadmltk-5692ff836b15fce40d9328e651f2cb5328b9b2ee.tar.gz
mltk-5692ff836b15fce40d9328e651f2cb5328b9b2ee.tar.xz
mltk-5692ff836b15fce40d9328e651f2cb5328b9b2ee.zip
[vmware-common] always activate 3D in vmware
that also means we don't need a module in stage4 target
-rw-r--r--core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc6
l---------core/targets/stage4/gfx-driver1
2 files changed, 4 insertions, 3 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
index 41f5840e..698382f5 100644
--- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
+++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc
@@ -233,8 +233,10 @@ setup_vnc() {
# Serial, parallel: Empty, nothing is being currently set. TODO later.
setup_graphics() {
- # Graphics, GPU: 3D will be enabled (even if vmware doesn't support the chip) if we whitelisted it.
- if isset SLX_VMWARE_3D; then
+ # Graphics, GPU: 3D used to be enabled (even if vmware doesn't support the chip) if we whitelisted it.
+ # Now it does cause any troubles, so we always activate it. Keeping the code because who knows
+ # if we might need it again one day :)
+ if true || isset SLX_VMWARE_3D; then
writelog "FORCE3D set - overriding 3D in vmx file."
echo 'mks.gl.allowBlacklistedDrivers = "TRUE"' >> "${TMPCONFIG}"
# # We override... play safe and cap the hwVersion to 10, since some i915 chips goofed up with 12
diff --git a/core/targets/stage4/gfx-driver b/core/targets/stage4/gfx-driver
deleted file mode 120000
index 0047710f..00000000
--- a/core/targets/stage4/gfx-driver
+++ /dev/null
@@ -1 +0,0 @@
-../../modules/gfx-driver \ No newline at end of file