Thanks for your time and effort with this problem, I really appreciate it.
But I have 2 issues with your last reply:
#1
Blockquote
Edit /etc/os-release and replace Ubuntu version with what installer wants.
The installer fails at a distribution dependency update with no arguments:
$ sudo apt install amdgpu -y
[...]
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.
And never once did it complained about Linux version.
#2.
By downloading The Official AMD Driver which markets this specific version of Ubuntu it still doesn't work natively. Then why isn't AMD keen enough to provide the source and avoid all of this mess?
But you are right: let's focus on the matter at hand. Here's the result of the command:
~ % /usr/bin/amdgpu-install --usecase=opencl --opencl=legacy
[sudo] password for user:
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
Get:5 http://ca.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Hit:6 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:7 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Get:8 http://ca.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [344 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [662 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [9,404 B]
Get:13 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [283 kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [435 kB]
Get:15 http://ca.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 c-n-f Metadata [356 B]
Get:16 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [367 kB]
Get:17 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [56.5 kB]
Fetched 2,483 kB in 2s (1,200 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package opencl-legacy-amdgpu-pro-icd
~ % sudo apt search opencl-legacy-amdgpu-pro-icd
Sorting... Done
Full Text Search... Done
~ %
At this point I had to apt search opencl and there are several hits. But I believe this one matters the most here:
% sudo apt install opencl-amdgpu-pro
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 resolve the situation:
The following packages have unmet dependencies:
opencl-amdgpu-pro : Depends: amdgpu-dkms (= 1:5.6.0.15-1098277) but 1:5.16.9.22.20.50200-1438747~22.04 is to be installed
Depends: libdrm2-amdgpu (= 1:2.4.100-1098277) but 1:2.4.110.50200-1438747~22.04 is to be installed
Depends: libdrm-amdgpu-amdgpu1 (= 1:2.4.100-1098277) but 1:2.4.110.50200-1438747~22.04 is to be installed
Depends: libdrm-amdgpu-common (= 1.0.0-1098277) but 1.0.0.50200-1438747~22.04 is to be installed
E: Unable to correct problems, you have held broken packages.
%
More problems, yaaa! And this sadly didn't fixed it:
% sudo apt install amdgpu-dkms libdrm2-amdgpu libdrm-amdgpu-common libdrm-amdgpu-amdgpu1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libdrm-amdgpu-amdgpu1 is already the newest version (1:2.4.110.50200-1438747~22.04).
libdrm-amdgpu-amdgpu1 set to manually installed.
libdrm-amdgpu-common is already the newest version (1.0.0.50200-1438747~22.04).
libdrm-amdgpu-common set to manually installed.
libdrm2-amdgpu is already the newest version (1:2.4.110.50200-1438747~22.04).
libdrm2-amdgpu set to manually installed.
The following packages were automatically installed and are no longer required:
libgles1-amdgpu-mesa libgles2-amdgpu-mesa libllvm10.0-amdgpu libosmesa6-amdgpu
Use 'sudo apt autoremove' to remove them.
Suggested packages:
debtags
The following NEW packages will be installed:
amdgpu-dkms amdgpu-dkms-firmware dctrl-tools dkms
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.
Need to get 18.0 MB of archives.
After this operation, 393 MB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 dctrl-tools amd64 2.24-3build2 [66.9 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu jammy/main amd64 dkms all 2.8.7-2ubuntu2 [69.6 kB]
Get:3 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:4 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]
Fetched 18.0 MB in 1s (16.5 MB/s)
Selecting previously unselected package amdgpu-dkms-firmware.
(Reading database ... 389890 files and directories currently installed.)
Preparing to unpack .../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 .../dctrl-tools_2.24-3build2_amd64.deb ...
Unpacking dctrl-tools (2.24-3build2) ...
Selecting previously unselected package dkms.
Preparing to unpack .../dkms_2.8.7-2ubuntu2_all.deb ...
Unpacking dkms (2.8.7-2ubuntu2) ...
Setting up amdgpu-dkms-firmware (1:5.16.9.22.20.50200-1438747~22.04) ...
Selecting previously unselected package amdgpu-dkms.
(Reading database ... 390440 files and directories currently installed.)
Preparing to unpack .../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) ...
Setting up dctrl-tools (2.24-3build2) ...
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
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
Processing triggers for man-db (2.10.2-1) ...
% sudo apt install opencl-amdgpu-pro
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 resolve the situation:
The following packages have unmet dependencies:
opencl-amdgpu-pro : Depends: amdgpu-dkms (= 1:5.6.0.15-1098277) but 1:5.16.9.22.20.50200-1438747~22.04 is to be installed
Depends: libdrm2-amdgpu (= 1:2.4.100-1098277) but 1:2.4.110.50200-1438747~22.04 is to be installed
Depends: libdrm-amdgpu-amdgpu1 (= 1:2.4.100-1098277) but 1:2.4.110.50200-1438747~22.04 is to be installed
Depends: libdrm-amdgpu-common (= 1.0.0-1098277) but 1.0.0.50200-1438747~22.04 is to be installed
E: Unable to correct problems, you have held broken packages.
%
I think my next video card on Linux will be a NVIDIA ![]()