HydraIssues

Investigate whether Wolf is a better video source than Sunshine for a Linux body
open question Project: hydrabody Reporter: 7 Nov 2026 18:18

Description

Decide whether Wolf (games-on-whales) is a better video source than Sunshine for
flat experiences on a Linux body, before the fleet buys or converts hardware to
get a Linux body at all.

Why now

Pascal support is dropped, so spicy-cactus-76 (GTX 1060, Omarchy 4.0.2) leaves
the fleet. Every remaining GPU body is Windows on Ada or Blackwell. The fleet
therefore has ZERO Linux bodies. Any Linux body is now a purchase or a
conversion of a Windows body, so the streaming stack should be settled on paper
first. This does NOT block the World of Warcraft work, which is Windows only on
zappy-cactus-6.

What Sunshine costs on a headless Linux body

  • One capture path and no fallback. kms resolves outputs by DRM connector so
    it cannot see a headless output; the wlroots portal is the same screencopy
    protocol underneath; nvfbc is X11 only; kwin is KDE.
  • Upstream #5810 is OPEN: a DMA-BUF leak of about 1.3 GB/h on exactly the
    headless plus wlr plus NVENC path, freed only by restarting Sunshine.
  • Fixes #5883, #5873 and #5764 are prerelease only, so the hydracluster recipe
    stops being a plain pacman install and becomes a release engineering job.
  • #4946 does not fix headless NVIDIA GBM. It adds a wl_shm CPU readback path
    with a per-row memcpy and a STICKY force_ram_capture flag, so zero copy can
    degrade permanently to software with only a log warning.
  • No native multi touch. Touch is emulated as an absolute mouse, which loses the
    validated pinch zoom on the iPad heads.

What Wolf offers

  • No capture at all. The compositor IS the video source and emits GstBuffers
    zero copy. There is no DRM output and no seat0 requirement, so #5810 and the
    whole headless capture question do not apply.
  • Input is injected as Wayland events with no kernel device for mouse, keyboard
    or touch. This removes the global evdev device leak and may give real multi
    touch, which Sunshine cannot.

What Wolf costs

Unknown and to be measured:

  • It leaves Sunshine pairing and the existing head stack behind for that lane.
    Quantify what the iPad, Quest, Android, Tizen and macOS heads need.
  • Integration with hydrabody's provider model is unspecified. hydrabody today
    registers apps with a Sunshine API and reaps by /proc/<pid>/exe.
  • Interaction with WiVRn and the XR lane is unknown. XR needs a seated session
    today, and the XR lane has no platform at all now that spicy is gone.
  • No microphone exists on Linux in either stack. hydravoice-player is WASAPI
    only, no recipe installs it on Linux, and both heads hardcode port 47995.

Deliverable

A recommendation with named costs, not a prototype. It must answer:

  1. Which stack a new Linux body should run, and why.
  2. What head side work each choice needs.
  3. Whether multi touch is reachable in either, since flat is the iPad lane.
  4. Whether one Linux body can serve both flat and XR, or whether those are
    separate body classes. Owner has already ruled XR is always single slot.
  5. What hardware to buy or convert. Ada is representative enough for Blackwell:
    both are on the current NVIDIA driver branch, both do AV1, both have 16 GB or
    more on this fleet's cards. The cliff is Pascal, not Ada versus Blackwell.

Falsifying test, if hardware becomes available

Half a day, no Hydra code. labwc headless, a second stock Sunshine on a spare
port base with capture = wlr and output_name = HEADLESS-1, a real GPU
workload for 30 minutes. Capture a frame and assert it is not black. Log the
modifier actually used. Check for zwlr_export_dmabuf_manager_v1, which
wlr_t::init hard fails on. Watch /sys/kernel/debug/dma_buf/bufinfo as well
as nvidia-smi. Resolve the render node by PCI id, not a hardcoded
renderD128. Treat "assuming cross-GPU capture" or "switching to RAM capture"
as failure, not warning. If stock wlr capture cannot see a labwc headless
output on a card the fleet is willing to ship, every Sunshine keeping design
dies and Wolf is the only road left.