HydraIssues

boom-pickle-38: configure multiple streaming slots for rupelmonde
open improvement Project: hydrabody Parent: #504 Reporter: 18 Oct 2026 16:01

Description

Goal

Make boom-pickle-38 (node-74f9fbf2, 10.110.0.51, district bxl1, venue rupelmonde) serve more than one streaming slot, the way cosmic-pretzel-98 already does, so it reports more than one entry in SlotPorts and free_slots > 1 on GET /api/v1/bodies/eligible?district=bxl1.

The cluster side is already live (hydracluster v2.0.130, 64385d5). This is entirely a body-side configuration task.

Starting state, measured 2026-10-18

Both bodies run hydrabody v2.0.76 and Sunshine 2025.924.154138, so the release channel is not a factor.

cosmic-pretzel-98 boom-pickle-38
slots.yaml present, slots: 3 absent
sunshine.exe 3, on 47989 / 48089 / 48189 1, on 47989
free_slots 3 1
VB-Audio cables base + A, B, C, D base only
VDD root devices 1, <count>3</count> 3, <count>1</count>
MTT monitors OK 3 3

boom-pickle has never attempted slots: its hydrabody.log contains zero [slots] lines, which is what an absent slots.yaml looks like.

Blockers found

  1. Virtual displays. Three duplicate VDD root devices made EnsureVirtualDisplayCount refuse, although the body already has three monitors. Filed and fixed as #827.

  2. Audio sinks. PlanSlots caps the slot count at the number of distinct render devices. boom-pickle has two usable (Luidsprekers (Realtek(R) Audio) and CABLE Input (VB-Audio Virtual Cable)), and the cable is already hydravoice's microphone path (audio_device in .hydravoice\config.yaml). Matching cosmic's three slots needs VB-Audio cables A/B/C/D installed, which is a driver install on a production venue box and usually wants a reboot.

    This gates the planned count only. RenderSlotConfig deliberately does not write audio_sink into an extra slot's conf, because on this Sunshine audio_sink sets the system default rather than selecting what an instance captures. Game audio is shared across slots either way until per-process WASAPI loopback lands (#550/#553).

Context

rupelmonde has exactly one head today, peppy-dumpling-32. The second and third slots are capacity for heads that do not exist yet.

Documentation

Nothing described how a body is configured for multiple slots. Added as Multiple streaming slots in hydrabody/docs/runbooks/runbook.md, with a pointer from CLAUDE.md: the slots.yaml format, the port stride, the per-slot config dirs, the audio note, the virtual display rules, the step-by-step procedure, and a table of every [slots] refusal and its cause.

Session Context

Venue
rupelmonde

Comments (1)

api 18 Oct 2026 16:12

DONE, verified end to end 2026-10-18.

boom-pickle-38 self-updated to hydrabody v2.0.77 at 16:09 UTC and started two slots on the restart. Its own log:

18:10:01 hydra body v2.0.77 starting
18:10:01 [slots] body is configured for 2 slots
18:10:02 [vdd] body already has 3 virtual monitor(s) for 2 slot(s), vdd_settings.xml asks for 1 and was left alone
18:10:02 [slots] slot 0 captures {5eb52002-659f-5729-bdd8-9cdc4efd1bf5}
18:10:02 [slots] slot 0 launches its experience at (0,0)
18:10:02 [slots] slot 1 launches its experience at (1080,0)
18:10:02 [slots] slot 1: C:\Sunshine\config-slot1\sunshine.conf, display {9acddf6d-43cc-576e-9aff-0c5fc80b4cc8}, ports {HTTPS:48084 HTTP:48089 Web:48090 RTSP:48110 Video:48098 Control:48099 Audio:48100 Mic:48102}
18:10:02 [firewall] added rule "HydraBody - Sunshine slot 1 TCP" (tcp/48084,48089,48090,48110)
18:10:02 [slots] cleared 1 untracked Sunshine process(es) before starting slots
18:10:02 [slot] 0: sunshine PID 17872, config C:\Sunshine\config\sunshine.conf
18:10:02 [slot] 1: sunshine PID 2920, config C:\Sunshine\config-slot1\sunshine.conf
18:10:02 [slots] started slot(s) [0 1]

The #827 fix is the line that mattered: the body kept its three monitors and its <count>1</count> file untouched, exactly as intended.

On the body, two Sunshine processes own two port families:

47984 47989 47990 48010  -> PID 17872 (slot 0)
48084 48089 48090 48110  -> PID 2920  (slot 1)

On the cluster, GET /api/v1/bodies/eligible?district=bxl1 at 16:12 UTC:

cosmic-pretzel-98  free_slots=3  stream_port=47989
boom-pickle-38     free_slots=2  stream_port=47989
fluffy-dumpling-87 free_slots=1  stream_port=47989

Nothing on the cluster side was touched. It reads SlotPorts straight from the body's status report, as designed.

Not done, and deliberately so. The third slot needs the VB-Audio AB and CD packs installed so slots 1 and 2 stop sharing hydravoice's cable. Those are two audio driver installs on a live venue box and will probably want a reboot, which is the owner's call. The licensed installers are already staged on cosmic at C:\vbcable-stage\{ab,cd}. rupelmonde has one head today (peppy-dumpling-32), so the second slot is already more capacity than the venue uses.

No stream was interrupted: the body was idle before and after.