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> (cherry picked from commit88c5affacf
)
This commit is contained in:

committed by
Eric Engestrom

parent
da30685af9
commit
109f64de6c
@@ -274,7 +274,7 @@
|
||||
"description": "driconfig: add a workaround for Hades (Vulkan backend)",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
@@ -837,6 +837,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" />
|
||||
|
Reference in New Issue
Block a user