Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.
/ amdcovc Public archive

Utility to overclock AMD Radeon GPU's in console mode (linux) with power control support, forked from https://github.com/matszpk/amdcovc

License

Notifications You must be signed in to change notification settings

hyln9/amdcovc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AMDCOVC

This is program to control AMD Overdrive settings that is working if graphics cards are in console-mode. This program has been written to replace amdconfig utility and allow to overclock Radeon GPU's if no running X11 server. An amdconfig utility requires a running X11 server and X11 kept configuration to be working correctly. Thus, this program ease overclocking of Radeon GPU's under console environment (in SSH or Linux console). Nevertheless, this program can works under X11 environment.

WARNING

This program changes graphics card's clocks and voltages. This program can easily DAMAGE your hardware if it will be used CARELESSLY.

Before any setting of AMD Overdrive parameters (clocks, voltages, fan speeds), please STOP ANY the GPU computations and the GPU renderings.

YOU USE THIS PROGRAM AT YOUR OWN RISK! WE DO NOT GIVE ANY WARRANTY THAT PROGRAM WILL BE WORKING CORRECTLY IN ANY CASE! Read license before using this program.

Preliminary requirements

Program to work requires following things:

  • C++ environment compliant with C++11 standard (libraries)
  • OpenCL environment (to force initializing of devices)
  • libadlxx.so library (AMD ADL library)
  • pciutils library

To build program you need:

  • compiler compliant with C++11 standard
  • OpenCL headers
  • AMD ADL SDK (in developer.amd.com site)
  • pciutils developer package (includes)

Building program

To build program, just type:

make

Invoking program

NOTE: If no X11 server is running, then this program requires root privileges.

To run program, just type:

./amdcovc

This command prints current status of all adapters (graphics cards).

./amdcovc -v

Prints more informations about graphics cards.

To print help, type:

./amdcovc -?

To set core clock and memory clock for first adapter, just type:

./amdcovc coreclk:0=1000 memclk:0=1200

Sets core clock to 1000 MHz and memory clock to 1200 MHz.

Understanding info printed by program

The AMDCOVC by default prints following informations about graphics card:

Adapter 1: Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP]
  Core: 1010 MHz, Mem: 1235 MHz, Vddc: 1.21 V, Load: 98%, Temp: 67 C, Fan: 54%, PwrCtrl: +0%
  Max Ranges: Core: 150 - 1050 MHz, Mem: 75 - 1450 MHz, Vddc: 0.8 - 1.225 V
  PerfLevels: Core: 300 - 1010 MHz, Mem: 150 - 1235 MHz, Vddc: 0.825 - 1.21 V

The first line below adapter is current state of graphics card (core clock, memory clock, voltage, load, temperature, fan speed and power control).

The PerfLevels is current performance level settings from lowest to highest. Ofcourse, the highest performance levels is used while some computations/rendering. First level will be used in idle mode (if no work).

The Max Ranges is minimal and maximal possible settings for graphics card.

The verbose informations contains:

  • current state of graphics (Current CoreClock,...)
  • minimal and maximal fan speed settings
  • minimal and maximal power control settings
  • minimal and maximal clocks and voltages
  • current performance level settings
  • default performance level settings

List of parameters

List of parameters that can be set:

  • coreclk[:[ADAPTERS][:LEVEL]]=CLOCK - set core clock in MHz
  • memclk[:[ADAPTERS][:LEVEL]]=CLOCK - set memory clock in MHz
  • vcore[:[ADAPTERS][:LEVEL]]=VOLTAGE - set Vddc voltage in Volts
  • icoreclk[:ADAPTERS]=CLOCK - set core clock in MHz for idle level
  • imemclk[:ADAPTERS]=CLOCK - set memory clock in MHz for idle level
  • ivcore[:ADAPTERS]=VOLTAGE - set Vddc voltage in Volts for idle level
  • fanspeed[:[ADAPTERS][:THID]]=PERCENT - set fanspeed in percents
  • powercontrol[:[ADAPTERS][:THID]]=PERCENT - set powercontrol in percents

Extra specifiers in parameters:

  • ADAPTERS - adapter (device) index list (default is 0)
  • LEVEL - performance level (typically 0 or 1, default is last)
  • THID - thermal controller index (must be 0)

You can use 'default' in value place to set default value. For fanspeed 'default' value force automatic speed setup.

List of options

List of options:

  • -a, --adapters=LIST - print informations only for these adapters
  • -v, --verbose - print verbose informations
  • --version - print version
  • -?, --help - print help

About

Utility to overclock AMD Radeon GPU's in console mode (linux) with power control support, forked from https://github.com/matszpk/amdcovc

Resources

License

Stars

Watchers

Forks

Packages

No packages published