Author

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

hero member
Activity: 628
Merit: 504
I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects, but at least it works  Roll Eyes. Since my computer is running on Linux and I'm a noob in linux, please don't ask me to send you debug files or anything like that  Grin. I didn't have "bitforce:" line for every device btw, if that helps.
Um, why bfgminer 2.5.1 and not cgminer 2.5.0?

EDIT: never mind that question, I suspect people actually believe luke-jr's FUD.

I think the minirig is probably burnt by the same thing affecting the singles.
Well, I had 2.5.1 installed, so I run that one. Don't know how to update, and I guess since you guys share the code, I would've got the same issue with bfgminer 2.6.1. Maybe its a good thing I still have 2.5.1  Grin...but I do need to learn how to use linux
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects, but at least it works  Roll Eyes. Since my computer is running on Linux and I'm a noob in linux, please don't ask me to send you debug files or anything like that  Grin. I didn't have "bitforce:" line for every device btw, if that helps.
Um, why bfgminer 2.5.1 and not cgminer 2.5.0?

EDIT: never mind that question, I suspect people actually believe luke-jr's FUD.

I think the minirig is probably burnt by the same thing affecting the singles.
hero member
Activity: 628
Merit: 504
I've got mini rigs hanging after some time with cgminer 2.6.1 so I switched back to bfgminer 2.5.1. It does produce almost 1% more rejects (cgminer had almost none 0.07%), but at least it works  Roll Eyes. Since my computer is running on Linux and I'm a noob in linux, please don't ask me to send you debug files or anything like that  Grin. I didn't have "bitforce:" line for every device btw, if that helps.
newbie
Activity: 63
Merit: 0
What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

It is indeed Windows 7 x64.
Here try this executable with that one change backed out:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe

Half an hour so far with no problems on either machine. Going to bed soon, so I'll just lettem do their thing and report in the morning.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

It is indeed Windows 7 x64.
Here try this executable with that one change backed out:
http://ck.kolivas.org/apps/cgminer/temp/cgminer.exe
newbie
Activity: 63
Merit: 0
What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.

It is indeed Windows 7 x64.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Does 2.60 not leak shares to backup pools anymore?
Sam
It does, but likely less than before.
donator
Activity: 543
Merit: 500
I'll turn debug on the next time this problem happens, thanks for the hint.

I'm using Windows 7 32-bit SP1. (Don't moan because of windows, my rigs are usually running for months witout interruption...)
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I had to restart cgminer 2.6.1 on two different rigs because the API did no longer respond to any request (it did not even time out!?)
Mining was still working and this has never happened with earlier versions.

Anyone experienced the same problem?
The API reports all incoming requests and out going replies when debug is turned on -D
(of course turning on debug produces a whole heap of other stuff)
What OS? (and version)

Edit: of course you can turn on debug from the cgminer screen at any time ... i.e. when the problem occurs
donator
Activity: 543
Merit: 500
I had to restart cgminer 2.6.1 on two different rigs because the API did no longer respond to any request (it did not even time out!?)
Mining was still working and this has never happened with earlier versions.

Anyone experienced the same problem?
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Does the problem occur during throttling?

Do you always specify "bitforce:" on the front of the serial device specification?

