Author

Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.11.0 - page 336. (Read 5806004 times)

legendary
Activity: 2912
Merit: 1060
I'm having trouble with my Lancelots just turning off after a few minutes or a couple hours
https://i.imgur.com/q2ihb8f.png
member
Activity: 112
Merit: 10
Thanks for the info. I have finally resolved this

I found a file .Xauthority that was owned by root in the home folder. This was causing issues.
sudo rm .Xauthority
reboot -h now
ssh back on the box
DISPLAY=localhost:10.0 ; export DISPLAY
Run up cgminer and everything is working fine :-)
legendary
Activity: 1792
Merit: 1008
/dev/null
Hi all,

I have been working trying to configure a guys rig with cgminer on Linux. I have configured everything as normal as I have cgminer working fine on 5 of my own machines with HD 7950 cards. I have also configured cgminer to work with 7970 cards with no problems.

However I keep having issues with this guys setup. Im installing on Ubuntu 12.04 LTS. The guy has several HD5870 cards and one HD5970 card

aticonfig detects all the cards fine e.g
* 0. 01:00.0 ATI Radeon HD 5800 Series
  1. 0a:00.0 ATI Radeon HD 5800 Series
  2. 09:00.0 ATI Radeon HD 5800 Series
  3. 06:00.0 ATI Radeon HD 5800 Series
  4. 05:00.0 ATI Radeon HD 5800 Series
  5. 04:00.0 ATI Radeon HD 5900 Series

The problem is no matter what Catalyst Driver I install I cannot get cgminer to start without throwing out errors.

Currently I get the error.
root@rig:/home/rig/cgminer-3.0.0-x86_64-built# ./cgminer -n
No protocol specified
No protocol specified
 [2013-05-20 23:18:05] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2013-05-20 23:18:05] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2013-05-20 23:18:05] CL Platform 0 version: OpenCL 1.2 AMD-APP (1016.4)                    
 [2013-05-20 23:18:05] Error -1: Getting Device IDs (num)                    
 [2013-05-20 23:18:05] clDevicesNum returned error, no GPUs usable                    
 [2013-05-20 23:18:05] 0 GPU devices max detected                    
 [2013-05-20 23:18:05] USB all: found 7 devices - listing known devices  

I have now had him remove the 5900 card as I thought it may be down to the number of cards he has hanging off this motherboard. I can see in lspci he has lots of Intel stuff so presume its an Intel based motherboard.

Has anyone any experience of this error?. I have tried the latest Catalyst Drivers for Linux for 64 bit including Beta and still cant get this working. I dropped the driver down to AMD Catalyst Driver 11.3 as I read that series 5xxx AMD Cards need the older drivers to work. Does anyone have working 5970,5870 cards and resolved this error?

Any advice is much appreciated to resolve this issue.
No protocol specified <-- X11 error, didnt you start it?
member
Activity: 112
Merit: 10
Hi all,

I have been working trying to configure a guys rig with cgminer on Linux. I have configured everything as normal as I have cgminer working fine on 5 of my own machines with HD 7950 cards. I have also configured cgminer to work with 7970 cards with no problems.

However I keep having issues with this guys setup. Im installing on Ubuntu 12.04 LTS. The guy has several HD5870 cards and one HD5970 card

aticonfig detects all the cards fine e.g
* 0. 01:00.0 ATI Radeon HD 5800 Series
  1. 0a:00.0 ATI Radeon HD 5800 Series
  2. 09:00.0 ATI Radeon HD 5800 Series
  3. 06:00.0 ATI Radeon HD 5800 Series
  4. 05:00.0 ATI Radeon HD 5800 Series
  5. 04:00.0 ATI Radeon HD 5900 Series

The problem is no matter what Catalyst Driver I install I cannot get cgminer to start without throwing out errors.

Currently I get the error.
root@rig:/home/rig/cgminer-3.0.0-x86_64-built# ./cgminer -n
No protocol specified
No protocol specified
 [2013-05-20 23:18:05] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
 [2013-05-20 23:18:05] CL Platform 0 name: AMD Accelerated Parallel Processing                    
 [2013-05-20 23:18:05] CL Platform 0 version: OpenCL 1.2 AMD-APP (1016.4)                    
 [2013-05-20 23:18:05] Error -1: Getting Device IDs (num)                    
 [2013-05-20 23:18:05] clDevicesNum returned error, no GPUs usable                    
 [2013-05-20 23:18:05] 0 GPU devices max detected                    
 [2013-05-20 23:18:05] USB all: found 7 devices - listing known devices  

