Sunshine

Self-hosted game stream host for Moonlight.



โ„น๏ธ About

Sunshine is a self-hosted game stream host for Moonlight. Offering low-latency, cloud gaming server capabilities with support for AMD, Intel, and Nvidia GPUs for hardware encoding. Software encoding is also available. You can connect to Sunshine from any Moonlight client on a variety of devices. A web UI is provided to allow configuration, and client pairing, from your favorite web browser. Pair from the local server or any mobile device.

LizardByte has the full documentation hosted on Read the Docs

๐ŸŽฎ Feature Compatibility

Gamepad Emulation
FeatureFreeBSDLinuxmacOSWindows
What type of gamepads can be emulated on the host.
Clients may support other gamepads.
Generic๐ŸŸก1โœ…โœ…2โœ…3
DualShock / DS4 (PlayStation 4)๐ŸŸก1โœ…โœ…2โœ…3
DualSense / DS5 (PlayStation 5)๐ŸŸก1โœ…โœ…2โœ…3
Nintendo Switch Pro๐ŸŸก1โœ…โœ…2โœ…3
Xbox 360๐ŸŸก1โœ…โœ…2โœ…3
Xbox One๐ŸŸก1โœ…โœ…2โœ…3
Xbox Series๐ŸŸก1โœ…โœ…2โœ…3

NOTE

1 Missing motion, touchpad input, battery state, RGB LEDs, adaptive triggers, and raw HID output reports. 2 Requires the separately installed and licensed Virtual HID Broker. 3 All profiles are available through the separately installed and licensed Virtual HID Broker. Xbox 360 and DualShock 4 can also use ViGEmBus.

Encoding API
Encoding APIGPU VendorFreeBSDLinuxmacOSWindows
AMFAMDโž–โž–โž–โœ…
Media FoundationQualcommโž–โž–โž–โœ…
NVENCNVIDIAโž–โœ…โž–โœ…
QuickSyncIntelโž–โž–โž–โœ…
VAAPIAMDโœ…โœ…โž–โž–
Intelโœ…โœ…โž–โž–
NVIDIAโž–โœ…โž–โž–
Video ToolboxAppleโž–โž–โœ…โž–
Intelโž–โž–โœ…โž–
Vulkan VideoAMD๐ŸŸกโœ…โž–โž–
Intel๐ŸŸก๐ŸŸกโž–โž–
NVIDIAโž–๐ŸŸกโž–โž–
SoftwareAnyโœ…โœ…โœ…โœ…
Screen Capture
Capture MethodFreeBSDLinuxmacOSWindows
DXGI Desktop Duplicationโž–โž–โž–โœ…
KMS/DRMโœ…โœ…โž–โž–
NvFBC (X11 only)โž–โœ…โž–โž–
ScreenCaptureKitโž–โž–โœ…โž–
Wayland (wlroots)โœ…โœ…โž–โž–
Windows.Graphics.Captureโž–โž–โž–๐ŸŸก
ย ย โ†ณ Portableโž–โž–โž–โœ…
ย ย โ†ณ Serviceโž–โž–โž–โŒ
X11โœ…โœ…โž–โž–
XDG Desktop Portalโœ…โœ…โž–โž–
KWin Screencastโœ…โœ…โž–โž–
Capture โ†’ Encoding Compatibility (Linux/FreeBSD)
Capture MethodVAAPIVulkan VideoNVENC (CUDA)Software
KMS/DRMโœ…โœ…โœ…โœ…
NvFBCโŒโŒโœ…โŒ
Wayland (wlroots)โœ…โœ…โœ…โœ…
X11โœ…โŒโœ…โœ…
XDG Desktop Portalโœ…โœ…โœ…โœ…
KWin Screencastโœ…โœ…โœ…โœ…

Legend: โœ… Supported | ๐ŸŸก Partial Support | โŒ Not Yet Supported | โž– Not Applicable

๐Ÿ–ฅ๏ธ System Requirements

WARNING

These tables are a work in progress. Do not purchase hardware based on this information.

Minimum Requirements
ComponentRequirement
GPUAMD: VCE 1.0 or higher, see: obs-amd hardware support
Intel:
ย ย FreeBSD/Linux: VAAPI-compatible, see: VAAPI hardware support
ย ย Windows: Skylake or newer with QuickSync encoding support
Nvidia: NVENC enabled cards, see: nvenc support matrix
CPUAMD: Ryzen 3 or higher
Intel: Core i3 or higher
RAM4GB or more
OSFreeBSD: 15.1+
Linux/Debian: 13+ (trixie)
Linux/Fedora: 43+
Linux/Ubuntu: 22.04+ (jammy)
macOS: 14.2+
Windows: 11+
NetworkHost: 5GHz, 802.11ac
Client: 5GHz, 802.11ac
4k Suggestions
ComponentRequirement
GPUAMD: Video Coding Engine 3.1 or higher
Intel:
ย ย FreeBSD/Linux: HD Graphics 510 or higher
ย ย Windows: Skylake or newer with QuickSync encoding support
Nvidia:
ย ย FreeBSD/Linux: GeForce RTX 2000 series or higher
ย ย Windows: Geforce GTX 1080 or higher
CPUAMD: Ryzen 5 or higher
Intel: Core i5 or higher
NetworkHost: CAT5e ethernet or better
Client: CAT5e ethernet or better
HDR Suggestions
ComponentRequirement
GPUAMD: Video Coding Engine 3.4 or higher
Intel: HD Graphics 730 or higher
Nvidia: Pascal-based GPU (GTX 10-series) or higher
CPUAMD: Ryzen 5 or higher
Intel: Core i5 or higher
NetworkHost: CAT5e ethernet or better
Client: CAT5e ethernet or better

โ“ Support

Our support methods are listed in our LizardByte Docs.

๐Ÿ’ฒ Sponsors and Supporters

๐Ÿ‘ฅ Contributors

Thank you to all the contributors who have helped make Sunshine better!

GitHub

CrowdIn