wsi/x11: Add workaround for Detroit Become Human.

Game needs strict image count to not crash in non-vsync mode.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27038>
This commit is contained in:
Hans-Kristian Arntzen 2024-01-12 15:39:56 +01:00 committed by Marge Bot
parent 4ab6d7e753
commit efc0131d5b
1 changed files with 4 additions and 0 deletions

View File

@ -978,6 +978,10 @@ TODO: document the other workarounds.
<application name="Waterfox" executable="waterfox">
<option name="no_fp16" value="true" />
</application>
<!-- Game does not consider larger image count in non-vsynced modes. -->
<application name="Detroit Become Human" application_name_match="DetroitBecomeHuman">
<option name="vk_x11_strict_image_count" value="true" />
</application>
</device>
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
<device driver="vmwgfx">