$ zypper ar -f -g -n "ROCm 6.1" https://repo.radeon.com/rocm/zyp/6.1/main/ ROCm-6.1
However the actual install command fails:
$ sudo zypper in rocm6.1.0
Problem: 1: nothing provides 'libpython3.6m.so.1.0()(64bit)' needed by the to be installed rocm-gdb6.1.0-14.1.60100-sles154.82.x86_64
Solution 1: do not install rocm6.1.0-6.1.0.60100-sles154.82.x86_64
Solution 2: break rocm-gdb6.1.0-14.1.60100-sles154.82.x86_64 by ignoring some of its dependencies
Any idea where to get python 3.6 required for ROCm? Thanks!
Well, it is for SLES, but there are no other rocm repos for SUSE: Index of /rocm/zyp/latest/main/ I assume they should be compatible with OpenSUSE and they are referenced in the OpenSUSE wiki.
Edit: there is this mention in the wiki though:
ROCm packaged by AMD is available for openSUSE Leap (SUSE SLE), for Tumbleweed compile it by yourself.
Alternatively you could setup a distrobox with leap or, to make your life even easier, ubuntu and just do whatever you need to in there - with the added benefit of not messing with your base system should anything go awry.
Why you recommend Ubuntu here? Leap has the same level of support. The only difference is new Ubuntu releases get earlier ROCm support for new hardware (advantage is about 1 - 2 months).
Thanks, this will be a preferred option indeed. I suppose that GPU pass-through should work right away because distrobox containers share the same kernel?
As i said, he can use Leap too. But depending on what he intendes to do, ubuntu will likely be easier as some things might require extra steps on leap than on ubuntu. Such as Stable Diffusion.
What?
Amdgpu driver is a part of Linux kernel. TW uses newer kernel than Leap, so https://repo.radeon.com/ provides older amdgpu driver than needed for TW.
For ROCm user needs amdgpu and amdkfd drivers.
Sorry, my wording was confusing.
I meant to say that they will have to install the amdgpu ROCm drivers(which arent part of mesa or the amdgpu kernel driver) inside the distrobox using the appropriate ubuntu or leap specific linked amdgpu-install script repo since he already installed ROCm on the host as per his first post.