Syllo / nvtop

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

nvtop 2.0.3 not display AMDGPU performance monitoring #165

Closed jjk334 closed 1 year ago

jjk334 commented 1 year ago

when I install nvtop2.0.3 in centos7.9,But I can't see the GPU usage of the process。 qemu process use Google emulator + Android7。 image

Syllo commented 1 year ago

Hello, I was aware of that issue and had a patch in preparation to simplify the AMDGPU process sweep. Could you try again with the update on the master branch?

jjk334 commented 1 year ago

Hello, I reinstall in https://github.com/Syllo/nvtop/archive/refs/heads/master.zip

But the situation is the same image

Syllo commented 1 year ago

Oh, I did not see centos7.9. What is your kernel version? You can see that with the command uname -a

jjk334 commented 1 year ago

5.11.0

Syllo commented 1 year ago

I just verified and the AMDGPU driver first started exposing the per-process information through the fdinfo interface in kernel 5.14 (https://elixir.bootlin.com/linux/v5.14/source/drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c). Hence, you can still see the card usage but won't be able to see the process utilization with your kernel version.

Syllo commented 1 year ago

I'll add a note in the README to make that clear.

jjk334 commented 1 year ago

when I try kernel 5.15.12. it dose work! thank you. image