Git Product home page Git Product logo

ksysguard-gpu's Introduction

ksysguard-gpu

Add GPU status visualization for ksysguard.

Table of Contents

screnshoot

Example amd Example amd and intel

supported GPU

AMD card are supported with radeontop
Intel card are supported with intel-gpu-tools
Nvidia card are supported with nvidia-smi
Test those program as I had varing degree of luck on model of GPU supported and what data is exposed.

dependency

You need to have installed radeontop and python3 (I used 3.7), and of course ksysguard.
Also the script will use your TCP port 3112, so you could also use it to check on remote machines, as long as you know to set up the classic firewall/nat rules.

installation

cd ksysguard-gpu

  • ./install.sh
  • start ksysguard
  • File -> New Tab -> configure the details -> click Ok
  • Click the new tab
  • File -> Monitor remote machine, in the windows that will appear you will see the following:
    ** Host: 127.0.0.1
    ** Connection type: daemon
    ** Port: 3112
  • click ok

example tab

In the folder tab you can find the some example tab that can be imported into ksysguard. Unfortunately there seems to be great difference between the data exposed by different GPU model; so you may still need to tweak here and there.

troubleshooting

  • try to run radeontop, if it works, great, close it.
  • If it does not, fix it.
  • If it require root, also check your user is part of the "video" group or whatever "ls -la /dev/dri/card0" returns.
  • run the script gpuServer.py, with root/sudo if needed
  • start ksysguard

Monitor remote machine in all its glory

Now if you open a new tab, in the sensor browser, you should see a new voice 127.0.0.1 with all the sensor available.
You will notice the bus number is incuded; yep, it will work if you have multiple GPU!
All value are % because was easier to code, deal with it.

The list of the sensors

suggestion

IMHO The most meaninful (the one in the screenshot with AMD only) are:

  • gpu: estimation of the GPU usage

  • vram: how much ram is in use

  • mclk: memory clock

  • sclk: shader clock

multiple GPU support

radeontop and nvidia-smi are able to identify multiple GPU.
intel-gpu-tools looks like can't do that, so if you want multiple Intel GPU will not work.. But if you take a dump of the output of intel_gpu_top -l I'll see if I feel I want implement it.

ksysguard-gpu's People

Contributors

anaeijon avatar kattus avatar lestofante avatar mauromombelli avatar thezoraiz avatar ykgautam09 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.