cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

jiapei100
Adept I

amdgpu installation on Debian 12.

 

I found a very similar topic at https://community.amd.com/t5/devgurus-discussion/amdgpu-install-on-ubuntu-22-04-1-lts/m-p/555754 , however, this does NOT solve my issue.

I'm using a very old Desktop, the video card is AMD RX 580, with Debian 12 installed.

 

➜ ~ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

➜ ~ uname -a
Linux debian 6.1.0-10-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.37-1 (2023-07-03) x86_64 GNU/Linux

 

and glxinfo is as:

name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 580 Series (polaris10, LLVM 15.0.6, DRM 3.49, 6.1.0-10-amd64) (0x67df)
Version: 22.3.6
Accelerated: yes
Video memory: 8192MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 7760 MB, largest block: 7760 MB
VBO free aux. memory - total: 15938 MB, largest block: 15938 MB
Texture free memory - total: 7760 MB, largest block: 7760 MB
Texture free aux. memory - total: 15938 MB, largest block: 15938 MB
Renderbuffer free memory - total: 7760 MB, largest block: 7760 MB
Renderbuffer free aux. memory - total: 15938 MB, largest block: 15938 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 24218 MB

 

When I tried to install the driver by command amdgpu-install (which I downloaded directly from http://repo.radeon.com/amdgpu-install/23.10.2/ubuntu/jammy/amdgpu-install_5.5.50502-1_all.deb , on https://www.amd.com/en/support/linux-drivers ) , I got:

 

➜ ~ amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk --opencl=legacy
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://packages.microsoft.com/repos/code stable InRelease
Hit:5 https://repo.radeon.com/amdgpu/5.5.2/ubuntu jammy InRelease
Hit:6 https://repo.radeon.com/rocm/apt/5.5.2 jammy InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
amdgpu-lib32 : Depends: libdrm2-amdgpu:i386 but it is not installable
Depends: libdrm-amdgpu-amdgpu1:i386 but it is not installable
Depends: libllvm-amdgpu:i386 but it is not installable
Depends: libwayland-amdgpu-client0:i386 but it is not installable or
libwayland-client0:i386 but it is not installable
Depends: libwayland-amdgpu-server0:i386 but it is not installable or
libwayland-server0:i386 but it is not installable
Depends: libwayland-amdgpu-egl1:i386 but it is not installable or
libwayland-egl1:i386 but it is not installable
Depends: libxatracker2-amdgpu:i386 but it is not installable
Depends: libgbm1-amdgpu:i386 but it is not installable
Depends: libegl1-amdgpu-mesa:i386 but it is not installable
Depends: libegl1-amdgpu-mesa-drivers:i386 but it is not installable
Depends: libglapi-amdgpu-mesa:i386 but it is not installable
Depends: libgl1-amdgpu-mesa-glx:i386 but it is not installable
Depends: libgl1-amdgpu-mesa-dri:i386 but it is not installable
Depends: mesa-amdgpu-va-drivers:i386 but it is not installable
Depends: mesa-amdgpu-vdpau-drivers:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.
➜ ~

 

Can anybody please give me a hand?

3 Replies
azagramac
Journeyman III

By default debian, ubuntu and fedora, use the amdgpu driver which is included in the repositories. In many cases this is sufficient, but if you want it for gaming or other tasks, it is insufficient. 

 

AMD doesn't support Debian or Fedora (very bad AMD), you have to find your own way, I managed some time ago to install the amdgpu drivers in Debian 10, but that was a long time ago. 

 

In Fedora 38, my GPU RX 5700 XT doesn't perform as well as it should because I can't install the official drivers, the ones from the repository aren't working very well. 

- AMD Ryzen 7 3700X
- AMD Radeon RX 5700 XT
- Debian 12, GNU/Linux Kernel 6.2
0 Likes
bugxzhu
Journeyman III

-no-32

0 Likes
cleary
Journeyman III

Necromancing because this thread keeps appearing at the top of my search results:

 

All the not-installable packages are i386 arch packages. This is likely happening because you have not enabled the multi-arch option for dpkg.

 

sudo dpkg --add-architecture i386
sudo apt update

 

Then try again -

More info: 

https://wiki.debian.org/Multiarch/HOWTO

0 Likes