Nvidia-smi no devices found, using RTX 4070 in Ubuntu 20.04

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

Hello Forum,

I am trying to use RTX 4070 in my Ubuntu 20.04 computer. I have installed the driver 535 for my RTX 4070 graphical card. However, after I installed the driver, I cannot use the graphic interface and I can only use the computer through tty. Also nvidia-smi shows that cannot find any devices.

I have attached the bug report. Any help will be appreciated!

Thanks.

Hi there @bai12wp1 and welcome to the NVIDIA developer forums.

Looking at your log you have residual files from three different driver versions conflicting:

-> Installing NVIDIA driver version 535.98.
...
Sep 20 22:12:44 arrobot-Nuvo-8108GC-Series kernel: [  974.797316] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  525.125.06  Tue May 30 05:11:37 UTC 2023
Sep 20 22:12:44 arrobot-Nuvo-8108GC-Series kernel: [  974.810718] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  525.125.06  Tue May 30 04:58:48 UTC 2023
...
Sep 20 22:19:32 arrobot-Nuvo-8108GC-Series kernel: [  110.355635] NVRM: The NVIDIA GPU 0000:07:00.0 (PCI ID: 10de:2786)
Sep 20 22:19:32 arrobot-Nuvo-8108GC-Series kernel: [  110.355635] NVRM: installed in this system is not supported by the
Sep 20 22:19:32 arrobot-Nuvo-8108GC-Series kernel: [  110.355635] NVRM: NVIDIA 515.86.01 driver release.

Please start from a fresh driver installation. That means

  • booting into tty
  • making sure no NVIDIA kernel modules are loaded
  • Purge ALL NVIDIA drivers from your system
  • REBOOT!
  • Install the latest driver, preferably through the normal Ubuntu distribution methods as was stated during the manual installation you did:

The NVIDIA driver provided by Ubuntu can be installed by launching the “Software & Updates” application, and by selecting the NVIDIA driver from the “Additional Drivers” tab.

After that everything should work nicely.

Thanks.