Nvidia-smi: No devices were found, RTX-4060 on Ubuntu 22.04

I just got an RTX-4060 and it’s not showing up under “nvidia-smi” on Ubuntu 22.04, pretty vanilla install.

There is some dmesg nastiness:

  • NVRM: GPU 0000:01:00.0: RmInitAdapter failed! (0x25:0x40:1468)
  • NVRM: GPU 0000:01:00.0: rm_init_adapter failed, device minor number 0
  • [drm:nv_drm_load [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to allocate NvKmsKapiDevice
  • [drm:nv_drm_probe_devices [nvidia_drm]] ERROR [nvidia-drm] [GPU ID 0x00000100] Failed to register device

The drivers were (re)installed so: sudo apt-get purge ‘nvidia’ && sudo apt update && sudo apt -y upgrade && sudo ubuntu-drivers autoinstall && sudo apt install -y nvidia-cuda-toolkit

I also tried the “open” driver and it was much worse. I recently updated the BIOS for a previous issue with the GPU. There is a 3060 running fine on another box but haven’t tried switching them out yet. I’ve attached the bug report log and will happily supply additional information.

Any help is greatly appreciated.

nvidia-bug-report.log.gz (3.6 MB)

I’d suspect the gpu is broken.

Oh, dang! Well… maybe an easy fix then 😅

I ended up replacing the card but ended up in the same spot. I finally got it working like so, though I’m not sure what of it was necessary:

  1. bios: disable CSM, set “Resize BAR Support” to auto, enable “Above 4G Decoding”
  2. installed CUDA 12.5
  3. sudo apt remove ‘nvidia*’ && sudo apt autoremove && sudo apt install --reinstall nvidia-driver-555
  4. rebooted

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