Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit a64cb5c

Browse files
Blisto1ace
authored andcommitted
driconf: set vk_x11_strict_image_count for Wolfenstein II
Prevents crash with vsync turned off on xwayland. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9070 Cc: mesa-stable Reviewed-by: Samuel Pitoiset <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23326> (cherry picked from commit 34f9dd3)
1 parent 7b6fc2c commit a64cb5c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.pick_status.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
"description": "driconf: set vk_x11_strict_image_count for Wolfenstein II",
239239
"nominated": true,
240240
"nomination_type": 0,
241-
"resolution": 0,
241+
"resolution": 1,
242242
"main_sha": null,
243243
"because_sha": null
244244
},

src/util/00-mesa-defaults.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,11 @@ TODO: document the other workarounds.
872872
<option name="vk_x11_strict_image_count" value="true" />
873873
</application>
874874

875+
<!-- Wolfenstein II: The New Colossus crashes with vsync turned off on xwayland without this workaround. -->
876+
<application name="Wolfenstein II: The New Colossus" executable="NewColossus_x64vk.exe">
877+
<option name="vk_x11_strict_image_count" value="true" />
878+
</application>
879+
875880
<!-- Metro:Exodus crashes at startup on xwayland without this workaround. -->
876881
<application name="Metro: Exodus" application_name_match="metroexodus">
877882
<option name="vk_x11_strict_image_count" value="true" />

0 commit comments

Comments
 (0)