drirc: enable vk_x11_override_min_image_count for DOOM
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 8 Oct 2019 08:30:03 +0000 (10:30 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 9 Oct 2019 06:38:38 +0000 (08:38 +0200)
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@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/util/00-mesa-defaults.conf

index 0af33ed35aade13f856d33ae1880fb53f8855c18..94a33480b1231f65176273c3ac24d32b941685b2 100644 (file)
@@ -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">