Author

Topic: Unable to detect more than 1 GPU in Ubuntu 12.04 (Read 1756 times)

sr. member
Activity: 378
Merit: 250
Did you export DISPLAY ?

Yep.

export DISPLAY=:0


EIDT: I am going to try the 2.7 SDK again.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Did you export DISPLAY ?
sr. member
Activity: 378
Merit: 250
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
Activity: 4088
Merit: 1631
Ruu \o/
GPU-README
sr. member
Activity: 378
Merit: 250
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]
newbie
Activity: 37
Merit: 0
have similar problem, but I also have same problem under Windows.
will try the suggestions, thanks
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Reconfigure xorg to use more GPUs
Code:
sudo aticonfig -f --adapter=all --initial
sr. member
Activity: 378
Merit: 250
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
sr. member
Activity: 378
Merit: 250
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.
Jump to: