driconfig: add a workaround for Hades (Vulkan backend)

Vulkan backend of Hades can only handle at most 3 swapchain images.

It affects all drivers after below commit:
04d654a5d0

and then only affects specific driver backend which enables
extra_xwayland_image in wsi device options after below commit:
c1a62476ac

Cc: mesa-stable
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Renato Pereyra <renatopereyra@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26607>
This commit is contained in:
Yiwei Zhang
2023-12-09 06:02:10 +00:00
committed by Marge Bot
parent 7fce0a5598
commit 88c5affacf

View File

@@ -849,6 +849,13 @@ TODO: document the other workarounds.
<option name="vk_x11_strict_image_count" value="true" />
</application>
<!-- Workaround for Hades: Vulkan backend of the game is not starting
if the implementation returns more than 3 swapchain images. -->
<application name="Hades" executable="Hades.exe">
<option name="vk_x11_override_min_image_count" value="3" />
<option name="vk_x11_strict_image_count" value="true" />
</application>
<application name="Brink" executable="brink.exe">
<option name="glx_extension_override" value="-GLX_OML_swap_method" />
<option name="allow_higher_compat_version" value="true" />