~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to debian/patches/0010_util_driconf:_pin_minImageCount_to_three_for_Path_of_Exile.patch

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
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"
5
 
 
6
 
"Path of Exile" will fail with an error "unsupported backbuffer image count"
7
 
when vkGetPhysicalDeviceSurfaceCapabilitiesKHR reports more than 3 as
8
 
minImageCount.
9
 
 
10
 
Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
11
 
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21547>
12
 
---
13
 
 src/util/00-mesa-defaults.conf | 10 ++++++++++
14
 
 1 file changed, 10 insertions(+)
15
 
 
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" />
23
 
         </application>
24
 
+
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" />
29
 
+        </application>
30
 
+        <application name="Path of Exile" executable="PathOfExileSteam.exe">
31
 
+            <option name="vk_x11_override_min_image_count" value="3" />
32
 
+        </application>
33
 
+
34
 
     </device>
35
 
     <!-- vmwgfx doesn't like full buffer swaps and can't sync to vertical retraces.-->
36
 
     <device driver="vmwgfx">
37
 
cgit v1.2.1
38