drirc: enable vk_wsi_force_swapchain_to_current_extent for "The Talos Principle"

This game handles swapchain size incorrecly and can crash because of
it.

Enable this driconf as a workaround.

Fixes: 6139493ae3 ("vulkan/wsi: return VK_SUBOPTIMAL_KHR for sw/x11 on window resize")
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24818>
(cherry picked from commit 142e317024)
This commit is contained in:
antonino 2023-08-21 22:52:50 +02:00 committed by Dylan Baker
parent 52a47521c0
commit e4354cfbec
2 changed files with 3 additions and 1 deletions

View file

@ -6864,7 +6864,7 @@
"description": "drirc: enable `vk_wsi_force_swapchain_to_current_extent` for \"The Talos Principle\"",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "6139493ae384cfdc8452fabd41287ebd1d539f4c",
"notes": null

View file

@ -590,9 +590,11 @@ TODO: document the other workarounds.
<application name="Talos Principle" executable="Talos">
<option name="mesa_glthread_app_profile" value="1"/>
<option name="vk_wsi_force_swapchain_to_current_extent" value="true"/>
</application>
<application name="Talos Principle (Unrestricted)" executable="Talos_Unrestricted">
<option name="mesa_glthread_app_profile" value="1"/>
<option name="vk_wsi_force_swapchain_to_current_extent" value="true"/>
</application>
<!-- roughly 30% increase in fps -->