Module: Mesa
Branch: staging/23.0
Commit: 3491da20432b7a694e10d00faebb76eba9c293f2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=3491da20432b7a694e10d00faebb76eba9c293f2

Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Feb 20 11:03:42 2023 -0500

driconf: add zink glthread disable for a game

ref #8333

fixes #8328

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21424>
(cherry picked from commit 50a65e2e2b4d30eead16a1d214a0b575763de04b)

---

 .pick_status.json              | 2 +-
 src/util/00-mesa-defaults.conf | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.pick_status.json b/.pick_status.json
index 3860ce82506..aad02c4283d 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -193,7 +193,7 @@
         "description": "driconf: add zink glthread disable for a game",
         "nominated": true,
         "nomination_type": 0,
-        "resolution": 0,
+        "resolution": 1,
         "main_sha": null,
         "because_sha": null
     },
diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index bdc2c01c8a9..b3797743405 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -960,6 +960,13 @@ TODO: document the other workarounds.
             <option name="radeonsi_zerovram" value="true" />
         </application>
     </device>
+    <device driver="zink">
+        <application name="Hyperdimension Neptunia Re;Birth1" 
executable="NeptuniaReBirth1.exe">
+            <!-- glthread uploads need too much vram and exceed 32bit VA limit 
-->
+            <!-- https://gitlab.freedesktop.org/mesa/mesa/-/issues/8333 -->
+            <option name="mesa_glthread" value="false"/>
+        </application>
+    </device>
     <device driver="iris">
         <application name="Middle Earth: Shadow of Mordor" 
executable="ShadowOfMordor">
             <option name="vs_position_always_invariant" value="true" />

Reply via email to