aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2019-10-08 10:30:03 +0200
committerSamuel Pitoiset <[email protected]>2019-10-09 08:38:38 +0200
commitad96c4987cb2b23a9314a0a01fea8153843de8ef (patch)
treec3b3dc4d96b91288a6528cdef41379113020ef93
parentcbd6f0a0c2d04b4621f8d9002f7f28e5521d18c1 (diff)
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 <[email protected]> Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
-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 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">