New Repository Caters to Tumbleweed’s Nvidia Users

20. Sep 2017 | Douglas DeMaio | No License

Using Nvidia drivers on openSUSE Tumbleweed in the past was cumbersome and fragile when it came to regular snapshot updates.

Often users needed to uninstall the NVIDIA’s userspace driver (like libGL, Xserver glx library, etc.) before updating to the latest Tumbleweed snapshot and reinstall the NVIDIA’s userspace driver afterward. Otherwise users may have ended up in a mess with Mesa overwriting NVIDIA’s userspace drivers.

In addition with every kernel update, users needed to recompile the kernel module due to possible Kernel Application Binary Interface (kABI) changes in a new Linux kernel. The easiest way to achieve this was to completely uninstall NVIDIA’s driver (“nvidia-installer –uninstall”) and reinstall it after the Tumbleweed update.

Now, openSUSE Tumbleweed users have a better solution.

An official repository provided at https://download.nvidia.com/opensuse/tumbleweed/ is eliminating the frustration of doing the above mentioned by appropriate RPMs. It contains userspace driver packages, which are no longer conflicting with Mesa drivers (making use of libglvnd framework) and a kernel package, which is (re-)building NVIDIA’s kernel module by RPM trigger scripts during installation or when a kernel package is being updated.

So moving forward with the new repository is expected to prevent the graphics card from breaking in future Tumbleweed snapshots.

If an Nvidia user updates a Tumbleweed machine and the graphics card still doesn’t work, Tumbleweed Release Manager Dominique Leuenberger, recommends rolling the system back to the last working snapshot using snapper and waiting for the official repository for Nvidia to update. To do this, users will need to be using the Btrfs file system.

Nvidia users can also choose the Nouveau as an alternative to the new Nvidia repository, but the recent 20170913 Tumbleweed snapshot that updates the kernel branch from 4.12 to 4.13 appears to have worked as expected.

openSUSE Tumbleweed is a rolling release and gets frequent snapshots, but only occasionally gets an updated kernel branch as opposed to the normal point releases of the kernel, which happen quite frequently in Tumbleweed.

The  20170913 snapshot brought Tumbleweed users the newest version of GNOME one day after the 3.26 release was officially release from upstream. Leuenberger wanted to remind people who wanted to update their Tumbleweed machines to the latest GNOME 3.26 version, codenamed “Manchester”, to do a # zypper dup.

The next Tumbleweed snapshot could take a few days, Leuenberger said, because there are some glibc issues in staging that the openSUSE team needed to rework.

Share this post: