-
Notifications
You must be signed in to change notification settings - Fork 101
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 and VDPAU for hardware acceleration on Linux. One of those two APIs should be compatible with any modern GPU. The most common issue preventing it from working properly is a missing VAAPI or VDPAU 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 mesa-vdpau-drivers - NVIDIA GPUs using proprietary drivers: VDPAU should be included in the NVIDIA driver package
- Intel GPUs:
Have a question or problem that isn't addressed here? Try asking on our Discord server!