Skip to content

Instantly share code, notes, and snippets.

@HarryAnkers
HarryAnkers / GUIDE.md
Last active April 29, 2026 02:32
NVIDIA Virtual Display for Sunshine/Moonlight on Linux — No Dummy Plug Required (4K@120Hz, HDR, Custom Resolutions)

NVIDIA Virtual Display for Sunshine/Moonlight on Linux — No Dummy Plug Required

A guide for creating a virtual display on an NVIDIA GPU (tested on RTX 5080, driver 595.58) with HDR, custom resolutions, and 4K@120Hz support for headless Sunshine/Moonlight streaming on Linux.

Works on both HDMI and DisplayPort connectors with no physical display or dummy plug connected.

The Problem

Running Sunshine headless on Linux with NVIDIA is painful: