Bitcoin Forum
December 10, 2024, 07:30:31 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Mining software (miners) / Re: Error on Debian with DiabloMiner on: July 26, 2011, 02:12:12 AM
You need to give it some arguments, username, etc. For pooled mining: https://github.com/Diablo-D3/DiabloMiner/wiki/Pooled-Mining

2  Bitcoin / Mining software (miners) / Re: Any linux script for maintain GPU temp? (changing fan speed) on: July 13, 2011, 08:21:21 PM
swivel, could you add something in it with starting fan speed? something like 50%...


when I turn on the script, it's starts from the idle and until get to the desired speed, the GPU gets very hot, even with sleep 5


could be done?


and works like a charm, thank you very much

Yup just add the following after the export line:

Code:
export DISPLAY=:0.${DEVICE}
aticonfig --pplib-cmd "set fanspeed 0 50"
3  Bitcoin / Mining software (miners) / Re: Any linux script for maintain GPU temp? (changing fan speed) on: July 12, 2011, 10:46:34 PM

I didn't test yet, but seems good for my porpose... I will test later today, but I have one question.

this line is correct?


Code:
        CURSPD=`aticonfig --pplib-cmd "get fanspeed 0" | grep Result | sed  's/.* \([0-9]*[0-9][0-9]\)\%.*/\1/'`

the get fanspeed 0 part... is 0 for device?
if yes, I will just change it to 1 over device 2, correct?

Yes that's correct. aticonfig get the parameters for the card according to the DISPLAY variable. The DISPLAY variable has the device number assigned to it:

Code:
export DISPLAY=:0.${DEVICE}
4  Bitcoin / Mining / Re: Mining rigs "after Bitcoin" on: July 10, 2011, 09:18:10 AM
Render farm.
5  Other / CPU/GPU Bitcoin mining hardware / Re: External gpu? on: July 10, 2011, 08:25:12 AM
Build your own. You just need a PCI-e expansion chassis. Speaking of has any one used one of these http://www.dell.com/us/business/p/poweredge-c410x/pd
6  Bitcoin / Mining software (miners) / Re: Any linux script for maintain GPU temp? (changing fan speed) on: July 09, 2011, 04:57:01 AM
OK I think this is more what you want.

Code:
#!/bin/bash

MAXSPD=80
MINSPD=20

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 ${MAXSPD}"

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}"
                        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 10
done


Save to setfantemp.sh. To run:

Code:
# ./setfantemp.sh 0 55 &

That will set your target temperature for card 0 to 55C. The script will adjust the fan speed to hit that target.

Max fan speed and min fan speed are hard coded in the script to be 80% and 20% respectively. You can raise the max speed if your card isn't getting cooled to your target temp.

7  Bitcoin / Mining software (miners) / Re: Any linux script for maintain GPU temp? (changing fan speed) on: July 08, 2011, 11:32:30 PM
Here's a simple shell script. Save as fanmon.sh.

Code:
#!/bin/bash

DEVICE=$1
if [ "${DEVICE}" == "" ];
then
        echo "Usage: fanmon.sh <deviceid>"
        exit 1
fi

# temp levels in C
# fan speeds in %
MAXTEMP=80
MAXFAN=99

MIDTEMP=60
MIDFAN=70

MINTEMP=40
MINFAN=50

IDLEFAN=20
LASTTEMP=0

export DISPLAY=:0.${DEVICE}

while true;
do
        TEMP=`aticonfig --adapter=${DEVICE} --odgt | grep Temp | sed  's/.* \([0-9]*[0-9][0-9]\)\..*/\1/'`
        if [ "${TEMP}" -ne "${LASTTEMP}" ];
        then
                echo -n "Temp: ${TEMP}C "
                if [ "${TEMP}" -gt "${MAXTEMP}" ];
                then
                        echo "setting fan speed ${MAXFAN}%"
                        aticonfig --pplib-cmd "set fanspeed 0 ${MAXFAN}"
                elif [ "${TEMP} -gt ${MIDTEMP}" ];
                then
                        echo "setting fan speed ${MIDFAN}%"
                        aticonfig --pplib-cmd "set fanspeed 0 ${MIDFAN}"
                elif [ "${TEMP} -gt ${MINTEMP}" ];
                then
                        echo "setting fan speed ${MINFAN}%"
                        aticonfig --pplib-cmd "set fanspeed 0 ${MINFAN}"
                else
                        echo "setting fan speed ${IDLEFAN}%"
                        aticonfig --pplib-cmd "set fanspeed 0 ${IDLEFAN}"
                fi
        fi
        LASTTEMP=${TEMP}
        sleep 10