I have now had him remove the 5900 card as I thought it may be down to the number of cards he has hanging off this motherboard. I can see in lspci he has lots of Intel stuff so presume its an Intel based motherboard.

Has anyone any experience of this error?. I have tried the latest Catalyst Drivers for Linux for 64 bit including Beta and still cant get this working. I dropped the driver down to AMD Catalyst Driver 11.3 as I read that series 5xxx AMD Cards need the older drivers to work. Does anyone have working 5970,5870 cards and resolved this error?

Any advice is much appreciated to resolve this issue.
legendary
Activity: 3586
Merit: 1099
Think for yourself
So you can clearly see that cgminer says that GPU3 is Tahiti (7870 XT) and then later displays that GPU 3 is 7770, can it be somehow reordered and saved to a config file, so sensors and auto-gpu would work?

-gpu-map      Map OpenCL to ADL device order manually, paired CSV (e.g. 1:0,2:1 maps OpenCL 1 to ADL 0, 2 to 1)
or
--gpu-reorder       Attempt to reorder GPU devices according to PCI Bus ID

Maybe
member
Activity: 99
Merit: 10
I have a computer that had two 7870 XTs in it, later I have added one 7770 and after a while replaced it with regular 7870, after I bought some more riser I have added 7770 again.

So right now I have four cards in following order:

PCI-E x1: 7870
PCI-E x16: 7870 XT
PCI-E x1: 7770
PCI-E x8: 7870 XT

Everything works fine, except that GPUs in cgminer and their details are all mixed up, for example one of my 7870 XTs shows temps from 7770 etc.

When I run cgminer -ndevs I get:

Code:
C:\Users\Administrator\Desktop\miner-soft\!cgminer>cgminer -ndevs
 [2013-05-20 14:14:54] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-05-20 14:14:54] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-05-20 14:14:54] CL Platform 0 version: OpenCL 1.2 AMD-APP (1084.4)
 [2013-05-20 14:14:54] Platform 0 devices: 4
 [2013-05-20 14:14:54]  0       Tahiti
 [2013-05-20 14:14:54]  1       Pitcairn
 [2013-05-20 14:14:54]  2       Capeverde
 [2013-05-20 14:14:54]  3       Tahiti
 [2013-05-20 14:14:55] GPU 0 AMD Radeon HD 7800 Series hardware monitoring enabled
 [2013-05-20 14:14:55] GPU 1 AMD Radeon HD 7800 Series hardware monitoring enabled
 [2013-05-20 14:14:55] GPU 2 AMD Radeon HD 7800 Series hardware monitoring enabled
 [2013-05-20 14:14:55] GPU 3 AMD Radeon HD 7700 Series hardware monitoring enabled
 [2013-05-20 14:14:55] 4 GPU devices max detected
 [2013-05-20 14:14:55] USB all: found 11 devices - listing known devices
 [2013-05-20 14:14:55] No known USB devices

So you can clearly see that cgminer says that GPU3 is Tahiti (7870 XT) and then later displays that GPU 3 is 7770, can it be somehow reordered and saved to a config file, so sensors and auto-gpu would work?
hero member
Activity: 737
Merit: 500
How do i config GPU to scrypt mining and a FPGA to SHA mining?

easy as, how do i config scrypt mining device 0 and SHA mining a device 1.

You can't.  Use multiple copies of cgminer, one per blockchain.
full member
Activity: 290
Merit: 100
How do i config GPU to scrypt mining and a FPGA to SHA mining?

easy as, how do i config scrypt mining device 0 and SHA mining a device 1.
legendary
Activity: 2912
Merit: 1060
Make a decision bro. Indecisiveness isn't attractive.
newbie
Activity: 26
Merit: 0
sorry kano i was hoping that meant you cant mine different coins at the same time, which was never my intention. my apologies. I suppose i will setup something to ping my current pool and if packets lost restart cgminer with different config.
newbie
Activity: 9
Merit: 0
As I tweak settings for --scrypt on my system with a 7970 and a 7950, the 7950 is routinely outperforming the 7970, which is odd enough. But also I've started watching the "U" and "WU" and comparing against MH/s. 
Code:
(5s):1.126M (avg):1.110Mh/s | A:166  R:3  HW:0  U:31.8/m  WU:1015.2/m          
Ultimately it's the U and/or WU which count, right? Do they always match the total system MH/s linearly? I'm seeing some variance but I haven't totally figured it out, yet. What's the main thing to watch?
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
I've been searching for an answer to this for a bit now and im not sure how to accomplish the following.

