dri: enable glthread + radeonsi workaround for CS:GO
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 8 Jan 2021 12:17:42 +0000 (13:17 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 11 Jan 2021 10:28:06 +0000 (10:28 +0000)
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4021
Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8383>

src/util/00-mesa-defaults.conf

index 16e5415..736cc1e 100644 (file)
@@ -479,6 +479,10 @@ TODO: document the other workarounds.
             <option name="mesa_glthread" value="true" />
         </application>
 
+        <application name="Counter-Strike Global Offensive" executable="csgo_linux64">
+            <option name="mesa_glthread" value="true" />
+        </application>
+
         <!-- Adaptive sync denylist follows below: -->
         <application name="gnome-shell" executable="gnome-shell">
             <option name="adaptive_sync" value="false" />
@@ -644,6 +648,7 @@ TODO: document the other workarounds.
         </application>
         <application name="Counter-Strike Global Offensive" executable="csgo_linux64">
             <option name="radeonsi_zerovram" value="true" />
+            <option name="radeonsi_clamp_div_by_zero" value="true" />
         </application>
         <application name="Rocket League" executable="RocketLeague">
             <option name="radeonsi_zerovram" value="true" />