General Issues
Forgotten Web UI Credentials
Forgotten Web UI Credentials
If you forgot your credentials to the web UI, you can reset them using the command line:
- Standard Installation
- AppImage
- Flatpak
Can't Access Web UI
Can't Access Web UI
If you cannot access the Sunshine web UI at
https://localhost:47990:Check firewall rules:- Ensure ports 47984-47990 (TCP and UDP) are allowed through your firewall
- On Linux, check
ufw statusorfirewall-cmd --list-all - On Windows, check Windows Defender Firewall settings
- Check if the Sunshine process is active
- Review Sunshine logs for startup errors
- Use your local IP address instead of
localhost - Try
http://instead ofhttps://(not recommended for production)
Unusual Mouse Behavior
Unusual Mouse Behavior
If you experience erratic or unusual mouse behavior during streaming:Solution: Attach a physical mouse to the Sunshine host computer.Some systems require at least one physical mouse to be connected for proper cursor tracking when streaming virtual input from Moonlight clients.
Controller Works in Steam But Not in Games
Controller Works in Steam But Not in Games
If your controller works in Steam Big Picture but not in actual games:Solutions:
-
Adjust Steam controller settings:
- Open Steam Settings → Controller
- Disable Xbox/PlayStation controller support
- Leave only Generic Gamepad support enabled
-
Disable conflicting physical controllers (Linux):
This makes the Sunshine-provided virtual controller the “first” controller.
Network Issues
High Packet Loss (Buffer Overrun)
High Packet Loss (Buffer Overrun)
If the host PC has a much faster network connection than the client (e.g., 2.5 Gbps vs 1 Gbps), packet loss can occur.Symptoms:
- Stuttering or freezing video
- Audio dropouts
- High packet loss reported in Moonlight
-
Reduce host NIC speed:
- Set 2.5 Gbps NIC to 1 Gbps
- Set 1 Gbps NIC to 100 Mbps
-
Configure traffic shaping (Linux):
Sunshine versions > 0.23.1 include improved networking code that should alleviate this issue.
Packet Loss (MTU Issues)
Packet Loss (MTU Issues)
Some clients work better with a lower MTU value.Symptoms:Windows:
- 30-60% packet loss
- Connection instability
Linux-Specific Issues
Hardware Encoding Fails
Hardware Encoding Fails
If you see this error in Sunshine logs:Cause: Mesa has disabled hardware encoding by default due to legal concerns.Solution: Compile Mesa manually with encoders enabled:See the Mesa3D documentation for complete instructions.
Input Not Working
Input Not Working
If keyboard, mouse, or controller input doesn’t work:Solution 1: Reload udev rulesIf that doesn’t work, restart your system.Solution 2: Add user to input groupLog out and back in for changes to take effect.
KMS Streaming Fails
KMS Streaming Fails
If KMS screen capture doesn’t work:Solution: Switch to the privileged sunshine-kms service:
KMS Streaming Black Screen (NVIDIA)
KMS Streaming Black Screen (NVIDIA)
If KMS capture results in a black screen on NVIDIA GPUs:Solution: Enable modesetting for NVIDIA’s kernel module.Add this to your kernel command line:For GRUB:
- Edit
/etc/default/grub - Add
nvidia_drm.modeset=1toGRUB_CMDLINE_LINUX - Run
sudo update-grub - Reboot
AMD Encoding High Latency
AMD Encoding High Latency
If you notice high or fluctuating encoding latencies with AMD GPUs (especially at 4K):Cause: Mesa version < 24.2 doesn’t support low-latency encoding mode.Solution: Update Mesa to version 24.2 or newer.Sunshine automatically sets
AMD_DEBUG=lowlatencyenc when available.Verify low-latency mode:
Monitor VCLK and DCLK frequencies with amdgpu_top. They should stay consistently high during encoding.Gamescope Stuttering
Gamescope Stuttering
Some users report stuttering when streaming games running within Gamescope.Workarounds:
- Try different Gamescope rendering backends
- Adjust Gamescope FPS limits
- Use regular desktop capture instead of Gamescope
macOS-Specific Issues
Dynamic Session Lookup Failed
Dynamic Session Lookup Failed
If you encounter this error:
Dynamic session lookup supported but failed: launchd did not provide a socket pathSolution:
Windows-Specific Issues
No Gamepad Detected
No Gamepad Detected
If virtual gamepads don’t work in Moonlight:Solution: Install ViGEmBus driver.Option 1: Web UI
- Go to the Troubleshooting tab in Sunshine Web UI
- Click “Install ViGEmBus”
- Download from ViGEmBus releases
- Version 1.17 or newer required
- Restart computer after installation
Permission Denied Errors
Permission Denied Errors
If you get permission denied errors when launching games on non-system drives:Cause: Sunshine runs as a Windows service with the SYSTEM account, which may not have access to all drives.Solution: Grant SYSTEM account full permissions:
Stuttering Issues
Stuttering Issues
If you experience stuttering with NVIDIA GPUs:Solution: Disable
vsync:fast in NVIDIA Control Panel.Debugging and Log Collection
Finding Sunshine Logs
- Linux
- Windows
- macOS
Systemd service:Flatpak:AppImage/Manual:
Check
~/.config/sunshine/sunshine.logIncreasing Log Verbosity
For more detailed logs:- Open Sunshine Web UI
- Go to Configuration → Advanced
- Set Log Level to
debugorverbose - Restart Sunshine
Reporting Issues
When reporting issues on GitHub, include:- Sunshine version
- Operating system and version
- GPU model and driver version
- Moonlight client version and platform
- Full Sunshine logs (with verbose logging enabled)
- Network configuration (local/remote, wired/wireless)
- Steps to reproduce the issue
Additional Resources
- Performance Tuning Guide - Optimize streaming quality
- Application Examples - Configuration examples
- Configuration Reference - All available settings
- Discord Community - Get help from other users
- GitHub Discussions - Q&A and feature requests

