this post was submitted on 23 Feb 2025
90 points (94.1% liked)
Linux
6111 readers
502 users here now
A community for everything relating to the GNU/Linux operating system
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 behindrenderD
Project -> Render
VAAPI AMD H264
and clickSave current preset as new custom preset
renderD129
with the result of the command in step 1, e.g.renderD128
You 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_vaapi
withav1_vaapi
orhevc_vaapi
. When using AV1, you also have to switch the audio codec toopus
instead 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
renderD129
and I found out I only haverenderD128
as 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_top
and LACT: