Linux Drivers page is missing support for Ubuntu 24.04 LTS
Refer to https://www.amd.com/en/support/linux-drivers In the Ubuntu subsection, it offers drivers for: Ubuntu 20.04.6 HWE Ubuntu 22.04.4 HWE Ubuntu 22.04.3 HWE with ROCm 6.0.2 There is no mention of Ubuntu 23.10, or of Ubuntu 24.04LTS
I decided to ignore the problem and to try and install the third option, but the installer reports several problems, as you can see below:
danw58@danw58-MS-7E12:~$ sudo amdgpu-install -y --usecase=graphics,rocm
INFO: i386 architecture has not been enabled with dpkg.
Installation of 32-bit run time has been excluded.
Get:1 https://repo.radeon.com/amdgpu/6.0.2/ubuntu jammy InRelease [5,465 B]
Hit:2 https://repo.teamsforlinux.de/debian stable InRelease
Hit:3 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu noble-security InRelease
Get:4 https://repo.radeon.com/rocm/apt/6.0.2 jammy InRelease [2,617 B]
Hit:5 https://packages.element.io/debian default InRelease
Get:6 https://repo.radeon.com/amdgpu/6.0.2/ubuntu jammy/main amd64 Packages [13.9 kB]
Hit:7 https://gpl.savoirfairelinux.net/pub/mirrors/ubuntu noble InRelease
Hit:8 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:9 https://repo.radeon.com/rocm/apt/6.0.2 jammy/main amd64 Packages [32.1 kB]
Fetched 54.1 kB in 1s (95.5 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-6.8.0-31-generic is already the newest version (6.8.0-31.31).
linux-headers-6.8.0-31-generic set to manually installed.
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:
rocm-gdb : Depends: libtinfo5 but it is not installable
Depends: libncurses5 but it is not installable
Depends: libpython3.10 but it is not installable or
libpython3.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
danw58@danw58-MS-7E12:~$
Well, libtinfo5 is not installable because I have libtinfo6. libncurses5 is not installable because I have libncurses6. libpython3.8 and 3.10 are not installable because I have the more recent libpython3.12
So, it seems the driver doesn't look for "dependency X or better", but rather for "dependency X ... period!".
How long is it going to take for 24.04 support to come? I'm asking because, for different reasons, two courses that I'm enrolled in as a student may depend on this driver installing. For one course I need Teams-on-Linux, and for the other I need to install PyTorch, but I get cryptic warnings about GL drivers from both installers. Plus, trying to build a game library, plib, ./configure says I don't have a working GL library, when in fact I have glut, freeglut, glew, libgl, libglew, libglut, libglx and mesa, all dev and non-dev, all optional packages... I suspect the problem is drivers, too.