summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>2021-01-08 13:17:42 +0100
committerMarge Bot <eric+marge@anholt.net>2021-01-11 10:28:06 +0000
commit6f2017205e62402b7b2e340620e39cb71730c565 (patch)
tree84d64f602a595282cc6d85f37f7278b838439266
parentc4427c2b53852785d819a16b7823a3294a6eedfe (diff)
dri: enable glthread + radeonsi workaround for CS:GO
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>
-rw-r--r--src/util/00-mesa-defaults.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 16e54150c6c..736cc1e7335 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -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" />