summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorBlisto <42647-Blisto@users.noreply.gitlab.freedesktop.org>2023-05-30 17:34:31 +0000
committerEric Engestrom <eric@engestrom.ch>2023-06-02 19:34:01 +0100
commita64cb5c1751b6f6c83e17e0a4042d41e9a1c75fd (patch)
tree760f8fa8c727c3d7935b6e8adeb67aa7e0452ecf /src/util
parent7b6fc2c9cd3a5b703470fd26f0908be79412c650 (diff)
downloadmesa-a64cb5c1751b6f6c83e17e0a4042d41e9a1c75fd.tar.gz
mesa-a64cb5c1751b6f6c83e17e0a4042d41e9a1c75fd.tar.bz2
mesa-a64cb5c1751b6f6c83e17e0a4042d41e9a1c75fd.zip
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 <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23326> (cherry picked from commit 34f9dd349177de8828ca9cec9b20a1d409663ec8)
Diffstat (limited to 'src/util')
-rw-r--r--src/util/00-mesa-defaults.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 8e77dd70de5..66baf948844 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -872,6 +872,11 @@ TODO: document the other workarounds.
<option name="vk_x11_strict_image_count" value="true" />
</application>
+ <!-- Wolfenstein II: The New Colossus crashes with vsync turned off on xwayland without this workaround. -->
+ <application name="Wolfenstein II: The New Colossus" executable="NewColossus_x64vk.exe">
+ <option name="vk_x11_strict_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" />