Syllo/nvtop

Nvtop constantly shows 25% being used even when there are no processes which have that much total usage in the table below

dineshdharme opened this issue · 6 comments

System : Ubuntu 22:04

Here's an image.

https://imgur.com/QSjm9LH

Weird you've posted a screenshot.

Must have been a lapse on your part considering you've not posted any information about your HW or software like the kernel version or Mesa version. None. The developer must be a clairvoyant of sorts.

I'm having a similar problem, the GPU usage percent will vary anywhere from 2-25%, but the chart below never changes, it always indicates 4% plasmashell and 2% xorg usage, and nothing else those values never change.

If I start a game, it does get added to the chart and does take a large majority of the GPU as expected, but when everything is just idling on the desktop, this issue is very noticable as nothing else is indicated as using any GPU at all.

https://i.imgur.com/rFI8Lmc.png

OS: Fedora 40
Kernel: 6.8.7
Mesa: 24.1.0
CPU: Ryzen 7700x
GPU: Sapphire Radeon 6700 XT

Have tried both nvtop 3.0.2 (from fedora repos) and 3.1.0 AppImage

Try out two different profilers and check if their usage numbers agree.

I don't know of any other profilers that show the per-process usage. The overall usage does agree across all profilers I've used, but nvtop is the only one I have that shows usage by process.

nvtop uses AMDGPU_INFO_SENSOR_GPU_LOAD as the overall GPU utilization, which may not match the process utilization because it is a value returned by the management unit inside the hardware.

https://github.com/Syllo/nvtop/blob/master/src/extract_gpuinfo_amdgpu.c#L696