1
From cb41ef0d3f537f8d1fb345cf5bdcc30070333c8b Mon Sep 17 00:00:00 2001
2
From: Gert Wollny <gert.wollny@collabora.com>
3
Date: Mon, 27 Feb 2023 09:56:41 +0100
4
Subject: util/driconf: pin minImageCount to three for "Path of Exile"
6
"Path of Exile" will fail with an error "unsupported backbuffer image count"
7
when vkGetPhysicalDeviceSurfaceCapabilitiesKHR reports more than 3 as
10
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
11
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21547>
13
src/util/00-mesa-defaults.conf | 10 ++++++++++
14
1 file changed, 10 insertions(+)
16
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
17
index 554115cedfc..843beae6609 100644
18
--- a/src/util/00-mesa-defaults.conf
19
+++ b/src/util/00-mesa-defaults.conf
20
@@ -891,6 +891,16 @@ TODO: document the other workarounds.
21
<!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/5437 -->
22
<option name="vk_dont_care_as_load" value="true" />
25
+ <!-- Path of Exile stops with "unsupported backbuffer count" when more than
26
+ 3 swapchain image are reported. -->
27
+ <application name="Path of Exile" executable="PathOfExile_x64Steam.exe">
28
+ <option name="vk_x11_override_min_image_count" value="3" />
30
+ <application name="Path of Exile" executable="PathOfExileSteam.exe">
31
+ <option name="vk_x11_override_min_image_count" value="3" />
35
<!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
36
<device driver="vmwgfx">