Mesa (main): driconf: enable glthread for Minecraft

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 26 11:34:03 UTC 2021


Module: Mesa
Branch: main
Commit: 5a970dbac344c7303c62375d688e0653014c372f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a970dbac344c7303c62375d688e0653014c372f

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Nov 24 12:58:48 2021 -0500

driconf: enable glthread for Minecraft

+30% performance

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13947>

---

 src/util/00-mesa-defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 04ba3fd554e..634e915d643 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -358,6 +358,10 @@ TODO: document the other workarounds.
         <!-- The GL thread allowlist is below, workarounds are above.
              Keep it that way. -->
 
+        <application name="Minecraft" executable="minecraft-launcher">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+
         <application name="Alien Isolation" executable="AlienIsolation">
             <option name="mesa_glthread" value="true"/>
         </application>



More information about the mesa-commit mailing list