Manjaro disabled the video hardware acceleration for AMD GPU only, Fedora and SUSE too.
Install the official proprietary driver AMDGPU-PRO from AUR
- Install
amf-amdgpu-pro
$ pamac build amf-amdgpu-pro
- Edit
/etc/environment/to add a line:
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/amd_pro_icd64.json
-
Reboot
-
Check
ffmpegto decode and encode any video if it works.
$ ffmpeg -i {INPUT}.mp4 -vcodec hevc_amf {OUTPUT}.mkv