Bitcoin Forum
April 23, 2014, 09:14:29 AM *
News: Due to the OpenSSL heartbleed bug, changing your forum password is recommended.
 
   Home   Help Search Donate Login Register  
Pages: 1 2 3 4 5 6 [All]
  Print  
Author Topic: New command-line tool for overclocking ATI cards (Linux)  (Read 27744 times)
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 03, 2011, 11:12:59 PM
 #1

Hi everyone,

I'm an experienced software developer who set up a mining rig last month using Ubuntu. I found the overclocking tool available for Linux (AMDOvDrvCtrl) was a bit annoying to use, so I took a look at the source and decided to write my own command-line version. Rather than write one in C or C++, I figured it would be much more useful to wrap the underlying libraries using Python's ctypes package so I could write the tool in Python. This means no compiling, no installing an SDK, and you can read the code yourself to make sure there's no funny business going on.

Anyway, I'm done and the tool is available. You can install it in a few different ways:

From github: https://github.com/mjmvisser/adl3
From PyPi: http://pypi.python.org/pypi/adl3/0.3
With Python's "easy_install": sudo easy_install adl3==0.3

If you don't use easy_install, you'll need to run "sudo python setup.py install" to install the package after you download and unpack it.

Included is the "atitweak" tool. It can list your adapters just like aticonfig:

Code:
$ atitweak -l
0. ATI Radeon HD 5800 Series  (:0.0)
    engine clock range is 80 - 918MHz
    memory clock range is 150 - 1200MHz
    core voltage range is 0.95 - 1.088VDC
    performance level 0: engine clock 800MHz, memory clock 300MHz, core voltage 0.95VDC
    performance level 1: engine clock 918MHz, memory clock 300MHz, core voltage 1.088VDC
    performance level 2: engine clock 918MHz, memory clock 300MHz, core voltage 1.088VDC
    fan speed range: 0 - 100%,  800 - 5100 RPM
1. ATI Radeon HD 5800 Series  (:0.1)
    engine clock range is 80 - 918MHz
    memory clock range is 150 - 1200MHz
    core voltage range is 0.95 - 1.088VDC
    performance level 0: engine clock 800MHz, memory clock 300MHz, core voltage 0.95VDC
    performance level 1: engine clock 918MHz, memory clock 300MHz, core voltage 1.088VDC
    performance level 2: engine clock 918MHz, memory clock 300MHz, core voltage 1.088VDC
   fan speed range: 0 - 100%,  800 - 5100 RPM

It can also change the engine/memory clock speed and core voltage individually for each performance level and adapter:

Code:
$ atitweak --set-memory-clock=300 --performance-level=2 --adapter=0
Setting performance level 2 on adapter 0: memory clock 300MHz

new! You can set your fan speed (in percent) for each adapter:

Code:
$ atitweak --set-fan-speed=100 --adapter=all

new! It will also show the current status of adapters:

Code:
$ atitweak --status --adapter=0

0. ATI Radeon HD 5800 Series  (:0.0)
    engine clock 950MHz, memory clock 300MHz, core voltage 1.088VDC, performance level 2, utilization 99%
    fan speed 100% (3447 RPM) (user-defined)
    temperature 85.5 C

Here's the full command-line help:

Code:
Usage: atitweak [options]

Options:
  -h, --help            show this help message and exit
  -l, --list-adapters   Lists all detected and supported display adapters.
  -s, --status          Shows current clock speeds, core voltage, utilization
                        and performance level.
  -e ENGINE_CLOCK, --set-engine-clock=ENGINE_CLOCK
                        Sets engine clock speed (in MHz) for the selected
                        performance levels on the selected adapters.
  -m MEMORY_CLOCK, --set-memory-clock=MEMORY_CLOCK
                        Sets memory clock speed (in MHz) for the selected
                        peformance levels on the selected adapters.
  -v CORE_VOLTAGE, --set-core-voltage=CORE_VOLTAGE
                        Sets core voltage level (in VDC) for the selected
                        performance levels on the selected adapters.
  -f FAN_SPEED, --set-fan-speed=FAN_SPEED
                        Sets the fan speed (in percent) for the selected
                        adapters.
  -d, --set-fan-speed-default
                        Resets the fan speed to its default setting.
  -A ADAPTERLIST, --adapter=ADAPTERLIST
                        Selects which adapters returned by --list-adapters
                        should be affected by other atitweak options.
                        ADAPTERLIST contains either a comma-seperated sequence
                        of the index numbers of the adapters to be affected or
                        else contains the keyword "all" to select all the
                        adapters. If --adapter is missing, all adapters will
                        be affected.
  -P PERFORMANCELEVELLIST, --performance-level=PERFORMANCELEVELLIST
                        Selects which performance levels returned by --list-
                        adapters should be affected by other atitweak options.
                        PERFORMANCELEVELLIST contains either a comma-separated
                        sequence of the index numbers of the performance
                        levels to be affected or else contains the keyword
                        "all" to select all performance levels. If
                        --performance-level is missing, all performance levels
                        will be affected.

So far, I've only tested this on my own rig (quad 5850s) so it would probably benefit from testing by experienced users.

UPDATE: I've verified that over/under-clocking outside of the BIOS range is possible with the Catalyst 11.6 drivers.

This should be obvious, but...
WARNING: This software may severely damage or destroy your graphics card if used incorrectly!

Please try it out, and let me know if you find any problems or bugs.

Donations welcome! 1Kh3DsAhiu65EC7DFFHDGoGowAp5usQrCG

cheers,
-Mark
1398244469
Hero Member
*
Offline Offline

Posts: 1398244469

View Profile Personal Message (Offline)

Ignore
1398244469
Reply with quote  #2

1398244469
Report to moderator

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1398244469
Hero Member
*
Offline Offline

Posts: 1398244469

View Profile Personal Message (Offline)

Ignore
1398244469
Reply with quote  #2

1398244469
Report to moderator
1398244469
Hero Member
*
Offline Offline

Posts: 1398244469

View Profile Personal Message (Offline)

Ignore
1398244469
Reply with quote  #2

1398244469
Report to moderator
1398244469
Hero Member
*
Offline Offline

Posts: 1398244469

View Profile Personal Message (Offline)

Ignore
1398244469
Reply with quote  #2

1398244469
Report to moderator
kripz
Full Member
***
Offline Offline

Activity: 182



View Profile

Ignore
July 04, 2011, 12:10:28 AM
 #2

As far as im aware, the original AMDOverdriveCtrl cant actually raise the voltage above the default? Can this?

 Merged mining, free SMS notifications, PayPal payout and much more.
https://ip.bitcointalk.org/?u=http%3A%2F%2Fbtcstats.net%2Fsig%2FJZCODg2&t=539&c=qQh0KxZg52hWVA
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 04, 2011, 12:19:19 AM
 #3

As far as im aware, the original AMDOverdriveCtrl cant actually raise the voltage above the default? Can this?

I haven't tried, no desire to fry my cards.
Vladimir
Hero Member
*****
Offline Offline

Activity: 812


-


View Profile

Ignore
July 04, 2011, 12:30:48 AM
 #4

Great stuff, thank you. I was waiting for someone to do wrappers around that ADL lib (lazy I know). Will give it a try shortly, on a variety of cards. Thanks Again.

-
Rob P.
Member
**
Offline Offline

Activity: 84



View Profile WWW

Ignore
July 04, 2011, 11:38:07 AM
 #5

Looks good.  If it can actually change the voltage, then it solves a problem.

FWIW, the Catalyst 11.6 drivers allow you to over/underclock beyond the BIOS limitations already using aticonfig (these cards have never seen Windows or DOS):

Code:
Adapter 0 - ATI Radeon HD 5800 Series 
                            Core (MHz)    Memory (MHz)
           Current Clocks :    990           600
             Current Peak :    990           600
  Configurable Peak Range : [600-875]     [900-1200]
                 GPU load :    99%

Adapter 1 - ATI Radeon HD 5800 Series 
                            Core (MHz)    Memory (MHz)
           Current Clocks :    990           600
             Current Peak :    990           600
  Configurable Peak Range : [600-875]     [900-1200]
                 GPU load :    99%

Adapter 2 - ATI Radeon HD 5800 Series 
                            Core (MHz)    Memory (MHz)
           Current Clocks :    990           600
             Current Peak :    990           600
  Configurable Peak Range : [600-875]     [900-1200]
                 GPU load :    99%

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
kripz
Full Member
***
Offline Offline

Activity: 182



View Profile

Ignore
July 04, 2011, 12:00:33 PM
 #6

Looks good.  If it can actually change the voltage, then it solves a problem.

FWIW, the Catalyst 11.6 drivers allow you to over/underclock beyond the BIOS limitations already using aticonfig (these cards have never seen Windows or DOS):

So i can underclock my memory using aticonfig and not resorting to amdoverdrivectrl?

 Merged mining, free SMS notifications, PayPal payout and much more.
https://ip.bitcointalk.org/?u=http%3A%2F%2Fbtcstats.net%2Fsig%2FJZCODg2&t=539&c=qQh0KxZg52hWVA
teukon
Hero Member
*****
Offline Offline

Activity: 630



View Profile

Ignore
July 04, 2011, 02:20:19 PM
 #7

Looks good.  If it can actually change the voltage, then it solves a problem.

FWIW, the Catalyst 11.6 drivers allow you to over/underclock beyond the BIOS limitations already using aticonfig (these cards have never seen Windows or DOS):

So i can underclock my memory using aticonfig and not resorting to amdoverdrivectrl?

With Catalyst 11.6, yes.  I'm able to at least.

I only use AMDOverdriveCtrl for changing the voltage.
xarly1
Newbie
*
Offline Offline

Activity: 11


View Profile

Ignore
July 04, 2011, 02:51:15 PM
 #8

Anyone know how up voltage on linux, or unlock the stock voltage of a 5830 via flash?

Whit AMDOvDrvCtrl cant up more than stock on 5830 card.

Need up more than stock, same what i can do whit sapphire trixxx on windows.

thx  Wink
gyzer
Jr. Member
*
Offline Offline

Activity: 42


View Profile

Ignore
July 04, 2011, 04:09:57 PM
 #9

Will this allow me to get past 900Mhz on my XFX 5830 and 875Mhz on my Sapphire 5830? I'd love to get to about 950 on each card if possible.
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 04, 2011, 05:19:58 PM
 #10

Will this allow me to get past 900Mhz on my XFX 5830 and 875Mhz on my Sapphire 5830? I'd love to get to about 950 on each card if possible.

I just tried on my 5850 and it won't allow me to go beyond its maximum. atitweak uses the same method to tweak settings as AMDOvDrvCtrl, so you if can't overclock with that tool, you can't overclock with this one.
lebish
Newbie
*
Offline Offline

Activity: 28


View Profile WWW

Ignore
July 04, 2011, 06:46:29 PM
 #11

