summaryrefslogtreecommitdiffstats
path: root/core/modules/xorg
diff options
context:
space:
mode:
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
+