nvtop icon indicating copy to clipboard operation
nvtop copied to clipboard

Add support for the Raspberry Pi VideoCore GPU.

Open xiaohuirong opened this issue 1 year ago • 1 comments

fix https://github.com/Syllo/nvtop/issues/306

Supports GPU frequency, temperature, utilization, per-process utilization, GPU memory usage, and H264 decoding utilization. Test on Raspberry Pi 4B ArchLinux Arm aarch64 with linux-rpi kernel

test on Raspberry Pi 4B

xiaohuirong avatar Aug 27 '24 16:08 xiaohuirong

Hello,

Fantastic addition! I'll try to go through the changes this weekend.

Syllo avatar Aug 31 '24 10:08 Syllo

@xiaohuirong is there some special way one must build this? I'm getting errors

[100%] Linking C executable nvtop
/usr/bin/ld: CMakeFiles/nvtop.dir/extract_gpuinfo_v3d.c.o: in function `gpuinfo_v3d_refresh_dynamic_info':
extract_gpuinfo_v3d.c:(.text+0x1b8): undefined reference to `nvtop_device_get_syspath'
/usr/bin/ld: extract_gpuinfo_v3d.c:(.text+0x1c4): undefined reference to `nvtop_device_new_from_syspath'
/usr/bin/ld: extract_gpuinfo_v3d.c:(.text+0x1ec): undefined reference to `nvtop_device_unref'
/usr/bin/ld: CMakeFiles/nvtop.dir/extract_gpuinfo_v3d.c.o: in function `gpuinfo_v3d_get_device_handles':
extract_gpuinfo_v3d.c:(.text+0x260): undefined reference to `nvtop_enumerator_new'

Full problem in here: https://github.com/Syllo/nvtop/discussions/326

Ciantic avatar Nov 09 '24 13:11 Ciantic

@xiaohuirong hi! do you have any idea if it works on a raspberry pi 5? i manually compiled it but it doesnt appear to be working: image vcgencmd seems to be reporting the right thing:

image

QinCai-rui avatar Apr 13 '25 23:04 QinCai-rui

What's your kernel version? The required kernel version is >= 6.12. For older kernels such as version 6.6, you can build the project from a commit before the changes introduced in this pull request.

xiaohuirong avatar Apr 14 '25 06:04 xiaohuirong

@xiaohuirong I'm using 6.12.22-v8-16k+ Let's track this in: https://github.com/Syllo/nvtop/issues/372

QinCai-rui avatar Apr 14 '25 23:04 QinCai-rui