From bc4a041b909bd6e92e11136b0f60b6436a7799b2 Mon Sep 17 00:00:00 2001 From: the-sane <3657071+the-sane@users.noreply.github.com> Date: Sun, 27 Jul 2025 14:06:41 -0400 Subject: [PATCH] add esync/fsync env vars --- lib/sc-launch.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/sc-launch.sh b/lib/sc-launch.sh index 13e435a..032f8bf 100755 --- a/lib/sc-launch.sh +++ b/lib/sc-launch.sh @@ -17,7 +17,7 @@ # If you do not wish to use the above .desktop files, simply run this script # from your terminal. # -# version: 1.7 +# version: 1.8 ################################################################################ ################################################################ @@ -29,7 +29,6 @@ launch_log="$WINEPREFIX/sc-launch.log" export WINEDLLOVERRIDES=winemenubuilder.exe=d # Prevent updates from overwriting our .desktop entries export WINEDEBUG=-all # Cut down on console debug messages - # Nvidia cache options export __GL_SHADER_DISK_CACHE=1 export __GL_SHADER_DISK_CACHE_SIZE=10737418240 @@ -38,6 +37,9 @@ export __GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 # Mesa (AMD/Intel) shader cache options export MESA_SHADER_CACHE_DIR="$WINEPREFIX" export MESA_SHADER_CACHE_MAX_SIZE="10G" +# Performance options +export WINEESYNC=1 +export WINEFSYNC=1 # Optional HUDs #export DXVK_HUD=fps,compiler #export MANGOHUD=1