Nvidia update broken on kernel 5.40.0-40-generic

well first I removed 5.40.0-42 and a newer one (don’t remember)

everything was fine so I decided to update the system

it install a nvidia-5 driver and I got this big screen

I followed answer 1 at this topic but didn’t install sddm

now I cannot use another driver from the list

because I always got this error

do I upgrade to new kernels to fix this issue ?
(hopefully won’t take a bad effect in my audio config)

my video config

and this is how looks the nvidia x server panel

ok, my sound config is gone again :frowning:

Why did you follow to install bumblebee? It’s for hybrid cards?
Run the software updater and click “partial upgrade”.

I didn’t install bumblebee, just update the one I had
but didn’t use the partial upgrade option


believe it or not, I got it working again :smiley:

what I did… after reading several pages, most of them with likely same command I did this

reboot and enter terminal instead of login
removed all nvidia packages
removed all audio and alsa packages (still not working)

sudo rm /var/lib/apt/lists/lock
sudo rm /var/lib/dpkg/lock
sudo rm /var/lib/dpkg/lock-frontend
sudo dpkg --configure -a
sudo apt clean
sudo apt update --fix-missing
sudo apt install -f
sudo dpkg --configure -a
sudo apt upgrade
sudo apt dist-upgrade
sudo reboot

then when I reboot I still didn’t got correctly set my config, but!
I reinstall gnome-software
in additional drivers I change to the nouveau driver, didn’t change anything
then I install again ubuntu-drivers and run
sudo ubuntu-drivers autoinstall

reboot and voila!

now I have to get back my sound

1 Like

you are Super Persistent +1 - well done :slight_smile: