[Bug]: AMF 25.20 installs properly, but encoder does not load on Ubuntu 24.04
I followed the updated instructions on the wiki.
- Extracted amf_installer_25.20.sh from the assets zip
- Ran the script via sudo
- A repository was installed, along with the amf-amdgpu-pro and libamdenc-amdgpu-pro packages
I get a bunch of errors trying to create an encoder:
0125-09-30 23:28:39 BE090780 [AMFDevicePALImpl] Error: ../../../../../runtime/src/core/DevicePALImpl.cpp(437):Assertion failed:Pal::IPlatform::EnumerateDevices() returned 0 devices
0125-09-30 23:28:39 BE090780 [AMFContextImpl] Error: ../../../../../runtime/src/core/ContextImpl.cpp(2021):GetDevicePAL() AMFDevicePAL::InitFromAdapterInfo() failed with res =1
0125-09-30 23:28:39 BE090780 [EncodeQueuePalImpl] Error: ../../../../../runtime/src/components/EncoderCore/EncodeQueuePalImpl.cpp(895):Assertion failed:Pal retuned zero instances
0125-09-30 23:28:39 BE090780 [EncodeQueueService] Warning: Failed to create encode queue serivce.
0125-09-30 23:28:39 BE090780 [AMFEncoderCoreBaseImpl] Warning: Failed to initialize EncodeQueueFactory.
0125-09-30 23:28:39 BE090780 [AMFEncoderCoreBaseImpl] Warning: Failed to create encode queue serivce.
0125-09-30 23:28:39 BE090780 [AMFEncoderCoreImpl] Warning: Encode Core dll not found
0125-09-30 23:28:39 BE090780 [AMFEncoderCoreH264] Warning: CreateServices failed.
0125-09-30 23:28:39 BE090780 [AMFEncoderCoreH264] Warning: *****Failed to create H264 encoder component.
The same errors occur whether or not I also use the graphics and rocm installations.
I was previously using AMF with the version 6.4.4 driver stack over Mesa, and everything worked fine. I was able to return to that version again without issue.
- OS: Ubuntu 24.04 (Noble)
- Driver Version 25.20
- GPU RX 6700 XT
Here's the output from the good (6.4.4, AMF 1.4.37) and bad (7.1, AMF 1.5.0) runs. I ran them using the LD_DEBUG=libs environment variable to debug shared library loading.
Honestly, the software side of AMD makes me wish I had invested in a Geforce card long ago. I'm a software engineer and systems administrator. I can only imagine how a novice user feels trying to get these things working.
I guess I'll check back in a week or 2 to see if this was magically fixed.
The driver you have installed is for the RDNA 3 and RDNA 4 (Radeon RX 7000 and RX 9000 series). Please instead install the driver for the RDNA 1 and RDNA 2 (Radeon RX 5000 and RX 6000 series) alongside with the corresponding AMF version. This would be the Radeon Software 25.10.2.1 Linux driver + AMF v1.4.37. https://www.amd.com/en/support/downloads/drivers.html/graphics/radeon-rx/radeon-rx-6000-series/amd-radeon-rx-6700-xt.html
To ensure that you are not installing AMF v1.5.0 accidentally from the new repo in the apt repo list, please run the AMF v1.5.0 installer with the --uninstall option before doing a uninstall of your current driver and clean install of the 25.10.2.1 driver.
sudo ./amf_installer_25.20.sh –uninstall
https://github.com/GPUOpen-LibrariesAndSDKs/AMF/wiki/Driver%20Linux#amf-installer
We will be updating the Wiki to include these steps as well as clarifying some confusion with the latest driver release.
You may read more about this topic from the AMD blog post: https://www.amd.com/en/blogs/2025/continued-support-for-every-radeon-gamer.html
Thanks for the clarification.
So does this mean the 6000 series will never be able to use any future AMF improvements?
It might be helpful for the stderr messages to give clues mentioning this, too.
New AMF features will be focused on the RDNA 3/4 driver path while the RDNA 1/2 driver path will still get important bug fixes.