Open ich777 opened 1 year ago
Same error here, build from source
GPU: Intel TigerLake-H GT1 [UHD Graphics]
with modesetting
driver
try running it as sudo. that seems to work for me. but when launched without sudo it says it doesnt have support for it
I'm already root so sudo
wouldn't do much.
Are you also sure that you've not already have set it to not display the message?
I already get a output but the message is what made me ask.
I'm seeing this on the Arch package as well as on the AppImage so I doubt it's a build issue. Are Intel cards just not supported in general, or just particular models? I have an Intel Arc A770 for the record.
Hello, Yes, these information were not exposed by the driver when I implemented the Intel support. I'll look at the state of the current Linux driver to see if the patches got mainlined and add support for that.
@Syllo A little OT but I completely forgot to mention that I've created a plugin for Unraid for nvtop over here.
I hope that's okay for you. :) It was downloaded about 7300 times so far, so this means that about 7300 people are using it on Unraid.
I can confirm this on Arch with 6.1.24-1-lts kernel and modesetting driver on TigerLake-H GT1 iGPU. The only stat NVTOP can display is the clock rate, while intel_gpu_top displays other stats as well - see the attached screenshot. Running NVTOP with sudo yields the same results.
All right. While browsing the kernel code I uncovered two piece of info:
If someone with a discreet Intel GPU could dump what is under the hwmon
folder under /sys/bus/pci/devices/<pci addr>/drm/card1/hwmon/
where "pci addr" can be retrieved with a lspci | grep VGA
I can at least implement power draw for these.
$ find /sys/bus/pci/devices/0000\:03\:00.0/drm/card0/device/hwmon/ -type f
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/uevent
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power1_max_interval
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power1_max
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/energy1_input
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/in0_input
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power/runtime_active_time
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power/runtime_status
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power/autosuspend_delay_ms
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power/runtime_suspended_time
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power/control
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/power1_rated_max
/sys/bus/pci/devices/0000:03:00.0/drm/card0/device/hwmon/hwmon2/name
I don't know if this help, I has used lsof -p <intel_gpu_top pid>
too see which files are being access within intel_gpu_top, and see this
In that directory it has some files like this
Edit: Content of some files
Hmmm for me intel_gpu_top
also doesn't really show much interesting for my Arc A770 GPU though
intel-gpu-top: Intel Dg2 (Gen12) @ /dev/dri/card0
0/ 0 MHz; 100% RC6; 0 irqs/s
ENGINES BUSY MI_SEMA MI_WAIT
Render/3D 0.00% | | 0% 0%
Blitter 0.00% | | 0% 0%
Video 0.00% | | 0% 0%
VideoEnhance 0.00% | | 0% 0%
[unknown] 0.00% | | 0% 0%
Hmmm for me
intel_gpu_top
also doesn't really show much interesting for my Arc A770 GPU though
Because it seems nothing is using your GPU.
Of note, starting with the 6.8 kernel, Intel GPUs now expose memory usage via fdinfo. I've validated this with my embedded Intel GPU. With this in place, nvtop should be able to expose per-process GPU memory usage now.
Of note, starting with the 6.8 kernel, Intel GPUs now expose memory usage via fdinfo. I've validated this with my embedded Intel GPU. With this in place, nvtop should be able to expose per-process GPU memory usage now.
May I ask how to view the memory information
Hi, I'm trying to build NVTOP for Slackware but sadly enough it gives me this output after installing the compiled version:
This is the output from cmake:
I'm on Kernel version
6.1.12
Am I missing something obvious?Cheers