Cannot install nvidia drivers on ubuntu 24.04

My kiddo’s intro to linux is an install headache. We have a brand new 24.04 Ubuntu install on a new machine with a RTX 4060 TI. The command nvidia-smi complains that: No devices were found.
We followed the directions on Ubuntu’s website to no avail. Additional info:

$ inxi -SG
System:
  Host: Cobalt Kernel: 6.8.0-41-generic arch: x86_64 bits: 64
  Desktop: GNOME v: 46.0 Distro: Ubuntu 24.04.1 LTS (Noble Numbat)
Graphics:
  Device-1: NVIDIA AD106 [GeForce RTX 4060 Ti] driver: nvidia v: 535.183.01
  Device-2: AMD Raphael driver: amdgpu v: kernel
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
    loaded: amdgpu,modesetting,nouveau,radeon,vesa unloaded: fbdev dri: swrast
    gpu: nvidia,amdgpu resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.1
    renderer: llvmpipe (LLVM 17.0.6 256 bits)

Some other hints:

$ dkms status
nvidia/535.183.01, 6.8.0-41-generic, x86_64: installed (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!) (WARNING! Diff between built and installed module!)

(That seems … bad?)

Solved by the other kiddo: we downloaded the installer NVIDIA-Linux-x86_64-560.35.03.run and used that to install drivers, rather than rely on ubuntu packages. Not really sure why the managed package version was not working.

Looks like I am in a similar situation (see Ubuntu 22.04 clean install fails to detect RTX 4060Ti). Can you tell me the procedure that you followed for installing the 560 driver?
Did you have to blacklist nouveau, run the install without X11 active (how would I do that), or is it just a matter of downloading the .run file and a sudo ./....run?

I did not blacklist nouveau. All I did was download the run file, chmod it to executable and sudo ./long_name.run it. HTH,

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.