Hardware Acceleration on Fedora 42 with Geforce 2070 not working?

Hi all,

I am not sure if this is even my main issue but, checking the chrome://gpu and brave://gpu in both, chrome or brave browsers, I am not getting any other information under Video Acceleration Information except empty lines for decoding and encoding:

image

I am using the official nvidia drivers

The Proton games, for example, work without issues, here is also a “stats for nerds” info from a 4k video on youtube:

vainfo:

❯ vainfo
Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/nvidia_drv_video.so
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_0
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: VA-API NVDEC driver [direct backend]
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain12             : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileHEVCMain444            : VAEntrypointVLD
      VAProfileHEVCMain444_10         : VAEntrypointVLD
      VAProfileHEVCMain444_12         : VAEntrypointVLD

I’ve tried most of the suggestions from other topics, installing ffmpeg is installed, I’ve ran chrome or brave with flags such as

flatpak run com.brave.Browser --use-gl=desktop \
--enable-accelerated-video-decode \
--enable-accelerated-video-encode \
--enable-features=VaapiVideoDecoder \
--disable-features=UseChromeOSDirectVideoDecoder \
--ignore-gpu-blocklist \
--enable-zero-copy

Still, I can’t seem to bring anything else to the brave://gpu table.

What am I doing wrong?

Try

google-chrome --enable-features=AcceleratedVideoDecodeLinuxGL,AcceleratedVideoEncoder

Thank you for your feedback @leigh123linux .

I’ve updated the flag, now both Video Decode and Video Encode show as green, still, my Video Acceleration Information is completely empty -

as I’ve understood, the VAI should be populated and should look like this: