I recently switched to the relatively new Ryzen 5 8600G with integrated Radeon graphics. I tried to use the GPU as encoder with this package and ffmpeg starts encoding when using the av1_amf encoder but always stops with an error after 30239 frames. I tested multiple video files and the barrier is 30239 frames. The error is:
0124-02-29 12:17:58 78042F00 [EncodeQueuePalImpl] Error: ../../../../../runtime/src/components/EncoderCore/EncodeQueuePalImpl.cpp(239):PAL failed, result = -4 : Pal::ICmdBuffer::Begin() failed
0124-02-29 12:17:58 78042F00 [AMFEncoderCoreAv1] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreAv1Impl.cpp(2422):AMF_ERROR 1 : AMF_FAIL: SubmitToEncodeQueue(): Failed to submit job.
0124-02-29 12:17:58 78042F00 [AMFEncoderCoreAv1] Error: ../../../../../runtime/src/components/EncoderCore/EncoderCoreAv1Impl.cpp(2002):AMF_ERROR 1 : AMF_FAIL: Failed to submit job to Encode queue
The partly encoded file is correctly encoded though. Is this a known issue?
UPDATE: Just updated to the version from yesterday and the error is gone. I also contacted AMD about this recently. Might be they fixed it.
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/.