Bitcoin Forum
June 28, 2024, 10:59:49 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: GPU Fan Control  (Read 2161 times)
LawrenceZA (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 06, 2012, 08:50:51 AM
 #1

Hi guys,

I've got a couple GPUs up and running with Reaper on Ubuntu mining LTCs but they're running at about 80c and I'm not 100% happy with that.
Is there a way that I can set the fan speed manually within Reaper or the OS?

Thanks,

LawrenceZA
-ck
Legendary
*
Offline Offline

Activity: 4144
Merit: 1638


Ruu \o/


View Profile WWW
November 06, 2012, 08:58:29 AM
 #2

cgminer mines LTC and has fan control built in.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
LawrenceZA (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 06, 2012, 12:57:49 PM
 #3

I've tried cgminer with the same parameters as what I use in reaper and got a lot of hardware errors.
After doing some reading I believe this is because I'm using the latest ATI SDK but I didn't want to roll back just for the fans. I thought that setting the fans to max some other way would be the easiest.
xx78213
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
November 06, 2012, 04:56:34 PM
 #4

If you have AMD drivers, the catalyst icon in the bottom right allows you to control it.
2GOOD
Hero Member
*****
Offline Offline

Activity: 547
Merit: 531


First bits: 12good


View Profile WWW
November 06, 2012, 07:03:11 PM
 #5

You can set it from terminal too:

Code:
DISPLAY=:0.0 aticonfig --pplib-cmd "set fanspeed 0 65"

This line sets GPU 0 fan speed at 65%

To set GPU1:
Code:
DISPLAY=:0.1 aticonfig --pplib-cmd "set fanspeed 0 65"

or u can use this script to set a target temp:

setfanspeed.sh
Code:
#!/bin/bash

MAXSPD=80
MINSPD=40

if [ $# -lt 2 ];
then
        echo "Usage: setfantemp.sh <deviceid> <temp>"
        exit 1
fi

DEVICE=$1
SETTEMP=$2

export DISPLAY=:0.${DEVICE}
aticonfig --pplib-cmd "set fanspeed 0 55"

while true;
do
        CURTEMP=`aticonfig --adapter=${DEVICE} --odgt | grep Temp | sed  's/.* \([0-9]*[0-9][0-9]\)\..*/\1/'`
        CURSPD=`aticonfig --pplib-cmd "get fanspeed 0" | grep Result | sed  's/.* \([0-9]*[0-9][0-9]\)\%.*/\1/'`

        echo -n "Set temp: ${SETTEMP}C Current temp: ${CURTEMP}C Current speed: ${CURSPD}% - "

        if [ "${CURTEMP}" -ne "${SETTEMP}" ]; then
                if [ "${CURTEMP}" -lt "${SETTEMP}" ]; then
                        NEWSPD=$((${CURSPD} - 1))
                        if [ "${NEWSPD}" -lt "${MINSPD}" ]; then
                                echo "MIN speed limit"
                        else
                                echo "Decreasing speed to ${NEWSPD}"
aticonfig --pplib-cmd "set fanspeed 0 ${NEWSPD}"
                        fi
                else
                        NEWSPD=$((${CURSPD} + 1))
                        if [ "${NEWSPD}" -gt "${MAXSPD}" ]; then
                                echo "MAX speed limit"
                        else
                                echo "Increasing speed to ${NEWSPD}"
                                aticonfig --pplib-cmd "set fanspeed 0 ${NEWSPD}"
                        fi
                fi
        else
                echo "Stable"
        fi
        sleep 20
done

LawrenceZA (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
November 07, 2012, 10:06:12 AM
 #6

Awesome thanks so much 2GOOD.
Please pm me a LTC address if you have one so that I can send you some coins.
2GOOD
Hero Member
*****
Offline Offline

Activity: 547
Merit: 531


First bits: 12good


View Profile WWW
November 10, 2012, 10:43:56 AM
 #7

Awesome thanks so much 2GOOD.
Please pm me a LTC address if you have one so that I can send you some coins.

I received the coins.

That was very kind of you. Thank you Smiley

brudog
Member
**
Offline Offline

Activity: 79
Merit: 10



View Profile
November 11, 2012, 03:37:28 AM
 #8

  Hi LawrenceZA,I'm mining litecoins on1 of my rigs with 2-6870's and a 6850.I use reaper and MSI Afterburner to clock and set fan speeds.Had it at 728 khs today,usually around 648 khs though.One 6870 has an aftermarket cooler I run the fans 100% to keep it at 80c.HIS really bombed out on the stock cooler.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!