Woo, finally! Ty much, will be testing this soon ^.^

bitcoin://1N8v3K9JkNsMaffJZNzRmyUnwtuAxZv7Qa
namecoin://MwsunGebPhErL9fFPi3JLZqFZGJxfzV98b
Namecoin Us! (http://namecoin.us/)
Rob P.
Member
**
Offline Offline

Activity: 84



View Profile WWW

Ignore
July 05, 2011, 12:52:32 PM
 #12

Will this allow me to get past 900Mhz on my XFX 5830 and 875Mhz on my Sapphire 5830? I'd love to get to about 950 on each card if possible.

I use Catalyst 11.6 to drive my 5830s at 990/600 (308Mhash/sec).  These are Sapphire cards, your milage may vary on XFX.  This is at stock voltage.

The commands I use in my startup script are:

Code:
#Overclock GPU to 990Mhz
DISPLAY=:0 aticonfig --od-enable --adapter=all
DISPLAY=:0 aticonfig --od-setclocks=990,600 --adapter=${1}

Where $1 represents the adapter # of the GPU.

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
brunoshady
SCAMMER
Member
*****
Offline Offline

Activity: 98


View Profile

Ignore
July 08, 2011, 04:45:35 AM
 #13

mjmvisser:


works like a charm, but Í've seen some strange bug...

when trying to overvolt the stock voltage (from 1.088 (stock) to 1.150), I get failed (obvius) and then the my miner rate just drops and with list it shows the voltage at 1.150
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 11, 2011, 09:18:02 PM
 #14

works like a charm, but Í've seen some strange bug...

when trying to overvolt the stock voltage (from 1.088 (stock) to 1.150), I get failed (obvius) and then the my miner rate just drops and with list it shows the voltage at 1.150

Do you get the same result with AMDOvDrvCtrl?
padrino
Sr. Member
****
Offline Offline

Activity: 448


View Profile

Ignore
July 11, 2011, 11:27:44 PM
 #15

Without writing to the i2c interface on the various cards (see radeonvolt for Linux tool) you cannot jump above the BIOS limits, I like how easy this tool is to use, grab the radeonvolt code for reference and merge the two and there is a good path towards a tool getting closer to those available on Windows.

Donations always welcome 1CPi7VRihoF396gyYYcs2AdTEF8KQG2BCR
brunoshady
SCAMMER
Member
*****
Offline Offline

Activity: 98


View Profile

Ignore
July 12, 2011, 02:37:31 AM
 #16

works like a charm, but Í've seen some strange bug...

when trying to overvolt the stock voltage (from 1.088 (stock) to 1.150), I get failed (obvius) and then the my miner rate just drops and with list it shows the voltage at 1.150

Do you get the same result with AMDOvDrvCtrl?

can't overvolt in AMDOverdriveCtrl...


that's why it's strange
linkme
Member
**
Offline Offline

Activity: 98


View Profile

Ignore
July 12, 2011, 02:41:17 AM
 #17

giving it a go will let you know my results after a couple of days to see how it goes.

kudos on getting it done Smiley

Tips in moon or sun Smiley
MOON: 2Jw7MyybsQuGmu5ryXLDUHFh1K7vZvuYFX  SUN: SMYNggLsTQo8fgVbjZy7fMbdrEEzt4XFtC
dishwara
Hero Member
*****
Offline Offline

Activity: 1162


Truth may get delay, but NEVER fails


View Profile

Ignore
July 12, 2011, 05:41:27 PM
 #18

Quote
If you don't use easy_install, you'll need to run "python setup.py install" to install the package.

I downloaded the adl3**.tar.gz & extracted it. Then cd to that folder & ran sudo easy_install adl3 & it said easy_install not found.
So, i run "python setup.py install" , which gave permission denied error.
So, i run
Code:
sudo python setup.py install
which installed correctly. Please edit with "sudo", so noobie's like me do correctly.
Thanks.
marcus_of_augustus
Hero Member
*****
Offline Offline

Activity: 1134



View Profile

Ignore
July 12, 2011, 10:12:43 PM
 #19


Good stuff mjmvisser ... !

Monetary Freedom - a basic human right
"Disarming money as a tool for tyranny."
"Disintermediating the State."
coblee
Donator
Hero Member
*
Offline Offline

Activity: 826


firstbits.com/1ce5j


View Profile WWW

Ignore
July 12, 2011, 10:22:36 PM
 #20


Good stuff mjmvisser ... !

Yeah, seriously good stuff. Do you have a donation address?

Litecoin: http://litecoin.org - LhK2kQwiaAvhjWY799cZvMyYwnQAcxkarr
Casascius physical bitcoins database: http://casascius.appspot.com/
plantucha
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW

Ignore
July 16, 2011, 11:27:02 PM
 #21

As far as im aware, the original AMDOverdriveCtrl cant actually raise the voltage above the default? Can this?

NO

Code:
michal@rig:~/adl3$ atitweak -v 1.19 -P 2 --adapter=all
Setting performance level 2 on adapter 0: core voltage 1.19VDC
Setting performance level 2 on adapter 1: core voltage 1.19VDC
Setting performance level 2 on adapter 2: core voltage 1.19VDC
Setting performance level 2 on adapter 3: core voltage 1.19VDC

Code:
michal@rig:~/adl3$ atitweak -v 1.20 -P 2 --adapter=all
Setting performance level 2 on adapter 0: core voltage 1.2VDC
ADL_Overdrive5_ODPerformanceLevels_Set failed.

mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 17, 2011, 08:32:22 PM
 #22

UPDATE: adl3 v0.3

Features:

I've added a few more parameters to atitweak:

Code:
-f / --set-fan-speed
    Sets the fan speed (in percent) for the selected adapters.

-d / --set-fan-speed-default
    Resets the fan speed to its default setting.

-s / --status
    Displays current clock speeds, core voltage, utilization, performance level and fan speed.

Also, -l / --list-adapters now shows fan speed range.

Bug fixes:

If DISPLAY is not set, it is assumed to be ":0" and set before ADL3 is initialized.

That's all for this release! See the original post in this topic for (updated) installation instructions. If you're using easy_install, you may need to explicitly state the installation version: "sudo easy_install adl3=0.3"

Next version:

I'm looking into using ADL3's i2c API to set the voltage, which if possible, should allow bypassing the BIOS voltage range.

Donations are very welcome! 1Kh3DsAhiu65EC7DFFHDGoGowAp5usQrCG

cheers,
-Mark
coblee
Donator
Hero Member
*
Offline Offline

Activity: 826


firstbits.com/1ce5j


View Profile WWW

Ignore
July 17, 2011, 09:09:13 PM
 #23

Can't get or set fan speed for dual gpus like 5970.

mining@miner1:~$ atitweak -s
0. ATI Radeon HD 5900 Series (:0.0)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    fan speed 48% (3093 RPM) (user-defined)
    temperature 79.5 C
1. ATI Radeon HD 5900 Series (:0.1)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
ADL_Overdrive5_FanSpeed_Get failed.

Litecoin: http://litecoin.org - LhK2kQwiaAvhjWY799cZvMyYwnQAcxkarr
Casascius physical bitcoins database: http://casascius.appspot.com/
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 17, 2011, 10:25:35 PM
 #24

Can't get or set fan speed for dual gpus like 5970.

Fixed -- now prints a warning instead barfing when the _Get call fails.

I don't have a 5970 to test with, can you try it out? I just replaced the 0.3 version at pypi, so you may need to remove it and reinstall to get the updated code.

cheers,
-Mark
coblee
Donator
Hero Member
*
Offline Offline

Activity: 826


firstbits.com/1ce5j


View Profile WWW

Ignore
July 17, 2011, 11:17:55 PM
 #25

It worked. Thanks.

Code:
mining@miner1:~$ atitweak -s
0. ATI Radeon HD 5900 Series (:0.0)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    fan speed 49% (3145 RPM) (user-defined)
    temperature 79.5 C
1. ATI Radeon HD 5900 Series (:0.1)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    unable to get fan speed
    temperature 78.5 C
2. ATI Radeon HD 5900 Series (:0.2)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    fan speed 45% (2810 RPM) (user-defined)
    temperature 78 C
3. ATI Radeon HD 5900 Series (:0.3)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    unable to get fan speed
    temperature 77 C
4. ATI Radeon HD 5900 Series (:0.4)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    fan speed 40% (4572 RPM) (user-defined)
    temperature 70 C
5. ATI Radeon HD 5900 Series (:0.5)
    engine clock 825MHz, memory clock 175MHz, core voltage 1.05VDC, performance level 2, utilization 99%
    unable to get fan speed
    temperature 66 C

Litecoin: http://litecoin.org - LhK2kQwiaAvhjWY799cZvMyYwnQAcxkarr
Casascius physical bitcoins database: http://casascius.appspot.com/
krzynek1
Jr. Member
*
Offline Offline

Activity: 41


View Profile

Ignore
July 18, 2011, 06:00:51 PM
 #26

mjmvisser, can your tool oc over bios limitations ? or if not now, maybe in future ?
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 18, 2011, 11:58:12 PM
 #27

mjmvisser, can your tool oc over bios limitations ? or if not now, maybe in future ?

Yes, with the 11.6 drivers you can over/underclock outside of the BIOS ranges. You can use this tool or aticonfig, they both call the same underlying API.

atitweak --adapter=$1 --set-fan-speed=100
atitweak --adapter=$1 --set-engine-clock=950 --set-memory-clock=300 --performance-level=all
atitweak --adapter=$1 --set-engine-clock=850 --set-memory-clock=300 --performance-level=1
atitweak --adapter=$1 --set-engine-clock=750 --set-memory-clock=300 --performance-level=0

(replace $1 with the adapter number)

These are well-ventilated and run between 75 and 85 C. I'm unable to push the engine clock higher without OpenCL errors or freezes. Some people are successfully overclocking even higher by also boosting the voltage. Right now, the only tool on Linux that can overdrive the voltage is radeonvolt. It doesn't work on my cards (not reference 5850s), so you're on your own there.

cheers,
-Mark
krzynek1
Jr. Member
*
Offline Offline

Activity: 41


View Profile

Ignore
July 19, 2011, 05:53:29 AM
 #28

im using catalyst 11.5 because of cpu usage bug and cannot simply change clocks to whatever i want

been thinking that your tool will allow to do this
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 19, 2011, 07:42:32 PM
 #29

im using catalyst 11.5 because of cpu usage bug and cannot simply change clocks to whatever i want

been thinking that your tool will allow to do this

I jumped directly from 11.4 to 11.6, so I don't know if the limitation issue was fixed in 11.5 or 11.6. Can you overclock with aticonfig? Both tools use the same underlying API, so if aticonfig works, atitweak also works.
Rob P.
Member
**
Offline Offline

Activity: 84



View Profile WWW

Ignore
July 19, 2011, 08:02:39 PM
 #30

im using catalyst 11.5 because of cpu usage bug and cannot simply change clocks to whatever i want

been thinking that your tool will allow to do this

I jumped directly from 11.4 to 11.6, so I don't know if the limitation issue was fixed in 11.5 or 11.6. Can you overclock with aticonfig? Both tools use the same underlying API, so if aticonfig works, atitweak also works.

Under 11.6 you can over/underclock beyond the BIOS limitations.  Nothing else needed.

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
krzynek1
Jr. Member
*
Offline Offline

Activity: 41


View Profile

Ignore
July 19, 2011, 08:13:45 PM
 #31

i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits Sad

with 11.6 and 11.7 u can set whatever you want, but cpu usage bug forces me to rollback to 11.5
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 19, 2011, 10:01:48 PM
 #32

i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits Sad

with 11.6 and 11.7 u can set whatever you want, but cpu usage bug forces me to rollback to 11.5

Bummer. What's the cpu usage bug? I haven't noticed any problems -- top reports about 5% cpu usage with 4 instances of phoenix running.
plantucha
Jr. Member
*
Offline Offline

Activity: 56


View Profile WWW

Ignore
July 19, 2011, 10:18:35 PM
 #33

i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits Sad

with 11.6 and 11.7 u can set whatever you want, but cpu usage bug forces me to rollback to 11.5

Bummer. What's the cpu usage bug? I haven't noticed any problems -- top reports about 5% cpu usage with 4 instances of phoenix running.

but he must using Windows
because high load is normal for win users 1 CPU core full load per 1 gpu
and because 11.7 for linux doesn't exist yet

TripHammer
Jr. Member
*
Offline Offline

Activity: 42


View Profile

Ignore
July 21, 2011, 04:38:44 AM
 #34

Hows the next version coming? any luck with the i2c

Just in case Smiley 13AP8mCpruBQVtVWbQgYGSnBgGxe2g8ERe
marcus_of_augustus
Hero Member
*****
Offline Offline

Activity: 1134



View Profile

Ignore
July 21, 2011, 07:12:01 AM
 #35

Hows the next version coming? any luck with the i2c

Donations may speed your requests along?

Monetary Freedom - a basic human right
"Disarming money as a tool for tyranny."
"Disintermediating the State."
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 23, 2011, 04:22:21 PM
 #36

I'll have some time to work on it tomorrow, but since the i2c calls in the ADL api are virtually undocumented and may not actually do anything, I can't promise anything.
Tereska
Newbie
*
Offline Offline

Activity: 17



View Profile

Ignore
July 23, 2011, 10:30:41 PM
 #37

this tool detects 3 of 4 my cards (one is missing)
they are all 5830 sapphire

also there is no information about DISPLAY -> empty brackets ()
I'm using Ubuntu 10.10, loggin thru ssh from another computer

could you fix this? your tool is great!


miner1@miner1:~/bitcoin/adl3$ atitweak -s
0. ATI Radeon HD 5800 Series   ()
    engine clock 900MHz, memory clock 900MHz, core voltage 1.163VDC, performance level 2, utilization 99%
    fan speed 100% (4013 RPM) (user-defined)
    temperature 73.5 C
1. ATI Radeon HD 5800 Series   ()
    engine clock 900MHz, memory clock 900MHz, core voltage 1.163VDC, performance level 2, utilization 99%
    fan speed 100% (4138 RPM) (user-defined)
    temperature 69.5 C
2. ATI Radeon HD 5800 Series   ()
    engine clock 900MHz, memory clock 900MHz, core voltage 1.125VDC, performance level 2, utilization 99%
    fan speed 100% (3595 RPM) (user-defined)
    temperature 59.5 C
miner1@miner1:~/bitcoin/adl3$
krzynek1
Jr. Member
*
Offline Offline

Activity: 41


View Profile

Ignore
July 24, 2011, 05:51:45 PM
 #38

i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits Sad

with 11.6 and 11.7 u can set whatever you want, but cpu usage bug forces me to rollback to 11.5

Bummer. What's the cpu usage bug? I haven't noticed any problems -- top reports about 5% cpu usage with 4 instances of phoenix running.

but he must using Windows
because high load is normal for win users 1 CPU core full load per 1 gpu
and because 11.7 for linux doesn't exist yet

no, im using linux

and it is well known bug with 11.6
cyrusfox
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
July 26, 2011, 02:47:25 AM
 #39

I love atitweak, simple and helps me custom set everything on my cards. Also lets me check what clocks actually stick. Great tool! The shortened syntax rocks(took me a sec to figure out though), saves time when I am testing out new cards or trying higher or lower clocks. Here is what I run right before I begin mining.

Quote
atitweak -m 725 -P 2 -A 0
atitweak -m 725 -P 1 -A 0
atitweak -e 850 -P 2 -A 0
atitweak -m 855 -P 2 -A 1
atitweak -m 855 -P 1 -A 1
atitweak -e 955 -P 2 -A 1
atitweak -f 83 -A 0
atitweak -f 70 -A 1
lodcrappo
Hero Member
*****
Offline Offline

Activity: 588


View Profile WWW

Ignore
July 26, 2011, 08:08:58 AM
 #40

very, very nice.  I am converting BAMT (http://forum.bitcoin.org/index.php?topic=28967.0) to use atitweak rather than aticonfig for managing GPUs.  Can I trust that the current output format will not change in future versions? Donation sent!

If you want to support further development of BAMT (http://bamter.org/):  1PoRYaGS56ksQmK7XXLurW3B2zwCAE8PRc
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 26, 2011, 06:14:22 PM
 #41

very, very nice.  I am converting BAMT (http://forum.bitcoin.org/index.php?topic=28967.0) to use atitweak rather than aticonfig for managing GPUs.  Can I trust that the current output format will not change in future versions? Donation sent!

Thanks! The output format is pretty ad-hoc, but it should be stable for the time being. I was thinking a flag to output JSON would be useful, but I haven't had the time to implement it.
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 26, 2011, 06:21:19 PM
 #42

this tool detects 3 of 4 my cards (one is missing)
...
also there is no information about DISPLAY -> empty brackets ()

I've never seen that behaviour before. atitweak is just printing information returned by the driver dso. Is it possible that your xorg.conf is incomplete? Mine looks like this:

Code:
Section "ServerLayout"
Identifier     "aticonfig Layout"
Screen      0  "aticonfig-Screen[0]-0" 0 0
Screen         "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"
Screen         "aticonfig-Screen[2]-0" RightOf "aticonfig-Screen[1]-0"
Screen         "aticonfig-Screen[3]-0" RightOf "aticonfig-Screen[2]-0"
EndSection

Section "Module"
Load  "glx"
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[0]-0"
# Option     "VendorName" "ATI Proprietary Driver"
# Option     "ModelName" "Generic Autodetecting Monitor"
# Option     "DPMS" "true"
HorizSync 30-70
VertRefresh 50-75
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[1]-0"
# Option     "VendorName" "ATI Proprietary Driver"
# Option     "ModelName" "Generic Autodetecting Monitor"
# Option     "DPMS" "true"
HorizSync 30-70
VertRefresh 50-75
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[2]-0"
# Option     "VendorName" "ATI Proprietary Driver"
# Option     "ModelName" "Generic Autodetecting Monitor"
# Option     "DPMS" "true"
HorizSync 30-70
VertRefresh 50-75
EndSection

Section "Monitor"
Identifier   "aticonfig-Monitor[3]-0"
# Option      "VendorName" "ATI Proprietary Driver"
# Option      "ModelName" "Generic Autodetecting Monitor"
# Option      "DPMS" "true"
HorizSync 30-70
VertRefresh 50-75
EndSection


Section "Device"
Identifier  "aticonfig-Device[0]-0"
Driver      "fglrx"
BusID       "PCI:1:0:0"
EndSection

Section "Device"
Identifier  "aticonfig-Device[1]-0"
Driver      "fglrx"
BusID       "PCI:2:0:0"
EndSection

Section "Device"
Identifier  "aticonfig-Device[2]-0"
Driver      "fglrx"
BusID       "PCI:3:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[3]-0"
        Driver      "fglrx"
        BusID       "PCI:5:0:0"
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device     "aticonfig-Device[0]-0"
Monitor    "aticonfig-Monitor[0]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[1]-0"
Device     "aticonfig-Device[1]-0"
Monitor    "aticonfig-Monitor[1]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[2]-0"
Device     "aticonfig-Device[2]-0"
Monitor    "aticonfig-Monitor[2]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[3]-0"
Device     "aticonfig-Device[3]-0"
Monitor    "aticonfig-Monitor[3]-0"
DefaultDepth     24
SubSection "Display"
Viewport   0 0
Depth     24
EndSubSection
EndSection

The commented out sections are to disable monitor auto-detection, since my cards are all running headless.

There should be one ServerLayout section and one Device/Screen/Monitor sections for each card. You can get the PCI addresses with lspci.
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 26, 2011, 06:27:23 PM
 #43

UPDATE: adl3 v0.4

sudo easy_install --upgrade adl3

Features:

- Windows support (thanks to Jakub Lekstan)

Next version:

I haven't had a chance to mess around with ADL3's i2c API to set the voltage. If anyone wants to take a crack at that one, be my guest.

Donations are welcome: 1Kh3DsAhiu65EC7DFFHDGoGowAp5usQrCG

cheers,
-Mark
Tereska
Newbie
*
Offline Offline

Activity: 17



View Profile

Ignore
July 26, 2011, 06:30:11 PM
 #44

mine looks like this:


Code:
Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
        Screen         "aticonfig-Screen[1]-0" RightOf "aticonfig-Screen[0]-0"
        Screen         "aticonfig-Screen[2]-0" RightOf "aticonfig-Screen[1]-0"
        Screen         "aticonfig-Screen[3]-0" RightOf "aticonfig-Screen[2]-0"
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[1]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[2]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"

EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[3]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:11:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[1]-0"
        Driver      "fglrx"
        BusID       "PCI:10:0:0"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[2]-0"
        Driver      "fglrx"
        BusID       "PCI:5:0:0"
EndSection


Section "Device"
        Identifier  "aticonfig-Device[3]-0"
        Driver      "fglrx"
        BusID       "PCI:4:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[1]-0"
        Device     "aticonfig-Device[1]-0"
        Monitor    "aticonfig-Monitor[1]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


Section "Screen"
        Identifier "aticonfig-Screen[2]-0"
        Device     "aticonfig-Device[2]-0"
        Monitor    "aticonfig-Monitor[2]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[3]-0"
        Device     "aticonfig-Device[3]-0"
        Monitor    "aticonfig-Monitor[3]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection





------

atitweak -l


Code:
0. ATI Radeon HD 5800 Series   ()
    engine clock range is 80 - 900MHz
    memory clock range is 150 - 1250MHz
    core voltage range is 0.95 - 1.195VDC
    performance level 0: engine clock 157MHz, memory clock 300MHz, core voltage 0.95VDC
    performance level 1: engine clock 600MHz, memory clock 900MHz, core voltage 1.063VDC
    performance level 2: engine clock 900MHz, memory clock 900MHz, core voltage 1.163VDC
    fan speed range: 0 - 100%,  800 - 5100 RPM
1. ATI Radeon HD 5800 Series   ()
    engine clock range is 80 - 900MHz
    memory clock range is 150 - 1250MHz
    core voltage range is 0.95 - 1.195VDC
    performance level 0: engine clock 157MHz, memory clock 300MHz, core voltage 0.95VDC
    performance level 1: engine clock 600MHz, memory clock 900MHz, core voltage 1.063VDC
    performance level 2: engine clock 900MHz, memory clock 900MHz, core voltage 1.163VDC
    fan speed range: 0 - 100%,  800 - 5100 RPM
2. ATI Radeon HD 5800 Series   ()
    engine clock range is 80 - 900MHz
    memory clock range is 150 - 1250MHz
    core voltage range is 0.95 - 1.195VDC
    performance level 0: engine clock 157MHz, memory clock 300MHz, core voltage 0.95VDC
    performance level 1: engine clock 600MHz, memory clock 900MHz, core voltage 1.063VDC
    performance level 2: engine clock 900MHz, memory clock 900MHz, core voltage 1.125VDC
    fan speed range: 0 - 100%,  800 - 5100 RPM

what could be wrong?
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
July 26, 2011, 06:55:26 PM
 #45

I love atitweak, simple and helps me custom set everything on my cards. Also lets me check what clocks actually stick. Great tool! The shortened syntax rocks(took me a sec to figure out though), saves time when I am testing out new cards or trying higher or lower clocks. Here is what I run right before I begin mining.

Quote
atitweak -m 725 -P 2 -A 0
atitweak -m 725 -P 1 -A 0
atitweak -e 850 -P 2 -A 0
atitweak -m 855 -P 2 -A 1
atitweak -m 855 -P 1 -A 1
atitweak -e 955 -P 2 -A 1
atitweak -f 83 -A 0
atitweak -f 70 -A 1

You know you can shorten this more (I'm lazy - less typing = more beer drinking)
Code:
atitweak -m 775 -e 850 -f 83 -A 0
atitweak -m 855 -e 995 -f 70 -A 1
Unless you have some need of running different settings for performance levels???

/donation sent  Smiley
thanks for the work

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
fitty
Full Member
***
Offline Offline

Activity: 224


View Profile

Ignore
July 27, 2011, 02:59:40 AM
 #46

Hi everyone,

I'm not sure if it's a bug or mistake on my part. On Linux if you set the memory clock without a performance-level it works fine and appears to set all performance levels with the memory clock inputted. If you set the engine-clock without a performance level it crashes. When I add back the performance-level it then works (and doesn't crash). Anyway great job the tool is great. =)
dishwara
Hero Member
*****
Offline Offline

Activity: 1162


Truth may get delay, but NEVER fails


View Profile

Ignore
July 27, 2011, 06:36:22 AM
 #47

UPDATE: adl3 v0.4
sudo easy_install --upgrade adl3
Features:
- Windows support (thanks to Jakub Lekstan)

Windows support?
How to run in windows? What other things required to run in windows?
cicada
Full Member
***
Offline Offline

Activity: 196


View Profile

Ignore
July 27, 2011, 08:12:09 PM
 #48


Maybe I missed while skimming the thread, but has anyone tried this on 69xx series hardware?

Curious if this gets around the 'memory clock must be >= gpu clock - 125mhz' issue..

Someone indicated in another thread they were able to use it successfully on a 6990, I'm more curious about 6950 / 6970's

Team Epic!

All your bitcoin are belong to 19mScWkZxACv215AN1wosNNQ54pCQi3iB7
coblee
Donator
Hero Member
*
Offline Offline

Activity: 826


firstbits.com/1ce5j


View Profile WWW

Ignore
July 27, 2011, 08:17:12 PM
 #49


Maybe I missed while skimming the thread, but has anyone tried this on 69xx series hardware?

Curious if this gets around the 'memory clock must be >= gpu clock - 125mhz' issue..

Someone indicated in another thread they were able to use it successfully on a 6990, I'm more curious about 6950 / 6970's

I've tried this on my 6970 and no, it doesn't get around that issue. I still have to set memory clock >= gpu clock - 125.

But this tool is definitely easier to use than aticonfig.

Litecoin: http://litecoin.org - LhK2kQwiaAvhjWY799cZvMyYwnQAcxkarr
Casascius physical bitcoins database: http://casascius.appspot.com/
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 27, 2011, 09:51:43 PM
 #50

mine looks like this:

...

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

...
what could be wrong?

I found X wouldn't initialize properly with those three options (VendorName, ModelName, DPMS) in the Monitor sections. I think it was trying to autodetect the monitors. Try commenting them out? Everything else looks fine.
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
July 27, 2011, 09:54:56 PM
 #51

Windows support?
How to run in windows? What other things required to run in windows?

You'll need to install Python, for starters. Unless you're writing your own Python tools for Windows, it's probably easier to use one of the GUI-based overclocking tools.
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
July 29, 2011, 04:38:32 PM
 #52

Thank you OP for this tool.  It's very helpful.

I have two rigs, both with the same cards - Gigabyte 6950 OC's.  Both are Ubuntu 11.04 with the 2.4 SDK and Catalyst 11.5 (IIRC).  One has only one GPU.  atitweak works perfectly on that rig.  I am able to go above the BIOS limit on the core (though can't underclock memory below the limit, which is ok).  On my other rig, which has two GPUs, but otherwise the same setup I get an error and cannot set the clocks. 

When I run this:
Code:
atitweak --adapter=0 --set-engine-clock=920 --set-memory-clock=300 --performance-level=all

I get this output:
Code:
ADL_Overdrive5_ODPerformanceLevels_Set failed.

Any ideas?  Huh

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
July 29, 2011, 11:57:09 PM
 #53

Thank you OP for this tool.  It's very helpful.

I have two rigs, both with the same cards - Gigabyte 6950 OC's.  Both are Ubuntu 11.04 with the 2.4 SDK and Catalyst 11.5 (IIRC).  One has only one GPU.  atitweak works perfectly on that rig.  I am able to go above the BIOS limit on the core (though can't underclock memory below the limit, which is ok).  On my other rig, which has two GPUs, but otherwise the same setup I get an error and cannot set the clocks.  

When I run this:
Code:
atitweak --adapter=0 --set-engine-clock=920 --set-memory-clock=300 --performance-level=all

I get this output:
Code:
ADL_Overdrive5_ODPerformanceLevels_Set failed.

Any ideas?  Huh

My 6950's won't let me set mem below e clock-125 try
Code:
atitweak -e 920 -m 795 -A 0

Make the cards are listed correctly in atitweak -l. I had one not being detected.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
dishwara
Hero Member
*****
Offline Offline

Activity: 1162


Truth may get delay, but NEVER fails


View Profile

Ignore
July 30, 2011, 04:10:18 AM
 #54

Ha
Thank you OP for this tool.  It's very helpful.

I have two rigs, both with the same cards - Gigabyte 6950 OC's.  Both are Ubuntu 11.04 with the 2.4 SDK and Catalyst 11.5 (IIRC).  One has only one GPU.  atitweak works perfectly on that rig.  I am able to go above the BIOS limit on the core (though can't underclock memory below the limit, which is ok).  On my other rig, which has two GPUs, but otherwise the same setup I get an error and cannot set the clocks. 

When I run this:
Code:
atitweak --adapter=0 --set-engine-clock=920 --set-memory-clock=300 --performance-level=all

I get this output:
Code:
ADL_Overdrive5_ODPerformanceLevels_Set failed.

Any ideas?  Huh

My 6950's won't let me set mem below e clock-125 try
Code:
atitweak -e 920 -m 795 -A 0

Make the cards are listed correctly in atitweak -l. I had one not being detected.
Have u tried 11.7 catalyst released on 27 July 2011?
Also ur code has many mistakes.  for core clock "-c" is used, for adapter "-a" small a, NOT capital a must be used.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
July 30, 2011, 04:48:59 AM
 #55

From the help page:

Code:
 -e ENGINE_CLOCK, --set-engine-clock=ENGINE_CLOCK
                        Sets engine clock speed (in MHz) for the selected
                        performance levels on the selected adapters.
  -A ADAPTERLIST, --adapter=ADAPTERLIST
                        Selects which adapters returned by --list-adapters
                        should be affected by other atitweak options.

From my rig:

Code:
root@miner:/etc/bamt# atitweak -e 900 -m 800 -A 0
Setting performance level 0 on adapter 0: engine clock 900MHz, memory clock 800MHz
Setting performance level 1 on adapter 0: engine clock 900MHz, memory clock 800MHz
Setting performance level 2 on adapter 0: engine clock 900MHz, memory clock 800MHz

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
July 30, 2011, 06:48:10 AM
 #56

Have u tried 11.7 catalyst released on 27 July 2011?

I just tried it today and found that when mining the CPU was at 100% (instead of ~3%).  Seems like other people are also having the issue too.

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
EskimoBob
Hero Member
*****
Offline Offline

Activity: 882


Quality Printing Services by Federal Reserve Bank


View Profile

Ignore
July 30, 2011, 09:53:51 AM
 #57


Maybe I missed while skimming the thread, but has anyone tried this on 69xx series hardware?

Curious if this gets around the 'memory clock must be >= gpu clock - 125mhz' issue..

Someone indicated in another thread they were able to use it successfully on a 6990, I'm more curious about 6950 / 6970's

I've tried this on my 6970 and no, it doesn't get around that issue. I still have to set memory clock >= gpu clock - 125.

But this tool is definitely easier to use than aticonfig.


I have 6950 and I can do it.
Update your drivers. You can do that with aticonfig too, if you use >=11.6 drivers.
Code:
aticonfig --adapter=0 --od-setclocks=900,700
If aticonfig can do it, so can this Smiley

Code:
aticonfig --help:
ATI Overdrive (TM) options:

...
  --od-enable
        Unlocks the ability to change core or memory clock values by
        acknowledging that you have read and understood the ATI Overdrive (TM)
        disclaimer and accept responsibility for and recognize the potential
        dangers posed to your hardware by changing the default core or memory
        clocks

While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
July 30, 2011, 08:12:04 PM
 #58



I have 6950 and I can do it.
Update your drivers. You can do that with aticonfig too, if you use >=11.6 drivers.
Code:
aticonfig --adapter=0 --od-setclocks=900,700
If aticonfig can do it, so can this Smiley

Code:
aticonfig --help:
ATI Overdrive (TM) options:

...
  --od-enable
        Unlocks the ability to change core or memory clock values by
        acknowledging that you have read and understood the ATI Overdrive (TM)
        disclaimer and accept responsibility for and recognize the potential
        dangers posed to your hardware by changing the default core or memory
        clocks


Maybe it's the model of card or motherboard? I have 11.6 with OD enabled and all my cards will default back to 1250 mem with aticonfig, atitweak, and AMDOverdriveCtrl.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
djex
Full Member
***
Offline Offline

Activity: 196


View Profile

Ignore
July 30, 2011, 10:00:23 PM
 #59

Quote
Maybe it's the model of card or motherboard? I have 11.6 with OD enabled and all my cards will default back to 1250 mem with aticonfig, atitweak, and AMDOverdriveCtrl.

Yeah mine does the same thing. I have a HD 6950. The memory clock will under clock but as soon as I start mining it defaults back to the stock clock.

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
Tartarus
Jr. Member
*
Offline Offline

Activity: 47


View Profile

Ignore
July 31, 2011, 02:54:39 AM
 #60

Quote
Maybe it's the model of card or motherboard? I have 11.6 with OD enabled and all my cards will default back to 1250 mem with aticonfig, atitweak, and AMDOverdriveCtrl.

Yeah mine does the same thing. I have a HD 6950. The memory clock will under clock but as soon as I start mining it defaults back to the stock clock.

There's two things going on.  First, with the default BIOS, you cannot have more than 125MHz between the core and memory clocks, eg 900/775 works, 900/770 goes and switches back to 900/1250.  Second, you must use something like AMDOverdriveCtrl to modify the ranges, if you wish to tweak the memory clock below 1250 otherwise it will have an enforced range of 1250-1325.  What I do is fire up AMDOverdriveCtrl to change the peaks so that I can OC and then leave that up and running and use aticonfig for the rest.

Find the above useful?  Send tips to 1KjoJihf7GWHWeQFhDmaw4g7xorkmD13u
BkkCoins
Hero Member
*****
Offline Offline

Activity: 784


firstbits:1MinerQ


View Profile WWW

Ignore
July 31, 2011, 05:42:21 AM
 #61

Excellent tool. Thank you.

Allows me to check status with ssh without worrying about X issues.

One thing I'd love to see is a one-line brief status output for logging.
It would be handy to set up a cron to log to file every 5 minutes.

Ideally, just values in columns so it's easy to auto process further.


cyrusfox
Newbie
*
Offline Offline

Activity: 15


View Profile

Ignore
August 01, 2011, 03:25:53 AM
 #62

I love atitweak, simple and helps me custom set everything on my cards. Also lets me check what clocks actually stick. Great tool! The shortened syntax rocks(took me a sec to figure out though), saves time when I am testing out new cards or trying higher or lower clocks. Here is what I run right before I begin mining.

Quote
atitweak -m 725 -P 2 -A 0
atitweak -m 725 -P 1 -A 0
atitweak -e 850 -P 2 -A 0
atitweak -m 855 -P 2 -A 1
atitweak -m 855 -P 1 -A 1
atitweak -e 955 -P 2 -A 1
atitweak -f 83 -A 0
atitweak -f 70 -A 1

You know you can shorten this more (I'm lazy - less typing = more beer drinking)
Code:
atitweak -m 775 -e 850 -f 83 -A 0
atitweak -m 855 -e 995 -f 70 -A 1
Unless you have some need of running different settings for performance levels???

Thanks for the shortened syntax, will save me a couple lines now. I wrote how to use atitweak in to the overclocking wiki for linuxcoin a couple weeks back, gives a general overview of other overclocking utilities as well, I still must say, atitweak is the best. Only problem I still have is I can't underclock memory on my 6850 more than 100mhz from core, and 125mhz on my 6950. Anybody have a good workaround for this yet? My 5770 is working great at memclock 275 though.
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
August 02, 2011, 04:56:22 AM
 #63


Thanks for the shortened syntax, will save me a couple lines now. I wrote how to use atitweak in to the overclocking wiki for linuxcoin a couple weeks back, gives a general overview of other overclocking utilities as well, I still must say, atitweak is the best. Only problem I still have is I can't underclock memory on my 6850 more than 100mhz from core, and 125mhz on my 6950. Anybody have a good workaround for this yet? My 5770 is working great at memclock 275 though.

Take a look 2 posts back (#60) for 6950 mem.  Your wiki still has the 8 line code?? I think people overtype a lot.  If you don't specify -P it will set all performance levels, and if you don't specify -A it will set all adapters. Here is my code for 5 6950's on BAMT:
Code:
atitweak -e 900 -m 800 -f 80
This sets everything for all 5 cards, and all performance levels - just make sure you know stable clocks before you set all performance levels.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
dishwara
Hero Member
*****
Offline Offline

Activity: 1162


Truth may get delay, but NEVER fails


View Profile

Ignore
August 02, 2011, 05:09:47 AM
 #64

Code:
atitweak -e 900 -m 800 -f 80

-e for core clock? i thought -c

lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
August 10, 2011, 08:56:35 PM
 #65

Thanks for your effort!

I've installed on a 64 bit Windows 7 System with Catalyst 11.7 & AMD APP 2.5 installed. I have 3 * 6970 cards installed. However, when I execute with 'python atitweak -l', it only list the first card.

Could you help extend it to show all the cards in Windows?

Code:
C:\Python27\Scripts>python atitweak -l
0. AMD Radeon HD 6900 Series (\\.\DISPLAY1)
    engine clock range is 125 - 950MHz
    memory clock range is 75 - 1450MHz
    core voltage range is 0.9 - 1.175VDC
    performance level 0: engine clock 250MHz, memory clock 150MHz, core voltage 0.9VDC
    performance level 1: engine clock 500MHz, memory clock 790MHz, core voltage 1VDC
    performance level 2: engine clock 915MHz, memory clock 790MHz, core voltage 1.175VDC
    fan speed range: 0 - 100%,  800 - 6000 RPM

C:\Python27\Scripts>


Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
August 11, 2011, 12:10:00 AM
 #66

Thanks for your effort!

I've installed on a 64 bit Windows 7 System with Catalyst 11.7 & AMD APP 2.5 installed. I have 3 * 6970 cards installed. However, when I execute with 'python atitweak -l', it only list the first card.

Could you help extend it to show all the cards in Windows?

I haven't tried atitweak under Windows, but have you tried it with the --adapter=all switch to see if it will show all of them?

Also, have you tried setting clocks or fan speed for your other two GPUs?  Curious if it works even if they don't show up in the list.

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
August 11, 2011, 05:21:26 AM
 #67

Thanks for your effort!

I've installed on a 64 bit Windows 7 System with Catalyst 11.7 & AMD APP 2.5 installed. I have 3 * 6970 cards installed. However, when I execute with 'python atitweak -l', it only list the first card.

Could you help extend it to show all the cards in Windows?

I haven't tried atitweak under Windows, but have you tried it with the --adapter=all switch to see if it will show all of them?

Also, have you tried setting clocks or fan speed for your other two GPUs?  Curious if it works even if they don't show up in the list.

Yes I have tried --adapter=all option. It returns only the first card.

If I manually set parameter and specify device (-A 1, -A 2...), it returns nothings.

Code:
C:\Python27\Scripts>python atitweak -e 900 --adapter=all
Setting performance level 0 on adapter 0: engine clock 900MHz
Setting performance level 1 on adapter 0: engine clock 900MHz
Setting performance level 2 on adapter 0: engine clock 900MHz

C:\Python27\Scripts>python atitweak -e 900 -A 1

C:\Python27\Scripts>python atitweak -e 900 -A 2

C:\Python27\Scripts>python atitweak -e 915 -A 0
Setting performance level 0 on adapter 0: engine clock 915MHz
Setting performance level 1 on adapter 0: engine clock 915MHz
Setting performance level 2 on adapter 0: engine clock 915MHz

C:\Python27\Scripts>

Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
August 11, 2011, 06:45:10 AM
 #68

Yes I have tried --adapter=all option. It returns only the first card.

If I manually set parameter and specify device (-A 1, -A 2...), it returns nothings.

Code:
C:\Python27\Scripts>python atitweak -e 900 --adapter=all
Setting performance level 0 on adapter 0: engine clock 900MHz
Setting performance level 1 on adapter 0: engine clock 900MHz
Setting performance level 2 on adapter 0: engine clock 900MHz

C:\Python27\Scripts>python atitweak -e 900 -A 1

C:\Python27\Scripts>python atitweak -e 900 -A 2

C:\Python27\Scripts>python atitweak -e 915 -A 0
Setting performance level 0 on adapter 0: engine clock 915MHz
Setting performance level 1 on adapter 0: engine clock 915MHz
Setting performance level 2 on adapter 0: engine clock 915MHz

C:\Python27\Scripts>

I installed Python 2.7.2 (32-bit) and cloned atitweak from the git repository.  This is what I get:
Code:
C:\Python27>python.exe c:\Python27\scripts\adl3\atitweak -l
0. AMD Radeon HD 6900 Series  (\\.\DISPLAY1)
    engine clock range is 125 - 950MHz
    memory clock range is 75 - 1350MHz
    core voltage range is 0.9 - 1.1VDC
    performance level 0: engine clock 250MHz, memory clock 150MHz, core voltage
0.9VDC
    performance level 1: engine clock 500MHz, memory clock 1250MHz, core voltage
 1VDC
    performance level 2: engine clock 865MHz, memory clock 1250MHz, core voltage
 1.1VDC
    fan speed range: 0 - 100%,  800 - 6000 RPM
1.  (╘?x☻♠)
    engine clock range is 125 - 950MHz
    memory clock range is 75 - 1350MHz
    core voltage range is 0.9 - 1.1VDC
    performance level 0: engine clock 250MHz, memory clock 150MHz, core voltage
0.9VDC
    performance level 1: engine clock 500MHz, memory clock 1250MHz, core voltage
 1VDC
    performance level 2: engine clock 865MHz, memory clock 1250MHz, core voltage
 1.1VDC
    fan speed range: 0 - 100%,  800 - 6000 RPM

What is odd is that it is reporting the same information for both GPUs.  The BIOS engine clock range for the 5850 is up to 1000MHz, yet it reports it as 950.

Not sure what is going on, but Windows version seems a bit buggy.

I was able to do
Code:
C:\Python27>python.exe c:\Python27\scripts\adl3\atitweak -e 910 -P 2
Setting performance level 2 on adapter 0: engine clock 910MHz
successfully on a single GPU system.  I'll try it on a system with 2 x 6950's tomorrow and see if it works.

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
mrballcb
Newbie
*
Offline Offline

Activity: 10



View Profile

Ignore
August 11, 2011, 07:37:48 PM
 #69

I've never seen that behaviour before. atitweak is just printing information returned by the driver dso. Is it possible that your xorg.conf is incomplete? Mine looks like this:

Code:
Section "ServerLayout"
Identifier     "aticonfig Layout"
Screen      0  "aticonfig-Screen[0]-0" 0 0
<snip>
There should be one ServerLayout section and one Device/Screen/Monitor sections for each card. You can get the PCI addresses with lspci.

I just wanted to say thanks for posting your config.  I have two 5850's and it was only seeing one.  A simple X configuration problem, nothing to do with atitweak (damn awesome by the way), but having your config to model it on was most helpful in getting a system which sees both cards.

Regards...        Todd
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
August 11, 2011, 11:57:01 PM
 #70

Thanks for your effort!

I've installed on a 64 bit Windows 7 System with Catalyst 11.7 & AMD APP 2.5 installed. I have 3 * 6970 cards installed. However, when I execute with 'python atitweak -l', it only list the first card.

Could you help extend it to show all the cards in Windows?

Were you able to get it working?

I tried on my dual 6950 system and it seems to work just fine:
Code:
C:\Python27>python.exe c:\Python27\scripts\adl3\atitweak -l
0. AMD Radeon HD 6900 Series  (\\.\DISPLAY4)
    engine clock range is 125 - 900MHz
    memory clock range is 75 - 1325MHz
    core voltage range is 0.9 - 1.175VDC
    performance level 0: engine clock 250MHz, memory clock 150MHz, core voltage
0.9VDC
    performance level 1: engine clock 500MHz, memory clock 1250MHz, core voltage
 1VDC
    performance level 2: engine clock 900MHz, memory clock 1250MHz, core voltage
 1.175VDC
    fan speed range: 0 - 100%,  800 - 6000 RPM
1.  ()
    engine clock range is 125 - 900MHz
    memory clock range is 75 - 1325MHz
    core voltage range is 0.9 - 1.175VDC
    performance level 0: engine clock 250MHz, memory clock 150MHz, core voltage
0.9VDC
    performance level 1: engine clock 500MHz, memory clock 1250MHz, core voltage
 1VDC
    performance level 2: engine clock 900MHz, memory clock 1250MHz, core voltage
 1.175VDC
    fan speed range: 0 - 100%,  800 - 6000 RPM

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
deti
Member
**
Offline Offline

Activity: 65


View Profile WWW

Ignore
August 12, 2011, 01:29:27 PM
 #71

When I try atitweak over SSH I get this:

Code:
# atitweak -l
No protocol specified
Couldn't initialize ADL interface.

Running atitweak on the computer itself works. What can I do to control the cards from outside?

gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
August 12, 2011, 04:17:29 PM
 #72

When I try atitweak over SSH I get this:

Code:
# atitweak -l
No protocol specified
Couldn't initialize ADL interface.

Running atitweak on the computer itself works. What can I do to control the cards from outside?

Try:
Code:
DISPLAY=:0 atitweak -l

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
deti
Member
**
Offline Offline

Activity: 65


View Profile WWW

Ignore
August 13, 2011, 01:10:15 PM
 #73

When I try atitweak over SSH I get this:

Code:
# atitweak -l
No protocol specified
Couldn't initialize ADL interface.

Running atitweak on the computer itself works. What can I do to control the cards from outside?

Try:
Code:
DISPLAY=:0 atitweak -l


Still the same Sad
Code:
# DISPLAY=:0 atitweak -l
No protocol specified
Couldn't initialize ADL interface.

Curious, the help page is displayed:
Code:
# atitweak -h
Usage: atitweak [options]

Options:
  -h, --help            show this help message and exit
  -l, --list-adapters   Lists all detected and supported display adapters.
  -s, --status          Shows current clock speeds, core voltage, utilization
                        and performance level.
  -e ENGINE_CLOCK, --set-engine-clock=ENGINE_CLOCK
                        Sets engine clock speed (in MHz) for the selected
                        performance levels on the selected adapters.
  -m MEMORY_CLOCK, --set-memory-clock=MEMORY_CLOCK
                        Sets memory clock speed (in MHz) for the selected
                        peformance levels on the selected adapters.
  -v CORE_VOLTAGE, --set-core-voltage=CORE_VOLTAGE
                        Sets core voltage level (in VDC) for the selected
                        performance levels on the selected adapters.
  -f FAN_SPEED, --set-fan-speed=FAN_SPEED
                        Sets the fan speed (in percent) for the selected
                        adapters.
  -d, --set-fan-speed-default
                        Resets the fan speed to its default setting.
  -A ADAPTERLIST, --adapter=ADAPTERLIST
                        Selects which adapters returned by --list-adapters
                        should be affected by other atitweak options.
                        ADAPTERLIST contains either a comma-seperated sequence
                        of the index numbers of the adapters to be affected or
                        else contains the keyword "all" to select all the
                        adapters. If --adapter is missing, all adapters will
                        be affected.
  -P PERFORMANCELEVELLIST, --performance-level=PERFORMANCELEVELLIST
                        Selects which performance levels returned by --list-
                        adapters should be affected by other atitweak options.
                        PERFORMANCELEVELLIST contains either a comma-separated
                        sequence of the index numbers of the performance
                        levels to be affected or else contains the keyword
                        "all" to select all performance levels. If
                        --performance-level is missing, all performance levels
                        will be affected.

gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
August 13, 2011, 02:03:25 PM
 #74

Do your aticonfig commands give errors?

aticonfig --lsa or aticonfig --odgc --adaper=all

I've see the ADL error before when adding cards.  Try initial config then reboot
aticonfig -f --initial --adapter=all

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
deti
Member
**
Offline Offline

Activity: 65


View Profile WWW

Ignore
August 13, 2011, 02:22:27 PM
 #75

Do your aticonfig commands give errors?

aticonfig --lsa or aticonfig --odgc --adaper=all

I've see the ADL error before when adding cards.  Try initial config then reboot
aticonfig -f --initial --adapter=all

I get this by SSH:
Code:
# aticonfig --lsa
* 0. 08:00.0 AMD Radeon HD 6990
  1. 07:00.0 AMD Radeon HD 6990

* - Default adapter
Code:
# aticonfig --odgc --adapter=all
ERROR - X needs to be running to perform ATI Overdrive(TM) commands
And now? Thanks in advance for your help!

I've see the ADL error before when adding cards.  Try initial config then reboot
This makes no difference.

gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
August 13, 2011, 05:56:33 PM
 #76

You will need to set DISPLAY=:0 for --odsc I think.  Are you using the newest version of atitweak?  How about atitweak -s? I'm not that great with linux - just trying what I know from experience from my remote rigs.  But I'm out of ideas.  Maybe a PM and a couple coins to the developer??

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
August 14, 2011, 10:17:03 AM
 #77

When it says that X needs to be running, try running it as sudo.  It should get over that problem

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
deti
Member
**
Offline Offline

Activity: 65


View Profile WWW

Ignore
August 15, 2011, 02:44:19 PM
 #78

You will need to set DISPLAY=:0 for --odsc I think. ?
Code:
# DISPLAY=:0 atitweak -l
No protocol specified
Couldn't initialize ADL interface.

# DISPLAY=:0 atitweak -s
No protocol specified
Couldn't initialize ADL interface.

# DISPLAY=:0 aticonfig --lsa
No protocol specified
* 0. 08:00.0 AMD Radeon HD 6990
  1. 07:00.0 AMD Radeon HD 6990

* - Default adapter

# DISPLAY=:0 aticonfig --odgc --adapter=all
No protocol specified
ERROR - X needs to be running to perform ATI Overdrive(TM) commands

Are you using the newest version of atitweak?
Yes, I'm using: easy_install adl3==0.3.

How about atitweak -s?
See above.

When it says that X needs to be running, try running it as sudo.  It should get over that problem
I am typing the commands into the shell as root, that should be the same.


Anyone with more ideas?

deti
Member
**
Offline Offline

Activity: 65


View Profile WWW

Ignore
August 17, 2011, 11:23:38 AM
 #79

Here is a solution for my problem with the SSH access:

Code:
ssh -X user@<your_ip>
password: <your_user_password>
sudo su
chmod uog+rw /dev/ati/card*
xauth merge /home/user/.Xauthority
export DISPLAY=:0
aticonfig --odgc --adapter=all

Thanks to drgr33n at https://bitcointalk.org/index.php?topic=7374.1272 (post #1272)

The xauth merge ... may output an error, don't be irritated, continue  Wink

deti
Member
**
Offline Offline

Activity: 65


View Profile WWW

Ignore
August 17, 2011, 05:57:01 PM
 #80

General question on this topic, is there a tool for overclocking ATI cards (Linux) that figures out the maximum GPU speed, the minimum Memory speed with the optimal voltage for my cards to mine with maximum hashrate? It's annoying to modify GPU, Memory and Voltage trying to find the best for my cards, because when I get a bit over the limit I have to reboot because the phoenix miner doesn't accept the reseted values after hanging up and curiously it also can't be killed (9).

lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
August 18, 2011, 06:29:50 AM
 #81

I found a program in Github that can overlock ATI GPU as well. It works well for my 3 * 6970.

However, I don't know C++ much nor do I know python, can someone help to convert his code to atitweak?

https://github.com/Glakke/glakkeclock

Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
m0w3r
Full Member
***
Offline Offline

Activity: 131


View Profile

Ignore
August 20, 2011, 03:11:22 PM
 #82

Thanks OP, donation sent also.
mmartoccia
Jr. Member
*
Offline Offline

Activity: 38


View Profile

Ignore
September 19, 2011, 02:58:11 PM
 #83

Thanks OP for the tool!  This is part of the BAMT image and is a super awesome/easy way to configure the settings.  I just recently started having a problem when setting the mem/core values on my 5970. 

Code:
root@miner:~# atitweak -m 175 -e 850 -A 0
Setting performance level 0 on adapter 0: engine clock 850MHz, memory clock 175MHz
Setting performance level 1 on adapter 0: engine clock 850MHz, memory clock 175MHz
Setting performance level 2 on adapter 0: engine clock 850MHz, memory clock 175MHz
ADL_Overdrive5_ODPerformanceLevels_Set failed.

No matter what I set, it always returns the same failed code.  Any ideas?

TIA
lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
October 25, 2011, 01:18:32 AM
 #84

Hello everyone,

I've patched the atitweak so that it can operate in Windows correctly.

In addition, I change the way it works so that atitweak will show correct devices. For example, it will show 4 cores on my 2*6990.

Test and patch are welcome!

Please check my fork version on http://bit.ly/trXI0U

I found a program in Github that can overlock ATI GPU as well. It works well for my 3 * 6970.

However, I don't know C++ much nor do I know python, can someone help to convert his code to atitweak?

https://github.com/Glakke/glakkeclock

Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
October 28, 2011, 06:14:43 PM
 #85

Hello everyone,

I've patched the atitweak so that it can operate in Windows correctly.

In addition, I change the way it works so that atitweak will show correct devices. For example, it will show 4 cores on my 2*6990.

Test and patch are welcome!

Please check my fork version on http://bit.ly/trXI0U

I found a program in Github that can overlock ATI GPU as well. It works well for my 3 * 6970.

However, I don't know C++ much nor do I know python, can someone help to convert his code to atitweak?

https://github.com/Glakke/glakkeclock

Thanks lueo!  I only have one Windows rig, but finally I can set the memory clocks nice and low and all the GPUs on that rig.  Works well so far!

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
October 29, 2011, 05:45:51 AM
 #86

Thanks amazingrando! Please tell me if anything went wrong~~

Hello everyone,

I've patched the atitweak so that it can operate in Windows correctly.

In addition, I change the way it works so that atitweak will show correct devices. For example, it will show 4 cores on my 2*6990.

Test and patch are welcome!

Please check my fork version on http://bit.ly/trXI0U

I found a program in Github that can overlock ATI GPU as well. It works well for my 3 * 6970.

However, I don't know C++ much nor do I know python, can someone help to convert his code to atitweak?

https://github.com/Glakke/glakkeclock

Thanks lueo!  I only have one Windows rig, but finally I can set the memory clocks nice and low and all the GPUs on that rig.  Works well so far!

Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
amazingrando
SCAMMER
Hero Member
*****
Offline Offline

Activity: 546



View Profile

Ignore
October 29, 2011, 09:58:12 PM
 #87

Thanks amazingrando! Please tell me if anything went wrong~~

So far it works fine, but then again I only have one rig to test it on.  Thanks again!

Bitbond - 105% PPS mining bond - mining payouts without buying hardware
lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
November 18, 2011, 01:54:36 AM
 #88

New feature added:

* Powertune level adjustment.

Usage:

  -p POWERTUNE_LEVEL, --set-powertune=POWERTUNE_LEVEL
                        Sets powertune level (between -20% and 20%) for on the
                        selected adapters.

NOTE: Only support by 6xxx cards.

Checkout the latest version on GitHub: http://bit.ly/trXI0U

Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
November 22, 2011, 03:24:41 PM
 #89

UPDATE: adl3 v0.5

sudo easy_install --upgrade adl3

This release has two changes, both thanks to lueo:
- Windows fixes and general cleanup
- Powertune support (69xx only)
j0800
Newbie
*
Offline Offline

Activity: 6


View Profile

Ignore
January 18, 2012, 06:53:19 AM
 #90

thanks for this overclocking app, it's really great when it works for me. BUT, I am running into an issue lately. I run archlinux x86_64, all my software and drivers are quite current = catalyst 11.12(-1), amdstream 2.6(-1), linux kernel 3.1.9-2, etc, etc -- I keep getting this error that I cannot for the life of me figure out how to resolve, so I thought I would try posting here and see if there's anything someone may be able to think of for fixing this lil' issue I seem to have... I get this error when running 'atitweak' ;;

Quote
# sudo easy_install-2.7 --upgrade adl3
# atitweak
Traceback (most recent call last):
  File "/usr/bin/atitweak", line 24, in <module>
    from adl3 import *
  File "/usr/lib/python2.7/site-packages/adl3-0.5-py2.7.egg/adl3/__init__.py", line 1, in <module>
    from .adl_api import *
  File "/usr/lib/python2.7/site-packages/adl3-0.5-py2.7.egg/adl3/adl_api.py", line 39, in <module>
    _libadl = CDLL("libatiadlxx.so", mode=RTLD_GLOBAL)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/libatiadlxx.so: undefined symbol: XextAddDisplay

Quote
# pacman -Qo /usr/lib/libatiadlxx.so
/usr/lib/libatiadlxx.so is owned by catalyst-total 11.12-1

# ls -al /usr/lib/libatiadlxx.so
-rwxr-xr-x 1 root root 275672 Jan 17 03:38 /usr/lib/libatiadlxx.so

# ldd /usr/lib/libatiadlxx.so
        linux-vdso.so.1 =>  (0x00007fff493ff000)
        libm.so.6 => /lib/libm.so.6 (0x00007fa123066000)
        libc.so.6 => /lib/libc.so.6 (0x00007fa122cc3000)
        /lib/ld-linux-x86-64.so.2 (0x00007fa1234d9000)

I'm out of ideas here, anyone know what is up with that 'undefined symbol: XextAddDisplay' error? thanks in advance if anyone has any ideas/suggestions/pointers/tips!

/j0800
ArtForz
Sr. Member
****
Offline Offline

Activity: 406


View Profile

Ignore
January 18, 2012, 05:06:32 PM
 #91

for some reason you have to manually load libXext before libatiadlxx
Code:
--- a/adl_api.py  2012-01-18 18:04:59.199777656 +0100
+++ b/adl_api.py  2012-01-18 18:05:11.199734821 +0100
@@ -36,6 +36,7 @@
         from ctypes import RTLD_GLOBAL
 
         # load the ADL 3.0 dso/dll
+        CDLL("libXext.so", mode=RTLD_GLOBAL)
         _libadl = CDLL("libatiadlxx.so", mode=RTLD_GLOBAL)
     
         # ADL requires we pass an allocation function and handle freeing it ourselves

bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz
i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
February 02, 2012, 08:08:33 PM
 #92

For whatever reason, a 64-bit libXext.so doesn't exist on my server, but libXext.so.6 is there. I'll update github and push out another release to pypi.
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
February 02, 2012, 08:35:51 PM
 #93

OK, the fix is on github, along with another fix from lueo that shows fan speed if only one of RPM or percentage is available. Please pull and test, and I'll push out the update to pypi when both issues are confirmed fixed.

thanks!
ummas
Sr. Member
****
Offline Offline

Activity: 274


View Profile

Ignore
February 03, 2012, 03:07:14 AM
 #94

@lueo
is it possible to read VRM temp`s in the future ??
lueo
Member
**
Offline Offline

Activity: 61


Bitcoin believer


View Profile WWW

Ignore
February 03, 2012, 04:25:08 PM
 #95

I think it needs a lot of work to retrieve i2c values. However, different card has different i2c chips, so it's not possible to support every card.

A similar discussion is on the forum, too.

https://bitcointalk.org/index.php?topic=10228.0

I think mjmvisser had tried to read i2c but had failed, that's why he commented out the i2c-related code, right?

@lueo
is it possible to read VRM temp`s in the future ??


Donation: 1M1mB5BQX5QthTojfHxXxJQJr8ro5xLcKR
Real-time LR <-> MTGOX exchange! http://goo.gl/gJqZS
Internet Marketing Q&A in Chinese: http://qa.webcash168.com/
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
February 03, 2012, 08:53:08 PM
 #96

I think it needs a lot of work to retrieve i2c values. However, different card has different i2c chips, so it's not possible to support every card.

A similar discussion is on the forum, too.

https://bitcointalk.org/index.php?topic=10228.0

I think mjmvisser had tried to read i2c but had failed, that's why he commented out the i2c-related code, right?

I spent about a day on it, then gave up. I hate hardware hacking. :-)
ummas
Sr. Member
****
Offline Offline

Activity: 274


View Profile

Ignore
February 04, 2012, 08:31:37 AM
 #97

1. Forgive me. I`m a linux no0b.
2. Why sommethink verry important to my GPU like seaing VRM temp is eassy in windows, but not in linux witch is so important to mu GPU too :>
3. If you dont understand that, i must sau, that i`m anglish no0b too Tongue

EDIT
I still have in mind such a nice toll for windows like setfsb. you could choose witch smd you wont use. if you ware wrong - reboot. i think thare is no unlimited pool of i2c`s, we just need to choose the right one we need.
bogesman
Newbie
*
Offline Offline

Activity: 6


View Profile

Ignore
March 10, 2012, 10:24:50 PM
 #98

Has anyone tested this with 7970 or 7950?
Will it work, because as I know ATI limited things from drivers. And RBE does not not support 7xxx.
omo
Full Member
***
Offline Offline

Activity: 148


View Profile

Ignore
March 11, 2012, 02:19:23 PM
 #99

I tried this  with 7970 under linux and it works!

BTC:1Fu4TNpVPToxxhSXBNSvE9fz6X3dbYgB8q
bogesman
Newbie
*
Offline Offline

Activity: 6


View Profile

Ignore
July 19, 2012, 07:18:14 PM
 #100

Somebody else having issues with latest driver 12.6?

driver info
Quote
[9.574] (II) fglrx(0):     Name: fglrx
[9.574] (II) fglrx(0):     Version: 8.98.2
[9.574] (II) fglrx(0):     Date: Jun 11 2012
[9.574] (II) fglrx(0):     Desc: AMD FireGL DRM kernel module

This is the error that I receive

Quote
Traceback (most recent call last):
  File "/usr/local/bin/atitweak", line 24, in <module>
    from adl3 import *
  File "/usr/local/lib/python2.7/dist-packages/adl3/__init__.py", line 1, in <module>
    from .adl_api import *
  File "/usr/local/lib/python2.7/dist-packages/adl3/adl_api.py", line 40, in <module>
    _libadl = CDLL("libatiadlxx.so", mode=RTLD_GLOBAL)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/fglrx/libatiadlxx.so: undefined symbol: APL_Initialize


I also have in Xorg.0.log a lot of lines like this
Quote
(WW) fglrx(0): ADL handler failure: PowerPlay library not initialized
(WW) fglrx(0): ADL handler failure: PowerPlay library not initialized
burnside
Hero Member
*****
Offline Offline

Activity: 672



View Profile WWW

Ignore
July 30, 2012, 04:34:30 PM
 #101

Somebody else having issues with latest driver 12.6?

driver info
Quote
[9.574] (II) fglrx(0):     Name: fglrx
[9.574] (II) fglrx(0):     Version: 8.98.2
[9.574] (II) fglrx(0):     Date: Jun 11 2012
[9.574] (II) fglrx(0):     Desc: AMD FireGL DRM kernel module

This is the error that I receive

Quote
Traceback (most recent call last):
  File "/usr/local/bin/atitweak", line 24, in <module>
    from adl3 import *
  File "/usr/local/lib/python2.7/dist-packages/adl3/__init__.py", line 1, in <module>
    from .adl_api import *
  File "/usr/local/lib/python2.7/dist-packages/adl3/adl_api.py", line 40, in <module>
    _libadl = CDLL("libatiadlxx.so", mode=RTLD_GLOBAL)
  File "/usr/lib/python2.7/ctypes/__init__.py", line 353, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /usr/lib/fglrx/libatiadlxx.so: undefined symbol: APL_Initialize


I also have in Xorg.0.log a lot of lines like this
Quote
(WW) fglrx(0): ADL handler failure: PowerPlay library not initialized
(WW) fglrx(0): ADL handler failure: PowerPlay library not initialized


+1, ditto here.  12.6 driver, Ubuntu 10.04.4 LTC, Python 2.6.5

Creator of the late BTC Trading Corp / LTC-GLOBAL -- burnside's LTC Mining Pool: http://ltc.kattare.com -- Kattare: http://www.kattare.com
robertrex
Newbie
*
Offline Offline

Activity: 12


View Profile

Ignore
August 06, 2012, 01:24:06 PM
 #102

Hi,

When I use Atitweak -l it only lists performancelevel 0 and 1. There is no Performance level 2?

While mining I can use atitweak to change Engine and Memory but have to use Performance level 1 for anything to happen. The same with changing Voltage but the voltage actually never change.

In cgminer it also works to change the Engine clock and the Memory clock and it also says that "Driver reports success..." but the Voltage never changes.

It is the same experience with both the cards
MIS 7970 Lightening & Sapphire Dual-X OC

Any idea what I can do to change the voltage?

Best Regards
Robert
gnar1ta$
Donator
Hero Member
*
Offline Offline

Activity: 742


View Profile

Ignore
August 06, 2012, 05:48:16 PM
 #103

Hi,

When I use Atitweak -l it only lists performancelevel 0 and 1. There is no Performance level 2?

While mining I can use atitweak to change Engine and Memory but have to use Performance level 1 for anything to happen. The same with changing Voltage but the voltage actually never change.

In cgminer it also works to change the Engine clock and the Memory clock and it also says that "Driver reports success..." but the Voltage never changes.

It is the same experience with both the cards
MIS 7970 Lightening & Sapphire Dual-X OC

Any idea what I can do to change the voltage?

Best Regards
Robert

I think this is the usual ADL issue with linux.  You can't change voltage with 6xxx or 7xxx series, and memory has a difference limit, e-100 6870, e-125 69xx, e-150 7970.

Losing hundreds of Bitcoins with the best scammers in the business - BFL, Avalon, KNC, HashFast.
sephtin
Jr. Member
*
Offline Offline

Activity: 47


Laughing WITH you...


View Profile

Ignore
March 01, 2013, 03:28:02 AM
 #104

Hi,

When I use Atitweak -l it only lists performancelevel 0 and 1. There is no Performance level 2?

While mining I can use atitweak to change Engine and Memory but have to use Performance level 1 for anything to happen. The same with changing Voltage but the voltage actually never change.

In cgminer it also works to change the Engine clock and the Memory clock and it also says that "Driver reports success..." but the Voltage never changes.

It is the same experience with both the cards
MIS 7970 Lightening & Sapphire Dual-X OC

Any idea what I can do to change the voltage?

Best Regards
Robert

I think this is the usual ADL issue with linux.  You can't change voltage with 6xxx or 7xxx series, and memory has a difference limit, e-100 6870, e-125 69xx, e-150 7970.

Hmm, interesting.  Really hoping this would be working for linux, not switching to windows if I can help it.
Have a 7950, and here are my observations:
--When I set clocks and voltage for performance level 0/1, it appears to work.  atitweak appears to correctly be setting the clocks and voltage!
--When I start mining with reaper, the clock settings show up correctly, but voltage does not.
... here's where I get confused.  atitweak -s gives:
---x---
1. AMD Radeon HD 7900 Series  (:0.1)
    engine clock 950MHz, memory clock 1400MHz, core voltage 1.25VDC, performance level 3, utilization 99%
---x---

"performance level 3" ?  I can't set anything for performance level 3.. could that be why the voltage settings aren't being applied?  (If I try to specify -P 3, it doesn't affect anything, and there is no output.. )?

Also, this topic is stale.. anyone know how to contact the developer to see if this might be something easy?  I'd be happy to test!

Edit:  I believe Trixx and MSI Afterburner (both windows) will allow voltage changes... I just happened to notice the voltage change on performance levels 0 and 1, but then when I mine, -s shows level 3...
Edit2:  Shows 4x different clock states here:  http://www.techpowerup.com/vgabios/117750/Gigabyte.HD7970.3072.120308.html
I have hope that this is something fixable...  Smiley
kasus
Newbie
*
Offline Offline

Activity: 26



View Profile

Ignore
March 16, 2013, 11:39:54 AM
 #105

Hi, I have BAMT with 3x5850+3x7950, and have such strange issue:
With 5 cards plugged atitweak works good, but when I plug 6 cards atitweak do not reply anything, it freezes. All mining software use atitweak, so I can't work with 6 cards... Any ideas? aticonfig command works well.
.m.
Member
**
Offline Offline

Activity: 67



View Profile

Ignore
March 30, 2013, 01:36:08 PM
 #106

Hi does anybody have any idea what to do ?

[test@localhost adl3]$ aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7900 Series
  1. 02:00.0 AMD Radeon HD 7800 Series

* - Default adapter
[test@localhost adl3]$ aticonfig --adapter=0 --od-enable
AMD Overdrive(TM) enabled
[test@localhost adl3]$ aticonfig --adapter=1 --od-enable
AMD Overdrive(TM) enabled
[test@localhost adl3]$ aticonfig --adapter=0 --odgt

Adapter 0 - AMD Radeon HD 7900 Series
            Sensor 0: Temperature - 42.00 C
[test@localhost adl3]$ aticonfig --adapter=1 --odgt
ERROR - Get temperature failed for Adapter 1 - AMD Radeon HD 7800 Series
[test@localhost adl3]$ ./atitweak -l
ADL_Adapter_Active_Get failed.

and the same error in Xorg.0.log as "bogesman" above Sad
mjmvisser
Jr. Member
*
Offline Offline

Activity: 58


View Profile

Ignore
April 02, 2013, 03:05:11 AM
 #107

Hi, adl3 developer here. I'm not able to spend any time developing the python bindings any more (had a kid back in January -- ZERO free time). I'd be happy to turn over the PyPI keys to anyone who's able to maintain adl3.

I'll update the github readme this week to let downstream users know. I see there's a bunch of folks who have forked the repo, so I'll put out some feelers -- maybe someone's already solved this problem and hasn't bothered to submit a pull request, or would like to take over maintenance.

cheers
prandelicious
Newbie
*
Offline Offline

Activity: 15



View Profile

Ignore
April 19, 2013, 02:13:42 AM
 #108

Doesnt' seem to have any effect on the Radeon 6990 -- the temp is still the same (around 83 degrees centigrade). Do I have to switch the BIOS of the card to the overclock position for this to work?
swordfish6975
Sr. Member
****
Online Online

Activity: 350



View Profile WWW

Ignore
May 08, 2013, 02:03:45 PM
 #109


Hmm, interesting.  Really hoping this would be working for linux, not switching to windows if I can help it.
Have a 7950, and here are my observations:
--When I set clocks and voltage for performance level 0/1, it appears to work.  atitweak appears to correctly be setting the clocks and voltage!
--When I start mining with reaper, the clock settings show up correctly, but voltage does not.
... here's where I get confused.  atitweak -s gives:
---x---
1. AMD Radeon HD 7900 Series  (:0.1)
    engine clock 950MHz, memory clock 1400MHz, core voltage 1.25VDC, performance level 3, utilization 99%
---x---

"performance level 3" ?  I can't set anything for performance level 3.. could that be why the voltage settings aren't being applied?  (If I try to specify -P 3, it doesn't affect anything, and there is no output.. )?

Also, this topic is stale.. anyone know how to contact the developer to see if this might be something easy?  I'd be happy to test!

Edit:  I believe Trixx and MSI Afterburner (both windows) will allow voltage changes... I just happened to notice the voltage change on performance levels 0 and 1, but then when I mine, -s shows level 3...
Edit2:  Shows 4x different clock states here:  http://www.techpowerup.com/vgabios/117750/Gigabyte.HD7970.3072.120308.html
I have hope that this is something fixable...  Smiley


I had a play with this tonight seems like im not the only one http://devgurus.amd.com/thread/158840

I was able to change the atitweak code to set the voltage for profile 3 on my power color 7950 but it didn't change the voltage, no error though. I was watching temps as well nothing changed so even if it told me the wrong voltage I would see the temps drop as they do under windows. Also wall plug power monitor.

Digging around in the documentation it seems theirs a ADL_Overdrive6.     - I was wrong the card chooses ADL_Overdrive5.

//microsoft windows
If anyone knows of a program like process monitor that will actually tell me the calls a exe is making calls to a dll?

If I can get something like that I can see how powerup Tuner works.


I am determined to undervolt my card under linux so I will exhaust every possible software way to do it. I have already done some extensive research on how to hex edit my bios as a backup. This would be a last resort though.

http://cryptofolio.info  - see how all your coins are doing!  - now supporting 288 different coins!!!!  - http://cryptofolio.info
successful trades: xorxor, jdebunt, mobodick, wman, Rubberduckie
sephtin
Jr. Member
*
Offline Offline

Activity: 47


Laughing WITH you...


View Profile

Ignore
May 08, 2013, 08:28:59 PM
 #110

There has to be support forums for afterburner, or trixx, where you might be able to get feedback like this (?).
I wish I could help more, but I'm not sure what calls are made to what .dll's to get accurate information for the voltage, without using the native calls to the driver (that appear to be incorrect).

The BEST way to resolve this, would be to prod the ATI driver devs, and have them fix their driver to provide correct information.. ?

If there's anything that I could try to do to help, I'm also invested in getting this working better on Linux...
swordfish6975
Sr. Member
****
Online Online

Activity: 350



View Profile WWW

Ignore
May 10, 2013, 11:09:14 AM
 #111

Not sure where this leaves us but I did manage to get my card running at 1.000v down from 1.188v under Linux (think I can go a tiny bit lower)

Stats
Power Color HD7950 same settings machine etc on litecoin (old P4 motherboard uses 120-130 watts on its own)

533.6kh/s using ~388watts at 72 degrees c

after undervolt

555.5kh/s using ~330watts at 61 degrees c

the undervolt allows me to up the powertune to 10 (with out the temp racing up to over 90) and intensity and I was getting 580kh/s using ~335watts at ~70 degrees c

ignoring my motherboard power problem, this then gets nice and close to:

Quote
If you are paying for electricity you can get 560 kH/s for 170W (925/1250/.962V) per card plus 55W overhead for the computer via undervolting the core. - Source linky link

Considering that I haven't tried 0.962v yet



Now for the part some people wont want to hear, I hex edited the bios  Tongue

If there's enough interest perhaps ill make a thread with huge disclaimers everywhere.  HERE


Update: Got two 7950s doing ~585kh/s each the whole rig is pulling 460W at the wall (same inefficient motherboard) voltage at 0.950

http://cryptofolio.info  - see how all your coins are doing!  - now supporting 288 different coins!!!!  - http://cryptofolio.info
successful trades: xorxor, jdebunt, mobodick, wman, Rubberduckie
Pages: 1 2 3 4 5 6 [All]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!