On 4/11/23 05:56, Rodney Baker wrote:
On Tuesday, 11 April 2023 6:50:54 PM ACST Reid Sutherland wrote:
This isn't the right place but it would be really nice if X11 could use a secondary driver if the primary driver fails. This would help new users when the kernel is updated and the binary NV driver needs to be rebuilt.
Have you tried using dkms? That will automatically take care of building the kernel module for you when you boot the new kernel and the module does not exist (but you have to have dkms installed and have installed the nvidia driver from the nvidia installer, not the openSUSE packages).
I've been doing it that way for years. You can also tell dkms to build the module for the new kernel prior to rebooting. If you include the nvidia fb and drm modules in initrd, you also need to run dracut to add the newly build modules prior to rebooting.
That's a good idea, I've been just running ./NV.. -K and restarting sddm. I was thinking on behalf of new users, having a fallback driver is ideal compared hitting a text-only login prompt or trying to figure out what you mentioned.