Problem with Ubuntu 20.04 and Nvidia driver 470 with laptop 3080 -- nvidia-smi No devices found

I configured my laptop (gigabyte aero 15 with 3080 gpu) and had it working for a while but recently was unable to use it in linux. The drivers don’t seem to be loading, nvidia-smi is registering no devices and i’m seeing the following in dmesg:

[    6.054416] NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x26:0x56:1262)
[    6.054477] NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
[    6.054614] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
[    6.054702] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to register device
[    6.089280] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[    6.090832] nvidia-uvm: Loaded the UVM driver, major device number 507.
$ nvidia-smi
No devices were found
$ lspci | grep -A 2 -i vga
00:02.0 VGA compatible controller: Intel Corporation Device 9a60 (rev 01)
00:06.0 PCI bridge: Intel Corporation Device 9a0f (rev 05)
00:07.0 PCI bridge: Intel Corporation Device 9a2b (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 249c (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 228b (rev a1)
02:00.0 Non-Volatile memory controller: Phison Electronics Corporation E16 PCIe4 NVMe Controller (rev 01)

I am running nvidia-driver-470, though the issue appeared on nvidia-driver-460 originally.

I have tried uninstalling everything and reinstalling, but no go, i tried disabling secure boot and reinstalling, but no go there either. I tried disabling nouveau, chaning prime-select to different settings, nothing seems to help.

The GPU works just fine in Windows 10 with the same driver version without issues, just linux seems to be struggling.

Bug report attached.
nvidia-bug-report.log.gz (248.0 KB)

Any help here would be greatly appreciated, i’m at a loss on what else to try at this point.


same problem here, Have you solved the problem yet

1 Like

I have the same problem with a 3060 on Ubuntu 20.04. Couldn’t find any solution yet…

1 Like

An rminit error often points to a hw defect. In case of the OP, this looks like defective RAM since also the intel igpu is struggling getting dram info. Linux uses a different memory layout than Windows.
All other posters: please open a new thread, attaching an nvidia-bug-report.log