From ac826fea42431f2313955e70fd2a15db74e75964 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sun, 4 Jul 2021 21:20:59 +1000 Subject: [PATCH] util/radeonsi: add radeonsi workaround for Nuclear Throne MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Part-of: (cherry picked from commit 80a377ad81ce7b94b4d3a84fc103962e96d204d8) --- .pick_status.json | 2 +- src/util/00-mesa-defaults.conf | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index d4ea9595df0..30edd9efc07 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2146,7 +2146,7 @@ "description": "util/radeonsi: add radeonsi workaround for Nuclear Throne", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "f1cc13727c6875ee5aae7656652dda231267cccf" }, diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 30af1b6d219..a6967fc68db 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -704,6 +704,9 @@ TODO: document the other workarounds. + +