UB
Universal Blueβ€’2mo ago
MrRay

hardware acceleration for video encoding does not works

My system specs - Cpu - ryzen 5 3600 Gpu - rx 6700 xt Ram - 2x16gb 3200 Os - Bazzite(kde) List of softwares i tried - Flatpak - Handbrake, Avidemux, Kdenlive, Shotcut Appimages - shutter-encoder Can anybody help me getting hw-acceleration work. On windows encoding was putting full load on gpu(gpu based encoding-h264, and using gpu memory) While on linux i see only 10% or lower gpu usage, but cpu being used more than 80%. Which means no gpu based hw-acceleration. I noticed in handbrake when i pick H.264 it is labeled as H.264(x264), which means it will put load on cpu. In shutter-encoder i tried encoding video it shows "Gpu decoding : auto and Hardware acceleration : none" which means no hw acceleration being used. Can anyone help me getting hw-encoding to work
4 Replies
MrRay
MrRayOPβ€’2mo ago
Video is 15 hours long and codec is vp9.
π•Ύπ–™π–Šπ–‘π–‘π–†
Did you try a system update ? Perhaps the flatpak runtimes for HW acceleration are missing Also i think HandBrake specifially does not support Vaapi on AMD
MrRay
MrRayOPβ€’2mo ago
I tried shotcut and one other software(i think it was shutter-encoder). When started encoding vp9 to h264, i noticed concoder usase going to ~70% and vram usase was also going up and also cpu usase was going up. What does that mean(video was 12hours long, 4k 60fps, vp9)?
FinnFann
FinnFannβ€’2mo ago
Yes at least for handbrake they actively have rejected linux hardware acceleration. For others you may have to go into flatseal and enable GPU device and I know with I think one or two you have to manually specify using Vaapi in settings as it isn't automatic. At least for AMD we should see things getting easier as we may get AMF from the mainline driver now that they're deprecating proprietary.

Did you find this page helpful?