Latest NVidia driver f-d up my video

Little Girl littlergirl at gmail.com
Wed Aug 14 03:55:24 UTC 2024


Hey there,

>The latest Software Updater installed the 6.8.0.40 Kernel on my
>desktop, along with the latest Nvidia driver. When I rebooted, it
>hung looking for a GPU or graphics card or something like that and
>never recovered.

>How can I disable the Nvidia driver so I can get my updated GUI
>display back again?

I'm not sure how to disable the NVIDIA driver, but these are my notes
that I refer to whenever the same thing happens to me:

When you're offered a new kernel and a new NVIDIA driver at the same
time, if the kernel isn't installed before the NVIDIA driver,
initramfs (a compressed archive used to mount the file-system)
doesn't get updated with the latest kernel interface layer and
prevents the computer from booting. Ubuntu (and its derivatives)
can't control the update order, so it's up to us to manage the
updates or deal with issues caused by updating. We have two options:

Option 1 (I don't use this option): 
Manage the updates manually by unchecking the boxes for the NVIDIA
driver in the update window and running the update so that the kernel
is installed first, then checking the boxes for the NVIDIA driver and
running the update again to install the NVIDIA driver. A possible
drawback for this option can occur when prompts to update are
ignored, since unless the default behavior has been changed, Ubuntu
(and its derivatives) will automatically do an unattended update in
the background once a certain amount of time has elapsed after an
update prompt, so unless you're very good about reacting to prompts,
this option won't be a sure thing. To turn off unattended updates:
	1. Open this file:
		/etc/apt/apt.conf.d/20auto-upgrades
	2. Change this line:
		APT::Periodic::Unattended-Upgrade "1";
	3. To this line:
		APT::Periodic::Unattended-Upgrade "0";

Option 2 (I use this option):
Live dangerously by letting the updates install as they may and
when/if the dreaded freeze-on-boot happens, follow these steps:
	1. Manually reboot the computer, occasionally pressing and
	releasing the Escape key (or the Shift key for folks who
	still use BIOS instead of UEFI) until GRUB opens.
	2. Choose the Advanced option.
	3. Choose either of the safe-mode options for making repairs
	on the command-line or choose the older kernel (not the safe
	mode) to boot into the kernel you were using before this
	happened.
	4. Fetch and update the local list of packages from the
	Ubuntu repositories: sudo apt update
	5. Upgrade all packages, intelligently handling dependencies:
		sudo apt full-upgrade
	6. Check for broken packages and fix them:
		sudo apt install --fix-broken
	7. Update initrd for only the latest kernel, leaving the
	older kernel(s) untouched as fall-backs:
		sudo update-initramfs -u
	8. Reboot the computer:
		sudo shutdown -r now

-- 
Little Girl

There is no spoon.



More information about the ubuntu-users mailing list