util: add mesa_glthread for Valheim in OpenGL mode.

Drastically reduces hitching when traversing the landscape.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9296>
This commit is contained in:
Tamara Schmitz 2021-02-25 21:30:18 +00:00 committed by Tamara Schmitz
parent cfd835b45a
commit b0fb1c29d1

View file

@ -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"/>