From 0848d6c89defb95966deeecd1c61352deccbeaec Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Sat, 25 Apr 2026 14:28:02 -0400 Subject: New CPU + Cleanup --- scripts/desktop/proton-env | 7 +++---- scripts/desktop/proton-env32 | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/desktop/proton-env b/scripts/desktop/proton-env index 3aa66e1..4c87487 100755 --- a/scripts/desktop/proton-env +++ b/scripts/desktop/proton-env @@ -6,6 +6,7 @@ export STEAM_COMPAT_LAUNCHER_SERVICE=proton export PROTON_USE_NTSYNC=1 export PROTON_ENABLE_WAYLAND=1 +export PROTON_WAYLAND_MONITOR=$MAIN_MONITOR export DXVK_HUD=compiler export DXVK_LOG_LEVEL=none @@ -26,11 +27,9 @@ xrandr --output $MAIN_MONITOR --primary scxctl start --sched lavd --mode gaming if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then - # If the old LD_PRELOAD isn't included steam overlay will be disabled. Lag bomb still an issue? - #env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@" - env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" mangohud "$@" + env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" mangohud "$@" else - env LD_PRELOAD="/usr/lib64/libgamemodeauto.so" "$@" + env LD_PRELOAD="$LD_PRELOAD:/usr/lib64/libgamemodeauto.so" "$@" fi scxctl stop diff --git a/scripts/desktop/proton-env32 b/scripts/desktop/proton-env32 index b6d2ebc..6b69976 100755 --- a/scripts/desktop/proton-env32 +++ b/scripts/desktop/proton-env32 @@ -4,6 +4,7 @@ export STEAM_COMPAT_LAUNCHER_SERVICE=proton export PROTON_USE_NTSYNC=1 export PROTON_ENABLE_WAYLAND=1 +export PROTON_WAYLAND_MONITOR=$MAIN_MONITOR export DXVK_HUD=compiler export DXVK_LOG_LEVEL=none @@ -20,10 +21,9 @@ xrandr --output $MAIN_MONITOR --primary scxctl start --sched lavd --mode gaming if [[ $MANGOHUD == 1 || -z $MANGOHUD ]]; then - #env LD_PRELOAD="$LD_PRELOAD:/usr/lib/libgamemodeauto.so" mangohud "$@" - env LD_PRELOAD="/usr/lib/libgamemodeauto.so:/usr/lib/libMangoHud.so:/usr/lib/libMangoHud_opengl.so" mangohud "$@" + env LD_PRELOAD="$LD_PRELOAD:/usr/lib/libgamemodeauto.so:/usr/lib/libMangoHud.so:/usr/lib/libMangoHud_opengl.so" mangohud "$@" else - env LD_PRELOAD="/usr/lib/libgamemodeauto.so" "$@" + env LD_PRELOAD="$LD_PRELOAD:/usr/lib/libgamemodeauto.so" "$@" fi scxctl stop -- cgit v1.2.3-101-g0448