Files
oam/knowledge base/amdgpu.md
2024-06-07 01:02:02 +02:00

2.3 KiB

AMDGPU

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

Requirements

Supported distributions

Installation
OpenSUSE Leap, SUSE Linux Enterprise

See Native installation on SLE.

sudo tee '/etc/zypp/repos.d/amdgpu.repo' <<EOF
[amdgpu]
name=amdgpu
baseurl=https://repo.radeon.com/amdgpu/6.1.2/sle/15.5/main/x86_64/
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF

sudo tee --append '/etc/zypp/repos.d/rocm.repo' <<EOF
[ROCm-6.1.2]
name=ROCm6.1.2
baseurl=https://repo.radeon.com/rocm/zyp/6.1.2/main
enabled=1
gpgcheck=1
gpgkey=https://repo.radeon.com/rocm/rocm.gpg.key
EOF

sudo zypper ref
sudo zypper --gpg-auto-import-keys install 'amdgpu-dkms' 'rocm-opencl-runtime'
sudo reboot
Uninstallation
OpenSUSE Leap, SUSE Linux Enterprise

See Native installation on SLE.

sudo zypper remove 'rocm-core'
sudo zypper remove --clean-deps 'amdgpu-dkms'
sudo zypper removerepo 'ROCm-6.1.2'
sudo zypper removerepo 'amdgpu'
sudo zypper clean --all
sudo reboot

Further readings

Sources