One change that I added (that's in 2.6.0 and 2.6.1) is there is now a timeout in BFL if you specify "bitforce:"
(there was always a timeout for BFL if you didn't specify "bitforce:" so I changed it work the same way in both situations)

Thus in the log there should be a message saying there was a timeout at the time the problem occurred if that is the cause of it.
(BFL needs to be able to timeout rather than hang if something goes wrong on linux - it used to hang sometimes when there were comm errors)
However, I guess it could be LP related when it tries to abort work that could be during a throttle?
If you can get it to fail either see if there is a timeout message (and post a pastebin of the log for up to 1 minute before it happens) or if there is no timeout message, run it in "-D" debug mode and post a pastebin of the last minute or so of that log up to when it fails
Or course, visiting FreeNode IRC #cgminer will be easier ...

My testing of this is on my BFL that has hardware issues lately so I put the fastest bitstream on it and thus was expecting to see any possible problems Smiley
But if it is during an LP then that's not easy to make happen ...

Edit: oh there was also another change that luke-jr did at the same time (I didn't notice) - so I guess it could be either of our changes.
https://github.com/ckolivas/cgminer/commit/cf36331d815e7b87131d547b92b9ceaa218d114d

My devices aren't throttling, and yes I always specify "bitforce:". I also don't believe the problem would be related to a long poll, since both machines would have received long polls near the same time, but one started having singles stop hashing much sooner than the other. I think that makes sense anyway, I'm no expert.
What are you running on?

There seems to be an ongoing bug fix on bug fix on bug fix for this at the moment (nothing to do with me)

The first bugfix pshep did was mostly to remove the 2 lines of luke-jr's commit
(which has gone in the chain of bug fixes and not returned)

I might be able to make a version that just removes that commit and compile it for you until the mess is sorted out by the others.
If it's windows - then yep that's OK also I can make one of them.

Let me know.
legendary
Activity: 2576
Merit: 1186
FWIW, any BFGMiner issues (including bugs in the FPGA drivers, that CGMiner copied from BFGMiner) should be reported in detail here.
I'm also available in #Eligius for real-time troubleshooting.
Hmm - well the actual correct term is a pull request you sent to cgminer ... but anyway ...
That's fine, I can't see what luke-jr says anyway since ignoring him unless someone else quotes him and only allow him to speak to me in c code. Since he still seems to have the same attitude and spams my thread, I can just ignore his code as well. Rather than showing humility it seems he is getting worse, so perhaps it's time to refuse to take any more code.
And so Con's fork deviates yet even further... guess that means he'll be rejecting the bitforce bugfix.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
FWIW, any BFGMiner issues (including bugs in the FPGA drivers, that CGMiner copied from BFGMiner) should be reported in detail here.
I'm also available in #Eligius for real-time troubleshooting.
Hmm - well the actual correct term is a pull request you sent to cgminer ... but anyway ...
That's fine, I can't see what luke-jr says anyway since ignoring him unless someone else quotes him and only allow him to speak to me in c code. Since he still seems to have the same attitude and spams my thread, I can just ignore his code as well. Rather than showing humility it seems he is getting worse, so perhaps it's time to refuse to take any more code.
newbie
Activity: 63
Merit: 0
Does the problem occur during throttling?

Do you always specify "bitforce:" on the front of the serial device specification?

One change that I added (that's in 2.6.0 and 2.6.1) is there is now a timeout in BFL if you specify "bitforce:"
(there was always a timeout for BFL if you didn't specify "bitforce:" so I changed it work the same way in both situations)

Thus in the log there should be a message saying there was a timeout at the time the problem occurred if that is the cause of it.
(BFL needs to be able to timeout rather than hang if something goes wrong on linux - it used to hang sometimes when there were comm errors)
However, I guess it could be LP related when it tries to abort work that could be during a throttle?
If you can get it to fail either see if there is a timeout message (and post a pastebin of the log for up to 1 minute before it happens) or if there is no timeout message, run it in "-D" debug mode and post a pastebin of the last minute or so of that log up to when it fails
Or course, visiting FreeNode IRC #cgminer will be easier ...

My testing of this is on my BFL that has hardware issues lately so I put the fastest bitstream on it and thus was expecting to see any possible problems Smiley
But if it is during an LP then that's not easy to make happen ...

Edit: oh there was also another change that luke-jr did at the same time (I didn't notice) - so I guess it could be either of our changes.
https://github.com/ckolivas/cgminer/commit/cf36331d815e7b87131d547b92b9ceaa218d114d

My devices aren't throttling, and yes I always specify "bitforce:". I also don't believe the problem would be related to a long poll, since both machines would have received long polls near the same time, but one started having singles stop hashing much sooner than the other. I think that makes sense anyway, I'm no expert.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
FWIW, any BFGMiner issues (including bugs in the FPGA drivers, that CGMiner copied from BFGMiner) should be reported in detail here.
I'm also available in #Eligius for real-time troubleshooting.
Hmm - well the actual correct term is a pull request you sent to cgminer ... but anyway ...
legendary
Activity: 2576
Merit: 1186
FWIW, any BFGMiner issues (including bugs in the FPGA drivers, that CGMiner copied from BFGMiner) should be reported in detail here.
I'm also available in #Eligius for real-time troubleshooting.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Having the same problem on Linux... I'm not entirely convinced it's not the hardware, but it seems unlikely I have 3 units failing like that.

Highly doubt it's your hardware Inaba. I went back 2.5.0 and everything's smooth as butter again.
Does the problem occur during throttling?

Do you always specify "bitforce:" on the front of the serial device specification?

One change that I added (that's in 2.6.0 and 2.6.1) is there is now a timeout in BFL if you specify "bitforce:"
(there was always a timeout for BFL if you didn't specify "bitforce:" so I changed it work the same way in both situations)

Thus in the log there should be a message saying there was a timeout at the time the problem occurred if that is the cause of it.
(BFL needs to be able to timeout rather than hang if something goes wrong on linux - it used to hang sometimes when there were comm errors)
However, I guess it could be LP related when it tries to abort work that could be during a throttle?
If you can get it to fail either see if there is a timeout message (and post a pastebin of the log for up to 1 minute before it happens) or if there is no timeout message, run it in "-D" debug mode and post a pastebin of the last minute or so of that log up to when it fails
Or course, visiting FreeNode IRC #cgminer will be easier ...

My testing of this is on my BFL that has hardware issues lately so I put the fastest bitstream on it and thus was expecting to see any possible problems Smiley
But if it is during an LP then that's not easy to make happen ...

Edit: oh there was also another change that luke-jr did at the same time (I didn't notice) - so I guess it could be either of our changes.
https://github.com/ckolivas/cgminer/commit/cf36331d815e7b87131d547b92b9ceaa218d114d
hero member
Activity: 628
Merit: 504
The latest build seems to mess with something on one of my machines. After about 2 to 4 minutes, the temperature for "BFL 1" disappears, and it starts saying error: temperature celsius or something of the sort. It also starts saying send work reports: errunknown! It then goes down to 0 hashrate. It (seems) to always be the same Single. I'd blame the Single itself, but no previous build does this. It's also present in BFG's 2.6.1. Using Win7x64, and if it matters, the operating host's environment is 1x7970, 3x5850, and 7 BFL Singles in one prompt.

EDIT: Seems my other machine has fallen to this as well, it just took longer to happen. For this one, it's BFL 2, and it gives the same errors:
error: get result reports: OK
error: send block data reports: ERR:UNKNOWN!
error: send work reports: temperature
error: send block data reports: temperature

After the , it will actually have a number that seems to be the correct temperature. But the temperature is not shown above, and it won't show any hash rate, and it's not being declared sick.

Having the same problem on Linux... I'm not entirely convinced it's not the hardware, but it seems unlikely I have 3 units failing like that.

Inaba, I just had a miner crash, but couldn't see what was the reason. Previously I used BFG 2.5.1 and you know that I had same problems with units you have now. I'll keep my eye on the miners, and hope that its not the same error again.
full member
Activity: 154
Merit: 100
I have auto-fan activated and have gpu-fan 0-25%, so I want to have at most 25% fan speed.

So I want the cgminer start from 25% then decrease but it starts from 50% fan speed then goes down to 0% 1100rpm?

Cooler is wery good and only needs wery low % fan speed.

"intensity" : "7,9,9",
"vectors" : "1,1,1",
"worksize" : "64,64,64",
"kernel" : "poclbm,poclbm,poclbm",
"gpu-engine" : "0-0,0-0",
"gpu-fan" : "0-25,0-25,0-25",

"auto-fan" : true,

"gpu-memclock" : "0,0",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "0,0",
"gpu-vddc" : "0.000,0.000",
"temp-cutoff" : "90,90,90",
"temp-overheat" : "89,89,89",
"temp-target" : "88,88,88",
"api-port" : "4028",
"expiry" : "120",
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"log" : "5",
"queue" : "1",
"retry-pause" : "5",
"scan-time" : "60",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin" 
SAC
sr. member
Activity: 322
Merit: 250
Hi!

 For my two 5870 @ 930 / 1300, I'm getting:

 GPU_USE_SYNC_OBJECTS=1 DISPLAY=:0 ./cgminer/cgminer --scrypt -o http://MY_IP:9327 -u ltc5870.2 -p X --shaders 1600 -I 17

 ~300kH from each

 NiceIf I run with: GPU_MAX_ALLOC_PERCENT=100, I see:

Code:
[2012-07-30 16:21:05] Error -5: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)
[2012-07-30 16:21:05] GPU 1 failure, disabling!

 GPU0 seems to work with GPU_MAX_ALLOC_PERCENT...

 Any better setup for 5870s?! On top on Ubuntu 12.04 64 bits, Catalyst 12.6 and SDK v2.6.

Tks!
Thiago

Clocks are too high I had similar until I started playing around after noticing a 5850 of mine that will only go to a core of 765 was getting the same Kh/s as my 5870s high clocked so now I use 770,1050 and get 356Kh/s on Ubuntu 11.04 64 bits, Catalyst 12.6 and SDK v2.7. Oh and forget the --shaders it does not give you the correct .bin file used it is always lower than if using --thread-concurrency 8000,8000 in your case which will give you a 8000.bin file used as opposed to on my install somewhere in the 7000s.bin it was using with the --shaders. The startup file I use below the 5850s seem to like 8192 as opposed to the 7200 it should be for 5x shaders that seems to be the sweet spot for all my other cards this on the new 2.6.1 code I have the pools set in the .cgminer.conf. The -I 18 gives me the same amount of stales as the -I 17 does but get a few more kh/s out of the cards 19 or 20 give a little higher speeds but results in double or triple the stales respectively so in the end leave you with a lesser overall effective speed.

Code:
cat ltc.sh 
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export DISPLAY=:0

~/cgminer-ltc --scrypt --worksize 256,256,256 --thread-concurrency 8000,8000,8192 --vectors 4,4,4 --gpu-threads 2 -I 18,18,18 -g 1 --auto-fan --auto-gpu  --temp-target 81


My method for getting the most from the cards.

1. Start with --thread-concurrency at 4x and 5x shaders with an 8192 thrown in to see what gets you the fastest speed.
2. Move onto the core clock raising it up/down until you get the fastest kh/s the core is usually always lower than what you think it should be.
3. Now on to the memory clock raising it up/down until you find the sweet spot that gives you your total highest speed you will get, this again is usually lower than you think it should be on an over clock.
4. Play around some more after you have what you think is the highest speeds as sometimes that extra/lesser core/memory 5-10mhz will find a new sweet spot for you resulting in an extra 5-10Kh/s. Always go with an ending number of 0 or 5 as the others seem to screw things up.
Jump to: