SUSE Enterprise Linux AMDGPU installer installation#

amdgpu-install is a tool that helps you install and update AMDGPU, ROCm, and ROCm components.

Additional package repositories#

sudo SUSEConnect -p sle-module-desktop-applications/15.6/x86_64
sudo SUSEConnect -p sle-module-development-tools/15.6/x86_64
sudo SUSEConnect -p PackageHub/15.6/x86_64
sudo zypper install zypper

Installation#

Caution

Ensure that the Installation prerequisites are met before installing.

sudo zypper --no-gpg-checks install https://repo.radeon.com/amdgpu-install/6.4/sle/15.6/amdgpu-install-6.4.60400-1.noarch.rpm

Install amdgpu-dkms#

In order to install only the DKMS, which is a minimal requirement for launching containers with GPU access, use the dkms use case:

sudo amdgpu-install --usecase=dkms

To verify the kernel installation, use this command:

sudo dkms status

If the installation of the kernel module was successful, the command displays the output in the following format:

amdgpu, 4.3-52.el7, 3.10.0-1160.11.1.el7.x86_64, x86_64: installed (original_module exists)

Uninstalling kernel mode driver#

sudo zypper remove amdgpu-dkms amdgpu-dkms-firmware

Uninstalling amdgpu-install#

After uninstalling the driver, remove the amdgpu-install package from system.

sudo zypper remove amdgpu-install

Remove AMDGPU repositories#

# Clear the cache and clean the system
sudo zypper clean --all
sudo zypper refresh

# Restart the system
sudo reboot

Additional options#

  • Unattended installation.

    Adding -y as a parameter to amdgpu-install skips user prompts (for automation). For example:

    amdgpu-install -y --usecase=dkms