From e4354cfbec5b7015d3185a41fc6315d30e30e413 Mon Sep 17 00:00:00 2001 From: antonino Date: Mon, 21 Aug 2023 22:52:50 +0200 Subject: [PATCH] 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: 6139493ae38 ("vulkan/wsi: return VK_SUBOPTIMAL_KHR for sw/x11 on window resize") Reviewed-by: Mike Blumenkrantz Part-of: (cherry picked from commit 142e317024c17814549f23c5ae745ae8a495eb8c) --- .pick_status.json | 2 +- src/util/00-mesa-defaults.conf | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.pick_status.json b/.pick_status.json index 8390b84f7a9..c4dee0cc8d8 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -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 diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index c13ffaf8c07..e2c18d7d3fc 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -590,9 +590,11 @@ TODO: document the other workarounds.