I have been using Ubuntu for a few years, on a few separate machines, and I seem to be running into a recurrent issue with updates, on all machines, both in 22.04 and previously in 20.04. Once in a while, some security update crashes my NVIDIA drivers. On most of my fresh installs, I have installed NVIDIA, CUDA and cuDNN manually according to NVIDIA’s instructions, although on a few occasions I have instead installed GPU things directly during the Ubuntu installation checking the box with 3rd party software.
Either way, I have a fully functional machine, when some Ubuntu update crashes NVIDIA. The first times this happened I tried to reinstall NVIDIA drivers and CUDA, but failed, wasting quite some time. So when this happens, I roll back my system to an earlier snapshop and refrain from installing upcoming security updates, and after some time, I reinstall Ubuntu from scratch.
When this happens, there are no pending updates to anything NVIDIA, GPU, CUDA etc. I believe that the culprit are some (not all) new Linux kernels.
Currently, I am running:
Ubuntu 22.04.1 Linux kernel: 6.2.0-39-generic GPU: GeForce RTX 3080 TiNVIDIA Driver Version: 530.30.02 CUDA Version: 12.1
I have a pending update to kernel version 6.5.0, which crashes my NVIDIA drivers (I have rolled back to an earlier snapshot since that happened).
Needless to say, this is rather annoying. So I wonder:
- Am I the only one who gets their NVIDIA drivers crashed by Ubuntu updates, or is this a common problem?
- What is the actual cause of this?
- Is there a smoother way to fix the problem than making a new fresh install?