optimizer icon indicating copy to clipboard operation
optimizer copied to clipboard

AMD GPU Usage

Open hannesschulze opened this issue 5 years ago • 2 comments

First attempt at getting AMD GPU usage information using radeontop

@msmaldi I have made a few adjustments to the Nvidia backend to make it more abstract:

  • Created an interface for GPUUsage backend components
  • Remove singleton
  • Use meson wrap for the subproject (I have to figure something out for this, because apparently elementary's houston doesn't allow wrap downloads)
  • Get the GPUUsage interface from the Resources-singleton (if available)
  • Move the information from the additional tab into the SystemInfo label
  • (completely undecided and untested as of now) Try showing memory usage instead of graphics. I'm not really sure about this one and will probably revert it, but I found it interesting to see the memory usage. However:
    • I don't know how the memory usage works for Nvidia cards and currently can't really test it. Is this memory variable in your code in percent or an absolute value? Is there any way to get the total amount of memory?
    • It's probably more useful to have the graphics usage shown.. What do you think about this? Unfortunately I can't show both side by side..

Please note that this branch will not be merged into master yet

Demo

hannesschulze avatar Jan 24 '20 19:01 hannesschulze

I updated my code of Nvidia suport I my current implementation is possible get a integer thats represent percent of memory usage, but with libXNVCtrl is possible get TotalMemory and UsedMemory, I can write this code, but i prefer see GPU usage and temperature, I never had to consult the GPU memory,see my current implementation MyOptimizer

May I work to show temperature of processor and disk (nvme only).

msmaldi avatar Jan 24 '20 20:01 msmaldi

I've updated my branch to show the general GPU usage instead of the memory usage. As for the temperature monitoring, like I've already mentioned in #77, I'd like to keep that separated

hannesschulze avatar Jan 25 '20 10:01 hannesschulze