[repo] Docs: Lumen host plan #6

Closed
mnovak wants to merge 0 commits from docs/lumen-host-plan into main
Owner

Plan for Lumen, Arena Domi's own streaming host that replaces Sunshine (Mark, 2026-12-04: "move away from Sunshine"). Docs only, no code. Building starts after Mark has read it and answered D1-D6.

What is in docs/LUMEN-HOST-PLAN.md

  • Architecture: one user-level lumen-host.exe (idle listeners, streaming on launch); DXGI Desktop Duplication in FP16 (WGC only later: on Windows 10 19045 it cannot drop its border); a GPU colour pass (SDR BT.709 limited by default, HDR -> SDR tone mapping by the SDR white level, HDR10 P010 only after the HDR message is measured); NVENC zero copy, low-latency settings; WASAPI loopback + Opus; SendInput (scan codes, absolute mapping to the streamed monitor), ViGEmBus pads, touch-to-mouse designed as a client-side gesture recogniser in DomiStream plus a written spec for Arena Domi Remote; UIPI and secure-desktop limits stated; sessions from Arena's library; GameStream first on Sunshine's ports + 1000, Lumen's own transport later; Tessera-grant pairing with no PIN for Arena clients, the code box for Arena Domi Remote.
  • Migration stages A-E (beside, per client, switch on the same e2e + harness, default with Sunshine hidden, removal on Mark's word).
  • Split: DomiStream gets the host halves (pairing, HTTP, RTSP server, ANNOUNCE, ENet host, control host, packetizers, touch recogniser, key map), tested against the client half in memory; Arena gets the I/O.
  • Risks R1-R14 with when each is retired; milestones L0-L7, about 18 days (22-23 with margin); first phase L0 + L1 (about 5 days).
  • Test strategy: tests first, fuzz per parser, GPU tests opt-in, the input e2e with the Arena input probe (hermetic and live tiers), same-PC latency harness, colour pattern compare, the per-client switch-over suite.

docs/CLEAN_ROOM.md: an allowed-sources row for public OS and SDK docs (the lead's brief) and S-22 (the Microsoft Learn pages this plan cites).

Self-review

  • Clean room: no forbidden source was opened. Facts on Windows APIs come only from the S-22 pages; the GPL-provenance values (audio parity matrix, HDR message layout) are explicitly not used until measured. NVENC specifics are marked as to be read and logged in L0, not taken from memory as facts.
  • Public repo: no addresses, no paths on the owner's PC, no secrets. The private parts (binding addresses, file ownership, seams) go to Arena's ROADMAP-REMOTE pointer section in a separate PR.
  • Consistency with Mark's recorded decisions: no PIN for Arena clients, ViGEmBus for now, Sunshine as hidden fallback (J4), rules kept until uninstall, no admin beyond D1's question. Checked against Arena's PLAY-REMOTELY.md and ROADMAP-REMOTE.md.
  • Honest gaps: estimates are re-done after L1; client support for a non-standard port (R10) and the colour-range bits are unknown until measured.
Plan for Lumen, Arena Domi's own streaming host that replaces Sunshine (Mark, 2026-12-04: "move away from Sunshine"). Docs only, no code. Building starts after Mark has read it and answered D1-D6. **What is in `docs/LUMEN-HOST-PLAN.md`** - Architecture: one user-level `lumen-host.exe` (idle listeners, streaming on launch); DXGI Desktop Duplication in FP16 (WGC only later: on Windows 10 19045 it cannot drop its border); a GPU colour pass (SDR BT.709 limited by default, HDR -> SDR tone mapping by the SDR white level, HDR10 P010 only after the HDR message is measured); NVENC zero copy, low-latency settings; WASAPI loopback + Opus; SendInput (scan codes, absolute mapping to the streamed monitor), ViGEmBus pads, touch-to-mouse designed as a client-side gesture recogniser in DomiStream plus a written spec for Arena Domi Remote; UIPI and secure-desktop limits stated; sessions from Arena's library; GameStream first on Sunshine's ports + 1000, Lumen's own transport later; Tessera-grant pairing with no PIN for Arena clients, the code box for Arena Domi Remote. - Migration stages A-E (beside, per client, switch on the same e2e + harness, default with Sunshine hidden, removal on Mark's word). - Split: DomiStream gets the host halves (pairing, HTTP, RTSP server, ANNOUNCE, ENet host, control host, packetizers, touch recogniser, key map), tested against the client half in memory; Arena gets the I/O. - Risks R1-R14 with when each is retired; milestones L0-L7, about 18 days (22-23 with margin); first phase L0 + L1 (about 5 days). - Test strategy: tests first, fuzz per parser, GPU tests opt-in, the input e2e with the Arena input probe (hermetic and live tiers), same-PC latency harness, colour pattern compare, the per-client switch-over suite. `docs/CLEAN_ROOM.md`: an allowed-sources row for public OS and SDK docs (the lead's brief) and S-22 (the Microsoft Learn pages this plan cites). **Self-review** - Clean room: no forbidden source was opened. Facts on Windows APIs come only from the S-22 pages; the GPL-provenance values (audio parity matrix, HDR message layout) are explicitly not used until measured. NVENC specifics are marked as to be read and logged in L0, not taken from memory as facts. - Public repo: no addresses, no paths on the owner's PC, no secrets. The private parts (binding addresses, file ownership, seams) go to Arena's ROADMAP-REMOTE pointer section in a separate PR. - Consistency with Mark's recorded decisions: no PIN for Arena clients, ViGEmBus for now, Sunshine as hidden fallback (J4), rules kept until uninstall, no admin beyond D1's question. Checked against Arena's PLAY-REMOTELY.md and ROADMAP-REMOTE.md. - Honest gaps: estimates are re-done after L1; client support for a non-standard port (R10) and the colour-range bits are unknown until measured.
mnovak added 1 commit 2026-12-04 11:27:38 +01:00
mnovak closed this pull request 2026-12-04 11:28:02 +01:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mnovak/DomiStream#6