NVIDIA Open GPU kernel modules: openSUSE/SLE packages available
Important Notice
With my new blogpost Installation of NVIDIA drivers on openSUSE and SLE this article here became more or less obsolete. So it is highly recommended to read my new article there instead.
Introduction
On May 19, 2022 NVIDIA made a release of their Open GPU kernel modules for their newer GPU platforms (Turing and newer) with Risc-V system processor. Meanwhile we have packages available in our currently supported openSUSE/SLE distributions. If you want to use these you need to install nvidia-open-driver-G06-signed
package.
Installation
Installation instructions since Leap 15.6/SLE15-SP6 and Tumbleweed:
# will install needed packages
zypper in nvidia-open-driver-G06-signed-kmp-default
Find supported Turing/Ampere/Hopper/Ada/Blackwell GPUs here. Check with inxi -aG
. Use hwinfo --gfxcard
on SLE.
Display Drivers
nvidia-video-G06
, nvidia-gl-G06
and nvidia-compute-utils-G06
packages are
available via NVIDIA’s openSUSE/SLE repositories, which
then can be used together with NVIDIA’s Open GPU kernel modules above.
Installing Display Drivers on Leap 15.6/Tumbleweed/SLE15-SPx
# if you have not added this repository yet
# Leap 15.6
zypper addrepo https://download.nvidia.com/opensuse/leap/15.6/ nvidia
# Leap 16.0 (Beta)
zypper addrepo https://download.nvidia.com/opensuse/leap/16.0/ nvidia
# Tumbleweed
zypper addrepo https://download.nvidia.com/opensuse/tumbleweed/ nvidia
# SLE15-SP6
zypper addrepo https://download.nvidia.com/suse/sle15sp6/ nvidia
# SLE15-SP7
zypper addrepo https://download.nvidia.com/suse/sle15sp7/ nvidia
# SLE16 (Beta)
zypper addrepo https://download.nvidia.com/suse/sle16/ nvidia
# install all required packages
version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G06-signed-kmp-default | cut -d "_" -f1 | sort -u | tail -n 1)
zypper in nvidia-video-G06 == ${version} nvidia-compute-utils-G06 == ${version}
CUDA
With that - after installing nvidia-compute-utils-G06
(which requires nvidia-compute-G06
, which contains libcuda) - you can experiment with CUDA. Install CUDA stack from NVIDIA’s webserver.
Installing CUDA on Leap 15.6/Tumbleweed/SLE15-SPx
# if you have not added this repository yet
# Leap 15.6/16.0(Beta)/Tumbleweed
zypper addrepo https://developer.download.nvidia.com/compute/cuda/repos/opensuse15/x86_64/ cuda
# SLE15-SPx/SLE16(Beta) (x86_64)
zypper addrepo https://developer.download.nvidia.com/compute/cuda/repos/sles15/x86_64/ cuda
# SLE15-SPx/SLE16(Beta) (aarch64)
zypper addrepo https://developer.download.nvidia.com/compute/cuda/repos/sles15/sbsa/ cuda
# will install needed CUDA packages
zypper in cuda-toolkit-12-8
# Unfortunately the following package is not available for aarch64,
# but there are CUDA samples available on GitHub, which can be
# compiled from source: https://github.com/nvidia/cuda-samples
zypper in cuda-demo-suite-12-8
Let’s have a first test for using libcuda (only available on x86_64).
/usr/local/cuda-12.8/extras/demo_suite/deviceQuery
CUDA Minimal Installation
Users, who don’t need a graphical desktop, can omit the installation of the display driver packages above and perform a CUDA Minimal Installation
instead.
version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G06-signed-kmp-default | cut -d "_" -f1 | sort -u | tail -n 1)
zypper in nvidia-compute-utils-G06 == ${version} cuda-libraries-12-8
Longterm Kernel on Tumbleweed
In case you’re using Tumbleweed’s longterm Kernel (kernel-longterm
), please replace default
with longterm
in the commands above, i.e.
[...]
# Installation
zypper in nvidia-open-driver-G06-signed-kmp-longterm
[...]
# Display Drivers / CUDA Minimal Installation
version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G06-signed-kmp-longterm | cut -d "_" -f1 | sort -u | tail -n 1)
[...]
Feedback
If you have questions, comments and any kind of feedback regarding this topic, don’t hesitate to contact me via email. Thanks!