Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 06-04-09   #1 (permalink)
Angry Linux Gamer
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 6,198

Rep: 508 Melcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famousMelcar is becoming famous
Unique Rep: 342
Trader Rating: 1
Default [How-To] Overclocking ATI cards in Linux

This is a small guide for overclocking your ATI card under Linux. This guide targets Ubuntu, but it should be the same for any distro.

Pre-requisites:

- Working fglrx driver
- Card supported by Overdrive (last time I checked only r6xx and up were supported, mobile and integrate chips excluded)


If you type the command aticonfig in a terminal, you will get several config. options that you can use with the driver, including Overdrive options; the proper synthax is aticonfig <option>. This is a list of Overdrive related options:
Code:
--od-enable
        Enables Overdrive. 

  --od-disable
        Disables Overdrive.  You need to restart X for clocks to go back to defaults.

  --odgc
        List your card's current core and memory clocks, the current peak clocks, and the range by which you can overclock (Overdrive locks are applicable).

  --odgt
        Gives out a core temperature reading.

  --odsc={NewCoreClock|0,NewMemoryClock|0}
        Specify desired clocks fore core and memory.

  --odcc
        Apply the new clocks specified by the setclocks command

  --odrd
        Restores default clocks.  You need to restart X for changes to take effect.
Steps for overclocking:

1. The first step obviously is to turn on Overdrive:

Code:
aticonfig --od-enable
If your card is not supported, you will get a message saying so.

2. Next we get the current clocks and the valid overclocking range for your card:

Code:
aticonfig --odgc

Default Adapter - ATI Radeon HD 4800 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    500           750
             Current Peak :    625           993
  Configurable Peak Range : [500-700]     [750-1200]
                 GPU load :    2%
3. Now we can specify valid frequencies for our overclock:

Code:
aticonfig --odsc=700,1000

Default Adapter - ATI Radeon HD 4800 Series
                  New Core Peak   : 700
                  New Memory Peak : 1000
4. Finally we apply the new frequencies:

Code:
aticonfig --odcc
5. Check your new overclock:

Code:
aticonfig --odgc

Default Adapter - ATI Radeon HD 4800 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    500           750
             Current Peak :    700           1000
  Configurable Peak Range : [500-700]     [750-1200]
                 GPU load :    2%
You can also use Overdrive for Crossfire setups. The process is identical, with the difference that you need to specify the device being overclocked. Example:

Code:
aticonfig --list-adapters
#each card will be given a number that you append to the normal Overdrive commands

aticonfig --adapter=0 --odgc
#and so on...
Stress Testing:

There is also a stress test available for Overdrive. For me this never works and I have yet to get an answer on this from any ATI dev. But you can try it and see if it works for you:

Code:
atiode -P 60 -H localhost:0; echo $?

#runs a stress test for 60 seconds; you can specify whatever time in seconds you want
After the test finishes it will spit out a number. Each number corresponds to a certain status:

Code:
   
0: Test successfully completed.
1: Invalid command-line parameters.
2: Test failed because of rendering errors.
3: Target adapter not found.
4: Test aborted due to unknown reason
Another way of stress testing is to run furmark. It works perfectly under WINE (just make sure you have Compiz off).


Other Tools:

If you don't like the command line, there is also a third party GUI that you can use. Same pre-requisites still apply, since this is just a frontend for Overdrive:
http://www.phoronix.com/forums/showthread.php?t=17331






It's pretty self explanatory. The latest version also has support for Crossfired cards.

System: Magicbox
CPU
Phenom X4 9650 @ 3GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD4850 @ 750/1100
Hard Drive
WD 640GB SATAII / Seagate 160GB SATAII
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Ubuntu 64bit / WindowsXP 32bit
Monitor
Acer X193W+BD 19" WS LCD (1680x1050)

Last edited by Melcar : 06-04-09 at 10:24 PM
Melcar is offline Overclocked Account   Reply With Quote
Old 06-04-09   #2 (permalink)
Linux Lobbyist
 
thiussat's Avatar
 
amd nvidia

Join Date: Apr 2008
Location: USA
Posts: 1,212

Rep: 186 thiussat is acknowledged by manythiussat is acknowledged by many
Unique Rep: 130
Trader Rating: 0
Default

Good work Melcar. We should get all your ATI tutorials stickied since ATI questions come up so often.
__________________


"I can't bring myself to try Linux Mint because they keep naming the OS after ex-girlfriends or women I've had bad run ins with. Cassandra was a sexual harassing shift manager. And Felicia was a stalker who knew how to turn a good day into a hellish experience in 0-60." -- Anub1s from BBR forums

System: Windows Immune
CPU
X2 4000+ Brisbane@2.8 GHZ
Motherboard
Gigabyte GA-M57SLI-S4
Memory
1x2 GB Corsair XMS2 PC6400
Graphics Card
Geforce 8400GS
Hard Drive
WD5000AAKS 500GB SATA
Sound Card
Soundblaster Live! 5.1
Power Supply
Xclio X14-S4P3 500W
Case
NZXT Lexa Blackline
CPU cooling
Rosewill RCX-Z940-LX (lapped)
OS
Gentoo X86_64
Monitor
Asus VH242 24" 1920x1080p
thiussat is offline   Reply With Quote
Old 06-05-09   #3 (permalink)
Linux Lobbyist
 
SilentPixel's Avatar
 
intel nvidia

Join Date: May 2008
Location: /home/ZA/jhb
Posts: 342

Rep: 44 SilentPixel is acknowledged by some
Unique Rep: 32
Trader Rating: 0
Default

yeah, great guides, I'm sure they'll help out a lot of people with linux/ati related issues
__________________
mybrute
myminicity
The Tux Club

Proud Member of the Linux Gaming Community

System: Etern4lDragon
CPU
Q8200 / 2.33GHz
Motherboard
Intel DP35DP
Memory
2 x 2GB Transcend Jetram DDR800
Graphics Card
8800GT
Hard Drive
250GB SATA
Sound Card
Onboard
Power Supply
Raidmax Volcano 530W
Case
Antec Sonata III
CPU cooling
ThermalRight Ultra 120 Extreme
GPU cooling
Stock
OS
Arch Linux 32bit
Monitor
Samsung 2494HS
SilentPixel is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 09:25 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.12205 seconds with 8 queries