-
Notifications
You must be signed in to change notification settings - Fork 87
Fixing Hardware Decoding Problems
Moonlight uses DXVA2 for hardware acceleration on Windows. All modern GPUs from AMD, NVIDIA, and Intel should support hardware decoding of H.264 via DXVA2 with the proper drivers installed.
If you have issues with hardware decoding:
- Ensure your GPU drivers are properly installed from the GPU manufacturer or PC vendor's website.
- Ensure you're not using Remote Desktop to access your PC. This prevents your GPU from being usable for rendering.
Moonlight uses VideoToolbox for hardware acceleration on macOS. All Macs capable of running the latest release of macOS should support hardware H.264 decoding without any work required.
If you are using Hackintosh machine, you'll need to find a GPU driver (if available) that correctly implements VideoToolbox decoding for H.264 video.
Moonlight uses VAAPI for hardware acceleration on Linux. This should be compatible with all modern GPUs. The most common issue preventing it from working properly is a missing VAAPI driver package for your GPU.
- Ensure your desktop session is running using X, not Wayland. On GNOME-based distros, you can switch this at the logon screen by clicking the little gear icon.
sudo apt install ubuntu-restricted-addons
-
- Intel GPUs:
sudo apt install intel-vaapi-driver
- AMD GPUs and NVIDIA GPUs using open-source drivers:
sudo apt install vdpau-va-driver mesa-vdpau-drivers
- NVIDIA GPUs using proprietary drivers:
sudo apt install vdpau-va-driver
- Intel GPUs:
Have a question or problem that isn't addressed here? Try asking on our Discord server!