radeonsi: enable workarounds for YoYo engine based games

Without the radeonsi_sync_compile option the games crashes at
startup.
The engine seems to be using a custom global new operator and
it doesn't plays well with multithreading it seems.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1310
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1271
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1272
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1288
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2611
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4181>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4181>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2020-03-13 14:24:51 +01:00
parent 8f48e7b1e9
commit f1cc13727c

View file

@ -567,6 +567,23 @@ TODO: document the other workarounds.
<!-- Helps offscreen tests -->
<option name="mesa_glthread" value="true"/>
</application>
<!-- YoYo game engine workarounds -->
<application name="Monolith demo5" executable="runner" sha1="0c40d509a74e357f0280cb1bd882e9cd94b91bdf">
<option name="radeonsi_sync_compile" value="true" />
<option name="radeonsi_zerovram" value="true" />
</application>
<application name="Memoranda" executable="runner" sha1="aa13dec6af63c88f308ebb487693896434a4db56">
<option name="radeonsi_sync_compile" value="true" />
</application>
<application name="Undertale" executable="runner" sha1="dfa302e7ec78641d0696dbbc1a06fc29f34ff1ff">
<option name="radeonsi_sync_compile" value="true" />
</application>
<application name="Turmoil" executable="runner" sha1="cbbf757aaab289859f8dae191a7d63afc30643d9">
<option name="radeonsi_sync_compile" value="true" />
</application>
<application name="Peace, Death!" executable="runner" sha1="5b909f3d21799773370adf084f649848f098234e">
<option name="radeonsi_sync_compile" value="true" />
</application>
</device>
<device driver="virtio_gpu">
<!-- Some Valve games do a final blit to a BRGA_sRGB surface. On a GLES