Ubuntu 24.04 nvidia card and driver on reboot small screen

The computer is a Dell T7600 with a nvme drive as the main program and a sata drive that serves to boot the system then change root to the nvme drive. All was well until a recent reboot when the video screen appeared with a 1.5 boarder around the edges.
One of the oddities is during booting after the gurb menu it displays a maroon screen with text of Ubuntu 24.04 with dots bellow them that count down, next screen is a flash on vertical multi colored bars, the the login. Previously that didn’t occur.

OS: Ubuntu 24.04.2 up to date
GPU: GK104GL [Quadro K5000] nvidia-driver-470

uname -r
6.8.0-52-generic

dkms status
virtualbox/7.0.16, 6.8.0-52-generic, x86_64: installed
virtualbox/7.0.16, 6.8.0-53-generic, x86_64: installed

lspci | grep VGA
05:00.0 VGA compatible controller: NVIDIA Corporation GK104GL [Quadro K5000] (rev a1)

xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 480, current 1920 x 1080, maximum 1920 x 1080
default connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 0.00*
640x480 0.00
xrandr --listproviders
Providers: number : 0

EDID information must not be getting read, sound not working in monitor.

sudo nvidia-settings
(nvidia-settings:19918): GLib-GObject-CRITICAL **: 17:20:35.788: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** (nvidia-settings:19918): CRITICAL **: 17:20:35.792: ctk_powermode_new: assertion ‘(ctrl_target != NULL) && (ctrl_target->h != NULL)’ failed
ERROR: nvidia-settings could not find the registry key file or the X server is
not accessible. This file should have been installed along with this
driver at
/usr/share/nvidia/nvidia-application-profiles-key-documentation. The
application profiles will continue to work, but values cannot be
prepopulated or validated, and will not be listed in the help text.
Please see the README for possible values and descriptions.
** Message: 17:20:35.910: PRIME: No offloading required. Abort
** Message: 17:20:35.910: PRIME: is it supported? no

nvidia-smi
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Xorg.0.log
pastebin /2bkzBS4Y

Don’t know if this is something going wrong before or after the the change root.
The last upgrade on nvme loaded vmlinuz-6.8.0-53-generic and when I upgraded the sata drive
it didn’t receive 0-53 so both boot into vmlinuz-6.8.0-52-generic. This is the first time both didn’t
upgraded to the same version.
This is making me crazy, I’ve seen something like this before but can find an answer online or in my notes. errrr.

Thanks
Jim

I still don’t know what happened to cause the nvidia-470 driver to stop working but I was able to get the novueau driver to work after three days of reading posts about nvidia. the issue isn’t not enough info but rather too much info.
I removed the blacklist on novueau and rebooted to a normally running video.
Jim

hello,

what happens when you try now again install nvidia drivers with:

sudo ubuntu-drivers autoinstall

??

Please provide all logs and error. Also what is the output of lspci command?

Apparently my adding edits and deleting has caused my last posting to disappear.

So I loaded the nvidia driver using sudo ubuntu-drivers autoinstall, it came in the same as before with the smaller screen but the screen settings are 1920x1080, same as with the nouveau driver.
pastebin 4esH5bCX

both time I manually change setting in /etc/modprobe.d blacklist files

I am seeing kernel error when running nouveau
WARNING: Kernel Errors Present
message repeated 2149 times: [ nouveau 0000:05:00.0: gr: DATA_ERROR 0000009c ch 1 …: 1 Time(s)
nouveau 0000:05:00.0: gr: DATA_ERROR 0000009c ch 1 …: 1 Time(s)

Thanks
Jim

the logs shows that the nvidia driver cannot be loaded The device is not bound to any driver. The GPU is expected to use the nvidia-470 driver, but the system does not detect any valid NVIDIA kernel modules (Is nvidia kernel module available? no). Futhermore, it seems that nouveau driver is not capable to manage your VGA.

Try it again. Purge all nvidia packages:

$ sudo apt purge '^nvidia-.*' && sudo apt autoremove && sudo update-initramfs -u

then reboot your system.

$ sudo reboot

Install the driver explicitly:

$ sudo apt install nvidia-driver-470 nvidia-utils-470 nvidia-settings

reboot and test:

dkms status
lsmod | grep nvidia
nvidia-smi

dkms status
nvidia/470.256.02, 6.8.0-52-generic, x86_64: installed
nvidia/470.256.02, 6.8.0-53-generic, x86_64: installed
virtualbox/7.0.16, 6.8.0-52-generic, x86_64: installed
virtualbox/7.0.16, 6.8.0-53-generic, x86_64: installed

lsmod | grep nvidia
nvidia_uvm 1421312 0
nvidia_drm 77824 7
nvidia_modeset 1212416 10 nvidia_drm
nvidia 35643392 365 nvidia_uvm,nvidia_modeset
video 73728 1 nvidia_modeset
nvidiafb 65536 0
vgastate 20480 1 nvidiafb
fb_ddc 12288 1 nvidiafb
i2c_algo_bit 16384 1 nvidiafb

nvidia-smi
Tue Feb 25 09:29:42 2025
±----------------------------------------------------------------------------+
| NVIDIA-SMI 470.256.02 Driver Version: 470.256.02 CUDA Version: 11.4 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Quadro K5000 Off | 00000000:05:00.0 On | Off |
| 30% 34C P8 15W / 137W | 239MiB / 4036MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 3127 G /usr/lib/xorg/Xorg 76MiB |
| 0 N/A N/A 3394 G /usr/bin/gnome-shell 86MiB |
| 0 N/A N/A 4326 G …–variations-seed-version 71MiB |
±----------------------------------------------------------------------------+

All looks good

Thanks so much for your help
Jim