# Nvidia-smi shows no devices were found although driver is installed

**URL:** <https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989>\
**Category:** Drivers - Linux, Windows, MacOS\
**Created:** [May 22, 2023, 5:57am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989 "2023-05-22T05:57:08Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![ms.sona.12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ms.sona.12](https://forums.developer.nvidia.com/u/ms.sona.12)\
**Post date:** [May 22, 2023, 5:57am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/1 "2023-05-22T05:57:08Z")

</div>

![20230522_111914](https://global.discourse-cdn.com/nvidia/original/3X/d/7/d7dea4172120eab33758af64bb858a16c1411af8.jpeg)  
Hello forum,  
I have installed nvidia drivers and dpkg shows the version but nvidia-smi show no devices found. Is there any problem? How to resolve this?

Attached image of the same.

any suggesion?

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [May 22, 2023, 10:08am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/2 "2023-05-22T10:08:01Z")

</div>

Hi again,

Please run `sudo nvidia-bug-report.sh` from a shell and attach the resulting`nvidia-bug-report.log.gz` file to this thread.

Thanks.

---

<div class="post-metadata">

**Author:** ![ms.sona.12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ms.sona.12](https://forums.developer.nvidia.com/u/ms.sona.12)\
**Post date:** [May 22, 2023, 10:23am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/3 "2023-05-22T10:23:40Z")

</div>

[data](https://forums.developer.nvidia.com/uploads/short-url/aeURztJtAWbJ7SgqBKE6a5Oprox) (863.9 KB)  
Hi,

This is the file.  
Thanks for your help.

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [May 22, 2023, 12:51pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/4 "2023-05-22T12:51:21Z")

</div>

You used the open kernel module installation option. This does not work on a GeForce GPU as is.

```auto
May 22 10:33:57 ryzen kernel: [6.397361] NVRM: Open nvidia.ko is only ready for use on Data Center GPUs.
May 22 10:33:57 ryzen kernel: [6.397363] NVRM: To force use of Open nvidia.ko on other GPUs, see the
May 22 10:33:57 ryzen kernel: [6.397364] NVRM: 'OpenRmEnableUnsupportedGpus' kernel module parameter described
May 22 10:33:57 ryzen kernel: [6.397364] NVRM: in the README.
May 22 10:33:57 ryzen kernel: [6.757101] NVRM: GPU 0000:0b:00.0: RmInitAdapter failed! (0x62:0x0:1849)
May 22 10:33:57 ryzen kernel: [6.757565] NVRM: GPU 0000:0b:00.0: rm_init_adapter failed, device minor number 0
May 22 10:33:57 ryzen kernel: [6.757635] [drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to allocate NvKmsKapiDevice
May 22 10:33:57 ryzen kernel: [6.757756] [drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000b00] Failed to register device

```

using the workaround is not recommended. Please start over with the proprietary driver.

---

<div class="post-metadata">

**Author:** ![ms.sona.12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ms.sona.12](https://forums.developer.nvidia.com/u/ms.sona.12)\
**Post date:** [May 22, 2023, 2:06pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/5 "2023-05-22T14:06:58Z")

</div>

![20230515_104853](https://global.discourse-cdn.com/nvidia/original/3X/1/d/1dd13e59ba3200b3bd27a89fd21b8ef72c7a8fcc.jpeg)  
 ![20230522_193305](https://global.discourse-cdn.com/nvidia/original/3X/2/5/253fa99ddfdc0f2b8b565690729ca6390c7e3992.jpeg)  
I have attached two images here. One is my simulation requirement and one is list of all available drivers for my system. Can you please suggest me which one should I installed as per my requirement.

Do I need to run purge again to uninstall all NVidia drivers?

Thank you so much for your help.

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [May 22, 2023, 2:17pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/6 "2023-05-22T14:17:15Z")

</div>

Please use the `525 - distro non-free` driver.

And yes, to be safe, please purge the 530 driver first, without the GUI running, to make sure the Open Source kernel module is removed.

---

<div class="post-metadata">

**Author:** ![ms.sona.12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ms.sona.12](https://forums.developer.nvidia.com/u/ms.sona.12)\
**Post date:** [May 22, 2023, 2:29pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/7 "2023-05-22T14:29:40Z")

</div>

Hi,  
Pardon me to ask this but when you suggest without running GUI means not to use “softare & updates” to install driver and use command-line  
OR  
Go to advanced recovery options and run as root user to install the driver?

Thanks once again and apology to ask this if it sound silly question to you.

---

<div class="post-metadata">

**Author:** ![ms.sona.12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ms.sona.12](https://forums.developer.nvidia.com/u/ms.sona.12)\
**Post date:** [May 22, 2023, 5:35pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/8 "2023-05-22T17:35:39Z")

</div>

I have done.

Thanks you for your help

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [May 24, 2023, 11:01am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/9 "2023-05-24T11:01:43Z")

</div>

> [@ms.sona.12](#):
>
> Thanks once again and apology to ask this if it sound silly question to you.

There are no silly questions. Especially not when talking about Linux :-)

“Without GUI” means without a window manager so that you can be sure all parts of the NVIDIA driver are un-loaded before you remove/replace them.

But it seems you managed to resolve your issue now?

Great news!

---

<div class="post-metadata">

**Author:** ![mikethechang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mikethechang](https://forums.developer.nvidia.com/u/mikethechang)\
**Post date:** [October 3, 2023, 10:16am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/10 "2023-10-03T10:16:57Z")

</div>

[nvidia-bug-report.log.gz](https://forums.developer.nvidia.com/uploads/short-url/sgZb0cPF0J0A4ytdYdqeQWVaGD.gz) (1.1 MB)

Hi Markus, I think I’m having similar issues, and I figured I might get a quick answer from jumping in this thread.

I’m currently following very closely the readme  
[http://us.download.nvidia.com/XFree86/Linux-x86\_64/535.113.01/README/minimumrequirements.html](http://us.download.nvidia.com/XFree86/Linux-x86_64/535.113.01/README/minimumrequirements.html)  
for a manual installation.

although the 535-server-open package is recommended when I run `ubuntu-drivers devices`, I keep having issues, mainly that I cannot launch any additional displays, so far, using the “additional drivers” GUI to install packages.

Still going to try the 535 (non-server, non-open) package. I would _like_ to be able to run dGPU for Tensorflow, eventually, which requires an “-open” configuration, according to the CUDA docs. However, as I have a weird hardware combination (AMD Ryzen R7 5800H CPU, RTX 3070 laptop) on my HP Omen 15, there may be some xorg.conf “manual tweaking” re: section 2.8

> **[1. Introduction — cuda-installation-guide-linux 12.2 documentation](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#pre-installation-actions)**
>
> The installation instructions for the CUDA Toolkit on Linux.

Thanks for your time and attention,

My next steps: try to use GUI to install: 535-open, 535, and 535-server, in that order. then retry via `sudo install ubuntu-drivers` I have dkms installed, and it looks like the 535 should work alright, but it appears that manual installation for Tensorflow is eventually required.

> <https://gist.github.com/kmhofmann/cee7c0053da8cc09d62d74a6a4c1c5e4?permalink_comment_id=3531414#installing-the-nvidia-driver>

I’m skeptical of .run files because they seem more complicated to undo, and I’m trying as many different paths as I can.

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [October 12, 2023, 1:21pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/11 "2023-10-12T13:21:08Z")

</div>

Hi there @mikethechang,

On your setup you should not install the `open` version of the drivers. They are not officially supported on GeForce consumer GPUs and will cause you setup trouble.

To run CUDA with Tensorflow you also do not need to install open kernel modules. I am not sure where you read that. If you find it again please share and I will try to have that fixed or explained.

Even better than handling the driver installation yourself, you can actually follow CUDA installation instructions and have the CUDA installation also install the driver in the same process.

Also `sudo install ubuntu-drivers` is not recommended, especially with DKMS it is known to cause issues.

Lastly about `.run` files, they are much easier than you think. If you consistently only use them with NVIDIA drivers, then the uninstall option will actually work fine.

---

<div class="post-metadata">

**Author:** ![mikethechang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mikethechang](https://forums.developer.nvidia.com/u/mikethechang)\
**Post date:** [November 2, 2023, 3:03pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/12 "2023-11-02T15:03:12Z")

</div>

Hi Markus,

Thanks for your response. I am certainly running into dkms errors. as updates come in, now my `nvidia-smi` returns `NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.` but the 535-proprietary driver is clearly installed via ‘Additional Drivers’ from the 20.04 menu.

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/e/b/e/ebe1df481d17fc550f9384106f58676b55f04a29.png)

So now I need to reinstall. again. because the external monitor management stopped working. I may try the .run files if I cannot figure out the best way to install with dkms. there are other packages i have e.g. librealsense which benefit from dkms.

If I understand you correctly:

> [@MarkusHoHo](#):
>
> Even better than handling the driver installation yourself, you can actually follow CUDA installation instructions and have the CUDA installation also install the driver in the same process.

… there is NO reason I need to actually install the nvidia-535 driver of any sort?? if so that’s great news, and I can stop redundant (or worse counterproductive) installation steps.

re: dGPU maybe I actually meant GPUdirect:

> **[CUDA Installation Guide for Linux](https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#install-gpudirect-storage)**
>
> The installation instructions for the CUDA Toolkit on Linux.

e.g. here it says: "Starting with CUDA toolkit 12.2.2, GDS kernel driver package nvidia-gds version 12.2.2-1 (provided by nvidia-fs-dkms 2.17.5-1) and above is only supported with the NVIDIA open kernel driver. " based on my difficulties with installation I’m not trying that now.

tl;dr I’ll try the CUDA installation instructions, _then_ .run files _then_ if I hear back about dkms-friendly installation paths, I’ll do that.

the most essential thing is to install driver, CUDA 11.8, cuDNN, and Tensorflow in a way that’s stable/robust to other updates. to that end, maybe you can tell me what the update procedure is, if I /do/ happen to use the runfiles. I can’t seem to find those.

[nvidia-bug-report.log.gz](https://forums.developer.nvidia.com/uploads/short-url/imHuLJcP07rlLr4CScs7hAGbmFj.gz) (156.9 KB)

---

<div class="post-metadata">

**Author:** ![mikethechang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mikethechang](https://forums.developer.nvidia.com/u/mikethechang)\
**Post date:** [January 16, 2024, 2:03pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/13 "2024-01-16T14:03:20Z")

</div>

the `.run` file actually worked great. thank you, and has remained stable after multiple `sudo apt update`s.

bonus: found and cleaned up a bunch of conflicting headers from dkms and the `sudo install ubuntu-drivers` in the process. thank you!

---

<div class="post-metadata">

**Author:** ![MarkusHoHo](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/markushoho/32/233145_2.png) [@MarkusHoHo](https://forums.developer.nvidia.com/u/MarkusHoHo)\
**Post date:** [January 16, 2024, 2:52pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/14 "2024-01-16T14:52:49Z")

</div>

Great to hear that!

Thanks for the update.

---

<div class="post-metadata">

**Author:** ![gabriel.avramescu](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/gabriel.avramescu/32/330024_2.png) [@gabriel.avramescu](https://forums.developer.nvidia.com/u/gabriel.avramescu)\
**Post date:** [April 16, 2024, 8:28am UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/15 "2024-04-16T08:28:07Z")

</div>

same issue. using esxi 8 with RTX 3060 ti in passtrough, ubuntu 22.04  
[nvidia-bug-report.log.gz](https://forums.developer.nvidia.com/uploads/short-url/u2uBGPCrI3BYzf6KxOmI8JJohTV.gz) (102.9 KB)

---

<div class="post-metadata">

**Author:** ![ms.sona.12](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ms.sona.12](https://forums.developer.nvidia.com/u/ms.sona.12)\
**Post date:** [July 6, 2024, 12:48pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/16 "2024-07-06T12:48:18Z")

</div>

Hi Markus,  
I am having again problem with the system. I am using CARLA simulator for autonomous driving.  
I am getting this error. I searched for this and as per these sources problem might be NVIDIA drivers.

> <https://github.com/carla-simulator/carla/issues/7164>
>
> I'm getting the following error when attempting to run CARLA on a machine that I…'m connecting to via XRDP remote desktop: 
> 
> \`\`\`
> 4.26.2-0+++UE4+Release-4.26 522 0
> Disabling core dumps.
> LowLevelFatalError \[File:Unknown\] \[Line: 803\] 
> Result failed, VkResult=-2
> at /home/jenkins/UnrealEngine\_4.26/Engine/Source/Runtime/VulkanRHI/Private/VulkanSwapChain.cpp:530 
> with error VK\_ERROR\_OUT\_OF\_DEVICE\_MEMORY
> Signal 11 caught.
> Malloc Size=65538 LargeMemoryPoolOffset=65554 
> CommonUnixCrashHandler: Signal=11
> Malloc Size=131160 LargeMemoryPoolOffset=196744 
> Malloc Size=131160 LargeMemoryPoolOffset=327928 
> Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
> Segmentation fault (core dumped)
> \`\`\`
> 
> Starting CARLA while physically sitting in front of the screen works just fine. Any ideas?
> 
> Probably related to https://github.com/lgsvl/simulator/issues/1479. Perhaps not much that could be done on CARLA's end? 
> 
> \*\*Specs\*\*
> \- CARLA version: 0.9.15
> \- Platform/OS: Ubuntu 22.04
> \- xrdp version: 0.9.17

[![](https://global.discourse-cdn.com/nvidia/original/4X/4/0/f/40fd9715b7766cba36bfca42b25f33d9ae765004.jpeg "How to Fix LowLevelFatalError on Windows 10/11") ](https://www.youtube.com/watch?v=62_ilxOrVYE)

> <https://github.com/carla-simulator/carla/issues/5261>
>
> Hello, I'm experiencing the terrible crash. The details are as follow.
> CARLA ve…rsion: 0.9.9.4
> OS: ubuntu 20.04
> 
> The ERROR information on the terminal:
> LowLevelFatalError \[File:Unknown\] \[Line: 772\] 
> VulkanRHI::vkQueueSubmit(Queue, 1, &SubmitInfo, Fence-\>GetHandle()) failed, VkResult=-4
> at /home/jenkins/UnrealEngine\_4.24/Engine/Source/Runtime/VulkanRHI/Private/VulkanQueue.cpp:71 
> with error VK\_ERROR\_DEVICE\_LOST
> Signal 11 caught.
> Malloc Size=65538 LargeMemoryPoolOffset=65554 
> CommonUnixCrashHandler: Signal=11
> Malloc Size=65535 LargeMemoryPoolOffset=131119 
> Malloc Size=147680 LargeMemoryPoolOffset=278816 
> Engine crash handling finished; re-raising signal 11 for the default handler. Good bye.
> Segmentation fault (core dumped)
> 
> I have tried to use -opengl args to open the CarlaUE4.sh but it's doesn't make sense
> 
> The aim I used the carla simulator is to train the RL agent, but the train process is always interrupted by this awful crash!!
> Please help~
> 
> ps: I would like to know using simutaneous mode to train the RL agent is feasible
> 
> !\[QQ截图20220316152430\](https://user-images.githubusercontent.com/55013174/158537806-182d8956-f0c5-4e06-a321-978eecfec9b1.jpg)

Can you please guide me how to resolve this if it is related the drivers.

I am little bit scared to update my drivers as it may impact my running Carla simulator.

Thanks.

---

<div class="post-metadata">

**Author:** ![i.kigozi](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@i.kigozi](https://forums.developer.nvidia.com/u/i.kigozi)\
**Post date:** [May 15, 2025, 3:12pm UTC](https://forums.developer.nvidia.com/t/nvidia-smi-shows-no-devices-were-found-although-driver-is-installed/253989/17 "2025-05-15T15:12:23Z")

</div>

I am having a similar issue  
Uploading: nvidia-bug-report.log.gz…  
. Please kindly advise.
