feat: Update launch script and playbook for enhanced Gamescope and NVIDIA support

This commit is contained in:
2025-11-16 14:31:55 +01:00
parent 0cf0261359
commit b3601e08b1
2 changed files with 9 additions and 2 deletions
@@ -55,7 +55,7 @@ export STEAM_GAMESCOPE_COLOR_MANAGED=1
export STEAM_GAMESCOPE_VIRTUAL_WHITE=1
# Temporary crutch until dummy plane interactions / etc are figured out
export GAMESCOPE_DISABLE_ASYNC_FLIPS=1
# export GAMESCOPE_DISABLE_ASYNC_FLIPS=1
# Use Vulkan for the Steam Overlay
export STEAM_OVERLAY_RENDERER=vk
@@ -67,6 +67,10 @@ export GTK_IM_MODULE=Steam
export XCURSOR_THEME=steam
export XCURSOR_SCALE=256
export GAMESCOPE_WSI=0
export STEAM_USE_PW_CAPTURE=0 # Deck prefers gamescope capture path
export STEAM_DISABLE_GAMESCOPE_LAUNCH=0 # allow gamescope handling
log() { echo "[$(date --iso-8601=seconds)] $*" | tee -a "$LOGFILE"; }
mkdir -p $XDG_RUNTIME_DIR
@@ -107,7 +111,7 @@ log "Updating steam: /opt/steamcmd/steamcmd.sh +quit"
}
log "Launching Steam"
STEAM_ARGS=("-steamdeck" "-steamos3" "-steampal" "-gamepadui" "-pipewire-dmabuf")
STEAM_ARGS=("-steamdeck" "-steamos3" "-gamepadui")
systemd-run --user --scope --quiet \
--unit=steam.scope \
--slice=steam.slice \