Bitcoin Forum
May 08, 2024, 09:34:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unable to detect more than 1 GPU in Ubuntu 12.04  (Read 1742 times)
Vigil (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
May 16, 2013, 11:59:41 PM
 #1

So I had three of my 7950 cards running in Windows and one 7950 in Ubuntu but finally consolidated them to a dedicated Ubuntu 12,04 platform so I could get my main system back. However, I am unable to get more than one GPU detected and running in CGminer. I have followed all instructions at this site:

http://decryption.wordpress.com/2013/04/22/mining-litecoin-with-cgminer-ubuntu-12-10/

I have also substituted the AMD-SDK 2.7 for 2.8 and used 12.8 drivers instead of 13.1. Still doesn't work. I though maybe I needed the dummy monitors for the GPUs so I tried hooking up a monitor to one of the other GPUs, still only detects one.

Any suggestions would be appreciated.
1715160891
Hero Member
*
Offline Offline

Posts: 1715160891

View Profile Personal Message (Offline)

Ignore
1715160891
Reply with quote  #2

1715160891
Report to moderator
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715160891
Hero Member
*
Offline Offline

Posts: 1715160891

View Profile Personal Message (Offline)

Ignore
1715160891
Reply with quote  #2

1715160891
Report to moderator
1715160891
Hero Member
*
Offline Offline

Posts: 1715160891

View Profile Personal Message (Offline)

Ignore
1715160891
Reply with quote  #2

1715160891
Report to moderator
Vigil (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
May 17, 2013, 02:23:12 AM
 #2

I think maybe my CFLAGS aren't set correctly...

Here is what I set it to:
Code:
 CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/"


And it isn't reflected after the ./configure

Quote
Compilation............: make (or gmake)
  CPPFLAGS.............:
  CFLAGS...............: -g -O2
  LDFLAGS..............:  -lpthread
  LDADD................: -ldl -lcurl   compat/jansson/libjansson.a -lpthread -L/opt/AMDAPP/lib/x86_64 -lOpenCL    -lm 

Installation...........: make install (as root if needed, with 'su' or 'sudo')
  prefix...............: /usr/local
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 17, 2013, 10:33:05 AM
 #3

Reconfigure xorg to use more GPUs
Code:
sudo aticonfig -f --adapter=all --initial

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

Activity: 37
Merit: 0


View Profile
May 17, 2013, 05:08:31 PM
 #4

have similar problem, but I also have same problem under Windows.
will try the suggestions, thanks
Vigil (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
May 17, 2013, 08:47:15 PM
 #5

Reconfigure xorg to use more GPUs
Code:
sudo aticonfig -f --adapter=all --initial


Thanks... but I've tried - Ati recognizes cards but CGMiner does not:

Code:
~$ aticonfig --lsa
* 0. 01:00.0 AMD Radeon HD 7900 Series
  1. 00:01.0 AMD Radeon HD 7480D
  2. 02:00.0 AMD Radeon HD 7900 Series
  3. 03:00.0 AMD Radeon HD 7900 Series
  4. 05:00.0 AMD Radeon HD 7900 Series

Here is the CGMiner configuration:

Code:
./cgminer -n
 [2013-05-17 16:46:01] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2013-05-17 16:46:01] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2013-05-17 16:46:01] CL Platform 0 version: OpenCL 1.2 AMD-APP (1084.4)                    
 [2013-05-17 16:46:01] Platform 0 devices: 1                    
 [2013-05-17 16:46:01] 0 Tahiti                    
 [2013-05-17 16:46:01] Failed to ADL_Adapter_ID_Get. Error -1                    
 [2013-05-17 16:46:01] Failed to ADL_Adapter_ID_Get. Error -1                    
 [2013-05-17 16:46:01] ADL found less devices than opencl!                    
 [2013-05-17 16:46:01] There is possibly more than one display attached to a GPU                    
 [2013-05-17 16:46:01] Use the gpu map feature to reliably map OpenCL to ADL                    
 [2013-05-17 16:46:01] WARNING: Number of OpenCL and ADL devices did not match!                    
 [2013-05-17 16:46:01] Hardware monitoring may NOT match up with devices!                    
 [2013-05-17 16:46:01] [color=red][b]1 GPU devices max detected[/b][/color]
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 17, 2013, 10:39:58 PM
 #6

GPU-README

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

Activity: 378
Merit: 250


View Profile
May 17, 2013, 11:36:58 PM
 #7

GPU-README

Did it. I've tried this installation about 10 times now - literally.

For whatever reason it isn't accepting the CFLAGS.
-ck
Legendary
*
Offline Offline

Activity: 4102
Merit: 1632


Ruu \o/


View Profile WWW
May 17, 2013, 11:39:19 PM
 #8

Did you export DISPLAY ?

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

Activity: 378
Merit: 250


View Profile
May 17, 2013, 11:40:34 PM
 #9

Did you export DISPLAY ?

Yep.

export DISPLAY=:0


EIDT: I am going to try the 2.7 SDK again.
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!