Repository navigation
nvtop --No GPU to monitor. #318
Description
Hi after reviewing most of the suggestions from MS and NV, and surfing the web, I can not get nvtop to see my GPU. Ollama saw the GPU and used but nvtop failed to see it?
Here is some information about the setup of my machine:
wsl --version
Versión de WSL: 2.3.24.0
Versión de kernel: 5.15.153.1-2
Versión de WSLg: 1.0.65
Versión de MSRDC: 1.2.5620
Versión de Direct3D: 1.611.1-81528511
Versión DXCore: 10.0.26100.1-240331-1435.ge-release
Versión de Windows: 10.0.22631.4169
$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2021 NVIDIA Corporation
Built on Thu_Nov_18_09:45:30_PST_2021
Cuda compilation tools, release 11.5, V11.5.119
Build cuda_11.5.r11.5/compiler.30672275_0
$ nvidia-smi
Fri Oct 4 13:57:04 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.51.01 Driver Version: 565.90 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=====================================+========================+======================|
| 0 NVIDIA GeForce RTX 4090 On | 00000000:05:00.0 On | Off |
| 0% 49C P8 10W / 450W | 1536MiB / 24564MiB | 5% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+----------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=====================================================================================|
| 0 N/A N/A 26 G /Xwayland N/A |
+-----------------------------------------------------------------------------------------+
$ curl -fsSL https://ollama.com/install.sh | sh
Installing ollama to /usr/local
Downloading Linux amd64 bundle
######################################################################## 100.0%##O=# #
######################################################################## 100.0%
Adding ollama user to render group...
Adding ollama user to video group...
Adding current user to ollama group...
Creating ollama systemd service...
Enabling and starting ollama service...
Nvidia GPU detected.
The Ollama API is now available at 127.0.0.1:11434.
Install complete. Run "ollama" from the command line.
mywsl@Galileo:~$ ollama run llama3.2:3b
Good morning
Good morning! How can I assist you today?
$ nvtop -v -> nvtop version 1.2.2
$ nvtop -> No GPU to monitor.
Do you have any suggestions about how to fix the problem? Have I missed something?
Many thanks for considering my request.
Activity
Xiaomin-HUANG commentedon Oct 16, 2024
Your Kernel might need to be upgraded. My system is Ubuntu, and this works for me :
$ sudo apt remove nvtop$ sudo rebootto update to a new kernelthen reboot the system by power off so that the new kernel can be loaded
$ sudo apt install nvtoplransona commentedon Oct 16, 2024
Thanks for your answer.
I did what you suggested but still the same error.
~$ nvtop
No GPU to monitor.
~$ nvtop -v
nvtop version 3.0.0
najibveto commentedon Nov 5, 2024
i am curious if you have windows 10 or 11?
lransona commentedon Nov 5, 2024
Windows 11 Pro.
najibveto commentedon Nov 5, 2024
i tried both, i got the same error when i used win10 but it worked fine when i used windows 11 pro.
jeffgsf commentedon Jan 25, 2025
Same issue. Windows 11 Pro, 2 Nvidia GPUs. I am running on WSL2 Ubuntu 22.04.3 LTS. "watch nvidia-smi" shows GPUs correctly. But nvtop responds with "No GPU to monitor."
NVML appears to see and report my GPUs correctly. I've run through all of the reinstalling checks, but can't figure it out. Is it Ubuntu 22.04.3? WSL2?
~$ nvtop -v --> nvtop version 3.1.0
Possibly --> no WSL2 kernel support for /dev/nvidia*
bramvera commentedon Feb 1, 2025
nvtop-git latest still no luck on Arch Linux WSL
iddrew commentedon Feb 3, 2025
I'm having the same issue. my ollama docker container running from my Ubuntu 24.04.1 LTS WSL distro on a windows 11 PC is seeing the GPU just fine and utilizing it. nvidia-smi on ubuntu also sees the GPU. it's just nvtop (v3.0.2) which is showing "no GPU to monitor"
rynoian commentedon Feb 7, 2025
Same issue with linux mint
dm0red commentedon Feb 7, 2025
Same.
nvtop 3.0.2
Ubuntu 24.04.1 LTS WSL2 on Windows 11 Pro
wallentx commentedon Feb 10, 2025
It looks like this just started happening on Arch Linux as well.
Running nvidia-open 570.86.16-3.1.
It worked on the 6th..
But I'm noticing that even
nvidia-smiis giving me:And that worked on Jan 28.
My GPU is def working.
/opt/cuda/extras/demo_suite/bandwidthTestMaybe nvidia broke something
Harsha-Vardhan-Bojja commentedon Mar 24, 2025
I think there was no profiling was enabled
Harsha-Vardhan-Bojja commentedon Mar 24, 2025
Mostly the profling has not update or else use the latest nvtop version
zhuoqun-chen commentedon Mar 30, 2025
I also have the same issue (nvtop installed via
brew install nvtop)I'm working on:
nvtop info:
nvtop # NO GPU to monitor.nvtop --verison # 3.2.0however,
nvidia-smiworks fine:mkgai commentedon Apr 10, 2025
yep
wallentx commentedon Apr 22, 2025
I was able to fix mine. When 6.13 came out on arch, nvidia drivers were busted, I had to get some early-leaked drivers to fix it (
wget https://github.com/flathub/org.freedesktop.Platform.GL.nvidia/releases/download/cuda/NVIDIA-Linux-x86_64-570.86.10.runI think), and I had never installed nvidia drivers from one of their .run files before.. and I actually thought it was pretty nice.. and the dkms install part seemed to be some extra separate step which put me out of sync with later drivers that I installed via pacman.I was able to get things back on track just by downloading the latest
.runinstaller, and using that again.y9c commentedon May 21, 2025
I’m experiencing the same issue on Arch Linux, but nvitop works and might be a good alternative.
https://github.com/XuehaiPan/nvitop
Gordon01 commentedon May 22, 2025
Make sure you don't have anything from a system package manager, like
libnvidia-compute-packages in Ubuntu. You may have accidentally install them withnvidia-smicoming from apt. You should only use a bundle coming from the Windows drivers in/usr/lib/wsl/lib/ref: https://docs.nvidia.com/cuda/wsl-user-guide/index.htmlThe only problem I have is wrong memory usage numbers.
Ubuntu from msstore:
Ubuntu 24.04.2 LTSI've built
nvtopfrom source:masteryf commentedon Jul 5, 2025
Hi everyone,
I think I have found a possible cause for the "No GPU to monitor" issue in WSL.
nvtop works fine for me on WSL until I install nvidia-cuda-toolkit. After installing nvidia-cuda-toolkit, running nvtop gives the "No GPU to monitor" error.
I tested this multiple times:
Without nvidia-cuda-toolkit: nvtop works and detects my GPU.
After installing nvidia-cuda-toolkit: nvtop shows "No GPU to monitor".
It seems that installing nvidia-cuda-toolkit somehow causes this problem.
Maybe it's related to the drivers or libraries that the toolkit package installs or overwrites.
I hope this information helps to troubleshoot the issue!
Gordon01 commentedon Jul 6, 2025
From https://docs.nvidia.com/cuda/wsl-user-guide/index.html#cuda-support-for-wsl-2
bramvera commentedon Jul 7, 2025
thanks, I can confirm work, I only install toolkit
sudo ./cuda_12.9.1_575.57.08_linux.run --silent --toolkit --toolkitpath=/opt/cuda-12.9.1 --override
pcgeek86 commentedon Aug 6, 2025
Same original problem here .... "No GPU to monitor"
bramvera commentedon Aug 6, 2025
#318 (comment)
This solved my problem, I completely removed Nvidia driver and only install toolkit, check my previous reply
pcgeek86 commentedon Aug 6, 2025
I found another utility called "nvitop" that worked on the first try. My NVIDIA drivers are working perfectly fine on my server.
db414813 commentedon Aug 28, 2025
I had same issue with no gpu detection with nvtop. However if I ran it
sudo nvtopit works? whatever I will take it.
Fix NVML library loading order for WSL compatibility
filipemilani commentedon Jun 4, 2026
Installing NVTOP 3.2.0 on WSL2 with NVIDIA GPU Support
This guide explains how to install
nvtopversion3.2.0on WSL2 running inside Windows 11, especially when using an NVIDIA GPU such as the RTX 4070 Ti.1. Check if WSL2 can see the NVIDIA GPU
First, make sure your GPU is visible inside WSL2:
If this command shows your NVIDIA GPU, WSL2 is correctly detecting the GPU.
2. Install required dependencies
sudo apt update && sudo apt install -y git cmake build-essential libncurses5-dev libncursesw5-dev pkg-config libudev-dev libsystemd-dev libdrm-dev3. Download NVTOP and checkout version 3.2.0
4. Build NVTOP with NVIDIA support
5. Verify the installed version
Expected output:
6. Fix NVIDIA library path on WSL2
On WSL2, NVIDIA libraries are typically exposed through:
If running
nvtopshows:launch NVTOP with the correct library path:
This should successfully detect the GPU and open the NVTOP interface.
7. Make the fix permanent
Add the following alias to your
.bashrc:Now simply run:
8. Diagnostic commands
If NVTOP still cannot detect your GPU, collect the following information:
ls -l /usr/lib/wsl/lib/libnvidia-ml.so*Working Solution
For my setup (Windows 11 + WSL2 + NVIDIA RTX 4070 Ti), the following command solved the issue:
After creating the alias, NVTOP can be launched normally with:
Environment
drscotthawley commentedon Jul 23, 2026
Tried @filipemilani's recipe, but after doing the make and install with no errors, at the end of Step 6 I still get this:
Diagnostics read:
Any tips?
filipemilani commentedon Jul 26, 2026
Thanks for testing it!
Your diagnostics are interesting. The fact that
/dev/dxgexists means WSL can see the GPU, so we're probably dealing with an NVML loading issue rather than a WSL GPU passthrough issue.The empty output from:
is actually expected. NVTOP loads NVML dynamically at runtime, so it won't necessarily appear in
ldd.Could you try the following?
Then verify the links:
Both should point to:
Now try running NVTOP again:
If it still says "No GPU to monitor", could you also run these commands?
and:
One more question: which GPU do you have, and which Windows NVIDIA driver version are you using? (
nvidia-smiwill show both.)This worked on my setup (Windows 11 + WSL2 + RTX 4070 Ti + NVTOP 3.2.0), so I'd like to understand what's different in your environment.