Vainfo output is empty after last update and libva-nvidia-driver

So, mesa-nonfree removed build for stable branch and new update refused to install.
I removed mesa-nonfree repo and successfully update system.

I have nvidia dGPU (and AMD iGPU) - hybrid graphics laptop.

I have libva-nvidia-driver installed.

After update vainfo shows empty output.
prime-run vainfo - shows empty otput.
More precisely:

prime-run vainfo                                                                     
Trying display: wayland
Trying display: x11
vaInitialize failed with error code -1 (unknown libva error),exit

I checked nvdec - working with mpv.
vaapi - does not work with mpv.

System info:

Operating System: Manjaro Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.7-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 5800H with Radeon Graphics
Graphics Processor: AMD Radeon Graphics
Manufacturer: HP
Product Name: Victus by HP Laptop 16-e0xxx

The nonfree is purely for AMD GPUs. Intel and Nvidia are in the official repos already available.

What’s the output of

sudo cat /sys/module/nvidia_drm/parameters/modeset


Yes, I know. Nonfre repo just got broken and I moved to official - and finding that libva-nvidia-driver not working it seams.

But it worked before this update definitely.

  1. The only purpose of libva-nvidia-driver is to enable HW video acceleration in firefox on NVIDIA GPUs. Basically it’s vaapi emulation that uses nvdec as a backend. There is no need to use it for mpv because mpv can access nvdec directly. Browsers don’t support nvdec.

  2. libva-nvidia-driver doesn’t work out of the box. It needs to be configured. Kernel parameter nvidia-drm.modeset=1 is required, which is not set on your system. How to configure

  3. I’m not sure that nvidia-drm.modeset=1 parameter could be set on a hybrid system. So first you need to disable iGPU in UEFI or configure Xorg to use the NVIDIA GPU only.


i havent tested but does this really work on AMD graphics?

It doesn’t work on AMD. Where did that question come from?

In the first post the system hw info is shown

Graphics Processor: AMD Radeon Graphics

Or did i miss something? If so i appologize

The word ‘hybrid’ maybe…