"No devices were found" on Dell Precision 3660 with Ubuntu 20.04 or Ubuntu 22.04

I have a T400 that the OS detects, but I just cannot get the driver to work. Maybe I need to install a different driver, but I am sure that I am missing something.

I first had Ubuntu 20.04. I then wiped it out and installed Ubuntu 22.04. Current OS:

$ uname -a
Linux eb2-3224-grd01 5.19.0-32-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 30 17:03:34 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

Graphics card:

$ lspci | grep -i nvidia
0000:01:00.0 VGA compatible controller: NVIDIA Corporation TU117GL [T400 4GB] (rev a1)
0000:01:00.1 Audio device: NVIDIA Corporation Device 10fa (rev a1)
$ lshw -c video
WARNING: you should run this program as super-user.
  *-display                 
       description: VGA compatible controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: iomemory:600-5ff iomemory:600-5ff irq:16 memory:74000000-74ffffff memory:6000000000-600fffffff memory:6010000000-6011ffffff ioport:3000(size=128) memory:75080000-750fffff
  *-display
       description: Display controller
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0c
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list
       configuration: driver=i915 latency=0
       resources: iomemory:600-5ff iomemory:400-3ff irq:148 memory:6014000000-6014ffffff memory:4000000000-400fffffff ioport:4000(size=64) memory:4010000000-4016ffffff memory:4020000000-40ffffffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Here is the recommended driver, and what I installed.

$ ubuntu-drivers devices | grep recommended
driver   : nvidia-driver-525-open - distro non-free recommended

$ nvidia-detector 
nvidia-driver-525

$ dpkg-query -l | grep nvidia
ii  libnvidia-cfg1-525:amd64                   525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-525                       525.78.01-0ubuntu0.22.04.1              all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-525:amd64                525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA libcompute package
ii  libnvidia-compute-525:i386                 525.78.01-0ubuntu0.22.04.1              i386         NVIDIA libcompute package
ii  libnvidia-decode-525:amd64                 525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-525:i386                  525.78.01-0ubuntu0.22.04.1              i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-egl-wayland1:amd64               1:1.1.9-1.1                             amd64        Wayland EGL External Platform library -- shared library
ii  libnvidia-encode-525:amd64                 525.78.01-0ubuntu0.22.04.1              amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-525:i386                  525.78.01-0ubuntu0.22.04.1              i386         NVENC Video Encoding runtime library
ii  libnvidia-extra-525:amd64                  525.78.01-0ubuntu0.22.04.1              amd64        Extra libraries for the NVIDIA driver
ii  libnvidia-fbc1-525:amd64                   525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-525:i386                    525.78.01-0ubuntu0.22.04.1              i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-525:amd64                     525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-525:i386                      525.78.01-0ubuntu0.22.04.1              i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  nvidia-compute-utils-525                   525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA compute utilities
ii  nvidia-dkms-525-open                       525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA DKMS package (open kernel module)
ii  nvidia-driver-525-open                     525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA driver (open kernel) metapackage
ii  nvidia-kernel-common-525                   525.78.01-0ubuntu0.22.04.1              amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-525-open              525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA kernel source package
ii  nvidia-prime                               0.8.17.1                                all          Tools to enable NVIDIA's Prime
ii  nvidia-settings                            510.47.03-0ubuntu1                      amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-525                           525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA driver support binaries
ii  screen-resolution-extra                    0.18.2                                  all          Extension for the nvidia-settings control panel
ii  xserver-xorg-video-nvidia-525              525.78.01-0ubuntu0.22.04.1              amd64        NVIDIA binary Xorg driver

nvidia-bug-report.log.gz (99.6 KB)

Please use Software&Updates to switch to the non “-open” driver version.

I purged the installed driver and installed the one you suggested. Now everything works. So even though nvidia-driver-525-open was listed as recommended from ubuntu-drivers, I really needed to install nvidia-driver-525. I am not sure which team is responsible at Canonical for correcting the output of that command, but I appreciate the help.