done


Run it like so:
Code:
# ./fanmon.sh 0 &

Adjust the temperature thresholds so the fan speed doesn't jump up and down.
8  Other / CPU/GPU Bitcoin mining hardware / Re: Ubuntu 11.04, Dual 5850 issues on: July 08, 2011, 09:15:01 AM
You should have two screen sections one for each card. See my xorg.conf. Change the PCI bus ID for the second card. Mine is on PCI:3:0:0 yours is PCI:2:0:0.
9  Bitcoin / Mining support / Re: Step-By-Step guide on how setup a GPU miner w/ mining pool? Mac OS X on: July 08, 2011, 09:07:05 AM
Frankly I'd recommend installing Windows using Bootcamp, overclocking your card with MSI Afterburner and then using poclbm. Gave me a much higher hashrate than using Diablominer in OS X.

It's supposedly better in 10.7 Lion.
10  Bitcoin / Mining support / Re: Step-By-Step guide on how setup a GPU miner w/ mining pool? Mac OS X on: July 08, 2011, 08:19:22 AM
Here's a GUI front end to Diablo Miner for Mac if you don't want to mess with the terminal: http://forum.bitcoin.org/index.php?topic=8994.0
11  Other / Beginners & Help / Re: Only able to access first GPU on: July 08, 2011, 04:28:04 AM
First adapter:

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

Second adapter:

Code:
DISPLAY=:0.1 aticonfig --pplib-cmd "set fanspeed 0 80"
12  Other / Beginners & Help / Re: Total Lack of Linux Software on: July 08, 2011, 04:04:26 AM
You can overclock beyond BIOS limits using the new Catalyst 11.6 drivers without having to reflash. You can underclock memory to 300 using AMDOverdrivectrl. Not sure you gain much going below 300. There are also 3-5% gains with some of the changes to the phatk kernel. Do a search.

If you're going through the trouble of installing the latest drivers, setting up the APP SDK and compiling PyOpenCL to get your miner working why bother with a GUI when a 2 line shell script will do.
13  Other / Beginners & Help / Re: Introduce yourself :) on: July 08, 2011, 02:44:01 AM
So this is where you come to pad your post count.
14  Other / Beginners & Help / Re: Only able to access first GPU on: July 08, 2011, 02:35:09 AM
Try:

Code:
sudo aticonfig --initial --adapter=all -f

then reboot / restart X.
15  Other / Beginners & Help / Re: Easy/fast way to protect wallet.dat (by cyphering) on: July 08, 2011, 02:28:33 AM
I use this method but with TWOFISH cipher instead of the default CAST5.

Code:
gpg -c --cipher-algo twofish wallet.dat
16  Other / Beginners & Help / Re: Need some help (easy questions) on: July 07, 2011, 05:34:51 AM
Try and underclock the memory. That should drop temps. Are you running stock clocks? 168Mh/s seems low for a 5770.
17  Other / Beginners & Help / Re: further improved phatk OpenCL kernel (> 2% increase) for Phoenix - 2011-07-06 on: July 07, 2011, 05:15:47 AM
Nice work! Plugged in the 2011-07-06 kernel to phoenix and saw my 5850 jump from 348 Mhash/s to 354 Mhash/s.


Debian sid 64-bit
Catalyst 11.6 and AMD APP 2.4 SDK
phoenix 1.50 with VECTORS BFI_INT WORKSIZE=256 AGGRESSION=12
XFX 5850 BE 860 core 300 memory stock voltage fan speed at 55% temp at 61C

Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!