Feature request: Multi-user support in Game Mode via an outer system Gamescope + nested per-user sessions
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 18/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux
- Área
- desktop, operating-systems
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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!
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 2.7k
- Forks
- 89
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/SteamOS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
ValveSoftware/SteamOS#3037 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ValveSoftware/SteamOS#2983 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamOS#2927 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamOS#2875 · 1 comentario ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
ValveSoftware/SteamOS#2829 ·
Todos los issues de ValveSoftware/SteamOS
Issues similares
-
[Bug] 供应商页面测试模型时,过长的上游错误提示无法滚动查看Abierto
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
安装正式版后版本号仍显示 0.3.5-devAbiertoarea: installer bug source: qq
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
qingjian-team/qingjian#1218 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ardia-browser/ardia#4778 ·
Los mantenedores suelen responder en 1 día
-
p2 ready-mac
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día