[OpenCL] Problem installing AMD driver 22.20 for Radeon RX 6600 on jammy (22.04.1 LTS)

According to the link, that was expected:

N.B.:

  • As of AMDGPU-PRO 20.45-1188099-ubuntu-20.04 (and perhaps earlier), amdgpu-install does not honor --no-dkms option when run with --opencl=rocr, i.e. amdgpu-dkms is intalled and kernel module amdgpu.ko is compiled, replacing the one from Linux kernel tree.

These options are mutually exclusive:

--opencl=legacy  --no-dkms

These options are also mutually exclusive:

--opencl=legacy --headless  

To get back to your earlier question; the reason for me posting the link in question was this:

I guess the next problem you will be facing will be that the current AMD driver (v22.20) is only compatible with Ubuntu 22.04 and 22.04.01.

To which the linked article has this to say:

amdgpu-install may complain that it can't install, because this is not Ubuntu version expected. Edit /etc/os-release and replace Ubuntu version with what installer wants. After amdgpu-install completes /etc/os-release may be changed back.

Anyway, let's get back on track:
The code below might just work and will probably do what you want:

 /usr/bin/amdgpu-install --usecase=opencl  --opencl=legacy  

Rest to say that it keeps me wondering how closed this openCL actually is :slight_smile: