zenith icon indicating copy to clipboard operation
zenith copied to clipboard

Add GPU usage monitor

Open JunfengJia opened this issue 5 years ago • 7 comments

I see it's in your plan, please use this issue to track it.

JunfengJia avatar Apr 08 '20 22:04 JunfengJia

Task List for GPU Support. For linux, GPU support will be compiled using feature flags.

  • [x] Support for NVIDIA GPUs on Linux #30 --features nvidia
  • [ ] Support for AMD GPUs on Linux #31 --features amd
  • [ ] Support for GPUs on MacOS #32

bvaisvil avatar May 01 '20 04:05 bvaisvil

Would it be possible to have one graph per GPU? I have multiple nvidia GPUs on my machine and it would be very useful to see their historic usage individually as opposed to only one of them. Great app btw.

larrybrit avatar May 18 '20 14:05 larrybrit

Thanks for the feedback! Yes, that's certainly possible. My thought was being to switch between which video card was being displayed. However, to clarify, you'd rather have a separate element for each card?

bvaisvil avatar May 23 '20 22:05 bvaisvil

@larrybrit I've got a preview of multiple GPU support in the branch multiple-card-support.

Just tab over the to the GPU section and the and switch between cards.

bvaisvil avatar May 26 '20 21:05 bvaisvil

@bvaisvil Apologies for the slow response. It's already useful as it is! But, yes, as you guessed I'd love to see the historic per card, all at once. Side note, the memory usage report is incorrect. I'm using the GPU for 3d rendering and they are using 90-95% of the ram per the GPU renderer / Nvidia-smi report. In zenith, they show a much lower value.

larrybrit avatar May 26 '20 22:05 larrybrit

your arrow up / down control would be great to toggle between the history graph and the list of processes on the GPU, instead of toggling through the various GPUs.

larrybrit avatar May 26 '20 22:05 larrybrit

@larrybrit No apology necessary! Thank you very much for the feedback.

Looks like the memory usage reported in structnvmlProcessUtilizationSample__t is the Frame Buffer utilization as opposed to Total Memory utilization. Difference between those two values wasn't clear to me until this moment!

I'll work on changing the indicators to correctly reflect the values zenith is presenting.

bvaisvil avatar May 26 '20 22:05 bvaisvil