moonlight-qt
moonlight-qt copied to clipboard
Can't see hardware acceleration in Arch Linux Nvidia Plasma Wayland
Describe the bug Can't see hardware acceleration in Arch Linux Nvidia Plasma Wayland

Steps to reproduce
- Starting Moonlight.
Affected games Happens to all games.
Moonlight settings (please complete the following information)
- Changed only the encoding mode to Hardware H265.
- Does the problem still occur after reverting settings back to default? − Yes
Client PC details (please complete the following information)
- OS: Arch Linux Plasma
- Moonlight Version: 4.2.1
- GPU: Nvidia 3070Ti
Server PC details (please complete the following information)
- OS: Windows 11
- GeForce Experience version: 3.25.1.27
- Nvidia GPU driver: 516.94
- Antivirus and firewall software: No
Please run Moonlight from the terminal to get the log output and post it here.
Are you using the Snap, Flatpak, AppImage, or AUR package of Moonlight?
I recorded a video of this and a log of how the error occurs. X11 Session
https://youtu.be/LLkWKWruZgY log.txt
It looks like your logs are switched between #867 and #866, but it seems your problem here is that you need to install the libva-nvidia-driver package to allow use of NVDEC through VAAPI for Wayland, since VDPAU is only supported on X11.
Alternatively, you can also install ffmpeg-cuda and ffnvcodec-headers, then if you rebuild Moonlight, it should enable the CUDA codepath that doesn't require VAAPI.
It looks like your logs are switched between #867 and #866, but it seems your problem here is that you need to install the
libva-nvidia-driverpackage to allow use of NVDEC through VAAPI for Wayland, since VDPAU is only supported on X11.Alternatively, you can also install
ffmpeg-cudaandffnvcodec-headers, then if you rebuild Moonlight, it should enable the CUDA codepath that doesn't require VAAPI.
my setup is a mess right now, but for anyone in the future, it wouldn't even open for me without libva-nvidia-driver
00:00:00 - SDL Info (0): Compiled with SDL 2.24.0
00:00:00 - SDL Info (0): Running with SDL 2.24.0
00:00:00 - Qt Info: No translation available for "en_US"
00:00:00 - SDL Info (0): Detected Wayland
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML ApplicationWindow: ToolTip must be attached to an Item
00:00:24 - Qt Info: Found "gamecontrollerdb.txt" at ":/data/gamecontrollerdb.txt"
00:00:24 - SDL Info (0): Loaded 213 new gamepad mappings
00:00:24 - SDL Info (0): V-sync disabled
Failed to create dedicated X11 display!
fish: Job 1, 'moonlight' terminated by signal SIGSEGV (Address boundary error)
everything good now though!