You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the Issue Tracker that this hasn't already been reported. (comment there if it has.)
I have tried the latest version of nvitop in an new isolated virtual environment.
What version of nvitop are you using?
0.11.0
Operating system and version
Windows 10 build 10.0.19045.0
NVIDIA driver version
526.98
NVIDIA-SMI
Sat Dec 10 20:36:09 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.02 Driver Version: 526.98 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 ... On | 00000000:09:00.0 On | N/A |
| 0% 56C P3 34W / 240W | 2880MiB / 8192MiB | 7% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 23 G /Xwayland N/A |
+-----------------------------------------------------------------------------+
Python environment
$ python3 -m pip freeze | python3 -c 'import sys; print(sys.version, sys.platform); print("".join(filter(lambda s: any(word in s.lower() for word in ("nvi", "cuda", "nvml", "gpu")), sys.stdin)))'3.10.8 (main, Oct 11 2022, 11:35:05) [GCC 11.2.0] linuxnvidia-ml-py==11.515.75nvitop==0.11.0
Problem description
The XWayland process in WSLg uses the NVIDIA GPU in the WSL instance. However, WSL does not expose the process in the /proc directory. So the psutil fails to gather process information by reading the files under /proc/23.
Required prerequisites
What version of nvitop are you using?
0.11.0
Operating system and version
Windows 10 build 10.0.19045.0
NVIDIA driver version
526.98
NVIDIA-SMI
Python environment
Problem description
The XWayland process in WSLg uses the NVIDIA GPU in the WSL instance. However, WSL does not expose the process in the
/proc
directory. So thepsutil
fails to gather process information by reading the files under/proc/23
.Steps to Reproduce
Command lines:
Traceback
No response
Logs
Screenshot:
Expected behavior
Show the process information rather than
N/A
andNo Such Process
.Additional context
I have raised an issue in microsoft/wslg#919.
ps
,top
,htop
) microsoft/wslg#919The text was updated successfully, but these errors were encountered: