View Full Version : ATIpower: ATI Linux GPU Overclocking
Michael
04-02-2007, 04:09 PM
When it comes to overclocking ATI Radeon graphics cards under Linux the only real option has been using rovclock. Rovclock is a Radeon overclocking utility written and developed by Sebastian Witt. This tool has been in development since 2005 but it took quite a while before the Radeon R300/R400 series was even supported. Rovclock still lacks support for the Radeon X1000 (R500) series, however, there is a new contender to the ATI Linux GPU overclocking arena and that is ATIpower. We have covered the ATIpower overclocking utility today at Phoronix.
http://www.phoronix.com/vr.php?view=9367
ATIPower Link: http://websupport.sk/~stanojr/projects/atipower/
chopin1998
04-02-2007, 10:15 PM
I like it! I can underclovk when dual-head mode.
The author of ATIpower (stanojar) using a Radeon X1900XT, which has a default state of 500MHz and 594MHz for the GPU and memory respectively, was able to push the card up to 648MHz and 774MHz at its highest OverDrive state.
default
500/594 in 2d modus
621/720 in 3d modus
so he only overclocked it 26mhz on the core and 54mhz on the memory.
chopin1998
04-04-2007, 08:41 PM
haha@rainFlower:~$ atipower
id: 1, gpu: 432 mhz, mem: 396 mhz
id: 2, gpu: 324 mhz, mem: 135 mhz
* id: 3, gpu: 209 mhz, mem: 135 mhz
id: 4, gpu: 391 mhz, mem: 252 mhz
id: 5, gpu: 391 mhz, mem: 252 mhz
This is my result, Dell E1505(i6400) shipped with ATi M X1400
aticonfig has only 3 option, and you cannot underclock in dual-head mode, but atipower can.
EazyVG
04-06-2007, 08:11 AM
I have ATI AMD64 8.35.5 drivers installed on my openSUSE 10.2 and am running Beryl with Xgl. Here is the situation:
The card info:
me@vg-nix64:~> fglrxinfo
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON X800 GTO
OpenGL version string: 1.2 (2.0.6400 (8.35.5))
Remark: <Xlib: extension "XFree86-DRI" missing on display ":0.0".> - can't understand what this is .... as I remember this wasn't there before, maybe with some system update this occured, though fglrx is working nicely.
1. When I run aticonfig --lsp command i get (though fglrx in active as user and root):
me@vg-nix64:~> aticonfig --lsp
Error: Unable to obtain POWERplay information.
remark: i remember I used to get proper output before with this command, same as in point 2 from var log .... but not now!
2. In var log I have one line:
(II) fglrx(0): POWERplay version 3. 1 power state available:
(II) fglrx(0): 1. 432/533MHz @ 0Hz [enable load balancing]
3. Got the atipower tar.gz file ----> do i run simply run make and make install commands?
The reason I want to run atipower is to underclock, as my card is overclocked with BIOS flash to enable all 16 pipelines and few extra mhz. And when drivers (fglrx) is installed and running, as you can see from log it always runs at its max settings, so the fan is little loud. I want to be able to underclock it ....... again questions:
4. If I have just one setting according to Powerplay (maybe cause of BIOS flashing), will I be able to specify manually the clock speeds, at least for the GPU, for example 380mhz for core.
Michael
04-06-2007, 08:19 AM
PowerPlay commonly doesn't work on desktop graphics cards.
To install ATIpower you should be able to just do make
No, through PowerPlay you can only access the power-states and not manually specify frequencies.
EazyVG
04-06-2007, 08:27 AM
Tnx Michael for your quick reply.
Getting error when run make command:
vg-nix64:/home/me/temp/atipower-0.1 # make
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -I/
usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
FGLRXExtensions.c:8:22: error: X11/Xlib.h: No such file or directory
FGLRXExtensions.c:9:23: error: X11/Xutil.h: No such file or directory
FGLRXExtensions.c:10:24: error: X11/Xproto.h: No such file or directory
FGLRXExtensions.c:11:25: error: X11/Xlibint.h: No such file or directory
FGLRXExtensions.c:12:34: error: X11/extensions/XTest.h: No such file or directory
FGLRXExtensions.c:13:33: error: X11/extensions/sync.h: No such file or directory
FGLRXExtensions.c:15:33: error: X11/extensions/Xdbe.h: No such file or directory
FGLRXExtensions.c:16:35: error: X11/extensions/record.h: No such file or directory
FGLRXExtensions.c:17:34: error: X11/extensions/shape.h: No such file or directory
FGLRXExtensions.c:19:37: error: X11/extensions/xf86misc.h: No such file or directory
FGLRXExtensions.c:20:39: error: X11/extensions/xf86mscstr.h: No such file or directory
In file included from FGLRXExtensions.c:21:
extutil.h:42: error: expected specifier-qualifier-list before ‘Display’
extutil.h:102: error: expected specifier-qualifier-list before ‘Bool’
FGLRXExtensions.c:23:35: error: X11/extensions/XInput.h: No such file or directory
FGLRXExtensions.c:25:21: error: X11/Xos.h: No such file or directory
In file included from atiddx_extensions.h:52,
from FGLRXExtensions.c:29:
fglrx_pp_proto.h:49: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_pp_proto.h:57: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_pp_proto.h:79: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_pp_proto.h:89: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_pp_proto.h:111: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_pp_proto.h:121: error: expected specifier-qualifier-list before ‘BYTE’
In file included from atiddx_extensions.h:53,
from FGLRXExtensions.c:29:
fglrx_dm_proto.h:49: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:66: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:87: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:97: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:117: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:127: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:153: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:161: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:181: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:189: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:209: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:217: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:237: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:246: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:268: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:280: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:301: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:310: error: expected specifier-qualifier-list before ‘BYTE’
In file included from FGLRXExtensions.c:29:
atiddx_extensions.h:60: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:70: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:109: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:122: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:144: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:157: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:179: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:192: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:214: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:227: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:248: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:260: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:278: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:288: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:304: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:313: error: expected specifier-qualifier-list before ‘BYTE’
In file included from FGLRXExtensions.c:30:
FGLRXExtensions.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDriverData’
FGLRXExtensions.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerPlay Info’
FGLRXExtensions.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerStat e’
FGLRXExtensions.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetPowerState’
FGLRXExtensions.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDisplaySett ings’
FGLRXExtensions.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetDisplaySett ings’
FGLRXExtensions.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetGamma’
FGLRXExtensions.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetOverlayCRTC ’
FGLRXExtensions.c:81: error: expected ‘)’ before ‘*’ token
FGLRXExtensions.c:91: error: ‘close_display_fglx’ undeclared here (not in a function)
FGLRXExtensions.c:92: warning: excess elements in struct initializer
FGLRXExtensions.c:92: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:93: warning: excess elements in struct initializer
FGLRXExtensions.c:93: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:94: warning: excess elements in struct initializer
FGLRXExtensions.c:94: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:95: warning: excess elements in struct initializer
FGLRXExtensions.c:95: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:102: error: expected ‘)’ before ‘*’ token
FGLRXExtensions.c:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDriverData ’
FGLRXExtensions.c:212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerPla yInfo’
FGLRXExtensions.c:278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerSta te’
FGLRXExtensions.c:349: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetPowerState ’
FGLRXExtensions.c:428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDisplaySet tings’
FGLRXExtensions.c:502: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetDisplaySet tings’
FGLRXExtensions.c:574: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetGamma’
FGLRXExtensions.c:635: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetOverlayCRT C’
make: *** [all] Error 1
Hence no atipower command available.
Michael
04-06-2007, 08:40 AM
Tnx Michael for your quick reply.
Getting error when run make command:
vg-nix64:/home/me/temp/atipower-0.1 # make
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -I/
usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
FGLRXExtensions.c:8:22: error: X11/Xlib.h: No such file or directory
FGLRXExtensions.c:9:23: error: X11/Xutil.h: No such file or directory
FGLRXExtensions.c:10:24: error: X11/Xproto.h: No such file or directory
FGLRXExtensions.c:11:25: error: X11/Xlibint.h: No such file or directory
FGLRXExtensions.c:12:34: error: X11/extensions/XTest.h: No such file or directory
FGLRXExtensions.c:13:33: error: X11/extensions/sync.h: No such file or directory
FGLRXExtensions.c:15:33: error: X11/extensions/Xdbe.h: No such file or directory
FGLRXExtensions.c:16:35: error: X11/extensions/record.h: No such file or directory
FGLRXExtensions.c:17:34: error: X11/extensions/shape.h: No such file or directory
FGLRXExtensions.c:19:37: error: X11/extensions/xf86misc.h: No such file or directory
FGLRXExtensions.c:20:39: error: X11/extensions/xf86mscstr.h: No such file or directory
In file included from FGLRXExtensions.c:21:
extutil.h:42: error: expected specifier-qualifier-list before ‘Display’
extutil.h:102: error: expected specifier-qualifier-list before ‘Bool’
FGLRXExtensions.c:23:35: error: X11/extensions/XInput.h: No such file or directory
FGLRXExtensions.c:25:21: error: X11/Xos.h: No such file or directory
In file included from atiddx_extensions.h:52,
from FGLRXExtensions.c:29:
fglrx_pp_proto.h:49: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_pp_proto.h:57: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_pp_proto.h:79: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_pp_proto.h:89: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_pp_proto.h:111: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_pp_proto.h:121: error: expected specifier-qualifier-list before ‘BYTE’
In file included from atiddx_extensions.h:53,
from FGLRXExtensions.c:29:
fglrx_dm_proto.h:49: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:66: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:87: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:97: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:117: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:127: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:153: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:161: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:181: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:189: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:209: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:217: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:237: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:246: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:268: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:280: error: expected specifier-qualifier-list before ‘BYTE’
fglrx_dm_proto.h:301: error: expected specifier-qualifier-list before ‘CARD8’
fglrx_dm_proto.h:310: error: expected specifier-qualifier-list before ‘BYTE’
In file included from FGLRXExtensions.c:29:
atiddx_extensions.h:60: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:70: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:109: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:122: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:144: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:157: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:179: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:192: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:214: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:227: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:248: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:260: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:278: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:288: error: expected specifier-qualifier-list before ‘BYTE’
atiddx_extensions.h:304: error: expected specifier-qualifier-list before ‘CARD8’
atiddx_extensions.h:313: error: expected specifier-qualifier-list before ‘BYTE’
In file included from FGLRXExtensions.c:30:
FGLRXExtensions.h:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDriverData’
FGLRXExtensions.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerPlay Info’
FGLRXExtensions.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerStat e’
FGLRXExtensions.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetPowerState’
FGLRXExtensions.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDisplaySett ings’
FGLRXExtensions.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetDisplaySett ings’
FGLRXExtensions.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetGamma’
FGLRXExtensions.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetOverlayCRTC ’
FGLRXExtensions.c:81: error: expected ‘)’ before ‘*’ token
FGLRXExtensions.c:91: error: ‘close_display_fglx’ undeclared here (not in a function)
FGLRXExtensions.c:92: warning: excess elements in struct initializer
FGLRXExtensions.c:92: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:93: warning: excess elements in struct initializer
FGLRXExtensions.c:93: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:94: warning: excess elements in struct initializer
FGLRXExtensions.c:94: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:95: warning: excess elements in struct initializer
FGLRXExtensions.c:95: warning: (near initialization for ‘fglx_extension_hooks’)
FGLRXExtensions.c:102: error: expected ‘)’ before ‘*’ token
FGLRXExtensions.c:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDriverData ’
FGLRXExtensions.c:212: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerPla yInfo’
FGLRXExtensions.c:278: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtQueryPowerSta te’
FGLRXExtensions.c:349: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetPowerState ’
FGLRXExtensions.c:428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtGetDisplaySet tings’
FGLRXExtensions.c:502: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetDisplaySet tings’
FGLRXExtensions.c:574: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetGamma’
FGLRXExtensions.c:635: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ExtSetOverlayCRT C’
make: *** [all] Error 1
Hence no atipower command available.
Make sure your X development libraries are installed.
EazyVG
04-06-2007, 08:48 AM
Ooops .... you are right, totally forgot about that :-p
I'll get back soon.
EazyVG
04-06-2007, 09:17 AM
Oki doki, installed xorg devel packages and compiled, Here what I came up with:
me@vg-nix64:~/temp/atipower-0.1> make
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -I/usr/X11R6/include -I. -I./include_dummy atipower.c
atipower.c: In function ‘main’:
atipower.c:14: warning: incompatible implicit declaration of built-in function ‘printf’
atipower.c:44: warning: incompatible implicit declaration of built-in function ‘printf’
atipower.c:45: warning: incompatible implicit declaration of built-in function ‘exit’
atipower.c:56: warning: incompatible implicit declaration of built-in function ‘printf’
atipower.c:58: warning: incompatible implicit declaration of built-in function ‘printf’
atipower.c:59: warning: incompatible implicit declaration of built-in function ‘exit’
gcc FGLRXExtensions.o atipower.o -lX11 -lXext -o atipower
And when I execute:
me@vg-nix64:~/temp/atipower-0.1> ./atipower
error QueryPowerPlayInfo
duffman
04-06-2007, 11:52 AM
And when I execute:
me@vg-nix64:~/temp/atipower-0.1> ./atipower
error QueryPowerPlayInfo
Should be expected. You are running XGL and XGL doesn't allow any other X Extensions from being exposed except a certain set. You need to log out, flick back to gdm greeter, login into a non-XGL desktop and run atipower and then log back out and go into XGL.
EazyVG
04-06-2007, 07:29 PM
You were right again this time. Well, both aticonfig --lsp and ./atipower give me just one option/status.
BTW, I don't understand how Xgl interferes with Powerplay status!
Tnx Michael for your assistance.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.