mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[GH-ISSUE #161] [BUG][Upstream] failed to get SWAP status on Windows with performance counter disabled #101
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#101
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 @Ariloum on GitHub (Apr 18, 2025).
Original GitHub issue: https://github.com/XuehaiPan/nvitop/issues/161
Originally assigned to: @XuehaiPan on GitHub.
Required prerequisites
What version of nvitop are you using?
1.4.2
Operating system and version
Windows 10x64 22H2
NVIDIA driver version
Nvidia Studio 572.83
NVIDIA-SMI
Python environment
python -m pip freeze
aiofiles==24.1.0
annotated-types==0.7.0
anyio==4.9.0
certifi==2025.1.31
charset-normalizer==3.4.1
click==8.1.8
colorama==0.4.6
cupy-cuda12x==13.4.0
distro==1.9.0
fastapi==0.115.12
fastrlock==0.8.3
ffmpy==0.5.0
filelock==3.17.0
fsspec==2025.2.0
gradio==5.25.2
gradio_client==1.8.0
groovy==0.1.2
h11==0.14.0
httpcore==1.0.8
httpx==0.28.1
httpx-sse==0.4.0
huggingface-hub==0.28.1
idna==3.10
Jinja2==3.1.5
jiter==0.9.0
markdown-it-py==3.0.0
MarkupSafe==3.0.2
mcp==1.6.0
mdurl==0.1.2
mpmath==1.3.0
networkx==3.4.2
numpy==2.2.2
nvidia-ml-py==12.570.86
nvitop==1.4.2
openai==1.75.0
orjson==3.10.16
packaging==24.2
pandas==2.2.3
pillow==11.1.0
psutil==7.0.0
pydantic==2.11.3
pydantic-settings==2.8.1
pydantic_core==2.33.1
pydub==0.25.1
Pygments==2.19.1
python-dateutil==2.9.0.post0
python-dotenv==1.1.0
python-multipart==0.0.20
pytz==2025.2
PyYAML==6.0.2
requests==2.32.3
rich==14.0.0
ruff==0.11.5
safehttpx==0.1.6
safetensors==0.5.2
semantic-version==2.10.0
setuptools==75.8.0
shellingham==1.5.4
six==1.17.0
sniffio==1.3.1
sse-starlette==2.2.1
starlette==0.46.2
sympy==1.13.3
timm==1.0.13
tomlkit==0.13.2
torch==2.8.0.dev20250407+cu128
torchaudio==2.6.0.dev20250408+cu128
torchvision==0.22.0.dev20250408+cu128
tqdm==4.67.1
transliterate==1.10.2
typer==0.15.2
typing-inspection==0.4.0
typing_extensions==4.12.2
tzdata==2025.2
urllib3==2.3.0
uvicorn==0.34.1
websockets==15.0.1
windows-curses==2.4.1
python -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)))'
File "", line 1
'import
^
SyntaxError: unterminated string literal (detected at line 1)
python
Python 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Problem description
I'm getting error while trying to run nvitop.
pip install nvitop <-- runs fine
Steps to Reproduce
The Python snippets (if any):
Command lines:
Traceback
Logs
Expected behavior
No crashes on launch
Additional context
No response
@Ariloum commented on GitHub (Apr 18, 2025):
I guess it's because my Perfomance Counters are disabled, I found that windows were abusing some of my SSD and was doing heavy writes with tons of gigabytes.. Thus I classified this as unwanted/bugged/sabotaged and triggered that off.
Why did nvitop needs these counters? I can see my GPU/CPU stats with CUDA/memory usage and so on in all other monitoring programs..
@XuehaiPan commented on GitHub (Apr 19, 2025):
@Ariloum
nvitopcallspsutilAPIs to retrieve system metrics. I think you should file this issue topsutilupstream instead.