Bitcoin Forum

Bitcoin => Mining => Topic started by: biomann on June 20, 2011, 01:25:44 PM



Title: automatic fanspeed depending on gpu temperature (linux)
Post by: biomann on June 20, 2011, 01:25:44 PM
Hey guys,

i wrote a script which controls the GPUs fanspeed depending on its temperature on linux-machines. I am using this scripts for some days now and it runs just fine.

You can find the script here:

http://pastebin.com/kz1Fsb1Z

I wrote a script which starts mining, overclocks my cards and starts this script for each card.

The recommended way to use this script is running it in a screen-session. For running this on your first GPU start the script like this:

screen -dmS fan0 /home/{username}/autofan.sh 0

IŽd like to receive some feedback on this, i hope it will be useful to you.


Title: Re: automatic fanspeed depending on gpu temperature (linux)
Post by: alexdrans on June 20, 2011, 02:36:09 PM
I personally use AMDOverdriveCtrl - It's a GUI program that allows you to set fan profiles, overclock and displays relevant information on separate tabs.


Title: Re: automatic fanspeed depending on gpu temperature (linux)
Post by: biomann on June 20, 2011, 05:10:07 PM
Thats okay, if you use an OS with a GUI. Some people, including me, are using headless systems for bitcoin-mining or dont want to use other tools than aticonfig.


Title: Re: automatic fanspeed depending on gpu temperature (linux)
Post by: hugolp on June 20, 2011, 05:19:33 PM
Thats okay, if you use an OS with a GUI. Some people, including me, are using headless systems for bitcoin-mining or dont want to use other tools than aticonfig.

You can use AMDOverdriveCtrl headless. Basically you create on your own or use the GUI to create a config file, edit the config file how you like it and then:

Code:
AMDOverdriveCtrl -i 0 -b device0.ovdr

The device with id 0 gets configured with the parameters in the file device0.ovdr, including the fan temperature to fan speed curves.


Title: Re: automatic fanspeed depending on gpu temperature (linux)
Post by: Zagitta on June 20, 2011, 05:50:50 PM
Do you think you could add the option to take VRM temps into consideration? They're possible to get with Radeonvolt for those of us who are using 5850's :)

the ouput looks like this:

Code:

zagitta@Server:~$ sudo ./radeonvolt/radeonvolt

Device [1]: Cypress [Radeon HD 5800 Series]
        Current core voltage: 1.2000 V
        Presets: 1.0000 / 1.0375 / 1.2000 / 0.9500 V
        Core power draw: 84.48 A (101.38 W)
        VRM temperatures: 119 / 120 / 111 C