D23305: Add plugin showing nvidia GPU load stats

David Edmundson noreply at phabricator.kde.org
Tue Aug 20 20:32:11 BST 2019


davidedmundson created this revision.
davidedmundson added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
davidedmundson requested review of this revision.

REVISION SUMMARY
  This plugin shows the process GPU load and GPU memory usage for users of
  Nvidia graphic cards.
  
  Data is fetched by running the (fortunately lightweight) process
  nvidia-smi to extract data. If this binary is not available this plugin
  does nothing and the columns will not be available.
  
  It's not feasible to try try and reverse engineer nvidia-smi to recreate
  the functionality to do it without the extra executable. The headers are
  hidden within a giant proprietary SDK, and internally it's just opening
  a completely arbitrary address in /dev/mem.

TEST PLAN
  Ran webGL test in firefox, FF process, Xorg and kwin all spiked

REPOSITORY
  R111 KSysguard Library

BRANCH
  plugins2

REVISION DETAIL
  https://phabricator.kde.org/D23305

AFFECTED FILES
  processplugins/CMakeLists.txt
  processplugins/nvidia/CMakeLists.txt
  processplugins/nvidia/nvidia.cpp
  processplugins/nvidia/nvidia.h
  processplugins/nvidia/nvidia.json

To: davidedmundson, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190820/6f2d9cad/attachment.html>


More information about the Plasma-devel mailing list