Module: Mesa Branch: staging/19.2 Commit: 03df69d6a1264d968f3afa2e64552e473bf19e6f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03df69d6a1264d968f3afa2e64552e473bf19e6f
Author: Samuel Pitoiset <samuel.pitoi...@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-sta...@lists.freedesktop.org> Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com> Reviewed-by: Bas Nieuwenhuizen <b...@basnieuwenhuizen.nl> (cherry picked from commit ad96c4987cb2b23a9314a0a01fea8153843de8ef) --- 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"> _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit