I have recently built a new system based on a Radeon RX and Jammy Jellyfish:
# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
# lspci | grep VGA
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)
#
Following the official AMD "Drivers & support" link from the RX6600 article I was hinted to download the "Radeon™ Software for Linux® installer version 22.20 for Ubuntu 22.04 and 22.04.01" under the "Ubuntu x86 64-Bit" which is located at https://www.amd.com/en/support/linux-drivers
Installing that 14k package was very easy:
# dpkg -i amdgpu-install_22.20.50200-1_all.deb
Selecting previously unselected package amdgpu-install.
(Reading database ... 389158 files and directories currently installed.)
Preparing to unpack amdgpu-install_22.20.50200-1_all.deb ...
Unpacking amdgpu-install (22.20.50200-1438747~22.04) ...
Setting up amdgpu-install (22.20.50200-1438747~22.04) ...
#
And then the radeon.com depots showed up as Hit 8 & 9 so that felt refreshing as for once this was a fun end-user experience:
# apt update && apt upgrade -y
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:6 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:8 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:9 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Try Ubuntu Pro beta with a free personal subscription on up to 5 machines.
Learn more at https://ubuntu.com/pro
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
#
At this point those are the AMD-related packages that were installed on my system (And perhaps that "libdrm-amdgpu1:amd64" and "xserver-xorg-video-amdgpu" were just garbage of a previously install/uninstall/purge quest that didn't ended up so well...)
# dpkg -l | grep -i amdgpu
ii amdgpu-install 22.20.50200-1438747~22.04 all AMDGPU driver repository and installer
ii libdrm-amdgpu1:amd64 2.4.110-1ubuntu1 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii xserver-xorg-video-amdgpu 22.0.0-1ubuntu0.1 amd64 X.Org X server -- AMDGPU display driver
#
FACT: There seems to be VERY LITTLE documentation concerning Radeon drivers on Linux Ubuntu 22.04.1 but still I found this article which seemed to me like it could still hold onto some present day relevancy Installing or Uninstalling the AMDGPU stack — amdgpu graphics and compute stack unknown-build documentation
While at it I was also trying to go through all of this process via SSH but referencing the previous article made me realize I could possibly have better luck using TTY7 (There's a EULA to accept).
So I went in front of the box' monitor, logged on TTY7, opened a terminal then issued the following:
$ /usr/bin/amdgpu-install
And the Fight begins!
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:6 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:8 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:9 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-5.15.0-52-generic is already the newest version (5.15.0-52.58).
linux-modules-extra-5.15.0-52-generic is already the newest version (5.15.0-52.58).
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 resolve the situation:
The following packages have unmet dependencies:
rocm-llvm : Depends: python but it is not installable
Depends: libstdc++-5-dev but it is not installable or
libstdc++-7-dev but it is not installable
Depends: libgcc-5-dev but it is not installable or
libgcc-7-dev but it is not installable
Recommends: gcc-multilib but it is not going to be installed
Recommends: g++-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The previously referenced article suggests to execute the amdgpu-install
command as a regular user (per the "$" in front of it) but my spider senses told me to sudo
it. Which also failed but with different packages:
$ sudo amdgpu-install -y --usecase=workstation
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:5 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:6 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Hit:8 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:9 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-5.15.0-52-generic is already the newest version (5.15.0-52.58).
linux-modules-extra-5.15.0-52-generic is already the newest version (5.15.0-52.58).
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 resolve the situation:
The following packages have unmet dependencies:
amdgpu-pro : Depends: amdgpu (= 20.20-1098277) but 22.20.50200-1438747~22.04 is to be installed
amdgpu-pro-lib32 : Depends: amdgpu (= 20.20-1098277) but 22.20.50200-1438747~22.04 is to be installed or
amdgpu-hwe (= 20.20-1098277) but it is not installable
Depends: amdgpu-lib32 (= 20.20-1098277) but 22.20.50200-1438747~22.04 is to be installed
E: Unable to correct problems, you have held broken packages.
$
I did then tried a couple of things:
$ sudo apt install amdgpu -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
amdgpu-core amdgpu-dkms amdgpu-dkms-firmware amdgpu-lib autoconf automake autotools-dev dctrl-tools
dkms gst-omx-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm-amdgpu-radeon1 libdrm2-amdgpu
libegl1-amdgpu-mesa libegl1-amdgpu-mesa-drivers libgbm1-amdgpu libgl1-amdgpu-mesa-dri
libgl1-amdgpu-mesa-glx libglapi-amdgpu-mesa libllvm14.0.50200-amdgpu libomxil-bellagio-bin
libomxil-bellagio0 libwayland-amdgpu-client0 libwayland-amdgpu-egl1 libwayland-amdgpu-server0
libxatracker2-amdgpu m4 mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers mesa-amdgpu-vdpau-drivers
xserver-xorg-amdgpu-video-amdgpu
Suggested packages:
autoconf-archive gnu-standards autoconf-doc libtool debtags libglide3
libomxil-bellagio0-components-base m4-doc
Recommended packages:
libtxc-dxtn-s2tc0 | libtxc-dxtn0
The following NEW packages will be installed:
amdgpu amdgpu-core amdgpu-dkms amdgpu-dkms-firmware amdgpu-lib autoconf automake autotools-dev
dctrl-tools dkms gst-omx-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-common libdrm-amdgpu-radeon1
libdrm2-amdgpu libegl1-amdgpu-mesa libegl1-amdgpu-mesa-drivers libgbm1-amdgpu libgl1-amdgpu-mesa-dri
libgl1-amdgpu-mesa-glx libglapi-amdgpu-mesa libllvm14.0.50200-amdgpu libomxil-bellagio-bin
libomxil-bellagio0 libwayland-amdgpu-client0 libwayland-amdgpu-egl1 libwayland-amdgpu-server0
libxatracker2-amdgpu m4 mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers mesa-amdgpu-vdpau-drivers
xserver-xorg-amdgpu-video-amdgpu
0 upgraded, 33 newly installed, 0 to remove and 0 not upgraded.
Need to get 53.1 MB/53.4 MB of archives.
After this operation, 536 MB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 m4 amd64 1.4.18-5ubuntu2 [199 kB]
Get:2 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 amdgpu-dkms-firmware all 1:5.16.9.22.20.50200-1438747~22.04 [9,987 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 autoconf all 2.71-2 [338 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 autotools-dev all 20220109.1 [44.9 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 automake all 1:1.16.5-1.3 [558 kB]
Get:6 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 amdgpu-dkms all 1:5.16.9.22.20.50200-1438747~22.04 [7,836 kB]
Get:7 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 amdgpu-core all 22.20.50200-1438747~22.04 [2,228 B]
Get:8 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libdrm2-amdgpu amd64 1:2.4.110.50200-1438747~22.04 [36.2 kB]
Get:9 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libdrm-amdgpu-common all 1.0.0.50200-1438747~22.04 [4,904 B]
Get:10 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libdrm-amdgpu-amdgpu1 amd64 1:2.4.110.50200-1438747~22.04 [21.1 kB]
Get:11 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libdrm-amdgpu-radeon1 amd64 1:2.4.110.50200-1438747~22.04 [22.7 kB]
Get:12 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libllvm14.0.50200-amdgpu amd64 1:14.0.50200-1438747~22.04 [19.5 MB]
Get:13 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 mesa-amdgpu-va-drivers amd64 1:22.1.0.50200-1438747~22.04 [2,467 kB]
Get:14 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libglapi-amdgpu-mesa amd64 1:22.1.0.50200-1438747~22.04 [25.2 kB]
Get:15 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libgl1-amdgpu-mesa-dri amd64 1:22.1.0.50200-1438747~22.04 [5,270 kB]
Get:16 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 mesa-amdgpu-vdpau-drivers amd64 1:22.1.0.50200-1438747~22.04 [2,459 kB]
Get:17 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libwayland-amdgpu-egl1 amd64 1.20.0.50200-1438747~22.04 [4,304 B]
Get:18 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libxatracker2-amdgpu amd64 1:22.1.0.50200-1438747~22.04 [1,498 kB]
Get:19 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libgbm1-amdgpu amd64 1:22.1.0.50200-1438747~22.04 [28.6 kB]
Get:20 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libegl1-amdgpu-mesa amd64 1:22.1.0.50200-1438747~22.04 [114 kB]
Get:21 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libegl1-amdgpu-mesa-drivers amd64 1:22.1.0.50200-1438747~22.04 [4,348 B]
Get:22 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 libgl1-amdgpu-mesa-glx amd64 1:22.1.0.50200-1438747~22.04 [140 kB]
Get:23 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 mesa-amdgpu-omx-drivers amd64 1:22.1.0.50200-1438747~22.04 [2,477 kB]
Get:24 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 xserver-xorg-amdgpu-video-amdgpu amd64 1:22.0.0.50200-1438747~22.04 [58.1 kB]
Get:25 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 gst-omx-amdgpu amd64 1:1.0.0.1.50200-1438747~22.04 [58.8 kB]
Get:26 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 amdgpu-lib amd64 22.20.50200-1438747~22.04 [2,108 B]
Get:27 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy/main amd64 amdgpu amd64 22.20.50200-1438747~22.04 [1,684 B]
Fetched 53.1 MB in 2s (35.4 MB/s)
Extracting templates from packages: 100%
Selecting previously unselected package amdgpu-dkms-firmware.
(Reading database ... 389401 files and directories currently installed.)
Preparing to unpack .../0-amdgpu-dkms-firmware_1%3a5.16.9.22.20.50200-1438747~22.04_all.deb ...
Unpacking amdgpu-dkms-firmware (1:5.16.9.22.20.50200-1438747~22.04) ...
Selecting previously unselected package dctrl-tools.
Preparing to unpack .../1-dctrl-tools_2.24-3build2_amd64.deb ...
Unpacking dctrl-tools (2.24-3build2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../2-dkms_2.8.7-2ubuntu2_all.deb ...
Unpacking dkms (2.8.7-2ubuntu2) ...
Selecting previously unselected package m4.
Preparing to unpack .../3-m4_1.4.18-5ubuntu2_amd64.deb ...
Unpacking m4 (1.4.18-5ubuntu2) ...
Selecting previously unselected package autoconf.
Preparing to unpack .../4-autoconf_2.71-2_all.deb ...
Unpacking autoconf (2.71-2) ...
Selecting previously unselected package autotools-dev.
Preparing to unpack .../5-autotools-dev_20220109.1_all.deb ...
Unpacking autotools-dev (20220109.1) ...
Selecting previously unselected package automake.
Preparing to unpack .../6-automake_1%3a1.16.5-1.3_all.deb ...
Unpacking automake (1:1.16.5-1.3) ...
Setting up amdgpu-dkms-firmware (1:5.16.9.22.20.50200-1438747~22.04) ...
Selecting previously unselected package amdgpu-dkms.
(Reading database ... 390237 files and directories currently installed.)
Preparing to unpack .../0-amdgpu-dkms_1%3a5.16.9.22.20.50200-1438747~22.04_all.deb ...
Unpacking amdgpu-dkms (1:5.16.9.22.20.50200-1438747~22.04) ...
Selecting previously unselected package amdgpu-core.
Preparing to unpack .../1-amdgpu-core_22.20.50200-1438747~22.04_all.deb ...
Unpacking amdgpu-core (22.20.50200-1438747~22.04) ...
Selecting previously unselected package libdrm2-amdgpu:amd64.
Preparing to unpack .../2-libdrm2-amdgpu_1%3a2.4.110.50200-1438747~22.04_amd64.deb ...
Unpacking libdrm2-amdgpu:amd64 (1:2.4.110.50200-1438747~22.04) ...
Selecting previously unselected package libdrm-amdgpu-common.
Preparing to unpack .../3-libdrm-amdgpu-common_1.0.0.50200-1438747~22.04_all.deb ...
Unpacking libdrm-amdgpu-common (1.0.0.50200-1438747~22.04) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:amd64.
Preparing to unpack .../4-libdrm-amdgpu-amdgpu1_1%3a2.4.110.50200-1438747~22.04_amd64.deb ...
Unpacking libdrm-amdgpu-amdgpu1:amd64 (1:2.4.110.50200-1438747~22.04) ...
Selecting previously unselected package libdrm-amdgpu-radeon1:amd64.
Preparing to unpack .../5-libdrm-amdgpu-radeon1_1%3a2.4.110.50200-1438747~22.04_amd64.deb ...
Unpacking libdrm-amdgpu-radeon1:amd64 (1:2.4.110.50200-1438747~22.04) ...
Selecting previously unselected package libllvm14.0.50200-amdgpu:amd64.
Preparing to unpack .../6-libllvm14.0.50200-amdgpu_1%3a14.0.50200-1438747~22.04_amd64.deb ...
Unpacking libllvm14.0.50200-amdgpu:amd64 (1:14.0.50200-1438747~22.04) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:amd64.
Preparing to unpack .../7-mesa-amdgpu-va-drivers_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking mesa-amdgpu-va-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libglapi-amdgpu-mesa:amd64.
Preparing to unpack .../8-libglapi-amdgpu-mesa_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libglapi-amdgpu-mesa:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up amdgpu-core (22.20.50200-1438747~22.04) ...
Setting up libdrm2-amdgpu:amd64 (1:2.4.110.50200-1438747~22.04) ...
Setting up libdrm-amdgpu-common (1.0.0.50200-1438747~22.04) ...
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.110.50200-1438747~22.04) ...
Setting up libdrm-amdgpu-radeon1:amd64 (1:2.4.110.50200-1438747~22.04) ...
Setting up libllvm14.0.50200-amdgpu:amd64 (1:14.0.50200-1438747~22.04) ...
Setting up mesa-amdgpu-va-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:amd64.
(Reading database ... 392916 files and directories currently installed.)
Preparing to unpack .../00-libgl1-amdgpu-mesa-dri_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-dri:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:amd64.
Preparing to unpack .../01-mesa-amdgpu-vdpau-drivers_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libwayland-amdgpu-client0:amd64.
Preparing to unpack .../02-libwayland-amdgpu-client0_1.20.0.50200-1438747~22.04_amd64.deb ...
Unpacking libwayland-amdgpu-client0:amd64 (1.20.0.50200-1438747~22.04) ...
Selecting previously unselected package libwayland-amdgpu-server0:amd64.
Preparing to unpack .../03-libwayland-amdgpu-server0_1.20.0.50200-1438747~22.04_amd64.deb ...
Unpacking libwayland-amdgpu-server0:amd64 (1.20.0.50200-1438747~22.04) ...
Selecting previously unselected package libwayland-amdgpu-egl1:amd64.
Preparing to unpack .../04-libwayland-amdgpu-egl1_1.20.0.50200-1438747~22.04_amd64.deb ...
Unpacking libwayland-amdgpu-egl1:amd64 (1.20.0.50200-1438747~22.04) ...
Selecting previously unselected package libxatracker2-amdgpu:amd64.
Preparing to unpack .../05-libxatracker2-amdgpu_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libxatracker2-amdgpu:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libgbm1-amdgpu:amd64.
Preparing to unpack .../06-libgbm1-amdgpu_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libgbm1-amdgpu:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libegl1-amdgpu-mesa:amd64.
Preparing to unpack .../07-libegl1-amdgpu-mesa_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libegl1-amdgpu-mesa:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:amd64.
Preparing to unpack .../08-libegl1-amdgpu-mesa-drivers_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:amd64.
Preparing to unpack .../09-libgl1-amdgpu-mesa-glx_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-glx:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package libomxil-bellagio0.
Preparing to unpack .../10-libomxil-bellagio0_0.9.3-7ubuntu1_amd64.deb ...
Unpacking libomxil-bellagio0 (0.9.3-7ubuntu1) ...
Selecting previously unselected package mesa-amdgpu-omx-drivers:amd64.
Preparing to unpack .../11-mesa-amdgpu-omx-drivers_1%3a22.1.0.50200-1438747~22.04_amd64.deb ...
Unpacking mesa-amdgpu-omx-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Selecting previously unselected package xserver-xorg-amdgpu-video-amdgpu.
Preparing to unpack .../12-xserver-xorg-amdgpu-video-amdgpu_1%3a22.0.0.50200-1438747~22.04_amd64.deb ...
Unpacking xserver-xorg-amdgpu-video-amdgpu (1:22.0.0.50200-1438747~22.04) ...
Selecting previously unselected package gst-omx-amdgpu.
Preparing to unpack .../13-gst-omx-amdgpu_1%3a1.0.0.1.50200-1438747~22.04_amd64.deb ...
Unpacking gst-omx-amdgpu (1:1.0.0.1.50200-1438747~22.04) ...
Selecting previously unselected package amdgpu-lib.
Preparing to unpack .../14-amdgpu-lib_22.20.50200-1438747~22.04_amd64.deb ...
Unpacking amdgpu-lib (22.20.50200-1438747~22.04) ...
Selecting previously unselected package amdgpu.
Preparing to unpack .../15-amdgpu_22.20.50200-1438747~22.04_amd64.deb ...
Unpacking amdgpu (22.20.50200-1438747~22.04) ...
Selecting previously unselected package libomxil-bellagio-bin.
Preparing to unpack .../16-libomxil-bellagio-bin_0.9.3-7ubuntu1_amd64.deb ...
Unpacking libomxil-bellagio-bin (0.9.3-7ubuntu1) ...
Setting up libxatracker2-amdgpu:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up libomxil-bellagio-bin (0.9.3-7ubuntu1) ...
Setting up libwayland-amdgpu-server0:amd64 (1.20.0.50200-1438747~22.04) ...
Setting up libgbm1-amdgpu:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up libwayland-amdgpu-egl1:amd64 (1.20.0.50200-1438747~22.04) ...
Setting up libomxil-bellagio0 (0.9.3-7ubuntu1) ...
Setting up libglapi-amdgpu-mesa:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up mesa-amdgpu-vdpau-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up m4 (1.4.18-5ubuntu2) ...
Setting up autotools-dev (20220109.1) ...
Setting up autoconf (2.71-2) ...
Setting up xserver-xorg-amdgpu-video-amdgpu (1:22.0.0.50200-1438747~22.04) ...
Setting up mesa-amdgpu-omx-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up libwayland-amdgpu-client0:amd64 (1.20.0.50200-1438747~22.04) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up dctrl-tools (2.24-3build2) ...
Setting up automake (1:1.16.5-1.3) ...
update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode
Setting up libgl1-amdgpu-mesa-dri:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up gst-omx-amdgpu (1:1.0.0.1.50200-1438747~22.04) ...
Setting up dkms (2.8.7-2ubuntu2) ...
Setting up amdgpu-dkms (1:5.16.9.22.20.50200-1438747~22.04) ...
Loading new amdgpu-5.16.9.22.20-1438747~22.04 DKMS files...
Building for 5.15.0-52-generic
Building for architecture x86_64
Building initial module for 5.15.0-52-generic
Can't load /var/lib/shim-signed/mok/.rnd into RNG
40C7E4780E7F0000:error:12000079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/ra
ndfile.c:106:Filename=/var/lib/shim-signed/mok/.rnd
.............+.+..+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..........+
........+...+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.....+.....+.+...+.
.+..........+.....+.............+......+...+...........+.+.....+....+...............+...........+...+....
...+...+......+..+.......+........+.......+......+......+......+.....+.........+....+.....+..............
.....+.....+......+.......+...............+.........+...+.....+...+...............+............+.......+.
.....+.........+......+..+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.......+.....+....+.....+.+...+.....+..........+...+..............+.........+............+...+.+...+..+..
..+.....+...................+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....
.+.......+..+.+..................+.....+.+..............+.......+...+.........+..+...+.+..............+..
.+...+....+.....+.+......+........+......+..........+............+..+......+......+.+.....+...+....+..+.+
...+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.............+......+...+.
.+...+..........+...+...+.....+.+.....+.+...+...........+....+..+..........+..+..................+.......
+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Secure Boot not enabled on this system.
Done.
Forcing installation of amdgpu
amdgpu.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-52-generic/updates/dkms/
amdttm.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-52-generic/updates/dkms/
amdkcl.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-52-generic/updates/dkms/
amd-sched.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-52-generic/updates/dkms/
amddrm_ttm_helper.ko:
Running module version sanity check.
- Original module
- Installation
- Installing to /lib/modules/5.15.0-52-generic/updates/dkms/
Running the post_install script:
depmod....
update-initramfs: Generating /boot/initrd.img-5.15.0-52-generic
W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi12_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/aldebaran_cap.bin for module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/navi10_mes.bin for module amdgpu
Setting up libegl1-amdgpu-mesa:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:22.1.0.50200-1438747~22.04) ...
Setting up amdgpu-lib (22.20.50200-1438747~22.04) ...
Setting up amdgpu (22.20.50200-1438747~22.04) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for install-info (6.8-4build1) ...
#
And now the failed package selection has been harmonized either with or without using sudo
:
$ /usr/bin/amdgpu-install
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu jammy InRelease
Hit:6 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:7 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:8 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Hit:9 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-5.15.0-52-generic is already the newest version (5.15.0-52.58).
linux-modules-extra-5.15.0-52-generic is already the newest version (5.15.0-52.58).
amdgpu-dkms is already the newest version (1:5.16.9.22.20.50200-1438747~22.04).
amdgpu-dkms set to manually installed.
amdgpu-lib is already the newest version (22.20.50200-1438747~22.04).
amdgpu-lib 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 resolve the situation:
The following packages have unmet dependencies:
rocm-llvm : Depends: python but it is not installable
Depends: libstdc++-5-dev but it is not installable or
libstdc++-7-dev but it is not installable
Depends: libgcc-5-dev but it is not installable or
libgcc-7-dev but it is not installable
Recommends: gcc-multilib but it is not going to be installed
Recommends: g++-multilib but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I swear I had this going on by now in 18.04|20.04 days.
More stuff I tried:
# apt install gcc-multilib g++-multilib libgcc-7-dev libstdc++-7-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libgcc-7-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
Package libstdc++-7-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libgcc-7-dev' has no installation candidate
E: Package 'libstdc++-7-dev' has no installation candidate
# apt search libgcc-7-dev
Sorting... Done
Full Text Search... Done
#
The first thing I did before posting this was to search for "amd radeon" in this community's forum and even though I did found some posts about the subject that none were related to the drivers themselves in 22.04.x.
The closest thread I could find was left abandoned over 2 years ago Dedicated video driver not working - #3 by razvan_teodor
So tell me, oh dear Community, did anybody ever got it easy with AMD Drivers and 22.04.1? Like, for real?