summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2022-04-18 18:58:03 +0000
committer Eric Hameleers <alien@slackware.com>2022-04-18 18:58:03 +0000
commitb080b1867ac329860e14254e200591d177861286 (patch)
treeec6eab6265f76b1637539bb688e5c245d470ccce
parentf29f0d1c60a824ce9bfd826c51a5635bbf4d97a0 (diff)
downloadasb-b080b1867ac329860e14254e200591d177861286.tar.gz
asb-b080b1867ac329860e14254e200591d177861286.tar.xz
libreoffice: add Mesa DRI workaround for Intel cards to the profile script
-rwxr-xr-xlibreoffice/build/profile.d/libreoffice.csh3
-rwxr-xr-xlibreoffice/build/profile.d/libreoffice.sh3
2 files changed, 6 insertions, 0 deletions
diff --git a/libreoffice/build/profile.d/libreoffice.csh b/libreoffice/build/profile.d/libreoffice.csh
index 6d9480a5..f189d97f 100755
--- a/libreoffice/build/profile.d/libreoffice.csh
+++ b/libreoffice/build/profile.d/libreoffice.csh
@@ -7,3 +7,6 @@
#setenv SAL_USE_VCLPLUGIN kf5
#setenv SAL_USE_VCLPLUGIN qt5
+# To work around Mesa DRI issues with Intel GPUs, un-comment this:
+#setenv MESA_LOADER_DRIVER_OVERRIDE i965
+
diff --git a/libreoffice/build/profile.d/libreoffice.sh b/libreoffice/build/profile.d/libreoffice.sh
index 680f2069..a26b6e27 100755
--- a/libreoffice/build/profile.d/libreoffice.sh
+++ b/libreoffice/build/profile.d/libreoffice.sh
@@ -6,3 +6,6 @@
#export SAL_USE_VCLPLUGIN=gtk3_kde5
#export SAL_USE_VCLPLUGIN=kf5
#export SAL_USE_VCLPLUGIN=qt5
+
+# To work around Mesa DRI issues with Intel GPUs, un-comment this:
+#MESA_LOADER_DRIVER_OVERRIDE=i965