LizardByte / Sunshine
Self-hosted game stream host for Moonlight.
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing LizardByte/Sunshine in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Summary (README)
Previewℹ️ 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
<table> <caption id="feature_compatibility">Platform Feature Support</caption> <tr> <th>Feature</th> <th>FreeBSD</th> <th>Linux</th> <th>macOS</th> <th>Windows</th> </tr> <tr> <td colspan="5" align="center"><b>Gamepad Emulation</b><br> What type of gamepads can be emulated on the host.<br> Clients may support other gamepads. </td> </tr> <tr> <td>DualShock / DS4 (PlayStation 4)</td> <td>➖</td> <td>➖</td> <td>❌</td> <td>✅</td> </tr> <tr> <td>DualSense / DS5 (PlayStation 5)</td> <td>❌</td> <td>✅</td> <td>❌</td> <td>❌</td> </tr> <tr> <td>Nintendo Switch Pro</td> <td>✅</td> <td>✅</td> <td>❌</td> <td>❌</td> </tr> <tr> <td>Xbox 360</td> <td>➖</td> <td>➖</td> <td>❌</td> <td>✅</td> </tr> <tr> <td>Xbox One/Series</td> <td>✅</td> <td>✅</td> <td>❌</td> <td>❌</td> </tr> <tr> <td colspan="5" align="center"><b>GPU Encoding</b></td> </tr> <tr> <td>AMD/AMF</td> <td>✅ (vaapi)</td> <td>✅ (vaapi)</td> <td>✅ (Video Toolbox)</td> <td>✅</td> </tr> <tr> <td>Intel QuickSync</td> <td>✅ (vaapi)</td> <td>✅ (vaapi)</td> <td>✅ (Video Toolbox)</td> <td>✅</td> </tr> <tr> <td>NVIDIA NVENC</td> <td>✅ (vaapi)</td> <td>✅ (vaapi)</td> <td>✅ (Video Toolbox)</td> <td>✅</td> </tr> <tr> <td colspan="5" align="center"><b>Screen Capture</b></td> </tr> <tr> <td>DXGI</td> <td>➖</td> <td>➖</td> <td>➖</td> <td>✅</td> </tr> <tr> <td>KMS</td> <td>❌</td> <td>✅</td> <td>➖</td> <td>➖</td> </tr> <tr> <td>NVIDIA NvFBC</td> <td>➖</td> <td>🟡</td> <td>➖</td> <td>➖</td> </tr> <tr> <td> ↳ X11 Support</td> <td>➖</td> <td>✅</td> <td>➖</td> <td>➖</td> </tr> <tr> <td> ↳ Wayland Support</td> <td>➖</td> <td>❌</td> <td>➖</td> <td>➖</td> </tr> <tr> <td>Video Toolbox</td> <td>➖</td> <td>➖</td> <td>✅</td> <td>➖</td> </tr> <tr> <td>Wayland</td> <td>✅</td> <td>✅</td> <td>➖</td> <td>➖</td> </tr> <tr> <td>Windows.Graphics.Capture</td> <td>➖</td> <td>➖</td> <td>➖</td> <td>🟡</td> </tr> <tr> <td> ↳ Portable</td> <td>➖</td> <td>➖</td> <td>➖</td> <td>✅</td> </tr> <tr> <td> ↳ Service</td> <td>➖</td> <td>➖</td> <td>➖</td> <td>❌</td> </tr> <tr> <td>X11</td> <td>✅</td> <td>✅</td> <td>➖</td> <td>➖</td> </tr> </table>Legend: ✅ Supported | 🟡 Partial Support | ❌ Not Yet Supported | ➖ Not Applicable
🖥️ System Requirements
<table> <caption id="minimum_requirements">Minimum Requirements</caption> <tr> <th>Component</th> <th>Requirement</th> </tr> <tr> <td rowspan="3">GPU</td> <td>AMD: VCE 1.0 or higher, see: <a href="https://github.com/obsproject/obs-amd-encoder/wiki/Hardware-Support">obs-amd hardware support</a></td> </tr> <tr> <td> Intel:<br> FreeBSD/Linux: VAAPI-compatible, see: <a href="https://www.intel.com/content/www/us/en/developer/articles/technical/linuxmedia-vaapi.html">VAAPI hardware support</a><br> Windows: Skylake or newer with QuickSync encoding support </td> </tr> <tr> <td>Nvidia: NVENC enabled cards, see: <a href="https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new">nvenc support matrix</a></td> </tr> <tr> <td rowspan="2">CPU</td> <td>AMD: Ryzen 3 or higher</td> </tr> <tr> <td>Intel: Core i3 or higher</td> </tr> <tr> <td>RAM</td> <td>4GB or more</td> </tr> <tr> <td rowspan="6">OS</td> <td>FreeBSD: 14.3+</td> </tr> <tr> <td>Linux/Debian: 13+ (trixie)</td> </tr> <tr> <td>Linux/Fedora: 41+</td> </tr> <tr> <td>Linux/Ubuntu: 22.04+ (jammy)</td> </tr> <tr> <td>macOS: 14+</td> </tr> <tr> <td>Windows: 11+ (Windows Server does not support virtual gamepads)</td> </tr> <tr> <td rowspan="2">Network</td> <td>Host: 5GHz, 802.11ac</td> </tr> <tr> <td>Client: 5GHz, 802.11ac</td> </tr> </table> <table> <caption id="4k_suggestions">4k Suggestions</caption> <tr> <th>Component</th> <th>Requirement</th> </tr> <tr> <td rowspan="3">GPU</td> <td>AMD: Video Coding Engine 3.1 or higher</td> </tr> <tr> <td> Intel:<br> FreeBSD/Linux: HD Graphics 510 or higher<br> Windows: Skylake or newer with QuickSync encoding support </td> </tr> <tr> <td> Nvidia:<br> FreeBSD/Linux: GeForce RTX 2000 series or higher<br> Windows: Geforce GTX 1080 or higher </td> </tr> <tr> <td rowspan="2">CPU</td> <td>AMD: Ryzen 5 or higher</td> </tr> <tr> <td>Intel: Core i5 or higher</td> </tr> <tr> <td rowspan="2">Network</td> <td>Host: CAT5e ethernet or better</td> </tr> <tr> <td>Client: CAT5e ethernet or better</td> </tr> </table> <table> <caption id="hdr_suggestions">HDR Suggestions</caption> <tr> <th>Component</th> <th>Requirement</th> </tr> <tr> <td rowspan="3">GPU</td> <td>AMD: Video Coding Engine 3.4 or higher</td> </tr> <tr> <td>Intel: HD Graphics 730 or higher</td> </tr> <tr> <td>Nvidia: Pascal-based GPU (GTX 10-series) or higher</td> </tr> <tr> <td rowspan="2">CPU</td> <td>AMD: Ryzen 5 or higher</td> </tr> <tr> <td>Intel: Core i5 or higher</td> </tr> <tr> <td rowspan="2">Network</td> <td>Host: CAT5e ethernet or better</td> </tr> <tr> <td>Client: CAT5e ethernet or better</td> </tr> </table>[!WARNING] These tables are a work in progress. Do not purchase hardware based on this information.
❓ Support
Our support methods are listed in our LizardByte Docs.
💲 Sponsors and Supporters
<p align="center"> <img src='https://cdn.jsdelivr.net/gh/LizardByte/contributors@dist/sponsors.svg' alt="Sponsors"/> </p>👥 Contributors
Thank you to all the contributors who have helped make Sunshine better!
GitHub
<p align="center"> <img src='https://cdn.jsdelivr.net/gh/LizardByte/contributors@dist/github.Sunshine.svg' alt="GitHub contributors"/> </p>CrowdIn
<p align="center"> <img src='https://cdn.jsdelivr.net/gh/LizardByte/contributors@dist/crowdin.606145.svg' alt="CrowdIn contributors"/> </p> <div class="section_buttons">| Previous | Next |
|---|---|
| Getting Started |