Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include Uodate pci ids, adding VEGAM, VEGA12 and VEGA20 Dec 26, 2018
translations Run 'make trans' to update the translation source Jul 19, 2018
.gitignore Add optional unprivileged mode in Xorg Jul 4, 2016
COPYING GPLv3 this Jul 7, 2012
Makefile
README.md README: adding dependencies and build instructions Oct 31, 2018
auth.c
auth_xcb.c Add optional unprivileged mode in Xorg Jul 4, 2016
detect.c fix bus being wrong when auto-detecting GPU Oct 31, 2018
dump.c Add support for memory&shader clock reporting Jul 19, 2018
family_str.c Uodate pci ids, adding VEGAM, VEGA12 and VEGA20 Dec 26, 2018
familycheck.sh Add a script to check enum consistency Oct 1, 2014
getamdgpuids.sh Add support for Topaz, Tonga, and Carrizo Aug 6, 2015
getver.sh getver.sh: Only use git if its a git repo. Dec 9, 2018
radeontop.1
radeontop.asc Update man page Jul 13, 2018
radeontop.c fix bus being wrong when auto-detecting GPU Oct 31, 2018
radeontop.metainfo.xml Add appstream info file, from luyatshimbalanga Aug 7, 2017
ticks.c Add support for memory&shader clock reporting Jul 19, 2018
ui.c Tune the ui so it fits to normal terminals still Jul 19, 2018

README.md

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).

Supported cards

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

For the amdgpu driver, only the mem path is currently supported - for those cards, this means radeontop 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 VRAM size and usage reporting, default off (requires libdrm >= 2.4.77)

Example:

make amdgpu=1 xcb=1

This will build radeontop with amdgpu VRAM reporting and xcb support.

You can’t perform that action at this time.