Hardware Video Encoding is not detected on OBS Studio

It has been a long time since I haven’t seen seen hardware acceleration for video encoding on OBS studio, Chromium browsers or Firefox. Is this a common problem for AMD GPUs or just mine?


Trying display: wayland
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.0.4 for AMD Radeon Graphics (radeonsi, renoir, ACO, DRM 3.61, 6.14.5-300.fc42.x86_64)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

Is obs-studio-freeworld installed?

There is no obs-studio-freeworld, just obs-studio

The fedora obs-studio package can’t include h264 support, you need obs-studio-freeworld from rpmfusion repo to add h264 support.

But the issue was the same as the one provided on Arch. My workaround was to choose Advanced menu on the Output section and choose a proper encoder. But what about browsers? Also, how can I install freeworld version? I couldn’t find it from dnf

You need the mesa-*-freeworld packages

$ rpm -qa mesa* |grep freeworld
mesa-vulkan-drivers-freeworld-25.0.4-1.fc42.x86_64
mesa-vdpau-drivers-freeworld-25.0.4-1.fc42.x86_64
mesa-va-drivers-freeworld-25.0.4-1.fc42.x86_64
mesa-vulkan-drivers-freeworld-25.0.4-1.fc42.i686
rpm -qa mesa* |grep freeworld
mesa-vdpau-drivers-freeworld-25.0.7-1.fc42.x86_64
mesa-vdpau-drivers-freeworld-25.0.7-1.fc42.i686
mesa-va-drivers-freeworld-25.0.7-1.fc42.x86_64
mesa-va-drivers-freeworld-25.0.7-1.fc42.i686

I was able to use HW acceleration on OBS, but audio encoder doesn’t look to work well. There is always cracking/popping sounds on pause/play. The issue is on others programs, except Telegram, audio recording works well here. Is it because of audio encoders?