driconf: set vk_x11_strict_image_count for Metro: Exodus

Otherwise, the game crashes on startup under xwayland.

Closes: #4650
Cc: mesa-stable
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10750>
(cherry picked from commit c62d58c80f)
This commit is contained in:
Daniel Schürmann 2021-05-04 15:30:50 +02:00 committed by Eric Engestrom
parent 64a2015902
commit 339d733926
2 changed files with 6 additions and 1 deletions

View file

@ -220,7 +220,7 @@
"description": "driconf: set vk_x11_strict_image_count for Metro: Exodus",
"nominated": true,
"nomination_type": 0,
"resolution": 0,
"resolution": 1,
"master_sha": null,
"because_sha": null
},

View file

@ -645,6 +645,11 @@ TODO: document the other workarounds.
<application name="DOOMEternal" executable="DOOMEternalx64vk.exe">
<option name="vk_x11_ensure_min_image_count" value="true" />
</application>
<!-- Metro:Exodus crashes at startup on xwayland without this workaround-->
<application name="Metro: Exodus" application_name_match="metroexodus">
<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">