with the fallback option, lets say i was mining litecoins on pool x with the scrypt flag (obviously) and wanted to fallback to a bitcoin pool if the litecoin pool was down. What would be the best way to accomplish this. is there a way to disable the scrypt flag once its been launched with scrypt or what do you guys think my best solution would be to have something like this work. another option i could do if possible is change it through the api but im not aware of algorithm changing being a cgminer api option. thanks in advance guys.
i.e. as per line 3 of the README, no you can't mine multiple coins.
You'd have to stop cgminer and restart it with the different coin.
legendary
Activity: 3586
Merit: 1099
Think for yourself
I've been searching for an answer to this for a bit now and im not sure how to accomplish the following.

with the fallback option, lets say i was mining litecoins on pool x with the scrypt flag (obviously) and wanted to fallback to a bitcoin pool if the litecoin pool was down. What would be the best way to accomplish this. is there a way to disable the scrypt flag once its been launched with scrypt or what do you guys think my best solution would be to have something like this work. another option i could do if possible is change it through the api but im not aware of algorithm changing being a cgminer api option. thanks in advance guys.

Decide which coin you want to mine and go with it.
newbie
Activity: 26
Merit: 0
I've been searching for an answer to this for a bit now and im not sure how to accomplish the following.

with the fallback option, lets say i was mining litecoins on pool x with the scrypt flag (obviously) and wanted to fallback to a bitcoin pool if the litecoin pool was down. What would be the best way to accomplish this. is there a way to disable the scrypt flag once its been launched with scrypt or what do you guys think my best solution would be to have something like this work. another option i could do if possible is change it through the api but im not aware of algorithm changing being a cgminer api option. thanks in advance guys.
newbie
Activity: 52
Merit: 0
--gpu-platform 1 ?? 

Tried to use Cgminer 3.1.1. and it crashes on startup.  Same .bat file as I'm using with 3.1.0.  I removed "--gpu-platform 1" and it boots normally, although it boots into platform 0, which is my CPU i5 processor.  GPU-Platform has always worked.  Wondering if it's broken in the latest build?
Usual story, you've likely changed your driver in the interim.

I installed the driver over a week ago.  This is the interim of what?  The solution is not changing the driver? or rolling back the driver?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
--gpu-platform 1 ?? 

Tried to use Cgminer 3.1.1. and it crashes on startup.  Same .bat file as I'm using with 3.1.0.  I removed "--gpu-platform 1" and it boots normally, although it boots into platform 0, which is my CPU i5 processor.  GPU-Platform has always worked.  Wondering if it's broken in the latest build?
Usual story, you've likely changed your driver in the interim.
newbie
Activity: 52
Merit: 0
--gpu-platform 1 ?? 

Tried to use Cgminer 3.1.1. and it crashes on startup.  Same .bat file as I'm using with 3.1.0.  I removed "--gpu-platform 1" and it boots normally, although it boots into platform 0, which is my CPU i5 processor.  GPU-Platform has always worked.  Wondering if it's broken in the latest build?
member
Activity: 105
Merit: 10
Latest build is throwing an exception on start up. 
Running on WinXP.
Mining with BFL BitForce FPGA Singles (not SC)

I have a cmd file that fires cgminer up and specifies which com ports to connect to.
CGMiner rolls through testing all the ports to run on icarus, avalon, then BFL SCs, then it crashes.

Faulting application cgminer.exe, version 0.0.0.0, faulting module cgminer.exe, version 0.0.0.0, fault address 0x0005b469.
hero member
Activity: 798
Merit: 531
Crypto is King.
Scrypt mining uses way more bandwidth than BTC mining.
Thus if you are reducing your PCI-e bandwidth dramatically (16x to 1x) then expect a performance drop or related problems.
Scrypt mining is affect by many, things including RAM, GPU RAM and Motherboard (which includes PCI-e)
- which is why you can't expect to be able to copy someone else's config and expect to get the same results.

Is this in response to my pool connection errors? The thing is, I was having the pool connection errors before I added one more card and before I tried new drivers. The errors started with the exact same settings I had been using for almost a week with no problems at all. All of the changing drivers, etc. was after many failed attempts to communicate with the pool correctly. The HW errors, when the pool actually connects, only lasts the first minute or two, be fore all three cards are runing 500KH/s to 700KH/s depending.
legendary
Activity: 1652
Merit: 1067
Christian Antkow
The question was mostly rhetorical. Windows does the driver reset dance sometimes and I have a small related entry in the FAQ about it. I've had linux mining on the same cgminer instance for 6 months once. I'm led to believe that's impossible on windows.

 Yes, running Windows 7. What's curious is the 7970 in the first slot keeps chugging right along while the 7950 in the second slot sits DEAD.
Jump to: