Mesa (main): util/radeonsi: add radeonsi workaround for Nuclear Throne

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Jul 7 03:04:59 UTC 2021


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Sun Jul  4 21:20:59 2021 +1000

util/radeonsi: add radeonsi workaround for Nuclear Throne

Without radeonsi_sync_compile the game crashes at startup. The
game engine uses a custom global new operator which doesn't
play well with multithreading.

Fixes: f1cc13727c68 ("radeonsi: enable workarounds for YoYo engine based games")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5023

Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11701>

---

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

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 417fe43ebea..0be5894d83b 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -713,6 +713,9 @@ TODO: document the other workarounds.
         <application name="Memoranda" executable="runner" sha1="aa13dec6af63c88f308ebb487693896434a4db56">
             <option name="radeonsi_sync_compile" value="true" />
         </application>
+        <application name="Nuclear Throne" executable="runner" sha1="84814e8db125e889f5d9d4195a0ca72a871ea1fd">
+            <option name="radeonsi_sync_compile" value="true" />
+        </application>
         <application name="Undertale" executable="runner" sha1="dfa302e7ec78641d0696dbbc1a06fc29f34ff1ff">
             <option name="radeonsi_sync_compile" value="true" />
         </application>



More information about the mesa-commit mailing list