# Remote Gaming (Sunshine + Moonlight) **Status:** 🔬 EVALUATING **Priority:** Low **Host:** Nobara Linux (xtrm-pc) --- ## Goal 60FPS game streaming from Nobara PC (AMD RX 6600) to MacBook/Android via Tailscale. --- ## Current State | Component | Status | |-----------|--------| | Tailscale on Nobara | ✅ IP: 100.98.57.73 | | VA-API encoding | ✅ H.264/HEVC working | | Sunshine Flatpak | ❌ Failed (sandbox issues) | | Sunshine Native | ⏳ Pending | | Moonlight pairing | ⏳ Pending | --- ## Hardware | Component | Value | |-----------|-------| | GPU | AMD Radeon RX 6600M (Navi 23) | | Driver | Mesa Gallium 25.3.2 (radeonsi) | | VA-API | v1.22 with H.264/HEVC encode | --- ## Flatpak Issues The Flatpak Sunshine failed due to: 1. **wlr capture:** KDE Plasma lacks wlr-export-dmabuf 2. **PipeWire:** XDG portal blocked in sandbox 3. **KMS capture:** Can't setcap sandboxed binaries **Solution:** Use native DNF installation --- ## Next Steps ### 1. Remove Flatpak (if installed) ```bash flatpak remove dev.lizardbyte.app.Sunshine -y ``` ### 2. Install Native Sunshine ```bash sudo dnf copr enable lizardbyte/stable -y sudo dnf install sunshine -y ``` ### 3. Set KMS Permission ```bash sudo setcap cap_sys_admin+p $(readlink -f $(which sunshine)) ``` ### 4. Enable Service ```bash systemctl --user enable --now sunshine ``` ### 5. Configure 1. Open https://localhost:47990 2. Set admin password 3. Video settings: - Encoder: vaapi - Adapter: /dev/dri/renderD128 ### 6. Moonlight Pairing 1. Open Moonlight on MacBook 2. Add host: 100.98.57.73 (or xtrm-pc) 3. Enter 4-digit PIN in Sunshine Web UI --- ## Tailscale Network | Device | Tailscale IP | |--------|--------------| | xtrm-pc (Nobara) | 100.98.57.73 | | MacBook | 100.68.118.59 | | xtrm-unraid | 100.100.208.70 | --- ## Firewall (Tailscale only) ```bash sudo firewall-cmd --permanent --zone=trusted --add-source=100.64.0.0/10 sudo firewall-cmd --permanent --zone=trusted --add-port=47984-48010/tcp sudo firewall-cmd --permanent --zone=trusted --add-port=47998-48010/udp sudo firewall-cmd --reload ``` --- ## Streaming Settings | Setting | LAN | Remote | |---------|-----|--------| | Bitrate | 50-80 Mbps | 20-40 Mbps | | FPS | 60-120 | 60 | | Resolution | Native | 1080p | | Codec | HEVC | HEVC | --- ## Verification Checklist - [x] Tailscale running: 100.98.57.73 - [x] VA-API verified: H.264 + HEVC - [ ] Sunshine installed (native) - [ ] KMS capture working - [ ] Sunshine Web UI accessible - [ ] Moonlight paired - [ ] Desktop streaming works - [ ] Game streaming 60 FPS --- ## References - Original document: `archive/04-PHASE4-REMOTE-GAMING.md`