Feature request: Multi-user support in Game Mode via an outer system Gamescope + nested per-user sessions
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 18/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux
- Lĩnh vực
- desktop, operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 2.7k
- Fork
- 89
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ValveSoftware/SteamOS
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
ValveSoftware/SteamOS#3037 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ValveSoftware/SteamOS#2983 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2927 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ValveSoftware/SteamOS#2875 · 1 bình luận ·
-
steam-short-session-tracker: incorrect registry backup path resets settings during automatic repairĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
ValveSoftware/SteamOS#2829 ·
Tất cả issue của ValveSoftware/SteamOS
Issue tương tự
-
[Bug] 供应商页面测试模型时,过长的上游错误提示无法滚动查看Đang mở
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
安装正式版后版本号仍显示 0.3.5-devĐang mởarea: installer bug source: qq
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
qingjian-team/qingjian#1218 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ardia-browser/ardia#4778 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
p2 ready-mac
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày