Pages:
Author

Topic: New command-line tool for overclocking ATI cards (Linux) - page 3. (Read 50925 times)

member
Activity: 65
Merit: 10
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?
hero member
Activity: 546
Merit: 500
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
newbie
Activity: 10
Merit: 0
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

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
hero member
Activity: 546
Merit: 500
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.
member
Activity: 61
Merit: 10
Bitcoin believer
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>
hero member
Activity: 546
Merit: 500
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.
member
Activity: 61
Merit: 10
Bitcoin believer
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>

legendary
Activity: 1855
Merit: 1016
Code:
atitweak -e 900 -m 800 -f 80

-e for core clock? i thought -c

donator
Activity: 798
Merit: 500

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.
newbie
Activity: 15
Merit: 0
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.
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
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.

newbie
Activity: 47
Merit: 0
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.
full member
Activity: 196
Merit: 100
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.
donator
Activity: 798
Merit: 500


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.
legendary
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank

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
hero member
Activity: 546
Merit: 500
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.
donator
Activity: 798
Merit: 500
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
legendary
Activity: 1855
Merit: 1016
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.
donator
Activity: 798
Merit: 500
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.
hero member
Activity: 546
Merit: 500
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
Pages:
Jump to: