Syllo / nvtop

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

Fallback to libdrm if NVIDIA library not found ? #167

Open terminatorul opened 2 years ago

terminatorul commented 2 years ago

Hello

When using nouveau driver, I get the message: No GPU to monitor

For nouveau only driver (no NVIDIA prorietary driver), can nvtop fall back to using libdrm if the NV ML library is not found ? It is strange how nvtop works with my Radeon cards but not with GeForce cards that are using nouveau, saying "No GPU to monitor"

Syllo commented 2 years ago

Hello, Unfortunately there is no nouveau support at the moment, hence the No GPU to monitor prompt when the proprietary NVIDIA driver is not installed.

Some information can be retrieved through libdrm through the nouveau_getparam function, but it does not seem to expose much. Maybe more is exposed though sysfs but I don't have access to a PC with nvidia+nouveau to check.

Mart-Bogdan commented 1 year ago

Perhaps @terminatorul, you can find somewhere if nouveau is exposing anything via sysfs? Some example of files or documentation.

qwertychouskie commented 1 year ago

@Syllo I have a system with I think a 200 series Nvidia GPU, I could set up SSH on if you wanted to use it to work on Nouveau support. Now that NVK is a part of mainline Mesa with the kernel bits coming in 6.6, I suspect the userbase of Nouveau is going to grow significantly, and it would be great to have proper monitoring support in nvtop/Mission Center.