Nvidia-smi: "no devices were found" on ubuntu 22.04 LTS, RTX 4080

Hello.

I have a PC with GeForce RTX 4080. I installed ubuntu 22.04 and nvidia-driver-525. After installation I ran nvidia-smi and got an error no devices were found.

I tried install 535, 545 beta driver versions, but nvidia-smi still answer no devices were found.

Then I tried install Windows 10 and 545 driver version. The system is working, driver detects GPU.

Secure boot disabled.

What should I do to make the driver detect the GPU in Ubuntu?

I’ve read threads with similar problems, but haven’t found a solution.

nvidia-bug-report.log in attach
nvidia-bug-report.log (1.8 MB)

RmInitAdapter failed! (0x26:0x56:1469)
That’s a nvidia linux driver specific error, means it doesn’t like your bios. Please check for a bios update first, if that doesn’t help, you might try the “-open” nvidia driver version with the appropriate kernel parameter set.

Hello. Thank you for answer.

I tried 525-open and 535-open but didn’t get positive result.
I’ll try update bios.

Please attach a new bug-report.log with the “-open” driver enabled.

Nvidia-bug-report.log with 525-open driver in attach. Same error RmInitAdapter failed!
nvidia-bug-report.log (1.7 MB)

Please set kernel parameter
nvidia.NVreg_OpenRmEnableUnsupportedGpus=1
to actually enable the -open driver.

Thank you very much! It works!

Please, I need your help again.

When nvidia-driver recognized GPU, I tried install CUDA 11.6 for my project. And CUDA-installer deleted nvidia-driver-525-open, nvidia-kernel-source-525-open and nvidia-dkms-525-open.

How can I install CUDA with -open nvidia driver?

how did you install cuda?

Thank you for the quick answer.

sudo add-apt-repository ppa:cloudhan/liburcu6
sudo apt update
sudo apt install liburcu6
sudo apt-get install \ cuda-drivers-$(dpkg -l | grep 'nvidia-driver' | sed -r 's/\s{2,}/ /g' | cut -d' ' -f2 | cut -d'-' -f3) \ cuda-libraries-11-6 \ cuda-libraries-dev-11-6 \ cuda-nvcc-11-6

That’s some homebrew cuda packaging, looks like it’s built for WSL2. Can’t help you with that but not even necessary since cuda 11.6 won’t work with your Ada gen gpu. You should use cuda 12 with that.

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