Module: Mesa
Branch: master
Commit: b0fb1c29d126575e1330666ca530899bfcb6b980
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0fb1c29d126575e1330666ca530899bfcb6b980

Author: Tamara Schmitz <[email protected]>
Date:   Thu Feb 25 21:30:18 2021 +0000

util: add mesa_glthread for Valheim in OpenGL mode.

Drastically reduces hitching when traversing the landscape.

Reviewed-by: Marek Olšák <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9296>

---

 src/util/00-mesa-defaults.conf | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/util/00-mesa-defaults.conf b/src/util/00-mesa-defaults.conf
index d53f9be4518..60818d839ce 100644
--- a/src/util/00-mesa-defaults.conf
+++ b/src/util/00-mesa-defaults.conf
@@ -393,6 +393,10 @@ TODO: document the other workarounds.
             <option name="mesa_glthread" value="true"/>
         </application>
 
+        <application name="Valheim" executable="valheim.x86_64">
+            <option name="mesa_glthread" value="true"/>
+        </application>
+
         <!-- around 18% performance increase in min and avg fps, max fps 
capped at 60fps. -->
         <application name="Medieval II: Total War" executable="Medieval2">
             <option name="mesa_glthread" value="true"/>

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to