Mesa (master): drirc: enable vk_x11_override_min_image_count for DOOM

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 9 07:52:51 UTC 2019


Module: Mesa
Branch: master
Commit: ad96c4987cb2b23a9314a0a01fea8153843de8ef
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad96c4987cb2b23a9314a0a01fea8153843de8ef

Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date:   Tue Oct  8 10:30:03 2019 +0200

drirc: enable vk_x11_override_min_image_count for DOOM

DOOM fails to handle more images than expected when the adaptative
sync mode is enabled.

Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/1902
Cc: 19.2 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

---

 src/util/00-mesa-defaults.conf | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index 0af33ed35aa..94a33480b12 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -478,6 +478,11 @@ TODO: document the other workarounds.
         <engine engine_name_match="UnrealEngine4.*" engine_versions="0:23">
             <option name="vk_x11_strict_image_count" value="true" />
         </engine>
+
+        <!-- DOOM crashes at startup without this workaround if the adaptative sync mode is enabled. -->
+        <application name="DOOM" executable="DOOMx64vk.exe">
+            <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">




More information about the mesa-commit mailing list