Never tried this before! Didn’t know, but man, Moonlight and Sunshine works magic 🪄
retained text
Hello, hello! A follow-up to my previous homelab build post! The strange, but useful multifunctional machine works like a charm. What a joy! Well, since last time I’ve optimized a lot of functions, but the most recent one was adding a new Apple TV 4K 4gen running Moonlight, with Sunshine on the homelab machine. Since these services came up, I’ve been playing Red Dead Redemption 2 and Death Stranding 2 on my living room TV. The result is honestly incredible with stunning image quality, and the controller response feels great. Even no noticeable stuttering, glitches or network issues (amen 🙏). So what’s under the hood? Intel Core Ultra 7 265K / RTX 5070 Ti 64 GB DDR5 (44 GB Windows / 20 GB TrueNAS) 4 TB Samsung 990 Pro + 5 × 4 TB 870 EVO (ZFS) Beside that I use: UniFi 2.5 GbE network, Cat6 Apple TV 4K + Xbox wireless controller Samsung Q90R 55” (from 2019!) Moonlight configuration: 3840 × 2160 / 60 FPS (mirrors my homelab screen) 150 Mbps configured video bitrate HEVC (H.265) / NVIDIA NVENC Wired Ethernet HDR currently off (my homelab screen doesn’t support it) The homelab/hybrid machine/desktop pc handles rendering, including GPU effects such as ray tracing in supported games. Apple TV decodes the stream. Even with my physical PC monitor switched off, everything keeps working, which is convenient. A few tips & tricks from to get you going: 1. Install Sunshine without navigating GitHub: Open PowerShell on Windows: winget install --id LizardByte.Sunshine --exact Open https://localhost:47990, create a username/password and sign in. The browser can be closed afterward; Sunshine runs independently. 2. Pair Moonlight: Install Moonlight on Apple TV, select your PC and enter the displayed PIN under Sunshine’s PIN tab. 3. Xbox controller not working? Pair it to Apple TV via Bluetooth. If Sunshine (web browser ui) reports “ViGEmBus Is Unavailable”, install the ViGEmBus virtual gamepad driver. This fixed controller input for me after a Windows restart. 4. Add game shortcuts: Under Sunshine → Applications, use Detached Commands. For Rockstar games, a Windows desktop shortcut worked: explorer.exe "C:\\Path\\To\\Game.lnk" For Steam games (Death Stranding 2): explorer.exe "steam://rungameid/3280350" Leave the main Command field empty. 5. NVIDIA DLSS optimization: For Death Stranding 2, I used NVIDIA App → Program Settings → DLSS Model Presets → Recommended. In-game: 4K / DLSS Quality Dynamic Resolution Scaling: Off NVIDIA Reflex Low Latency: On Frame Generation: Off VSync: On I kept driver-level Low Latency Mode and Smooth Motion off. 6. Other small, but useful experiences: Steam in Moonlight opens Big Picture, not SteamOS. You don’t need Sunshine’s web interface open while gaming. 150 Mbps is my configured bitrate, not a constant measured transfer rate. And yeah; the Apple TV gets hot. So it might be smart placing it where it gets rooms of air arsound it.
document fetched 2026-11-16 00:32 · canonical https://reddit.com/r/homelab/comments/1xx95vu/never_tried_this_before_didnt_know_but_man