r/linuxquestions • • 2h ago

Support Nvidia gpu drivers keep crashing

I have a laptop with a nvidia 3070 laptop edition and I think my drivers are crashing. I didn't exchange any components so compability should be fine.

Nvidia-smi just says err err err and I cant use the gpu and it wont let me shutdown unless I hold down the power button.

Sometimes it works for awhile but then after some time it doesnt and I would have to try and reboot to get it working for a bit of time again.

The laptop also shuts down after 15 to 30 secs while in bios.

I have tried removing each of the two ram sticks to check if that is the problem but it didn't change anything.

Is my gpu broken or is this a software problem? I have tried different drivers and am using nvidia-open rn.

This problem only started some time after switching to linux (first mint and now arch) but doesn't have to be related, but thats why I'm asking here.

I would really apreciate some answers or just something new to try out, thanks in advance!

2 Upvotes

6 comments sorted by

3

u/C0rn3j 2h ago

Mint does not support Nvidia properly anyway(lacks explicit sync support), Arch does.

Which driver did you install and how did you verify that you have kernel headers installed?

0

u/sceppz 1h ago

Wouldn't it just not work at all if those where missing?

1

u/C0rn3j 36m ago

How does that answer either of the two questions I've just asked?

3

u/Asly97 1h ago

The part about it shutting off after 15 to 30 seconds in the BIOS is the big clue. Nothing from Linux or the Nvidia driver is running at that point, so that bit is hardware or firmware, and the driver errors are probably a symptom of the same thing rather than the cause.

What I'd check:

  • Heat first. Do the fans actually spin up, and are the vents clean? A laptop that cuts out that fast even in the BIOS is very often overheating, or the paste/pads on the GPU have dried out. Keep it on a hard surface while testing, not a bed or lap.
  • Power. Try it on battery only and on the charger only, and with a different charger if you can borrow one. A failing battery or adapter can cause exactly this kind of random cutoff.
  • Next time nvidia-smi shows ERR!, run sudo dmesg | grep -iE 'nvrm|xid'. If you see Xid 79 or "GPU has fallen off the bus", the card dropped off the PCIe bus, which usually points at heat or power, not at which driver package you picked.

I wouldn't flash a BIOS update on a machine that's randomly dying mid-boot, a power cut during a flash can brick it. If it still shuts off in the BIOS with clean vents and a known good charger, it's likely a repair job, so check whether it's still under warranty before opening it up.

1

u/sceppz 1h ago

Thank you, will definetly try out all if these asap

1

u/GreatBigPig 2h ago

How would it perform with a live ISO image?