this post was submitted on 23 Feb 2025
98 points (93.0% liked)
Linux
10111 readers
681 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I use the Flatpak and here's how to get VA-API working:
ls -lah /dev/dri/render*and note down the number behindrenderDProject -> RenderVAAPI AMD H264and clickSave current preset as new custom presetrenderD129with the result of the command in step 1, e.g.renderD128You should now be able to hardware encode with the custom preset. Since you have an 7900 XTX you can also use H265 and AV1 to encode. For that you can copy the preset again and replace
h264_vaapiwithav1_vaapiorhevc_vaapi. When using AV1, you also have to switch the audio codec toopusinstead ofaac.I'm not using the flatpak but rather the one straight from Arch repos. I did notice all the presets I had were using
renderD129and I found out I only haverenderD128as well so I changed that, but now it barely uses my GPU and CPU during render.Here's the render settings and outputs of
btop,amdgpu_topand LACT: