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-3d4
1 files changed, 2 insertions, 2 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
index 8a436ec1..780a4e81 100644
--- 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
@@ -1,4 +1,4 @@
-#!/bin/ash
+#!/bin/ash
# ^ sourced
# This is required for Mesa 20.0+ for now. Starting from this version,
@@ -6,7 +6,7 @@
# 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)
-drivers="$( grep -Po '(?<=Matched )\S*' /var/log/Xorg.0.log )"
+drivers="$( grep -Po '(?<=LoadModule: "|Matched )[^"]*' /var/log/Xorg.0.log )"
intel=false
other=false
for driver in $drivers; do