Mesa (staging/21.2): driconf: set vk_x11_strict_image_count for Wolfenstein: Youngblood

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 27 17:40:57 UTC 2021


Module: Mesa
Branch: staging/21.2
Commit: ec279b9d886098b3bacba7bfd93d748b693bb667
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec279b9d886098b3bacba7bfd93d748b693bb667

Author: Daniel Schürmann <daniel at schuermann.dev>
Date:   Mon Oct 11 16:14:21 2021 +0200

driconf: set vk_x11_strict_image_count for Wolfenstein: Youngblood

Otherwise, the game refuses to start on xwayland.

Cc: mesa-stable
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13289>
(cherry picked from commit b34a3459f893df10024d06c0055123a8fe199f17)

---

 .pick_status.json              | 2 +-
 src/util/00-mesa-defaults.conf | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.pick_status.json b/.pick_status.json
index 315609d6269..083d8522c47 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -4000,7 +4000,7 @@
         "description": "driconf: set vk_x11_strict_image_count for Wolfenstein: Youngblood",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null
     },
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 927d1be1306..02669993d11 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -669,7 +669,12 @@ TODO: document the other workarounds.
             <option name="vk_x11_ensure_min_image_count" value="true" />
         </application>
 
-        <!-- Metro:Exodus crashes at startup on xwayland without this workaround-->
+        <!-- Wolfenstein: Youngblood crashes at startup on xwayland without this workaround. -->
+        <application name="Wolfenstein: Youngblood(x64vk)" executable="Youngblood_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" />
         </application>



More information about the mesa-commit mailing list