mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #49] [BUG] Cannot gather infomation of the /XWayland process in WSLg #36
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @XuehaiPan on GitHub (Dec 11, 2022).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/49
Originally assigned to: @XuehaiPan on GitHub.
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
/procdirectory. So thepsutilfails 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/AandNo Such Process.Additional context
I have raised an issue in microsoft/wslg#919.
@pomeloyou commented on GitHub (Jun 17, 2023):
I have the same problem, do you resolve it ?

@XuehaiPan commented on GitHub (Jun 17, 2023):
@pomeloyou Seems that you are using docker containers rather than WSLg. You need to pass
--pid=hostwhen running the container.