I was trying to encode videos through GPU a month ago and so with the very few information of AMF encoding in linux available in the internet I achieved it. I thought I had to use the amdgpu-pro package, as I thought I had to link the ICD file that the amdgpu-pro provides (in the vulkan-amdgpu-pro one, using VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json) as a parameter in ffmpeg.
Now that you asked I just checked and it works to encode without linking that ICD file, so... yeah. As there is no info out there to know for sure what i really need to encode using AMF, i'm not really sure but it looks like i don't need at all any amdgpu-pro packages... Also, I can't really test to encode uninstalling amdgpu-pro as steam requires vulkan-amdgpu-pro, which is the package which provides that ICD file and so maybe if i uninstalled it then ffmpeg could not use h264_amf encoder, but i cannot test it. I could force remove it, for the test...
In fact i'm gonna do it real quick just to check
Pinned Comments
mesmer commented on 2022-12-23 04:31 (UTC) (edited on 2023-05-28 19:28 (UTC) by mesmer)
IF PROBLEM HAPPEN
this package is our try to put amdgpu in ARCH, but this could break or have problems as amd update and change their packages for ubuntu
if anything happens you can always download a older tag in https://github.com/Ashark/archlinux-amdgpu-pro/releases and get the PKGBUILD there, and use makepkg with that build while we update or try to fix :)
ALWAYS USE LINUX-FIRMWARE-GIT IF LATEST DRIVER FAIL BEFORE ISSUE SOME ERROR
https://aur.archlinux.org/packages/linux-firmware-git
Ashark commented on 2019-12-09 20:52 (UTC) (edited on 2022-12-06 08:45 (UTC) by Ashark)
PKGBUILD generator is located here: https://github.com/Ashark/archlinux-amdgpu-pro
AMDGPU PRO wiki page: https://wiki.archlinux.org/index.php/AMDGPU_PRO
New versions will appear here: https://repo.radeon.com/amdgpu/.