Bitcoin Forum
November 15, 2024, 08:57:30 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Setting fan speed in Ubuntu 12.04  (Read 2654 times)
walruscode (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 12, 2013, 09:44:46 PM
Last edit: March 13, 2013, 05:11:11 AM by walruscode
 #1

Hello. I have a multi-card mining rig with a 7970 (reference) and a 5870 (dual-fan Gigabyte) that I am trying to switch over to Ubuntu. I get good hashing speeds with cgminer for my 7970 (~625KH/s), but cgminer doesn't seem to recognize my 5870. Here is the error I encounter:
Code:
ADL found more devices than opencl!
There is possibly at least one GPU that doesn't support OpenCL
Use the gpu map feature to reliably map OpenCL to ADL
Warning: Number of OpenCL and ADL devices did not match!
Hardware monitoring may NOT match up with devices!
I followed this guide to set up my environment (started from a clean Xubuntu 12.04 installation): https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/edit?pli=1#heading=h.5fyesmmywpnz

It would be nice to at least get the 5870 working with cgminer, even though I don't intend to use cgminer to mine on the 5870. I'm now having trouble with AMDOverdriveCtrl. I need to set the clocks/fan speed of my 5870 using aticonfig (clocks) and AMDOverdriveCtrl (fan speed) because reaper will not do this for me. While AMDOverdriveCtrl recognizes both my 7970 and my 5870, it will only use the adapter for my 7970. Here is the output of "AMDOverdriveCtrl -h":
Code:
$ AMDOverdriveCtrl -h
INF: Nr. of Adapters: 9
INF: Adapter index: 0, active, ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 1, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 2, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 3, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 4, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 5, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 6, active, ID:-712290400, ATI Radeon HD 5800 Series
INF: Adapter index: 7, inact., ID:-712290400, ATI Radeon HD 5800 Series
INF: Adapter index: 8, inact., ID:-712290400, ATI Radeon HD 5800 Series
Usage: AMDOverdriveCtrl [-h] [-b] [-a] [-c <num>] [-i <num>] [-n] [profile name]
  -h, --help               displays help on the command line parameters
  -b, --batch-mode         only set profile, no GUI
  -a, --enable-app-profiles activate the app profile feature
  -c, --color-temp=<num>   set color temperature
  -i, --adapter-index=<num> choose adapter index (taken from console output)
  -n, --no-warnings         don't display any warnings at startup
And here is what happens when I try to use adapter 6 (the 5870):
Code:
$ AMDOverdriveCtrl -i 6
INF: Nr. of Adapters: 9
INF: Adapter index: 0, active, ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 1, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 2, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 3, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 4, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 5, inact., ID:-715032560, AMD Radeon HD 7900 Series
INF: Adapter index: 6, active, ID:-712290400, ATI Radeon HD 5800 Series
INF: Adapter index: 7, inact., ID:-712290400, ATI Radeon HD 5800 Series
INF: Adapter index: 8, inact., ID:-712290400, ATI Radeon HD 5800 Series
INF: Adapter index 6 choosen.
*** glibc detected *** AMDOverdriveCtrl: malloc(): memory corruption (fast): 0x0000000001c06860 ***
Can anyone help me get AMDOverdriveCtrl working for my 5870, or suggest another method of setting the fan speed without using AMDOverdriveCtrl? Thanks in advance.

EDIT: In addition, Reaper does not recognize my 5870.
koinnabber
Newbie
*
Offline Offline

Activity: 10
Merit: 0



View Profile
March 13, 2013, 04:33:53 AM
 #2

check your bios settings  Wink
walruscode (OP)
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
March 13, 2013, 05:08:01 AM
 #3

check your bios settings  Wink
And what should I be looking for in my bios settings? My 5870 just got back from warranty work today, so the bios should be set to factory settings.
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
March 13, 2013, 05:10:38 AM
 #4

Did you do a proper reconfigure of xorg.conf?

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

Did you export your display variable after xorg is started before mining?

Code:
export DISPLAY=:0

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

Activity: 32
Merit: 0


View Profile
March 13, 2013, 05:19:45 AM
 #5

Did you do a proper reconfigure of xorg.conf?

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

Did you export your display variable after xorg is started before mining?

Code:
export DISPLAY=:0
I could have sworn I did the first command, but I went ahead and did it again and rebooted. I was forgetting to export the display variable; after doing so, everything (except for AMDOverdriveCtrl) is working wonderfully! Thank you!
Buffer Overflow
Legendary
*
Offline Offline

Activity: 1652
Merit: 1016



View Profile
March 13, 2013, 05:25:37 AM
 #6

I have always set my GPU fan speed by flashing it's bios with an modified version. Never been keen on software solutions.

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!