driconf: enable glthread for Minecraft
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 Nov 2021 17:58:48 +0000 (12:58 -0500)
committerMarge Bot <emma+marge@anholt.net>
Fri, 26 Nov 2021 10:54:49 +0000 (10:54 +0000)
+30% performance

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

src/util/00-mesa-defaults.conf

index 04ba3fd..634e915 100644 (file)
@@ -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>