there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

Need help with peripherals or devices?
Post Reply
Message
Author
rupeshforu3
Posts: 150
Joined: 2012-12-06 07:04
Location: India

there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#1 Post by rupeshforu3 »

Hi I am Rupesh from India and I brought a new desktop pc with AMD ryzen 5500GT and Asus prime b450 motherboard. I installed Debian testing or Trixie successfully and everything is working fine except hardware acceleration is not present.

Actually I use my Linux system mainly for converting h264 .mp4 video files to av1 .mp4 video files using ffmpeg and libaom.

Gpu which is integrated into my ryzen zen3 APU plays an important role in converting or transcoding through amdgpu driver and AMF header files.

Everything is working fine in Debian Trixie or testing Linux except I see errors like the following during kernel package installation.

Code: Select all

Missing firmware for amdgpu.
Other people don't work with ffmpeg and libaom and Linux but most of the time I work with them.

Another issue is rocm which is opencl from AMD is missing in Debian Trixie Linux.

Other linux distributions have proper support for amdgpu and AMF.

I think that Debian developer's have totally neglected support for AMD APUs and GPUs and they have not shown any interest on amdgpu.

Other people raised this issue in the current forums but some of you replied neglect those errors etc.,.

Kindly try to provide support for amdgpu and rocm atleast in future releases of Debian Linux.

Regards,
Rupesh.

User avatar
Uptorn
Posts: 462
Joined: 2022-01-22 01:07
Has thanked: 348 times
Been thanked: 123 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#2 Post by Uptorn »

The party primarily responsible for supporting AMD graphics is AMD themselves.

I may have been one of those commenters who previously replied about ignoring the missing firmware messages. Apt complains about "missing amdgpu firmware" ever since the day I started using Debian. And as AMD add more cards (and therefore more firmware) that list will only continue to grow. In a couple of years, I expect that running a apt upgrade will fill my terminal with hundreds of lines of:

Code: Select all

possible missing firmware for amdgpu_some_new_series_2k19
possible missing firmware for amdgpu_some_new_series_2k20
possible missing firmware for amdgpu_some_new_series_islands_names
possible missing firmware for amdgpu_some_new_series_more_islands_names
possible missing firmware for amdgpu_some_new_series_stars_names
possible missing firmware for amdgpu_some_new_series_more_stars_names
possible missing firmware for amdgpu_some_new_series_marketing_names
possible missing firmware for amdgpu_some_new_series_stripper_names
possible missing firmware for amdgpu_some_new_series_2k25
possible missing firmware for amdgpu_some_new_series_2k26
possible missing firmware for amdgpu_some_new_series_part_II_electric_boogaloo
possible missing firmware for amdgpu_some_new_series_more_marketing_names
possible missing firmware for amdgpu_some_new_series_names_of_fish
possible missing firmware for amdgpu_some_new_series_2k31
possible missing firmware for amdgpu_some_new_series_volcanic_names
possible missing firmware for amdgpu_some_new_series_2k32
I will probably need to write a script just to suppress the output.

Sorry for the mini rant. I know this probably isn't helpful.

When you use ffmpeg, are you passing arguments to instruct it to use GPU acceleration?

User avatar
stevepusser
Posts: 13142
Joined: 2009-10-06 05:53
Has thanked: 57 times
Been thanked: 106 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#3 Post by stevepusser »

Right--those are warnings, not errors.

I haven't looked, but are you saying the opencl framework doesn't work with the amdgpu driver?
MX Linux packager and developer

jmgibson1981
Posts: 366
Joined: 2015-06-07 14:38
Has thanked: 20 times
Been thanked: 55 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#4 Post by jmgibson1981 »

Code: Select all

Missing firmware for amdgpu.
So install the firmware.

Code: Select all

# apt install firmware-linux-nonfree
Problem solved.

I don't know about the absolute newest amd stuff but my card is well supported, better than on Windows even once I install the firmware package.

CwF
Global Moderator
Global Moderator
Posts: 3263
Joined: 2018-06-20 15:16
Location: Colorado
Has thanked: 69 times
Been thanked: 289 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#5 Post by CwF »

I still haven't seen much evidence that using the gpu is a tangible advantage.

My cpu index could be 720p@60fps ~15,000 bps broadcast h264 > h265 ~35fps @ 85-105 watts on 9-12 Threads
1080i@30fps > 540p h265 ~50fps @ 130W on 14-16 Threads

foreground utility unaffected, can't tell it's running.
Mottainai

rupeshforu3
Posts: 150
Joined: 2012-12-06 07:04
Location: India

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#6 Post by rupeshforu3 »

Ok why there's no package called rocm which is opencl from AMD. Why there's no package called AMF headers.

I tested other Linux distributions like Fedora and Arch Linux and they provide packages like rocm, AMF headers etc.,

D2b2426R5d
Posts: 32
Joined: 2015-12-23 10:48
Has thanked: 4 times
Been thanked: 3 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#7 Post by D2b2426R5d »

jmgibson1981 wrote: 2024-08-26 20:53

Code: Select all

Missing firmware for amdgpu.
So install the firmware.

Code: Select all

# apt install firmware-linux-nonfree
Problem solved.

I don't know about the absolute newest amd stuff but my card is well supported, better than on Windows even once I install the firmware package.
It's not that simple. Actual package with newer AMD GPU drivers is this:

Code: Select all

apt install firmware-amd-graphics
Secondly, ROCm / OpenCL support is completely missing in Debian and there's no way to fix that, unless someone copies files from other distro, follow some arcane procedures and so on. I have never been successful installing it despite many attempts.

rupeshforu3
Posts: 150
Joined: 2012-12-06 07:04
Location: India

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#8 Post by rupeshforu3 »

If I do not use opencl like rocm or clover along with ffmpeg is there any degradation in the quality of output video file.

I installed amdgpu-install package which is from AMD git repository and its meant for Ubuntu.

From the above package or script I have installed rocm and AMF etc.,.

Have I committed any mistake.

jmgibson1981
Posts: 366
Joined: 2015-06-07 14:38
Has thanked: 20 times
Been thanked: 55 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#9 Post by jmgibson1981 »

firmware-linux-nonfree is a meta that includes firmdware-amd-graphics

User avatar
stevepusser
Posts: 13142
Joined: 2009-10-06 05:53
Has thanked: 57 times
Been thanked: 106 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#10 Post by stevepusser »

Drinking game hit recorded: drink one shot every time firmware is called a driver.

Ding!
MX Linux packager and developer

vng2022
Posts: 58
Joined: 2023-06-10 10:33
Has thanked: 1 time
Been thanked: 6 times

Re: there is no full support for AMD APUs and GPUs in Debian Trixie or testing.

#11 Post by vng2022 »

rupeshforu3 wrote: 2024-08-26 15:58 Actually I use my Linux system mainly for converting h264 .mp4 video files to av1 .mp4 video files using ffmpeg and libaom.
... ...
Other linux distributions have proper support for amdgpu and AMF.
svt-av1 and aom-av1 are software encoders and encoding is being done by the CPU scaling scales across multiple CPU cores without using GPU. SVT-AV1 is remarkable for its parallelization and high coding efficiency. But AV1 as hardware encoder is supported by Nvidia.
AMD Ryzen 5 5600 and ffmpeg SVT-AV1 Encoder Lib v2.2.0:
Screenshot from 2024-08-31 17-31-40.png

Post Reply