Skip to content

[Bug]: AMF 25.20 installs properly, but encoder does not load on Ubuntu 24.04 #575

@jmickelonis

Description

@jmickelonis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions