Quantcast
Channel: Active questions tagged 22.04 - Ask Ubuntu
Viewing all articles
Browse latest Browse all 4439

Ubuntu updates crash NVIDIA drivers

$
0
0

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:

  1. Am I the only one who gets their NVIDIA drivers crashed by Ubuntu updates, or is this a common problem?
  2. What is the actual cause of this?
  3. Is there a smoother way to fix the problem than making a new fresh install?

Viewing all articles
Browse latest Browse all 4439

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>