Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: MessyCoin on March 27, 2013, 01:50:47 PM



Title: Please Help: Mining with both cores of 5970 with cgminer?
Post by: MessyCoin on March 27, 2013, 01:50:47 PM
Hi, I'm having trouble setting up a 5970 and mining with cgminer  ???

The rig is running Linux (Xubuntu) and the 5970 is the only card ( I've followed this guide (https://docs.google.com/document/d/1Gw7YPYgMgNNU42skibULbJJUx_suP_CpjSEdSi8_z9U/edit?pli=1) which has always worked with my other setups.)

When I run cgminer -n from the terminal emulator on the desktop I get the following:

Code:
./cgminer -n
CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
CL Platform 0 name: AMD Accelerated Parallel Processing                   
CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)                   
Platform 0 devices: 1                   
0 Cypress                   
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!                   
GPU 0 ATI Radeon HD 5900 Series hardware monitoring enabled                   
1 GPU devices max detected                                 

Seems to me, cgminer is not recognizing both cores of the 5970.
(When I mine with cgminer from the terminal emulator on the Desktop, it's mining with only one core of the 5970)

Interestingly, when I run the same command from a SSH terminal it gives me:

Code:
./cgminer -n
CL Platform 0 vendor: Advanced Micro Devices, Inc.       
CL Platform 0 name: AMD Accelerated Parallel Processing 
CL Platform 0 version: OpenCL 1.1 AMD-APP-SDK-v2.5 (793.1)
Platform 0 devices: 2
 0       Cypress
 1       Cypress
ADL Initialisation Error! Error -1!
2 GPU devices max detected

aticonfig -lsa gives me:

Code:
* 0. 0b:00.0 ATI Radeon HD 5900 Series
  1. 0a:00.0 ATI Radeon HD 5900 Series

* - Default adapter

cgminer is the latest version; 2.11.3

Thanks in advance for any ideas! Any help to get the second core running would be much appreciated!


Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: alexj on March 27, 2013, 08:16:41 PM
Do you have the newest drivers?


Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: -ck on March 27, 2013, 08:29:33 PM
Usual instructions for when people DONT read the readme.

Reconfigure xorg for all devices, start x and export the DISPLAY variable before starting cgminer.


Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: Fiyasko on March 27, 2013, 09:02:37 PM
Usual instructions for when people DONT read the readme.

Reconfigure xorg for all devices, start x and export the DISPLAY variable before starting cgminer.

I just find it so weird how people dont read something that specifically says "READ ME!"


Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: MessyCoin on March 28, 2013, 07:06:32 AM
Ahh, thanks guys  ;D

I actually was exporting the DISPLAY variable in my mining startup script but I'd stupidly disabled this while installing/testing the card.
That seems to have solved that problem!

Unfortunately this led me on to a new issue: The Xubuntu computer loses power very quickly when I start mining on the 5970 with anything above intensity 1, but it mines fine (intensity 11) when installed in a different windows machine...

When the linux comp powers off, it's without warning I have to wait a little and toggle the PSU switch before turning it on again.

Both PC's have adequate PSU's (760W) and the 5790 is the only card being used. So it has me puzzled. Why would mining cause the linux machine to quickly shut off? Temps on the fan never get a chance to hit 80 before the power cuts off.

I will start a new thread on this if it comes to me getting completely stuck (I can try a 7870 in the linux computer and see if it has the same problem), but I hoped someone may have a good idea why this is happening? ATI drivers are 11.11

Thank you very much for ideas on this one and happy hashing!


Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: MessyCoin on March 29, 2013, 12:04:19 AM
Last problem now appears fixed after replacing PSU.

Thanks again for the help!


Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: educatedwarrior on July 04, 2013, 03:31:20 PM
Usual instructions for when people DONT read the readme.

Reconfigure xorg for all devices, start x and export the DISPLAY variable before starting cgminer.

Hi ckolivas,

I read the readme, but I may be to "slow" to understand.  :(  I would definitely appreciate your help.

I'm getting the same error.  I tried

sudo aticonfig --adapter=0,1 --initial

I also have the following lines in my shell file to start cgminer

export DISPLAY=:0
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100

Anything I'm missing?




Title: Re: Please Help: Mining with both cores of 5970 with cgminer?
Post by: educatedwarrior on July 04, 2013, 03:42:38 PM
I realize I'm having issues with X server to start.   So guess I need to fix that somehow.