For years now, I have easily updated the “hard way” installed nvidia driver when zypper dup pulls in a kernel update: boot with the nomodeset 3 parameter, execute sh name-of-nvidia-run-file.run, then run dracut --regenerate-all --force. Easy, quick.
No longer. I now have to uninstall the .run file first, and the uninstall inevitably hangs, requiring a R-E-I-S-U-B. I then reboot, run dracut again, re-install the .run file from scratch. Much more time-consuming.
This has been going on for about a month, and the nvidia-uninstall.log consistently looks like the example below.
The culprit seems to be /usr/lib64/libnvidia-egl-wayland.so.1 . Should I try deleting both the file and the symbolic link before running install? Or could that make my system more ill than it is now? Any tips will be appreciated.
nvidia-installer log file '/var/log/nvidia-uninstall.log'
creation time: Mon Mar 3 19:35:27 2025
installer version: 570.124.04
PATH: /sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin
nvidia-installer command line:
./nvidia-installer
--uninstall
Using: nvidia-installer ncurses v6 user interface
-> Detected 8 CPUs online; setting concurrency level to 8.
-> Scanning the initramfs with lsinitrd...
-> /usr/bin/lsinitrd requires a file path argument, but none was given.
-> Executing: /usr/bin/lsinitrd /boot/initrd-6.13.5-1-default
-> If you plan to no longer use the NVIDIA driver, you should make sure that no X screens are configured to use the NVIDIA X driver in your X configuration file. If you used nvidia-xconfig to configure X, it may have created a backup of your original configuration. Would you like to run `nvidia-xconfig --restore-original-backup` to attempt restoration of the original X configuration file? (Answer: No)
-> Parsing log file:
-> done.
-> Validating previous installation:
-> Nouveau detected in initramfs
-> nvidia-drm.ko detected in initramfs
-> Initramfs scan complete.
-> done.
-> Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86_64 (1.0-57012404 (570.124.04)):
-> Unable to restore symbolic link /usr/lib64/libnvidia-egl-wayland.so.1 -> libnvidia-egl-wayland.so.1.1.17 (File exists).
WARNING: Failed to restore some backed up files/symlinks, and/or their attributes. See /var/log/nvidia-uninstall.log for details
-> done.
-> Running depmod and ldconfig:
-> done.
-> Running `/usr/bin/systemctl daemon-reload`:
-> done.
-> Running distribution scripts
executing: '/usr/lib/nvidia/post-uninstall'...
rm: cannot remove '/etc/modprobe.d/nvidia.conf': No such file or directory
-> done.