Code Monkey home page Code Monkey logo

radeontop's Introduction

RadeonTop

View your GPU utilization, both for the total activity percent and individual blocks.

Requires access to /dev/dri/cardN files or /dev/mem (root privileges).

Screenshot from 2019-10-19 01-34-50_cut

Supported cards

R600 and up, even Southern Islands should work fine. Works with both the open drivers and AMD Catalyst.

For the Catalyst driver, only the mem path is currently supported - this means it won't run on the default Ubuntu kernels that block /dev/mem.

The total GPU utilization is also valid for OpenCL loads; the other blocks are only useful in GL loads.

Translations

If you'd like to translate RadeonTop to your own language, please go here:

https://translations.launchpad.net/radeontop

Running

Prerequisites

  • libdrm
  • libncurses
  • libpciaccess
  • libxcb

Simply start radeontop and it auto-selects the first supported GPU:

./radeontop

Running radeontop on a bus 0f:

./radeontop -b 0f

Writing values to stdout instead of showing a GUI:

./radeontop -d -

Getting all options:

./radeontop --help

Building

Prerequisites

  • all run time prerequisites with dev files
  • gcc / clang
  • pkgconf

Building

If all prerequisites are fullfilled, it can be build by simply running:

make

Build options

Build options can be specified to having the following variables being set to "1"

nls     enable translations, default on
debug   enable debug symbols, default off
nostrip disable stripping, default off
plain   apply neither gcc's -g nor -s.
xcb     enable libxcb to run unprivileged in Xorg, default on
amdgpu  enable amdgpu usage reporting, default auto (requires libdrm >= 2.4.63)

Example:

make amdgpu=1 xcb=1

This will build radeontop with amdgpu reporting and xcb support.

radeontop's People

Contributors

clbr avatar trek00 avatar grische avatar atomsymbol-notifications avatar lekensteyn avatar bobsayshilol avatar vedranmiletic avatar melroy89 avatar nckx avatar baryluk avatar nikoli avatar rindeal avatar grigorig avatar fabiand avatar shadowsfriend avatar bengt avatar falconbsp avatar airdeeex 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.