summaryrefslogtreecommitdiffstats
path: root/core/modules/xorg
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-04 12:02:03 +0200
committerYour Name2020-08-04 12:02:03 +0200
commitd73a681f5c48c9d21f09b496a215443bc2538c5d (patch)
treef5ab3bc9dd5597cc629d2036bb47751b5432959e /core/modules/xorg
parent[rfs-stage31] Add realtek.ko, nvidiafb.ko (diff)
downloadmltk-d73a681f5c48c9d21f09b496a215443bc2538c5d.tar.gz
mltk-d73a681f5c48c9d21f09b496a215443bc2538c5d.tar.xz
mltk-d73a681f5c48c9d21f09b496a215443bc2538c5d.zip
[xorg] Force using old i965 OpenGL driver on intel
The newer Iris driver causes corruption and glitches with 3D acceleration on VMware 15.5.6 -- maybe retry the newer driver some time in the future.
Diffstat (limited to 'core/modules/xorg')
-rw-r--r--core/modules/xorg/data/etc/X11/Xsession.d/10-fix-vmware-3d10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/modules/xorg/data/etc/X11/Xsession.d/10-fix-vmware-3d b/core/modules/xorg/data/etc/X11/Xsession.d/10-fix-vmware-3d
new file mode 100644
index 00000000..05382879
--- /dev/null
+++ b/core/modules/xorg/data/etc/X11/Xsession.d/10-fix-vmware-3d
@@ -0,0 +1,10 @@
+#!/bin/ash
+# ^ sourced
+
+# This is required for Mesa 20.0+ for now. Starting from this version,
+# the new "Iris" OpenGL driver has been made default for intel Gen8
+# and newer, which unfortunately completely breaks 3D acceleration with
+# VMware 15.5.6 (as of 2020-08-04 with Mesa 20.0 + Ubuntu 20.04 as base)
+
+export MESA_LOADER_DRIVER_OVERRIDE=i965
+