Title: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 03, 2011, 11:12:59 PM 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 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 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 Here's the full command-line help: Code: Usage: atitweak [options] 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 (http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx). 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: kripz on July 04, 2011, 12:10:28 AM As far as im aware, the original AMDOverdriveCtrl cant actually raise the voltage above the default? Can this?
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 04, 2011, 12:19:19 AM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Vladimir on July 04, 2011, 12:30:48 AM 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.
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Rob P. on July 04, 2011, 11:38:07 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: kripz on July 04, 2011, 12:00:33 PM 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? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: teukon on July 04, 2011, 02:20:19 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: xarly1 on July 04, 2011, 02:51:15 PM 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 ;) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gyzer on July 04, 2011, 04:09:57 PM 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.
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 04, 2011, 05:19:58 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lebish on July 04, 2011, 06:46:29 PM Woo, finally! Ty much, will be testing this soon ^.^
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Rob P. on July 05, 2011, 12:52:32 PM 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 Where $1 represents the adapter # of the GPU. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: brunoshady on July 08, 2011, 04:45:35 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 11, 2011, 09:18:02 PM 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? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: padrino on July 11, 2011, 11:27:44 PM 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.
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: brunoshady on July 12, 2011, 02:37:31 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: linkme on July 12, 2011, 02:41:17 AM 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 :) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: dishwara on July 12, 2011, 05:41:27 PM 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 Thanks. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: marcus_of_augustus on July 12, 2011, 10:12:43 PM Good stuff mjmvisser ... ! Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: coblee on July 12, 2011, 10:22:36 PM Good stuff mjmvisser ... ! Yeah, seriously good stuff. Do you have a donation address? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: plantucha on July 16, 2011, 11:27:02 PM 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 Code: michal@rig:~/adl3$ atitweak -v 1.20 -P 2 --adapter=all Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 17, 2011, 08:32:22 PM UPDATE: adl3 v0.3
Features: I've added a few more parameters to atitweak: Code: -f / --set-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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: coblee on July 17, 2011, 09:09:13 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 17, 2011, 10:25:35 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: coblee on July 17, 2011, 11:17:55 PM It worked. Thanks.
Code: mining@miner1:~$ atitweak -s Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: krzynek1 on July 18, 2011, 06:00:51 PM mjmvisser, can your tool oc over bios limitations ? or if not now, maybe in future ?
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 18, 2011, 11:58:12 PM 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 (http://"https://github.com/ius/radeonvolt"). It doesn't work on my cards (not reference 5850s), so you're on your own there. cheers, -Mark Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: krzynek1 on July 19, 2011, 05:53:29 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 19, 2011, 07:42:32 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Rob P. on July 19, 2011, 08:02:39 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: krzynek1 on July 19, 2011, 08:13:45 PM i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits :(
with 11.6 and 11.7 u can set whatever you want, but cpu usage bug forces me to rollback to 11.5 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 19, 2011, 10:01:48 PM i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits :( 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: plantucha on July 19, 2011, 10:18:35 PM i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits :( 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: TripHammer on July 21, 2011, 04:38:44 AM Hows the next version coming? any luck with the i2c
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: marcus_of_augustus on July 21, 2011, 07:12:01 AM Hows the next version coming? any luck with the i2c Donations may speed your requests along? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 23, 2011, 04:22:21 PM 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.
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Tereska on July 23, 2011, 10:30:41 PM 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$ Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: krzynek1 on July 24, 2011, 05:51:45 PM i can overclock on 11.5, using amdoverdrivectrl to downclock mem outside bios limits, and gpu clock rise only to bios limits :( 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: cyrusfox on July 26, 2011, 02:47:25 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lodcrappo on July 26, 2011, 08:08:58 AM 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!
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 26, 2011, 06:14:22 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 26, 2011, 06:21:19 PM 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" 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 26, 2011, 06:27:23 PM UPDATE: adl3 v0.4
sudo easy_install --upgrade adl3 Features: - Windows support (thanks to Jakub Lekstan (https://github.com/kuebk/adl3)) 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Tereska on July 26, 2011, 06:30:11 PM mine looks like this:
Code: Section "ServerLayout" ------ atitweak -l Code: 0. ATI Radeon HD 5800 Series () what could be wrong? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on July 26, 2011, 06:55:26 PM 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 /donation sent :) thanks for the work Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: fitty on July 27, 2011, 02:59:40 AM 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. =) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: dishwara on July 27, 2011, 06:36:22 AM UPDATE: adl3 v0.4 sudo easy_install --upgrade adl3 Features: - Windows support (thanks to Jakub Lekstan (https://github.com/kuebk/adl3)) Windows support? How to run in windows? What other things required to run in windows? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: cicada on July 27, 2011, 08:12:09 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: coblee on July 27, 2011, 08:17:12 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 27, 2011, 09:51:43 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on July 27, 2011, 09:54:56 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on July 29, 2011, 04:38:32 PM 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? ??? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on July 29, 2011, 11:57:09 PM 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? ??? 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: dishwara on July 30, 2011, 04:10:18 AM 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? ??? 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. Also ur code has many mistakes. for core clock "-c" is used, for adapter "-a" small a, NOT capital a must be used. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on July 30, 2011, 04:48:59 AM From the help page:
Code: -e ENGINE_CLOCK, --set-engine-clock=ENGINE_CLOCK From my rig: Code: root@miner:/etc/bamt# atitweak -e 900 -m 800 -A 0 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on July 30, 2011, 06:48:10 AM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: EskimoBob on July 30, 2011, 09:53:51 AM 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 Code: aticonfig --help: Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on July 30, 2011, 08:12:04 PM 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 Code: aticonfig --help: 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: djex on July 30, 2011, 10:00:23 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: Tartarus on July 31, 2011, 02:54:39 AM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: BkkCoins on July 31, 2011, 05:42:21 AM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: cyrusfox on August 01, 2011, 03:25:53 AM 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 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 (http://www.linuxcoin.co.uk/wiki/index.php/Overclocking) 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on August 02, 2011, 04:56:22 AM 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 (http://www.linuxcoin.co.uk/wiki/index.php/Overclocking) 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: dishwara on August 02, 2011, 05:09:47 AM Code: atitweak -e 900 -m 800 -f 80 -e for core clock? i thought -c Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on August 10, 2011, 08:56:35 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on August 11, 2011, 12:10:00 AM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on August 11, 2011, 05:21:26 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on August 11, 2011, 06:45:10 AM 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 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 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mrballcb on August 11, 2011, 07:37:48 PM 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" 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on August 11, 2011, 11:57:01 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: deti on August 12, 2011, 01:29:27 PM When I try atitweak over SSH I get this:
Code: # atitweak -l Running atitweak on the computer itself works. What can I do to control the cards from outside? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on August 12, 2011, 04:17:29 PM When I try atitweak over SSH I get this: Code: # atitweak -l Running atitweak on the computer itself works. What can I do to control the cards from outside? Try: Code: DISPLAY=:0 atitweak -l Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: deti on August 13, 2011, 01:10:15 PM When I try atitweak over SSH I get this: Code: # atitweak -l 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 :( Code: # DISPLAY=:0 atitweak -l Curious, the help page is displayed: Code: # atitweak -h Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on August 13, 2011, 02:03:25 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: deti on August 13, 2011, 02:22:27 PM 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 Code: # aticonfig --odgc --adapter=all I've see the ADL error before when adding cards. Try initial config then reboot This makes no difference.Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on August 13, 2011, 05:56:33 PM 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??
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on August 14, 2011, 10:17:03 AM When it says that X needs to be running, try running it as sudo. It should get over that problem
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: deti on August 15, 2011, 02:44:19 PM You will need to set DISPLAY=:0 for --odsc I think. ? Code: # DISPLAY=:0 atitweak -l 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? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: deti on August 17, 2011, 11:23:38 AM Here is a solution for my problem with the SSH access:
Code: ssh -X user@<your_ip> Thanks to drgr33n at https://bitcointalk.org/index.php?topic=7374.1272 (https://bitcointalk.org/index.php?topic=7374.1272) (post #1272) The xauth merge ... may output an error, don't be irritated, continue ;) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: deti on August 17, 2011, 05:57:01 PM 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).
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on August 18, 2011, 06:29:50 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: m0w3r on August 20, 2011, 03:11:22 PM Thanks OP, donation sent also.
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mmartoccia on September 19, 2011, 02:58:11 PM 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 No matter what I set, it always returns the same failed code. Any ideas? TIA Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on October 25, 2011, 01:18:32 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on October 28, 2011, 06:14:43 PM 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! Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on October 29, 2011, 05:45:51 AM 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! Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: amazingrando on October 29, 2011, 09:58:12 PM 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! Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on November 18, 2011, 01:54:36 AM 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 (http://bit.ly/trXI0U) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on November 22, 2011, 03:24:41 PM 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) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: j0800 on January 18, 2012, 06:53:19 AM 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 (http://wiki.archlinux.org/index.php/ATI_Catalyst) = catalyst 11.12(-1) (https://aur.archlinux.org/packages.php?ID=31914), amdstream 2.6(-1) (https://aur.archlinux.org/packages.php?ID=21933), 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: ArtForz on January 18, 2012, 05:06:32 PM for some reason you have to manually load libXext before libatiadlxx
Code: --- a/adl_api.py 2012-01-18 18:04:59.199777656 +0100 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on February 02, 2012, 08:08:33 PM 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.
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on February 02, 2012, 08:35:51 PM 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! Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: ummas on February 03, 2012, 03:07:14 AM @lueo
is it possible to read VRM temp`s in the future ?? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: lueo on February 03, 2012, 04:25:08 PM 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 (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 ?? Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on February 03, 2012, 08:53:08 PM 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 (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. :-) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: ummas on February 04, 2012, 08:31:37 AM 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 :P 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: bogesman on March 10, 2012, 10:24:50 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: omo on March 11, 2012, 02:19:23 PM I tried this with 7970 under linux and it works!
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: bogesman on July 19, 2012, 07:18:14 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: burnside on July 30, 2012, 04:34:30 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: robertrex on August 06, 2012, 01:24:06 PM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: gnar1ta$ on August 06, 2012, 05:48:16 PM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: sephtin on March 01, 2013, 03:28:02 AM 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... :) Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: kasus on March 16, 2013, 11:39:54 AM 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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: .m. on March 30, 2013, 01:36:08 PM 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 :( Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: mjmvisser on April 02, 2013, 03:05:11 AM 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 Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: prandelicious on April 19, 2013, 02:13:42 AM 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?
Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: swordfish6975 on May 08, 2013, 02:03:45 PM 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... :) 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. //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. Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: sephtin on May 08, 2013, 08:28:59 PM 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... Title: Re: New command-line tool for overclocking ATI cards (Linux) Post by: swordfish6975 on May 10, 2013, 11:09:14 AM 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 (https://forum.litecoin.net/index.php?topic=1745.30) Considering that I haven't tried 0.962v yet Now for the part some people wont want to hear, I hex edited the bios :P Update: Got two 7950s doing ~585kh/s each the whole rig is pulling 460W at the wall (same inefficient motherboard) voltage at 0.950 |