<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Herald added a project: Plasma.<br />Herald added a subscriber: plasma-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D23305">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This plugin shows the process GPU load and GPU memory usage for users of<br />
Nvidia graphic cards.</p>

<p>Data is fetched by running the (fortunately lightweight) process<br />
nvidia-smi to extract data. If this binary is not available this plugin<br />
does nothing and the columns will not be available.</p>

<p>It's not feasible to try try and reverse engineer nvidia-smi to recreate<br />
the functionality to do it without the extra executable. The headers are<br />
hidden within a giant proprietary SDK, and internally it's just opening<br />
a completely arbitrary address in /dev/mem.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Ran webGL test in firefox, FF process, Xorg and kwin all spiked</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R111 KSysguard Library</div></div></div><br /><div><strong>BRANCH</strong><div><div>plugins2</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23305">https://phabricator.kde.org/D23305</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>processplugins/CMakeLists.txt<br />
processplugins/nvidia/CMakeLists.txt<br />
processplugins/nvidia/nvidia.cpp<br />
processplugins/nvidia/nvidia.h<br />
processplugins/nvidia/nvidia.json</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>