From e38150f2fa150f80c8f106baf4ef61a7fe0cb1a0 Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Mon, 23 Dec 2024 03:00:36 +0100 Subject: [PATCH] drirc/nvk: force_vk_vendor=-1 for Artifact Classic Without this the game crashes during the loading screen. The game uses vkUpdateDescriptorSetWithTemplate and, in certain cases, passes VkDescriptorBufferInfo structures where the offset + range exceeds the size of the buffer. This triggers an assertion when vk_buffer_range() is called, causing the game to crash. When the nvidia vendor id is used the range is consistently set to 65536. Without it the range varies and is much smaller - never exceeding 1000. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12349 Cc: stable Reviewed-by: Faith Ekstrand Part-of: --- src/util/00-mesa-defaults.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf index 6bd778be7da..7b6e9bec501 100644 --- a/src/util/00-mesa-defaults.conf +++ b/src/util/00-mesa-defaults.conf @@ -1340,6 +1340,9 @@ TODO: document the other workarounds. + +