SteamOS game mode: launch lane docs + name the gamescope WSI cause once #561
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!561
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-561"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@Danneman92 on GitHub · 2026-12-05 07:20 UTC · original
Danneman92:steam-os-game-mode→main· +121 −0 · 3 files · 3 commits · merged 2026-12-05 17:25 UTCWhat
Running the title from a Steam library shortcut in SteamOS game mode fails with a black window while audio plays:
CreateSwapChainForHwnd ... hr -2147024809/no swap chain error=Invalid parameteron every attempt. Root-caused by diffing a working shell launch against Steam's: Steam injectsENABLE_GAMESCOPE_WSI=1+GAMESCOPE_WAYLAND_DISPLAY=gamescope-0(forcing the gamescope Wayland WSI surface), the twoENABLE_VK_LAYER_VALVE_steam_*layers, andLD_PRELOAD=gameoverlayrenderer.so. With those neutralised the swap chain builds on the first attempt over plain XCB (:1), and the title runs in-game (0 failures vs ~1,670; steady frames, 8.6M draws).Commits
docs/STEAMOS.md(the:0/:1Xwayland split, validVICTORY_OUTPUTmodes for the fixed 1280x800 game-mode session, the env to neutralise incl.VK_LAYER_FROG_gamescope_wsi, a worked wrapper, and the kernel GTT requirement with the SteamOS boot-config location) + a short README section.Measured on a ROG Ally X (Z1 Extreme, 24 GB, SteamOS, 1280x720 / series-s, kernel
amdgpu.gttsize=16384 ttm.pages_limit=4194304).Testing
The docs are measured behaviour from that machine.
Commit 2 (
cargo check -p victory-gpu --target x86_64-pc-windows-msvc, rustc 1.98.1, the repo's pinned toolchain) compiles clean on thex86_64-pc-windows-msvctarget - the only diagnostic emitted is a pre-existingroom_lately is never usedwarning inresource.rs, unrelated to this change. It is a self-contained addition to one error arm: no imports, no behaviour change, silent whenever the gamescope WSI path is off. Being its own commit, it can be dropped without touching the docs commit.