Syllo / nvtop

GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
Other
7.7k stars 282 forks source link

Problems with nvtop on dual GPU (Intel+Nvidia) #207

Closed ibobak closed 1 year ago

ibobak commented 1 year ago

I have MSI Titan GT77 HX 13VI laptop with two video cards:

/$ lspci | grep -i vga
0000:00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S UHD Graphics (rev 04)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GN21-X11 [GeForce RTX 4090 Laptop GPU] (rev a1)

I am getting this message when running nvtop:

This version of Nvtop is missing support for reporting Intel GPU memory, power, fan and temperature
<Don't Show Again> <Ok>

Press Enter to select, arrows ">" and "<" to switch optionsnvtop: ./src/extract_gpuinfo_intel.c:228: parse_drm_fdinfo_intel: 
Assertion `!cache_entry_check && "We should not be processing a client id twice per update"' failed.

I want to mention that after reboot nvtop works fine for some time (even after the message that it won't work for intel card). But in 1 or 2 hours of work it stops working, and when launching it again I am getting a message as above.

May I ask you a question: is is possible to somehow unplug monitoring the Intel GPU and to start monitoring ONLY the Nvidia GPU? Is there some option? Or maybe I can unplug this in the source code somehow and make a custom build for myself? If yes, would you be so kind as to tell how?

I truly don't need to look at intel card: I am interesting to monitor only my nvidia card. Thanks in advance.

Ashvith10 commented 1 year ago

Duplicate of #197

Have you tried this?

sudo setcap cap_perfmon=+ep /usr/bin/nvtop

Also make sure that you have intel_gpu_top installed and set the same for this utility as well.

sudo setcap cap_perfmon=+ep /usr/bin/intel_gpu_top
Syllo commented 1 year ago

You can select which GPU is monitored through the F2 menu too.

Syllo commented 1 year ago

The Intel limitation comes from the driver not providing some metrics yet.

Syllo commented 1 year ago

I'll close this for now. Missing info related to #197 Feel free to re-open if you feel like I am missing something.