On a 1920x1080 signage panel the experience is rendered oversized with only its top-left portion visible. The stream itself is clean: the client decoder reports 1280x720 crop=0,0-1279,719 shown=1280x720 stride=1280 and every surface matches the panel.
Observed on chunky-turnip-23 (node-b961f1c8, venue mobile-kit, hydrabody v2.0.73-rc.10) while investigating multi-slot work on 2026-10-18.
The original suspicion was that the VDD never adopted the requested mode. It did. Sunshine's own log on the streaming slot, during the live session:
17:38:31.983 Debug: mode -- 1280x720x30
17:38:32.015 Info: Trying to apply display device settings. API is available: true
"device_prep": "EnsurePrimary"
17:38:32.017 initial topology: [[{9925808e-...}],[{9acddf6d-...}],[{72d4c5a4-...}]]
17:38:32.271 Info: Desktop resolution [1280x720]
Capture size : 1280x720
The display adopted 1280x720 in under 300 ms.
Warning about the measurement. [System.Windows.Forms.Screen]::AllScreens run through the hydracluster exec API reports a single WinDisc display at 1024x768. That is session 0's console pseudo-display, which the exec channel runs in. No stream ever captures it. Anyone measuring display geometry through exec will see 1024x768 on any body and conclude the VDD is stuck. Read Sunshine's own log instead.
C:\sunshine\config\apps.json on chunky, written by hydrabody:
"cmd": "...\\RomeinsMuseum.exe -ResX=1920 -ResY=1080 -windowed -ForceRes"
"cmd": "...\\Rupelmonde.exe -ResX=1920 -ResY=1080 -windowed -ForceRes"
"cmd": "...\\Mercator56.exe -ResX=1080 -ResY=1920 -windowed -ForceRes"
Every landscape experience is pinned to 1920x1080. The client asked for 720p, Sunshine moved the desktop to 1280x720 as instructed, and the app window stayed 1920x1080. Capture takes the top-left 1280x720 of it and the panel upscales that. Oversized, top-left only, exactly as reported.
tickSunshineApps derives those switches from the experience's orientation, never from the resolution the client requests. The orientation contract in hydrabody's CLAUDE.md names layer 3 (app window) as hydrabody's, but layer 3 only ever tracks portrait vs landscape, not size. So layers 2 and 3 agree on shape and disagree on scale.
Any head that requests 1920x1080 is unaffected. The WebRTC default is 720p, so heads on that path hit it every time.
dd_configuration_option = ensure_primary. The verify_only that extra slots carry is not involved here, though it is worth checking separately whether a non-primary slot can ever adopt a requested mode.config-slot1/sunshine.conf still writes audio_sink (the fault fixed in v2.0.75) and has no per-slot log_path, so slot 1 produces no log at all.
Located and confirmed in
pkg/provider/experiences.go:45,streamResolution(). Two things the code adds to the diagnosis.1. This is DRIFT, not an original design flaw, and the stale comment proves it
The function's own doc comment says:
That is no longer true.
grepfinds exactly ONE caller:handleStreamStarted(httpserver.go:95-114) stopped calling it and now writes no resolution at all:So layer 2 was moved onto the CLIENT'S request and layer 3 was left behind on the EXPERIENCE record. The two layers agreed only while they shared an input. Nothing updated layer 3 when layer 2 changed, and nothing failed loudly, because each layer is individually self-consistent. The
vddResreturn value is now dead for its original purpose: onlyueArgsis used.2. The obvious fix does NOT work: there is no variable expansion
The tempting one-liner is to template the app cmd:
It would pass those strings to Unreal verbatim. From
slot_files.go:274-279, already learned in this repo for the UUID case:The values ARE available, verified against the shipped binary
Strings pulled from
C:\Sunshine\sunshine.exeon chunky-turnip-23, provider 2025.924.154138:So the requested geometry reaches a child process's ENVIRONMENT, just never its command line. hydrabody already reads exactly one of these the right way:
internal/cli/stream_hook.go:48doesos.Getenv("SUNSHINE_CLIENT_UUID").Suggested fix shape
A launcher shim, reusing the pattern already proven for the UUID.
apps.jsongetshydrabody.exe launch-experience --app <name>instead of the raw exe; the shim inheritsSUNSHINE_CLIENT_WIDTH/HEIGHTfrom its environment and starts the real exe with matching-ResX/-ResY. Orientation keeps choosing which axis is long; it stops choosing the numbers.This keeps
apps.jsonstatic, so nothing has to be rewritten per session and there is no race with Sunshine parsing it.Two constraints for whoever implements it:
Why this matters more with slots
The app args are a global constant while each slot's desktop is set per client. Two heads of different geometry on one body cannot both be right today, so on a multi-slot body this stops being one panel's problem and scales with the slot count. boom-pickle-38 now runs two slots and cosmic-pretzel-98 three.
The per-experience
resolutionoverride is not a workaround for this: it is per EXPERIENCE, not per head, so one experience shown on a 1920x1080 panel and a 1200x1920 tablet can only carry one number.