NVIDIA P104-100 on Ubuntu 22.04: 'No devices were found' after installing 545 driver using apt

I bought a MSI P104-100 mining card for studying deep learning. After plugging it into my Ubuntu system, it was recognized. However, after installing the 545 version of the driver using apt, I couldn’t run nvidia-smi properly. I also tried installing the driver using the .run file and Ubuntu’s autoinstall feature. I even attempted to install the driver on Manjaro, but nvidia-smi still didn’t work correctly.

One particular issue is that every time I plug in the graphics card, it is initially recognized, but after installing the driver and rebooting, the card is no longer recognized. This issue persists even in the Windows operating system.

Here are some output results from when I reinstalled Ubuntu and installed the driver using apt:

I have attached the log as a separate file.

This problem has been puzzling me for several days.

❯ nvidia-smi
No devices were found
❯ lspci -v | grep -i nvidia
10:00.0 3D controller: NVIDIA Corporation GP104 [P104-100] (rev a1)
        Subsystem: NVIDIA Corporation GP104 [P104-100]
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
❯ inxi -G
Graphics:
  Device-1: NVIDIA GP104 [P104-100] driver: nvidia v: 545.29.06
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    driver: amdgpu v: kernel
  Display: server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1 driver: X:
    loaded: amdgpu,ati,modesetting,nouveau unloaded: fbdev,radeon,vesa
    gpu: nvidia,amdgpu tty: 80x20
  Message: GL data unavailable in console. Try -G --display
❯ ls -l /var/lib/dkms/nvidia
总计 4
drwxr-xr-x 3 root root 4096 12月 17 20:21 545.29.06
lrwxrwxrwx 1 root root   33 12月 17 20:21 kernel-6.2.0-39-generic-x86_64 -> 545.29.06/6.2.0-39-generic/x86_64
❯ sudo lshw -C display
[sudo] ct 的密码:
  *-display
       description: 3D controller
       product: GP104 [P104-100]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:10:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list
       configuration: driver=nvidia latency=0
       resources: iomemory:7f0-7ef iomemory:7f0-7ef irq:83 memory:fb000000-fbffffff memory:7fc0000000-7fcfffffff memory:7fd0000000-7fd1ffffff
  *-display
       description: VGA compatible controller
       product: Cezanne [Radeon Vega Series / Radeon Vega Mobile Series]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:30:00.0
       version: c9
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list
       configuration: driver=amdgpu latency=0
       resources: iomemory:7f0-7ef iomemory:7f0-7ef irq:31 memory:7fe0000000-7fefffffff memory:7ff0000000-7ff01fffff ioport:e000(size=256) memory:fc300000-fc37ffff

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

translate py ChatGPT

Additional information:
After rebooting and the graphics card not being recognized, I tried forcibly shutting down by long-pressing the power button. Upon restarting, the card was recognized again, but nvidia-smi still didn’t work properly. I initially suspected a hardware issue with the graphics card, but its previous owner assured me that it was functioning correctly.

I bought a faulty graphics card, but I’ve purchased a new P104 card and installed the drivers. It is working properly now, and I can proceed with my deep learning studies.

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