Headless Hosts
On a Windows 11 streaming server with no physical monitor attached (or a DisplayPort/HDMI monitor powered completely off), Sunshine’s startup encoder probe (video::probe_encoders()) and DXGI Desktop Duplication can fail if zero active displays exist when Windows boots.
Enable headless_standby
Section titled “Enable headless_standby”-
Edit
%ProgramData%\zerovdd\config.tomland setheadless_standby = true:config.toml schema_version = 1headless_standby = true -
Restart
zerovdd-svcfrom an elevated PowerShell prompt:Terminal window Restart-Service zerovdd-svc -
Confirm the standby monitor is active:
Terminal window zerovdd display list
How Headless Standby Works
Section titled “How Headless Standby Works”- When
zerovdd-svcstarts and queries the active console display topology, if zero displays are active, it automatically attaches a1920x1080@60standby virtual monitor namedzerovdd-headless-standby. - Sunshine initializes its GPU hardware encoders cleanly against the standby display.
- When a Moonlight client connects,
zerovdd-svctransitions directly to the client’s exact resolution, refresh rate, and HDR profile (preserving any physical monitors if one was later plugged in). - When the stream ends, if no physical monitor is connected,
zerovdd-svcre-attacheszerovdd-headless-standbyinstead of leaving Windows with zero displays.
What to Read Next
Section titled “What to Read Next”- Sunshine Setup for
sunshine.confconfiguration and crash recovery. - Configuration Reference for all
config.tomloptions.