Nvidia-smi outputs "No devices were found" on Ubuntu 22.04

When I run nvidia-smi, I get an output of “No devices were found“. I’ve tried using prime-select to specify nvidia graphics and rebooting, but it made no difference.

Device specs:

Ubuntu 22.04
kernal: 6.8.0-79-generic
GPU: Geforce RTX 5070 TI Laptop GPU

I’ve attempted to install the driver through numerous methods (Ubuntu Additional drivers, apt, shell script).

I’ve attempted multiple driver versions: 570, 575, 580. I haven’t had any success.

Secure boot is disabled

Does anyone have ideas?

nvidia-bug-report.log (2.4 MB)

Hi @tp8505583,

did you try blacklisting the nouveau driver?
And did you completely remove all drivers before trying to install a new one?
And did you unload all NVIDIA related kernel modules before uninstalling?
And did a reboot between all steps?

Those are the most common pitfalls in these cases.
For more please refer to the README, for example NVIDIA Accelerated Linux Graphics Driver README and Installation Guide

1 Like

That README is pretty helpful; there were a few steps that I hadn’t seen before.

This time around, I made sure to blacklist the nouveau driver and close all OpenGL/graphics programs, including the GUI, before running the install script.

Between each attempt, I’ve been reinstalling Ubuntu to ensure a clean slate.

I rebooted after blacklisting nouveau and the other configuration steps. I also rebooted after the installer had finished and before enabling graphics again.

For some reason, I’m still getting a “No devices were found“ message.

Could this be because my computer has hybrid graphics enabled in the BIOS settings? After installing everything, I used nvidia prime-select to ensure that the Nvidia card was being used and then rebooted. Do I need to prime-select Nvidia before installation? Or do I need to switch to fully discrete graphics?

I’ve read that fully discrete graphics can break Windows, which I also have on my system. I can make the switch if necessary, but keeping hybrid graphics would be preferred.

Can you share more specs on the Laptop, like Brand and CPU? And a fresh nvidia-bug-report.log?

On some occasions integrated Intel Graphics have caused issues.

And prime-select should work even after driver installation.

Laptop: Lenovo Legion Pro 7i
CPU: Intel Core Ultra 9 275HX

nvidia-bug-report.log (1.3 MB)

I just tried installing the open version (nvidia-driver-570-open) instead of the Nvidia proprietary version, and it worked without issue.

I guess something in my configuration breaks with the proprietary drivers.

1 Like

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