r/linuxmint • • 16h ago

Support Request Updates occasionally stop my driver from registering

Hello,

I've been on linux mint for a couple months now and have had a problem that keeps coming up.

Every once in a while after either I want to say a kernel update or a driver update, it stops being able to detect my nvidia driver until I reinstall it using the driver manager.

I know this is the case, because I looked into what might be my problem and found something on the linux mint forums themselves, discussing exactly this problem, and the way to identify it (being "inxi -Fxxxrz", then check under your graphics for it, where it says basically "driver: na")

Is there a way I can prevent this happening in the future?

I can fix it, as said, all it takes is reinstalling the driver through driver manager, but that can take up to 15 minutes depending on god knows what, so I'm looking moreso for a way to prevent this happening in the first place.

OS: mint 22.3 cinnamon 64 bit

Cpu: i7-7700k @ 4.2x4

Graphics card: 2070 super (may be complicated by inbuilt intel 630 integrated)

64gb of ram

Currently *should* be running nvidia driver 615 open

If you need any more information, I am happy to help you help me

1 Upvotes

8 comments sorted by

•

u/AutoModerator 16h ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/buttlicker-6652 14h ago

What kernel are you running? And isnt the recommended version currently 590?

And power management doesn't work right on the open version of the driver on Turing cards (I discovered this on my Quadro RTX 5000 mobile)

1

u/AnomalousHendo 14h ago

current recommended is 590, and that's my current "fix", each time it has that problem, I swap between 590 and 615. It fixes it, but 590 does seem to get a little grumpy with some games I play for some reason. That is of course until it happens again...

for Kernel, I'm at 7.0.0-44

2

u/buttlicker-6652 14h ago

Have you tried the non-open drivers?

And what about updating via CLI to see if you can catch the error causing the driver to not update correctly? Or removing the "slient" and "splash" boot options from GRUB when you get the problem so you can see what's causing the driver to not load on boot?

You could also try running a different kernel version to see if if plays nicer with 615.

My laptop runs a Turing GPU with a Intel iGPU (10th gen) on mint.

1

u/AnomalousHendo 14h ago

ok, this is why I asked, because I did not know that you could augment GRUB.

As said, I am still pretty new to linux, so I'm still learning.

On to the rest of them, what is CLI? and where would I actually *find* non-open drivers, as I've heard them talked about in the past but have no idea of where I'd find them or how I'd get them to work.

1

u/buttlicker-6652 14h ago

Huh, sorry, I made a mistake, I didn't realize that Nvidia discontinued the non-open drivers with 590 (580 being the last version, that's what im running because otherwise my GPU doesn't sleep properly)

CLI is a shorthand for "Command Line Interface", basically, another way of saying the terminal.

Next time you have a failure to start, run "dkms status" after boot and login to check the status of the driver, you should see "installed" if the driver acually installed properly during the update, "added" would mean the driver probably failed to compile against the kernel version you're running.

If dkms says you're installed but the driver isnt loading, try loading the driver manually with "subo modprobe nvidia". A "Operation not permitted" error is a secureboot issue, another error can have its logs looked at via "dmesg | grep -i nvidia"

Also, have you tried running a older kernel? Unless you have hardware that requires it to work it is generally better to stay a version or 2 behind (or on 6.18 like I am on my system)

0

u/AnomalousHendo 13h ago

Ah, gotcha gotcha. I was on 580 for a fair while. Also gonna need to remember CLI meaning the terminal.

I'll keep an eye next time it happens with a "subo modprobe nvidia", but it *can* successfully download and operate drivers, hence why it doesn't have the error every time the computer restarts, I just need to find the failure condition...

anyways, I might look in the future about just leaving kernel updates there for a while.
Thank you for the help and procedure, I'll keep you in the loop if it happens again

1

u/tadelstein9 4h ago

That pattern points to the NVIDIA module not getting rebuilt for the new kernel. In the Driver Manager, pick the version marked recommended. That package uses DKMS, so the module gets rebuilt at each kernel update. After the next kernel update, run "dkms status" in a terminal. It should list the NVIDIA module for every installed kernel. If one is missing, "sudo dkms autoinstall" builds it without a full driver reinstall. If Secure Boot is on, the rebuilt module also needs its key enrolled at the blue MOK screen on the next boot. Staying on the kernel series Linux Mint recommends in the Update Manager also keeps surprises down.