Feature request: Multi-user support in Game Mode via an outer system Gamescope + nested per-user sessions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 18/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- linux
- Ambito
- desktop, operating-systems
Direzione di ricerca
The issue names gamescope-session, Gamescope, Wayland, and Steam sessions, but does not point to specific source files or tests. Start by reading the Game Mode session setup and checking how Gamescope supports nested Wayland sessions. A contribution would need a defined, accepted scope and a way to verify multiple isolated users can launch sessions through a shared compositor.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
With SteamOS expanding beyond handhelds into living room / HTPC setups (like the new Steam Machine), the single-user deck auto-login model in Game Mode feels pretty limiting compared to consoles like the Switch or Xbox.
Right now, switching accounts means logging out of the Steam client under the same Linux UID, which doesn't isolate Desktop Mode files, non-Steam saves, or local configs. And if two people want to play on the same TV with their own accounts, you basically have to hack together desktop multi-seat or manual containers.
Since Gamescope already works both as a DRM/KMS compositor and as a nested Wayland client, I was wondering if it's feasible to decouple the outer shell from the user sessions:
- Run an outer, unprivileged system-level Gamescope that owns the display, global overlays (Quick Access, volume, etc.), and a simple "console lobby" screen.
- Expose its Wayland socket to authorized local users (via ACLs or a dedicated group) for zero-copy DMA-BUF sharing.
- Keep each person as a normal Linux user with their own
$HOME, PipeWire instance, and Steamuserdata. When someone picks a game from the lobby (Switch-style "Who's playing?"), spawn the inner Steam/game session under that UID and pointWAYLAND_DISPLAYto the outer Gamescope socket.
Long term, having the display compositor decoupled from the user session could also make it way easier to route separate controllers to separate user sessions, or even support Xbox-style multi-account local co-op down the road (though I know shared /games permissions, shader caches, and Steamworks single-user assumptions would still be tricky to sort out).
Is anything like a system-level compositor / true multi-user Game Mode on the roadmap for living room SteamOS?
Detailed architecture notes & diagram (formatted with AI)
Summary
Currently, SteamOS's Game Mode (gamescope-session) is tightly coupled to a single Linux user (deck) with auto-login. While this works well for personal handhelds like the Steam Deck, it creates friction in shared living room setups (e.g., Steam Machine / HTPCs) compared to traditional consoles like the Nintendo Switch or Xbox.
This RFC proposes decoupling the outer system compositor from per-user game/Steam sessions using nested Gamescope over a shared Wayland socket, enabling true OS-level multi-user isolation without sacrificing the seamless console UX.
Current Limitations
- No OS-level user isolation in Game Mode: Switching accounts requires logging out and back into the Steam client under the same Linux UID, which makes Desktop Mode privacy, per-user non-Steam apps, and separate local configs awkward.
- High friction for living room sharing: Unlike the Nintendo Switch ("Select a user" upon launching a game) or Xbox (on-demand account sign-in tied to controllers), SteamOS still feels like a single-user PC wrapped in a kiosk shell.
- Local multi-account co-op is difficult: Running two separate Steam accounts on a single living room TV currently requires hacky desktop multi-seat setups or manual nested containers.
Proposed Architecture
Since Gamescope already supports both DRM/KMS direct output and nested Wayland client mode, SteamOS could split the session into two decoupled layers:
[ Physical Display (DRM/KMS) ]
▲
│ (Outer System Gamescope: Global UI, Quick Access, Audio/Power)
│
[ Shared Wayland Socket ] <-- Exposed via ACL / dedicated group (zero-copy DMA-BUF)
▲
│ (Inner Per-User Sessions: Isolated UID, $HOME, PipeWire, Steam/Game)
┌─────────┴─────────┐
[ User A ] [ User B ]
- System-Level Outer Gamescope (The Console Shell):
- Runs as a dedicated, unprivileged system compositor owning the display (DRM/KMS), global overlays (volume, power, Quick Access Menu), and the shared "Console Lobby."
- Exposes its Wayland socket with controlled permissions (e.g., ACLs or a
gamescope-usersgroup) so authorized local Linux users can attach surfaces with zero-copy DMA-BUF sharing.
- Per-User Isolated Sessions (Switch-Style Launch Flow):
- Each family member has a standard Linux user account (isolated
$HOME, saves, Steamuserdata, and PipeWire audio). - Booting the console lands directly in the outer lobby without a traditional desktop login screen. When launching a game, the shell prompts "Who is playing?" and spawns the inner Steam/game process (or nested Gamescope) under the selected Linux UID, pointing
WAYLAND_DISPLAYto the outer compositor's socket.
- Future Extensibility (Xbox-Style Multi-Account Co-op):
- With the display layer decoupled from the user session, this lays the groundwork for routing separate controllers (
udev/input focus) to separate user sessions, or eventually pairing a shared game process with per-user Steamworks IPC proxies for simultaneous multi-account local co-op.
Key Benefits
- True Console UX: Instant boot to lobby, fast user switching without tearing down the display server or restarting the compositor.
- Clean Linux Security & Privacy: Each user's Desktop Mode files, browser data, and non-Steam saves remain strictly isolated by standard UNIX permissions.
- Leverages Existing Tech: Builds directly on Gamescope's native nesting and Wayland's DMA-BUF architecture rather than reinventing the display stack.
Known Challenges to Solve
- Shared Game Library & Shader Cache: Managing read/write permissions for a shared
/gameslibrary and pre-compiled shader caches across multiple Linux UIDs (e.g., via a shared group or read-only base + per-user overlay). - Input Routing: Ensuring controllers are cleanly routed to the active nested session without focus conflicts.
- Steamworks Compatibility: Simultaneous multi-account play within a single game instance would still require future Steamworks SDK support or a proxy layer.
Would love to hear thoughts from the SteamOS / Gamescope maintainers on whether a decoupled system-compositor approach is something on the radar for living room SteamOS devices!
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 2.7k
- Fork
- 89
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ValveSoftware/SteamOS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ValveSoftware/SteamOS#3037 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ValveSoftware/SteamOS#2983 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ValveSoftware/SteamOS#2927 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ValveSoftware/SteamOS#2875 · 1 commento ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
ValveSoftware/SteamOS#2829 ·
Tutte le issue di ValveSoftware/SteamOS
Issue simili
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
安装正式版后版本号仍显示 0.3.5-devApertaarea: installer bug source: qq
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
qingjian-team/qingjian#1218 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ardia-browser/ardia#4778 ·
I maintainer di solito rispondono entro 1 giorno
-
p2 ready-mac
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno