Bitcoin Forum
December 03, 2016, 11:58:05 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 [388] 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4815695 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
os2sam
Legendary
*
Offline Offline

Activity: 1918


Think for yourself


View Profile
October 23, 2012, 10:22:30 AM
 #7741

User switching on windows does mystical voodoo the adl library doesn't like.
It is impossible to catch that somehow?
Some watchdog on ADL thread to detect and fix when it happen?
ADL thingy is good to disable mining when it is overheating.
It is my desktop pc, so i need to switch user to allow my kids play on theirs accounts...

I have CGMiner in the startup.  So my kid logs my session out, which shuts down CGMiner, and logs into his which starts CGMiner again.
Sam

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1480809485
Hero Member
*
Offline Offline

Posts: 1480809485

View Profile Personal Message (Offline)

Ignore
1480809485
Reply with quote  #2

1480809485
Report to moderator
1480809485
Hero Member
*
Offline Offline

Posts: 1480809485

View Profile Personal Message (Offline)

Ignore
1480809485
Reply with quote  #2

1480809485
Report to moderator
1480809485
Hero Member
*
Offline Offline

Posts: 1480809485

View Profile Personal Message (Offline)

Ignore
1480809485
Reply with quote  #2

1480809485
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
October 23, 2012, 10:24:59 AM
 #7742

I'm still using 2.8.4.  Yesterday I'd swear it restarted itself.  I manually removed all the pools I didn't want using the P command, but they were still in the config file.  A few hours later I noticed my p2pool activity had dropped to zero again, so I checked it.  cgminer was mining away to a pool that wasn't supposed to be there, and a pool I'd added manually was no longer there!  I'm 99% positive I didn't restart it, and I don't have any scripts that would restart it if it crashed.  After that I edited the config file to put it the way I wanted...
There is only one occasion where cgminer restarts itself prior to version 2.8.5: That is when the fanspeed monitoring fails on windows. It used to be the bane of my existence quite a few versions ago where people would either lose their fanspeed monitoring or cgminer would crash. Now it sneakily restarts itself if the ATI driver's fanspeed monitoring stops working so it can get it going again.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
October 23, 2012, 12:04:45 PM
 #7743

User switching on windows does mystical voodoo the adl library doesn't like.
It is impossible to catch that somehow?
Some watchdog on ADL thread to detect and fix when it happen?
ADL thingy is good to disable mining when it is overheating.
It is my desktop pc, so i need to switch user to allow my kids play on theirs accounts...

