Bitcoin Forum
December 03, 2016, 02:41:22 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4814516 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.
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 15, 2012, 01:05:10 AM
 #8521

I've uploaded some fresh debug builds for windows here for those who want to try and help me get debug information:

http://ck.kolivas.org/apps/cgminer/debug/

These builds have optimisations disabled to hopefully try and get meaningful debug information out of them. It's annoying how hard windows builds are to debug...

Oh and the libcurl dll included in the 2.10.0 archive is already one with the fix from 2.9.7 (even though it's a different size) so there's no point trying a different dll if you are getting crashes.


cgminer.exe caused an Access Violation at location 65722074 Reading from location 65722074.

Registers:
eax=00000000 ebx=0028f570 ecx=747b2e09 edx=00000000 esi=00000002 edi=00000000
eip=771c15de esp=0028f55c ebp=0028faa4 iopl=0         nv up ei pl zr na po nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246

Call stack:
771C15DE  ntdll.dll:771C15DE  ZwRaiseException
75111A2C  kernel32.dll:75111A2C  WaitForMultipleObjectsEx
75114220  kernel32.dll:75114220  WaitForMultipleObjects
6248320B  pthreadGC2.dll:6248320B  pthreadCancelableTimedWait
haha, winblows API on its finest Cheesy

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
1480732882
Hero Member
*
Offline Offline

Posts: 1480732882

View Profile Personal Message (Offline)

Ignore
1480732882
Reply with quote  #2

1480732882
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
December 15, 2012, 01:15:00 AM
 #8522

I have tried to run cgminer with scrypt enabled on my windows 7 machine with a 6850hd for fun but cannot get it to run. I followed the tutorial and ended up with:

cgminer --scrypt -o #somep2ppool# -u myAddress -p x --shaders 960 --intensity 12 --worksize 128 -g 1

but it just crashes. Even: cgminer --scrypt crashes.

Do I need to install/compile some scrypt library or something? (I have been using the windows binaries)
Make sure you at least have sdk2.6 as well, meaning the one that comes with driver 11.12 or later, and you need MORE SYSTEM RAM to mine ltc.

I didn't know how to see which SDK I have but after your comment I updated Catalyst to the latest non-beta version (12.10) and this did not change behaviour.

Note I did not follow this part of the readme (because I am not using a Linux distro):
Code:
Step 1 on linux:
export GPU_MAX_ALLOC_PERCENT=100
If you do not do this, you may find it impossible to scrypt mine. You may find
a value of 40 is enough and increasing this further has little effect.

export GPU_USE_SYNC_OBJECTS=1
may help CPU usage a little as well.


Is anything logged somewhere? It just doesn't work and doesn't give me anything to work with.

wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
December 15, 2012, 12:33:37 PM
 #8523

Bump. Does anyone have an idea what can cause this? I cannot find any log files anywhere. It merely crashes.


juhakall
Sr. Member
****
Offline Offline

Activity: 422



View Profile
December 15, 2012, 12:50:34 PM
 #8524

I've noticed two problems with stratum backup pools, that still exist on 2.10.1. The bigger problem is that stratum backup pools can become permanently dead. This is only happening on my rigs with wireless connections, so maybe it's a problem with latency / packet loss? Second problem is that with failover-only disabled, most leaked shares seem to go to my getwork backup pool, even though it's last on the list. I have two stratum backup pools with higher priority than the getwork pool, but they rarely (if ever) get leaked shares. This is only a small matter, since share leakage is very low.
wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
December 15, 2012, 01:21:55 PM
 #8525

Thanks for the reply. I don't really know what Stratum backup servers are so I think it is unlikely this is the cause (right?). I FYI this crash happens the second after I run the bat file.

Concerning the wireless issues I am on wireless (via an adapter) because there is no clear way to connect my router to my pc without laying the cable all across the living room Tongue

When I run the exact same script without the --scrypt it does work (with the litecoin p2ppool) but it runs at 220Mh/s or something so I guess it is not doing anything useful then right? (it is very weird that shares are being accepted though, how can that be?)

wachtwoord
Legendary
*
Offline Offline

Activity: 1484



View Profile WWW
December 15, 2012, 02:37:44 PM
 #8526

I have tried to run cgminer with scrypt enabled on my windows 7 machine with a 6850hd for fun but cannot get it to run. I followed the tutorial and ended up with:

cgminer --scrypt -o #somep2ppool# -u myAddress -p x --shaders 960 --intensity 12 --worksize 128 -g 1

but it just crashes. Even: cgminer --scrypt crashes.

Do I need to install/compile some scrypt library or something? (I have been using the windows binaries)
Make sure you at least have sdk2.6 as well, meaning the one that comes with driver 11.12 or later, and you need MORE SYSTEM RAM to mine ltc.

I found out you meant the ACL SDK. I just updated that to 2.8 to no avail Sad

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 15, 2012, 09:03:33 PM
 #8527

I've noticed two problems with stratum backup pools, that still exist on 2.10.1. The bigger problem is that stratum backup pools can become permanently dead. This is only happening on my rigs with wireless connections, so maybe it's a problem with latency / packet loss? Second problem is that with failover-only disabled, most leaked shares seem to go to my getwork backup pool, even though it's last on the list. I have two stratum backup pools with higher priority than the getwork pool, but they rarely (if ever) get leaked shares. This is only a small matter, since share leakage is very low.
I need to investigate the dead pool issue. I haven't seen it happen myself.
As for leaking shares, stratum and gbt pools actually don't leak shares at all with or without failover-only mode. You only get leakage if the primary pool is getwork and you're not in failover only mode.

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

Activity: 1764



View Profile
December 15, 2012, 11:35:39 PM
 #8528

i've been running 2.10.1 for over 24 hrs now w/o any issues on win 7.   Cheesy
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 15, 2012, 11:38:00 PM
 #8529

i've been running 2.10.1 for over 24 hrs now w/o any issues on win 7.   Cheesy
Grin well it was the main reason for the updated version. Glad to see I finally resolved that annoying bug, and it was as expected deep within libcurl dll for windows managing raw sockets. I fixed one bug but there seem to be numerous others...

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

Activity: 626


Mining since May 2011.


View Profile
December 16, 2012, 03:59:21 AM
 #8530

i've been running 2.10.1 for over 24 hrs now w/o any issues on win 7.   Cheesy
Grin well it was the main reason for the updated version. Glad to see I finally resolved that annoying bug, and it was as expected deep within libcurl dll for windows managing raw sockets. I fixed one bug but there seem to be numerous others...

Going on about 30+ hours now, zero issues. (Win7 x64) Cool Thanks!
crazyates
Legendary
*
Offline Offline

Activity: 938



View Profile
December 16, 2012, 06:40:49 AM
 #8531

i've been running 2.10.1 for over 24 hrs now w/o any issues on win 7.   Cheesy
Weird, cuz I was having freezing issues of 2.9.7, but now I'm not. Been good for 24 hours now. Next time it freezes, I'll upgrade to the newest.  Wink

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
crazyates
Legendary
*
Offline Offline

Activity: 938



View Profile
December 16, 2012, 06:42:27 AM
 #8532

Also, anyone like to respond to this: https://bitcointalk.org/index.php?topic=131035.0
I'm especially interested in the network usage differences between BFGminer and CGMiner when using various protocols?

Tips? 1crazy8pMqgwJ7tX7ZPZmyPwFbc6xZKM9
Previous Trade History - Sale Thread
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 16, 2012, 06:53:34 AM
 #8533

Also, anyone like to respond to this: https://bitcointalk.org/index.php?topic=131035.0
I'm especially interested in the network usage differences between BFGminer and CGMiner when using various protocols?
Stratum on the hostile fork of cgminer uses approximately 100x (?1000x) the bandwidth of stratum on cgminer.

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

Activity: 422



View Profile
December 16, 2012, 04:30:30 PM
 #8534

I've noticed two problems with stratum backup pools, that still exist on 2.10.1. The bigger problem is that stratum backup pools can become permanently dead. This is only happening on my rigs with wireless connections, so maybe it's a problem with latency / packet loss? Second problem is that with failover-only disabled, most leaked shares seem to go to my getwork backup pool, even though it's last on the list. I have two stratum backup pools with higher priority than the getwork pool, but they rarely (if ever) get leaked shares. This is only a small matter, since share leakage is very low.
I need to investigate the dead pool issue. I haven't seen it happen myself.
As for leaking shares, stratum and gbt pools actually don't leak shares at all with or without failover-only mode. You only get leakage if the primary pool is getwork and you're not in failover only mode.

Here's how the shares end up to pool 3, the only getwork pool, when primary pool connection drops:

[2012-12-16 18:14:05] Accepted 0b30f6dd Diff 22/4 GPU 0 pool 0
[2012-12-16 18:14:32] Accepted 1717f2fd Diff 11/4 GPU 0 pool 0
[2012-12-16 18:16:02] Lost 2 shares due to stratum disconnect on pool 0
[2012-12-16 18:16:37] Accepted 481563e1 Diff 3/1 GPU 1 pool 3
[2012-12-16 18:16:52] Accepted 3752b425 Diff 4/1 GPU 0 pool 3
[2012-12-16 18:16:53] Accepted ed86b60d Diff 1/1 GPU 0 pool 3
[2012-12-16 18:17:02] Pool 0 http://mint.bitminter.com:3333 not responding!
[2012-12-16 18:17:02] Switching to http://us1.eclipsemc.com:3333
[2012-12-16 18:17:16] Accepted 33ec2056 Diff 4/1 GPU 1 pool 3
[2012-12-16 18:17:24] Accepted 3c342f03 Diff 4/1 GPU 0 pool 1

Some shares go to pool 3 before cgminer switches to my first backup pool. This also happens during startup, but it's only a share or two.

"Lost 2 shares due to stratum disconnect on pool 0" happens because stratum can't handle disconnects currently, right?
Roy Badami
Hero Member
*****
Offline Offline

Activity: 562


View Profile
December 16, 2012, 06:40:25 PM
 #8535

I've noticed two problems with stratum backup pools, that still exist on 2.10.1. The bigger problem is that stratum backup pools can become permanently dead. This is only happening on my rigs with wireless connections, so maybe it's a problem with latency / packet loss? Second problem is that with failover-only disabled, most leaked shares seem to go to my getwork backup pool, even though it's last on the list. I have two stratum backup pools with higher priority than the getwork pool, but they rarely (if ever) get leaked shares. This is only a small matter, since share leakage is very low.
I need to investigate the dead pool issue. I haven't seen it happen myself.
As for leaking shares, stratum and gbt pools actually don't leak shares at all with or without failover-only mode. You only get leakage if the primary pool is getwork and you're not in failover only mode.

I think this is probably the same issue that I hit.  It seems easy to reproduce. [EDIT: the dead pools issue, that is]  I have pools configured as follows (2.10.1-ish build).  Pool management is failover, failover only is disabled.

stratum+tcp://us1.eclipsemc.com:3333
stratum+tcp://us2.eclipsemc.com:3333
stratum+tcp://eustratum.ozco.in:3333
http://api.bitcoin.cz:8332 (which upgrades to Stratum anyway)

Steps to reproduce:

1. Ensure you are happily mining on pool 0, with cgminer showing all pools as alive
2. Pull the network connection and wait until cgminer declares all pools dead (may take a few minutes)
3. Restore the network connection.  cgminer will declare pool 0 alive and start mining.  Pools 1-3 remain dead indefinitely.

roy
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 16, 2012, 11:42:08 PM
 #8536

Roger those comments, that gives me something to work with. Yes there is no way to reconnect stratum (yet?) and submit shares you were working on last time you were connected unfortunately.

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

Activity: 1358


View Profile
December 17, 2012, 12:17:19 AM
 #8537

Just upgrade to 2.10.1 from 2.9.7.

The hanging problem when the connection goes down/unstable seems to be gone under windows.  Yay!!  It wasn't just stratum, btw, I saw it on my p2pool nodes as well.

However I'm having a problem with it dividing work up across my backup pools.  I had to remove one of my p2pool nodes because it was sending work to 3 nodes almost all the time.  I'm not sure why 2.9.7 was able to send all 2g/h of work to one node, and now 2.10.1 sends most, but not all of it, there, and the rest to other nodes.  Is this intended?

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
December 17, 2012, 12:27:40 AM
 #8538

Just upgrade to 2.10.1 from 2.9.7.

The hanging problem when the connection goes down/unstable seems to be gone under windows.  Yay!!  It wasn't just stratum, btw, I saw it on my p2pool nodes as well.

However I'm having a problem with it dividing work up across my backup pools.  I had to remove one of my p2pool nodes because it was sending work to 3 nodes almost all the time.  I'm not sure why 2.9.7 was able to send all 2g/h of work to one node, and now 2.10.1 sends most, but not all of it, there, and the rest to other nodes.  Is this intended?

M
It's a problem with the balancing with plain non-rolltime getwork based pools in the current version. This can be alleviated with the failover-only option for the time being which can be enabled on the command line or via the menu under pools. You should hardly ever get share leakage or run out of work with the latest work scheduler anyway so I'm considering making failover only the default.

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

Activity: 562


View Profile
December 17, 2012, 01:05:15 AM
 #8539

Steps to reproduce:

1. Ensure you are happily mining on pool 0, with cgminer showing all pools as alive
2. Pull the network connection and wait until cgminer declares all pools dead (may take a few minutes)
3. Restore the network connection.  cgminer will declare pool 0 alive and start mining.  Pools 1-3 remain dead indefinitely.

roy

Just to add, in this state I see cgminer maintaining TCP connections to all pools (including the ones it thinks are still dead) and I'm 90% sure i've seen it report that pool 3 (slush) saw a new block, even when it thought pool 3 was dead.

So some part of cgminer knows the pools are alive and is talking Stratum to them, but for whatever reason they're not getting marked as alive for pool  management purporses.

roy
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 17, 2012, 01:06:59 AM
 #8540

Steps to reproduce:

1. Ensure you are happily mining on pool 0, with cgminer showing all pools as alive
2. Pull the network connection and wait until cgminer declares all pools dead (may take a few minutes)
3. Restore the network connection.  cgminer will declare pool 0 alive and start mining.  Pools 1-3 remain dead indefinitely.

Just to add, in this state I see cgminer maintaining TCP connections to all pools (including the ones it thinks are still dead) and I'm 90% sure i've seen it report that pool 3 (slush) saw a new block, even when it thought pool 3 was dead.

So some part of cgminer knows the pools are alive and is talking Stratum to them, but for whatever reason they're not getting marked as alive for pool  management purporses.
And that helps too, thanks.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 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 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 ... 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!