Bitcoin Forum
December 06, 2016, 10:03:42 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 ... 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 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 ... 830 »
  Print  
Author Topic: OFFICIAL CGMINER mining software thread for linux/win/osx/mips/arm/r-pi 4.9.2  (Read 4820198 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.
ninjaboon
Legendary
*
Offline Offline

Activity: 1512



View Profile WWW
December 14, 2012, 10:36:40 AM
 #8501

I'm running cgminer 2.10.0 with us.eclipsemc.com:3333 instead of adding server numbers like us1.eclipsemc.com:3333 on Win7...I see less disconnects this way.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481061822
Hero Member
*
Offline Offline

Posts: 1481061822

View Profile Personal Message (Offline)

Ignore
1481061822
Reply with quote  #2

1481061822
Report to moderator
1481061822
Hero Member
*
Offline Offline

Posts: 1481061822

View Profile Personal Message (Offline)

Ignore
1481061822
Reply with quote  #2

1481061822
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 14, 2012, 11:05:37 AM
 #8502

New version: 2.10.1, 14th December 2012

Mainly to try and fix the windows+stratum disconnect bug.


Human readable changelog:

Converted the curl code that was where all the crashing on windows was occurring into the raw code equivalents. Hopefully this quashes the crashes with stratum on various flavours of windows.
Ztex and MMQ updates.
Miner.php updates
New API features and code improvements.


Full changelog:

- Check for EWOULDBLOCK when supported in send and recv as well.
- Use the raw send() command instead of curl_easy_send since curl raw socket
usage introduces random bugs on windows.
- Use raw recv() command in place of curl_easy_recv since the curl
implementation introduces random bugs on windows builds when the recv fails.
- miner.php when displaying a single rig, add prev/next rig buttons if they
exist, next to refresh
- miner.php allow custom page joins for STATS
- API show if pool has GBT (so people know not to use that pool)
- miner.php - include windows easyphp link
- driver-ztex: use the correct size for the swap array
- API stats - display pool byte transfer stats
- Pool store data transfer stats
- README ModMiner dependency
- Benchmark incorrect work size
- ChangeLog refer to NEWS
- MMQ handle over temp differently and hash longer
- driver-ztex: search the complete noncerange based on the actual speed
- README - update ModMiner details
- API-README update
- api use a dynamic io buffer, truncated before it reaches the current ~64k
limit

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

Activity: 1331



View Profile
December 14, 2012, 11:36:03 AM
 #8503

I don't know if this is the right place to ask this, but has anyone tried to compile the stratum proxy for dd-wrt?
Is it possible?
How could I setup the compile environment?

Thank you all in advance.

Free Coins - 🍒🍉🌼 Free Game🌼🍉🍒
BEST FAUCET EVER!!! - Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 14, 2012, 11:38:14 AM
 #8504

I don't know if this is the right place to ask this, but has anyone tried to compile the stratum proxy for dd-wrt?
Is it possible?
How could I setup the compile environment?

Thank you all in advance.
This is not the right place. Check the stratum thread. And the proxy is in python so needs no compiling, just python.

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
December 14, 2012, 11:47:10 AM
 #8505

I don't know if this is the right place to ask this, but has anyone tried to compile the stratum proxy for dd-wrt?

As ckolivas said, there's no compilation involved. Please follow instructions from https://github.com/slush0/stratum-mining-proxy , it should work even on dd-wrt (it requires only python 2.6/2.7).

Sorry for OT.

Jay_Pal
Legendary
*
Offline Offline

Activity: 1331



View Profile
December 14, 2012, 11:51:42 AM
 #8506

Sorry for posting here, I haven't found the Stratum thread yet (the search leads me to the wrong results), but thank you both for the tip.
I'm already digging into it.
Smiley

Free Coins - 🍒🍉🌼 Free Game🌼🍉🍒
BEST FAUCET EVER!!! - Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
Roy Badami
Hero Member
*****
Offline Offline

Activity: 562


View Profile
December 14, 2012, 12:49:01 PM
 #8507

Just had 2.10.0 fail to failover on me.

Also it failed to failback.  us1 came back last night, but as of this morning cgminer is still mining on us2 (even though the pool management screen shows all pools as alive).  I thought that in the default failover policy it was supposed to failback to a pool higher up the list, once it's been stable for a little while?

roy
os2sam
Legendary
*
Offline Offline

Activity: 1918


Think for yourself


View Profile
December 14, 2012, 01:25:55 PM
 #8508

Sorry for posting here, I haven't found the Stratum thread yet (the search leads me to the wrong results), but thank you both for the tip.
I'm already digging into it.
Smiley

https://bitcointalk.org/index.php?topic=108533.msg1180029#msg1180029

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?
PatMan
Hero Member
*****
Offline Offline

Activity: 924


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
December 14, 2012, 03:59:03 PM
 #8509

cut/paste ...

2.10.0
An Xubuntu 11.04 x86_64 executable is in my github downloads called cgminer-2.10.0a
https://github.com/kanoi/cgminer/downloads
(it also works on Fedora 16 and 17)

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
First get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

No problems so far on my GPU or 'BFL+2xICA'

Since I'm no longer GPU mining, I just run it for a while on my single 6950 to see what happens

BFL+ICAs (1.6GH/s) on OzCoin Stratum with fixed 8 diff

(MMQ is ... still ... doing new code testing)

The same configure options as cvolivas' binary version
In case anyone was wondering:
CFLAGS="-O2 -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt
make clean
make


Perfect - thanks Kano. Sorted.

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
December 14, 2012, 04:50:10 PM
 #8510

cut/paste ...

2.10.1
An Xubuntu 11.04 x86_64 executable is in my github called cgminer-2.10.1a
https://github.com/kanoi/cgminer-binaries
(it also works on Fedora 16 and 17)

Yes I had to create a seperate git for the binaries since github has disabled the download feature

To get the binary simply:
wget https://github.com/kanoi/cgminer-binaries/raw/master/cgminer-2.10.1a
chmod +x cgminer-2.10.1a
md5sum cgminer-2.10.1a

f81c40434b1a88a8c5f437033e3e640e  cgminer-2.10.1a

For anyone who didn't realise, it's just the executable file to put in place of 'cgminer'
Nothing else needs changing
First get and extract the full binary release from ckolivas and then copy my file in place of 'cgminer'

No problems so far (50 minutes) on my GPU, MMQ or 'BFL+2xICA'

Since I'm no longer GPU mining, I just run it for a while on my single 6950 to see what happens

BFL+ICAs (1.6GH/s) on OzCoin Stratum with fixed 8 diff
MMQ (795MH/s) on OzCoin Stratum with fixed 8 diff

The same configure options as cvolivas' binary version
In case anyone was wondering:
CFLAGS="-O2 -W -Wall" ./autogen.sh --enable-icarus --enable-bitforce --enable-ztex --enable-modminer --enable-scrypt
make clean
make

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
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
December 14, 2012, 04:55:17 PM
 #8511

...
Perfect - thanks Kano. Sorted.
Heh - timed that well (badly) Smiley
I tried to upload 2.10.1a at the same time you posted ... then spent a while messing around creating a new git cgminer-binaries
The download section no longer allows uploading new content and github will be deleting it in 90 days

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
Jay_Pal
Legendary
*
Offline Offline

Activity: 1331



View Profile
December 14, 2012, 05:20:14 PM
 #8512

Sorry for posting here, I haven't found the Stratum thread yet (the search leads me to the wrong results), but thank you both for the tip.
I'm already digging into it.
Smiley

https://bitcointalk.org/index.php?topic=108533.msg1180029#msg1180029

Oh.. been searching in mining software... 'facepalm'...
Thank's os2sam!!!

Free Coins - 🍒🍉🌼 Free Game🌼🍉🍒
BEST FAUCET EVER!!! - Don't Panic... - 1G8zjUzeZBfJpeCbz1MLTc6zQHbLm78vKc
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
December 14, 2012, 05:21:05 PM
 #8513

The download section no longer allows uploading new content and github will be deleting it in 90 days

Annoying, isn't it :/

Most displeased.

What alternatives are there?
P_Shep
Legendary
*
Offline Offline

Activity: 924


View Profile WWW
December 14, 2012, 05:22:00 PM
 #8514

Sorry for posting here, I haven't found the Stratum thread yet (the search leads me to the wrong results), but thank you both for the tip.
I'm already digging into it.
Smiley

https://bitcointalk.org/index.php?topic=108533.msg1180029#msg1180029

Oh.. been searching in mining software... 'facepalm'...
Thank's os2sam!!!

Not really a facepalm, it probably should be in this section.
Roy Badami
Hero Member
*****
Offline Offline

Activity: 562


View Profile
December 14, 2012, 07:53:04 PM
 #8515

v2.10.1 tag seems to be missing
kano
Legendary
*
Offline Offline

Activity: 1918


Linux since 1997 RedHat 4


View Profile
December 14, 2012, 10:34:48 PM
 #8516

The download section no longer allows uploading new content and github will be deleting it in 90 days

Annoying, isn't it :/

Most displeased.

What alternatives are there?
Well as I mentioned, I just created a cgminer-binaries git
https://github.com/kanoi/cgminer-binaries

Sorta solves the problem Smiley

Though, you can see on the old /downloads/ how many times the old ones have been downloaded, but not on a git page.
https://github.com/kanoi/cgminer/downloads/

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
Morblias
Hero Member
*****
Offline Offline

Activity: 576


View Profile
December 14, 2012, 11:55:43 PM
 #8517

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

Tips / Donations accepted: 1Morb18DsDHNEv6TeQXBdba872ZSpiK9fY
-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 15, 2012, 12:45:59 AM
 #8518

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
Oh well. Hopefully avoiding using curl as much as possible with raw sockets on stratum in 2.10.1 fixes it.

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

Activity: 1484



View Profile WWW
December 15, 2012, 12:55:32 AM
 #8519

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)

-ck
Moderator
Legendary
*
Offline Offline

Activity: 1988


Ruu \o/


View Profile WWW
December 15, 2012, 12:58:27 AM
 #8520

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.

Primary developer/maintainer for cgminer and ckpool/ckproxy.
Pooled mine at kano.is, solo mine at solo.ckpool.org
-ck
Pages: « 1 ... 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 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 ... 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!