Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: carlo on January 04, 2012, 12:20:57 PM



Title: get rpm of your gpu with aticonfig / shellscript
Post by: carlo on January 04, 2012, 12:20:57 PM
Hello,

today i had a dead fan, i run a munin plugin to get the fan percentage, but now i wanna read the rpm. Any Ideas ?
I didnt find anything at the "aticonfig" man pages. Maybe there is a easy way that i dont see at the moment.

thx and cheers
carlo


Title: Re: get rpm of your gpu with aticonfig / shellscript
Post by: ThiagoCMC on January 04, 2012, 08:39:59 PM
Same here... 5870 FAN dead...

Anyway, you mean this:

Code:
aticonfig --pplib-cmd "get fanspeed 0"
  ???

You can try new cgminer with RPC features... It can be much more easy to monitor it via nagios/munin, for example...


Title: Re: get rpm of your gpu with aticonfig / shellscript
Post by: carlo on January 04, 2012, 08:55:01 PM
Code:
Fan speed query:
Query Index: 0, Speed in percent
Result: Fan Speed: 33%

I need the real rpm value not the percent value.

Hmmm i take a look into cgminer, but maybe there is a easier way.


Title: Re: get rpm of your gpu with aticonfig / shellscript
Post by: dizzy1 on January 18, 2012, 10:11:40 PM

I don't know of anyway in aticonfig to get rpm but Glakkeclock works. You just have to set it to output in rpm.

Code:
glakkeclock -OCft RPM
glakkeclock -OGf

First one sets to rpm output mode and second returns the rpm.

https://github.com/Glakke/glakkeclock


Title: Re: get rpm of your gpu with aticonfig / shellscript
Post by: -ck on January 19, 2012, 10:31:53 PM
Some devices only report fan percent, not RPM. cgminer tries to report the RPM but only if it's supported by the device, and then defaults back to percentage if it supports that.


Title: Re: get rpm of your gpu with aticonfig / shellscript
Post by: jjiimm_64 on January 21, 2012, 06:34:28 PM
back when I used the gui in linux, I used the following often

to continually watch temps:
Code:
watch -n 2 aticonfig --adapter=all --odgt

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

to set one fan speed:
Code:
DISPLAY=:0.1 aticonfig --pplib-cmd "set fanspeed 0 70"


to get all fan speeds: (if you have 5970, ex: 0 2 4 6)
Code:
for i in 0 1 2 3 4; do   DISPLAY=:0.$i aticonfig --pplib-cmd "get fanspeed 0"; done