Vdpau through vaapi

I’m currently trying to pass vdpau api calls through vaapi:

my config:

  hardware = {
    opengl = {
      driSupport32Bit = true;
      extraPackages = with pkgs; [
        amdvlk
        libva
        libvdpau-va-gl
      ];
    };

But when I run vdpauinfo I get this error:

nix-shell -p vdpauinfo --run vdpauinfo
display: :0   screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
1 Like

You may try something like VDPAU_DRIVER=radeonsi nix-shell -p vdpauinfo --run vdpauinfo (based on this comment in github).

1 Like