feat: Update launch script and playbook for enhanced Gamescope and NVIDIA support
This commit is contained in:
@@ -55,7 +55,7 @@ export STEAM_GAMESCOPE_COLOR_MANAGED=1
|
|||||||
export STEAM_GAMESCOPE_VIRTUAL_WHITE=1
|
export STEAM_GAMESCOPE_VIRTUAL_WHITE=1
|
||||||
|
|
||||||
# Temporary crutch until dummy plane interactions / etc are figured out
|
# 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
|
# Use Vulkan for the Steam Overlay
|
||||||
export STEAM_OVERLAY_RENDERER=vk
|
export STEAM_OVERLAY_RENDERER=vk
|
||||||
@@ -67,6 +67,10 @@ export GTK_IM_MODULE=Steam
|
|||||||
export XCURSOR_THEME=steam
|
export XCURSOR_THEME=steam
|
||||||
export XCURSOR_SCALE=256
|
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"; }
|
log() { echo "[$(date --iso-8601=seconds)] $*" | tee -a "$LOGFILE"; }
|
||||||
|
|
||||||
mkdir -p $XDG_RUNTIME_DIR
|
mkdir -p $XDG_RUNTIME_DIR
|
||||||
@@ -107,7 +111,7 @@ log "Updating steam: /opt/steamcmd/steamcmd.sh +quit"
|
|||||||
}
|
}
|
||||||
|
|
||||||
log "Launching Steam"
|
log "Launching Steam"
|
||||||
STEAM_ARGS=("-steamdeck" "-steamos3" "-steampal" "-gamepadui" "-pipewire-dmabuf")
|
STEAM_ARGS=("-steamdeck" "-steamos3" "-gamepadui")
|
||||||
systemd-run --user --scope --quiet \
|
systemd-run --user --scope --quiet \
|
||||||
--unit=steam.scope \
|
--unit=steam.scope \
|
||||||
--slice=steam.slice \
|
--slice=steam.slice \
|
||||||
|
|||||||
@@ -31,6 +31,7 @@
|
|||||||
- rcu_nocbs=1-7,9-15
|
- rcu_nocbs=1-7,9-15
|
||||||
- drm.edid_firmware=DP-1:edid/aoc28e850.bin
|
- drm.edid_firmware=DP-1:edid/aoc28e850.bin
|
||||||
- video=DP-1:e
|
- video=DP-1:e
|
||||||
|
- acpi_enforce_resources=lax
|
||||||
nvidia_modules:
|
nvidia_modules:
|
||||||
- nvidia
|
- nvidia
|
||||||
- nvidia_modeset
|
- nvidia_modeset
|
||||||
@@ -209,6 +210,8 @@
|
|||||||
- vulkan-tools
|
- vulkan-tools
|
||||||
- jq
|
- jq
|
||||||
- xorg-x11-drv-nvidia
|
- xorg-x11-drv-nvidia
|
||||||
|
- xorg-x11-drv-nvidia-cuda
|
||||||
|
- xorg-x11-drv-nvidia-libs
|
||||||
- vulkan
|
- vulkan
|
||||||
- vulkan-loader
|
- vulkan-loader
|
||||||
- nvidia-settings
|
- nvidia-settings
|
||||||
|
|||||||
Reference in New Issue
Block a user