AMD GPU does not appear as an encoder option in OBS

zipsegv

New Member
I am trying to record using OBS, but I only have the following options for encoders:

* Software (OpenH264)
* Hardware (QSV, H.264)

The "Hardware" option seems to be using my Intel iGPU, which is not what I want (and it doesn't seem to work anyway). I want to use my AMD card (Radeon RX 6600XT) but it doesn't appear in the list. It works fine in games though and appears in `lspci` so it's not that I don't have drivers installed (maybe I'm missing video drivers of some sort?). I installed OBS from the package in the fedora repository, and also installed the `obs-studio-plugin-vaapi.x86_64` package, but it didn't help.

I'm using Fedora 42.
Log (not sure if this is helpful): https://obsproject.com/logs/8ucrw1Nru3CcyxXA
 

zipsegv

New Member
Nevermind, I figured it out.
The default `mesa-va-drivers` provided with Fedora do not support video encoding (this is visible if you run `vainfo`; there's no entrypoint with `VAEntrypointEncSlice`). You can install drivers that do from the rpmfusion repository, like so:
Code:
# install rpmfusion repo
sudo dnf install https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# install drivers
sudo dnf swap mesa-va-drivers mesa-va-drivers-freeworld
After installation, I was able to select amd gpu vaapi encoders.
 
Top