Author

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

hero member
Activity: 576
Merit: 500
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
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
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/
hero member
Activity: 563
Merit: 500
v2.10.1 tag seems to be missing
legendary
Activity: 1795
Merit: 1208
This is not OK.
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://bitcointalksearch.org/topic/m.1180029

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

Not really a facepalm, it probably should be in this section.
legendary
Activity: 1795
Merit: 1208
This is not OK.
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?
legendary
Activity: 1493
Merit: 1003
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://bitcointalksearch.org/topic/m.1180029

Oh.. been searching in mining software... 'facepalm'...
Thank's os2sam!!!
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
...
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
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
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
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
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.
legendary
Activity: 3586
Merit: 1098
Think for yourself
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://bitcointalksearch.org/topic/m.1180029
hero member
Activity: 563
Merit: 500
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
legendary
Activity: 1493
Merit: 1003
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
legendary
Activity: 1386
Merit: 1097
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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.
legendary
Activity: 1493
Merit: 1003
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
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
legendary
Activity: 2128
Merit: 1002
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.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Despite the windows+stratum bugs that people are still encountering with 2.10.0, they are no worse than with 2.9.7, and no real showstopper bugs have shown up on 2.10.0 apart from lots of leaking shares when the primary pool is getwork without rolltime (which pools are still that bad!?). So despite the fact that windows+stratum disconnect is still problematic, I am going to raise the status of 2.10.0 to stable since it is no worse than the 2.9 branch. The substantial changes in 2.10 were all actually in the scheduling of work and there has not been a significant bug there as far as I can tell.

I will continue to pursue these windows bugs till no one is mining on windows any more... uh I mean till hopefully I can find wtf is uniquely wrong on windows. I'm so annoyed that 99% of my debugging effort is now directed to windows specific issues that I find myself wishing that I had made cgminer linux only. I could probably develop cgminer much faster if it was possible to drop windows support. Of course that's crazy talk...

EDIT: Note I will likely be releasing 2.10.1 shortly anyway.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Bug report:

Not sure if there is a place I should report bugs or if this bug has been reported but I can't be bothered to find out so I figured reporting it here is better than nothing.

Bug:
MH/s between GPU0 and GPU1 is flipped. Everything else is correctly matching the right GPU but apparently my 6950 is giving me 25MH/s and my 6450 is giving me 369MH/s. I upgraded from version 2.7.5 where this issue didn't exist.
I have not tested just running one of my cards or with more than 2 cards.
6950 appears in the top line and 6450 appears in the bottom line. while the MH/s are reversed.

Setup:
CGminer 2.9.7
Windows 8
GPU0 6950 unlocked xfx xxx
GPU1 6450 gigabyte passive
MSI motherboard with 2x pci-e 16x 8x 6950 in top slot
Coincidence related to something else maybe like a driver change. The GPU code hasn't been touched in any significant way in many months.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
He stated earlier that he's using Gentoo (woohoo!).

AFAIK, there are no native cuda kernels for cgminer.


I thought there were *nix versions of those utilities.

Didn't CGMiner used to have CUDA support??  Not that it matters this late in the game.
The only openCL implementation for nvidia devices is through the cuda driver, meaning it goes cgminer->opencl->cuda->GPU. There is no way to do native cgminer->cuda->GPU. It's not at all worth it since the performance is identical, and they earn no money and GPU mining is on the way out. Throw me 1000 BTC and I'll make you a native cuda version, but it's not going to be of any advantage.
Jump to: