-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: How to use AMF with RADV driver? #457
Comments
Few notes:
|
@MikhailAMD I just checked myself, but I can't get it to work.
and this error is strange It would be good to known few things more, like at what mesa release amf was testes or what is required. And this amf on radv supports only encoding right? Decoding is not available? |
"DLL libamfrt64.so.1 failed to open" |
I think I misunderstood because I thought that it would be enough to rebuild ffmpeg with the amf header to make it work. Well, now I tried to download amdgpu-install but after run it shot that does not support my system, so I downloaded only the libraries libamfrt64.so, libamfrt64.so.1 and libamfrt64.so.1.4.33 from the repository but after placing them in the right directories I only see a crash
and this is wat I see in journal log: Process 43873 (ffmpeg) of user 1001 dumped core.
|
It is not enough to copy libamfrt64.so library and links to it (libamfrt64.so.1 and libamfrt64.so.1.4.33). There is also libamdenc64.so and corresponding VCN FW that needs to be properly installed. AMF team supports only Linux distros that are supported by AMD driver. So with manual installation many things could go wrong. There is a long discussion about use of AMF on non-supported distros: #334 |
Hm, with the amdgpu stack version 6.0.3 (same thing with 6.0.2) on Ubuntu 22.04, ffmpeg @ 478d97f303 built with AMF SDK @ e1acd43, and a Cezanne platform, it crashes like this:
There's no way to test with AMDVLK nor PRO Vulkan as they do not initialize in that version (dropped Vega support?)
With 5.7.3 where AMDVLK and PRO do work, AMF does work but only with PRO, which is not that surprising as this support for other Vulkan drivers was announced only recently, after that release. |
I managed to make it work on Gentoo by putting the libraries from |
I would love to understand what libraries |
I did try use ffmpeg and h264_amf encoder with RADV driver. No sucess.
The text was updated successfully, but these errors were encountered: