openSUSE 15.4/15.3/Tumbleweed Uninstall NVIDIA drivers and Enable Nouveau

Table of Contents

1. Before NVIDIA drivers installation (openSUSE 15.4/15.3/Tumbleweed)
2. Install NVIDIA proprietary drivers on openSUSE 15.4/15.3/Tumbleweed and disable the nouveau driver
3. Some Screenshots Using Different NVIDIA Cards and Drivers
4. Restore/Change/Update Plymouth After NVIDIA Drivers Installation (BIOS/UEFI Users)
5. openSUSE 15.4/15.3/Tumbleweed Uninstall NVIDIA drivers and Enable Nouveau
6. NVIDIA 515.65.01/510.85.02/470.141.03 + Xwayland / Wayland on openSUSE Leap 15.4 / Tumbleweed and Gnome 42/41

5. openSUSE 15.4/15.3/Tumbleweed Uninstall NVIDIA drivers and Enable Nouveau

I assume here that you have used this guide install part to install your NVIDIA drivers. This whole process is good to run on runlevel 3. When there is no X running. So first boot to runlevel 3 using direct parameter (3) on Grub linux/linuxefi line or using “systemctl set-default multi-user.target”.

5.1 Change root user

su -
## OR ##
sudo -i

5.2 Start NVIDIA Uninstall Process

nvidia-installer --uninstall

5.3 Restore xorg.conf

You can restore xorg.conf backup or remove /etc/X11/xorg.conf if you don’t have any special configuration.
Fedora NVIDIA Uninstall Restore Xorg Conf

5.4 NVIDIA Uninstall Warning

You might see following warning if you have updated some packages since nvidia drivers installation. Just select “OK”.
Fedora NVIDIA Uninstall Warning Altered

5.5 NVIDIA Installer Uninstalling

Fedora NVIDIA Uninstall Process

5.6 Fedora NVIDIA Uninstall Complete

Fedora NVIDIA Uninstall Complete

5.7 Remove blacklist nouveau

Remove ‘blacklist nouveau’ line from /etc/modprobe.d/blacklist.conf

5.8 Edit /etc/default/grub

Remove ‘rd.driver.blacklist=nouveau’ from end of ‘GRUB_CMDLINE_LINUX=”…”‘

## Example row(s) on openSUSE Linux ##
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent mitigations=auto quiet rd.driver.blacklist=nouveau"
## OR ##
GRUB_CMDLINE_LINUX_DEFAULT="splash=silent systemd.show_status=yes mitigations=auto quiet lsm=apparmor rd.driver.blacklist=nouveau"

5.9 Update grub2 conf

## BIOS / UEFI ##
grub2-mkconfig -o /boot/grub2/grub.cfg

5.10 Generate initramfs

## Backup old initramfs nvidia image ##
mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nvidia.img
 
## Generate new initramfs image ##
mkinitrd /boot/initrd-$(uname -r) $(uname -r)

5.11 Reinstall xorg, mesa and libglvnd packages

## openSUSE 15.4/15.3/Tumbleweed ##
zypper in -f $(rpm -qa |grep -i 'xorg-\|mesa-*\|libglvnd')

5.12 Reboot

Run systemctl set-default graphical.target first or if you used direct grub parameter, then just:

reboot

5.14 NVIDIA Drivers Uninstall Complete and nouveau enabled

openSUSE NVIDIA Drivers Uninstall Complete and nouveau restored

10 comments on “openSUSE 15.4/15.3/Tumbleweed Uninstall NVIDIA drivers and Enable Nouveau

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close