Skip to content

marazmista/radeon-profile

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 16, 2016 03:31
October 28, 2018 14:57

Simple application to read current clocks of ATi Radeon cards (xf86-video-ati, xf86-video-amdgpu).

xf86-video-ati and xf86-video-amdgpu driver

Install and run radeon-profile-daemon (https://github.com/marazmista/radeon-profile-daemon) for using this app as normal user. Otherwise app need to be run with root privilages for changing power profiles (and clocks readings sometimes). You can add username ALL = NOPASSWD: /usr/bin/radeon-profile to your /etc/sudoers. Here is tip for run app as normal user but involves change permissions to system files: http://bit.ly/1dvQMhS

Functionality

  • Monitoring of basic GPU parameters (frequencies, voltages, usage, temperature, fan speed)
  • DPM profiles and power levels
  • Fan control (HD 7000+), definition of multiple custom curves or fixed speed
  • Overclocking (amdgpu) (Wattman, Overdrive, PowerPlay etc)
  • Per app profiles/Event definitions (i.e. change fan profile when temp above defined or set DPM to high when selected binary executed)
  • Define binaries to run with set of environment variablees (i.e. GALLIUM_HUD, MESA, LIBGL etc)

Dependencies

  • Qt 5.6<= (qt5-base and qt5-charts) (On Debian/Ubuntu: qt5-default libqt5charts5-dev)
  • libxrandr
  • libdrm (for amdgpu, 2.4.79<=, more recent, the better)
  • recent kernel (for amdgpu 4.12<=, more recent, the better)
  • radeon card

For full functionality:

  • glxinfo - info about OpenGL, mesa
  • xdriinfo - driver info
  • xrandr - connected displays

Build

git clone https://github.com/marazmista/radeon-profile.git
cd radeon-profile/radeon-profile
qmake
make 

The resulting binary is ./target/radeon-profile

For Ubuntu 17.04, qt5-charts isn't available:

  • Use qtchooser -l to list available profiles
  • Use qmake -qt=[profile from qtchooser] to specify Qt root or download and install a Qt bundle from https://www.qt.io/download-open-source/#section-2
  • Make a qt5opt.conf in /usr/lib/x86_64-linux-gnu/qtchooser/ containing:
/opt/Qt5.9.1/5.9.1/gcc_64/bin
/opt/Qt5.9.1/5.9.1

Installation

Ubuntu

Available for Ubuntu from PPA stable and git develop repository

Add in terminal commands:

  • For git ppa:
sudo add-apt-repository ppa:radeon-profile/radeon-profile
  • For stable ppa:
sudo add-apt-repository ppa:radeon-profile/stable
  • Then run commands:
sudo apt update
sudo apt install radeon-profile

Arch Linux

Links

Screenshot

Main screen Main screen

More screenshots