Bitcoin Forum

Bitcoin => Mining support => Topic started by: shakaru on September 25, 2011, 05:37:20 PM



Title: Linuxcoin help
Post by: shakaru on September 25, 2011, 05:37:20 PM
So I made this linuxcoin distro to run 6 5830s on a msi870-gd65 & gd70. My start.sh is pretty simple but I run into problems.

In build 1 I ran 3 copies of CGMiner with two cards on each. Woke up to 2 copies offline and one card dead. So I went to 1 copy. Higher hash rate, but what I want to know is how I can make something that will dectect when the cards temp reaches a low level and restart the os. Any ideas?


Title: Re: Linuxcoin help
Post by: ovidiusoft on September 25, 2011, 06:28:47 PM
You could write a script that parses the output of aticonfig and run it every x seconds. For example,
Code:
aticonfig --adapter=ID --odgc | grep 'GPU load' | awk '{ print $4; }'
will give you the load. If it's not 99%, card is not used...


Title: Re: Linuxcoin help
Post by: jjiimm_64 on September 27, 2011, 02:11:36 AM
You could write a script that parses the output of aticonfig and run it every x seconds. For example,
Code:
aticonfig --adapter=ID --odgc | grep 'GPU load' | awk '{ print $4; }'
will give you the load. If it's not 99%, card is not used...

I just watch the temps to make sure there is a load.

watch -n 2 aticonfig --adapter=all --odgt


here is a couple of commands that I have in a file that I always use. 

aticonfig --od-enable

aticonfig --adapter=all --od-setclocks=920,400

aticonfig --adapter=all --odgc

DISPLAY=:0.1 aticonfig --pplib-cmd "set fanspeed 0 70"

DISPLAY=:0.3 aticonfig --pplib-cmd "get fanspeed 0"

for i in 0 1 2 3 4; do   DISPLAY=:0.$i aticonfig --pplib-cmd "get fanspeed 0"; done


Title: Re: Linuxcoin help
Post by: Crypt_Current on October 14, 2011, 06:12:49 PM
this thread helped me quite a bit:

https://bitcointalk.org/index.php?topic=29021.0