I have CGMiner in the startup.  So my kid logs my session out, which shuts down CGMiner, and logs into his which starts CGMiner again.
Sam
I can not log out, because I run linux VM that holds xCoind`s and p2pool Smiley
I need switch users.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
ryann
Member
**
Offline Offline

Activity: 70


View Profile
October 23, 2012, 06:01:43 PM
 #7744

I notice that i am getting many more rejected shares now that im using 2.8.4 compared to 2.7.5. I usualy get about 10 rejected shares per 20 000 accepted shares. Now with 2.8.4 ive gotten 200
Nothing's changed in management therein, so I can only assume it's coincidence and pool related.

I immediately stopped the 2.8.4 and restarted 2.7.5 and i have no stale shares at all yet. Soemthing is definetly up
Did you move to stratum with 2.8.4?

EDIT: To explain why I ask that, cgminer + stratum gets notification of block changes much faster than ever so it should reduce the number of stales. On the other hand, I have noticed that slush uses that as an excuse to ignore any shares that are returned from the previous block immediately once it has stratum notified you of the new block saying job not recognised, so to me it looks like stales on slush went up, not down, despite the potential advantages. I'm not sure how btcguild fares there.

I signed on 2.8.4 like this 

http://btcguild.com:9332
username  whatever
password   whatever
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
October 23, 2012, 08:00:46 PM
 #7745

I notice that i am getting many more rejected shares now that im using 2.8.4 compared to 2.7.5. I usualy get about 10 rejected shares per 20 000 accepted shares. Now with 2.8.4 ive gotten 200
Nothing's changed in management therein, so I can only assume it's coincidence and pool related.

I immediately stopped the 2.8.4 and restarted 2.7.5 and i have no stale shares at all yet. Soemthing is definetly up
Did you move to stratum with 2.8.4?

EDIT: To explain why I ask that, cgminer + stratum gets notification of block changes much faster than ever so it should reduce the number of stales. On the other hand, I have noticed that slush uses that as an excuse to ignore any shares that are returned from the previous block immediately once it has stratum notified you of the new block saying job not recognised, so to me it looks like stales on slush went up, not down, despite the potential advantages. I'm not sure how btcguild fares there.

I signed on 2.8.4 like this 

http://btcguild.com:9332
username  whatever
password   whatever
Yes that will be switching to stratum on startup. For a more objective test, try the latest 2.8.5, run for a while with your regular login details above (that will automatically switch to stratum) and then try running 2.8.5 again but this time add --fix-protocol to your startup. I'm wondering if users are losing out due to the way pools are implementing this and being very restrictive about how and when to accept stales.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
October 23, 2012, 10:13:17 PM
 #7746

EDIT: To explain why I ask that, cgminer + stratum gets notification of block changes much faster than ever so it should reduce the number of stales. On the other hand, I have noticed that slush uses that as an excuse to ignore any shares that are returned from the previous block immediately once it has stratum notified you of the new block saying job not recognised, so to me it looks like stales on slush went up, not down, despite the potential advantages. I'm not sure how btcguild fares there.

Eh, I probably don't  understand what you're talking about. Can you explain it a bit? Are you reffering to error message "Job ### not found", instead of "expected" message "stale share"?

slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
October 23, 2012, 10:15:52 PM
 #7747

Yes that will be switching to stratum on startup. For a more objective test, try the latest 2.8.5, run for a while with your regular login details above (that will automatically switch to stratum) and then try running 2.8.5 again but this time add --fix-protocol to your startup. I'm wondering if users are losing out due to the way pools are implementing this and being very restrictive about how and when to accept stales.

There's no special restriction in accepting shares as stale. Share is rejected once another valid bitcoin block appear on the network, so currently sent solution cannot became a valid block anymore. But this is how pools works for two years already and it isn't related to Stratum protocol at all...

Edit: Some pools are "accepting stale shares", but they use it just as their marketing tools, because these shares cannot be used as block candidates. Basically accepting stale shares is robbing optimized miners and giving their reward to sub-optimized or broken miners, which may send a lot of stale shares and they're still credited for them. But AFAIK no current Stratum-powered pool is accepting stale shares...

kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
October 23, 2012, 10:23:21 PM
 #7748

Regarding Stratum Rejected shares:

If you have any network reliability issues you will get rejects due to that.
Reconnects always lose you shares.

Of course a difficulty change loses you shares too - which may happen soon after a reconnect.

In general I find I get about 54% of the Rejects per LP "(stale)" compared to Getwork.
That's a drop from about 0.35% to about 0.19%

These sort of Reject messages really suck also:
 [2012-10-24 00:06:07] Rejected 216df95a Diff 7/1 GPU 0 pool 2 (olddifficulty)
 [2012-10-24 00:06:08] Rejected 5af4e74e Diff 2/1 GPU 0 pool 2 (olddifficulty)

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
October 23, 2012, 10:35:16 PM
 #7749

Regarding Stratum Rejected shares:

If you have any network reliability issues you will get rejects due to that.
Reconnects always lose you shares.

Of course a difficulty change loses you shares too - which may happen soon after a reconnect.

In general I find I get about 54% of the Rejects per LP "(stale)" compared to Getwork.
That's a drop from about 0.35% to about 0.19%

These sort of Reject messages really suck also:
 [2012-10-24 00:06:07] Rejected 216df95a Diff 7/1 GPU 0 pool 2 (olddifficulty)
 [2012-10-24 00:06:08] Rejected 5af4e74e Diff 2/1 GPU 0 pool 2 (olddifficulty)

That's interesting and a good point about reconnects. Your rejects went down when you moved to stratum which is the desired effect. With getwork, you are forever grabbing new connections and are allowed to continue working on previous work. However once you have to reconnect with stratum, all your old work is now redundant. So lots of disconnects would be expensive with stratum.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
slush
Legendary
*
Offline Offline

Activity: 1358



View Profile WWW
October 23, 2012, 10:36:15 PM
 #7750

If you have any network reliability issues you will get rejects due to that.
Reconnects always lose you shares.

Yes, this is true. I was thinking about some solutions for resuming connections, but it is quite hard architectural issue (any reconnection can land on another backend, due to DNS balancing or HA setup on the server. This is issue even with getwork, but pools are doing some work arounds, but it has another issues (sticky http sessions leads to poorly balanced traffic, for example).

But as I understand, ckolivas referred to something else than reconnections. There's chance that I just don't understand his post.

mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
October 24, 2012, 12:06:06 AM
 #7751

cgminer paused again for me today.  I didn't see it until 8 hours later. Sad

that's the bad news.

the good news is I dug through the windows event log and found the video driver crashed right at the time it stopped.  I assume cgminer caused the crash, but it didn't recover from it, and it didn't crash, so I can't put it in a loop.

for now I went back to 2.7.6 on that machine to see if it stays unpaused.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
sharky112065
Sr. Member
****
Offline Offline

Activity: 383



View Profile
October 24, 2012, 12:14:33 AM
 #7752

cgminer paused again for me today.  I didn't see it until 8 hours later. Sad

that's the bad news.

the good news is I dug through the windows event log and found the video driver crashed right at the time it stopped.  I assume cgminer caused the crash, but it didn't recover from it, and it didn't crash, so I can't put it in a loop.

for now I went back to 2.7.6 on that machine to see if it stays unpaused.

M

Did you try Cgminer 2.8.5?

Also if the driver crashed, I doubt it is Cgminer's fault. Probably AMD's crappy drivers.

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
October 24, 2012, 12:37:09 AM
 #7753

cgminer paused again for me today.  I didn't see it until 8 hours later. Sad

that's the bad news.

the good news is I dug through the windows event log and found the video driver crashed right at the time it stopped.  I assume cgminer caused the crash, but it didn't recover from it, and it didn't crash, so I can't put it in a loop.

for now I went back to 2.7.6 on that machine to see if it stays unpaused.

M

Did you try Cgminer 2.8.5?

Also if the driver crashed, I doubt it is Cgminer's fault. Probably AMD's crappy drivers.

cgminer works the cards pretty hard.  I don't recall having the problem until I upgraded to 2.8.4.  I'll try 2.8.5 this weekend when I'm around to babysit it.  I don't want it crashing again while I'm at my day job.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
HolyScott
Full Member
***
Offline Offline

Activity: 160



View Profile WWW
October 24, 2012, 02:44:21 AM
 #7754

Will give it a go on the RPi

muqali
Full Member
***
Offline Offline

Activity: 182


View Profile
October 24, 2012, 02:40:52 PM
 #7755

Will give it a go on the RPi

Getting driver crashes using scrypt with 2.8.5. Catalyst 12.10 with the inbuild APP SDK, fresh install. Card is a Asus 7970 DCII at default clocks. Bitcoins mine without issue. During the scrypt mining, I am getting graphical corruption, smal blue squares near window borders fwiw.

donations BTC: 1CaCwo4xneTqTLEdomW76Cg5NteZyvXi1c
donations LTC: LTcasvjtLuN92ks1Pc1qtkvE9PswsXEbev
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
October 25, 2012, 12:05:22 AM
 #7756

Did you try Cgminer 2.8.5?

Also if the driver crashed, I doubt it is Cgminer's fault. Probably AMD's crappy drivers.

cgminer works the cards pretty hard.  I don't recall having the problem until I upgraded to 2.8.4.  I'll try 2.8.5 this weekend when I'm around to babysit it.  I don't want it crashing again while I'm at my day job.

M

2.7.6 died as well. 

*however*

it tell me the GPU was sick and was trying to restart.  alas, it failed on restarting.  2.8.4 never told me that.

I'm assuming I have something else going wrong that's causing this.  Not sure what yet.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
October 25, 2012, 07:04:07 AM
 #7757

Did you try Cgminer 2.8.5?

Also if the driver crashed, I doubt it is Cgminer's fault. Probably AMD's crappy drivers.

cgminer works the cards pretty hard.  I don't recall having the problem until I upgraded to 2.8.4.  I'll try 2.8.5 this weekend when I'm around to babysit it.  I don't want it crashing again while I'm at my day job.

M

2.7.6 died as well. 

*however*

it tell me the GPU was sick and was trying to restart.  alas, it failed on restarting.  2.8.4 never told me that.

I'm assuming I have something else going wrong that's causing this.  Not sure what yet.

M
Still, a hardware failure is a hardware failure. Time to reassess your clocks, cooling, power or whatever else.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Roland68
Member
**
Offline Offline

Activity: 103



View Profile
October 25, 2012, 10:09:06 AM
 #7758

This night, crashed and ...  cgminer restarted!!! (windows xp). fine.

Thanks!  it works for me.
The00Dustin
Hero Member
*****
Offline Offline

Activity: 806


View Profile
October 25, 2012, 10:11:36 AM
 #7759

I rarely look at cgminer running, but last time I looked, I saw this:
Code:
[2012-10-24 12:04:00] Pool 0 communication failure, caching submissions
 [2012-10-24 12:04:03] LONGPOLL from pool 0 detected new block
 [2012-10-24 12:04:05] Share became stale while retrying submit, discarding
 [2012-10-24 12:04:05] Pool 0 communication resumed, submitting work
This was witnessed in 2.8.5; I actually saw it twice within 15 minutes (the second time there wasn't a share discarded in the few seconds after the longpoll).  The pool isn't great on connectivity, so the communication failures don't surprise me, especially just before a longpoll, however, I am curious as to whether or not cgminer should have said "oh, communication is working now" when it got the longpoll instead of waiting a second or two to check/determine communication was restored.  Obviously the share that was discarded would have been rejected anyway, I only ask because I wonder if there might be something missing/inefficient in the communication failure code.
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
October 25, 2012, 11:00:15 AM
 #7760

2.7.6 died as well. 

*however*

it tell me the GPU was sick and was trying to restart.  alas, it failed on restarting.  2.8.4 never told me that.

I'm assuming I have something else going wrong that's causing this.  Not sure what yet.

M
Still, a hardware failure is a hardware failure. Time to reassess your clocks, cooling, power or whatever else.

I know.  I keep looking, haven't found anything yet.  I tell you though, I'm not going to miss GPU mining.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
Pages: « 1 ... 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 [388] 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 ... 830 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!