Author

Topic: [ANN] cudaMiner & ccMiner CUDA based mining applications [Windows/Linux/MacOSX] - page 826. (Read 3426976 times)

newbie
Activity: 17
Merit: 0
I got an error in last build attempt.
Code:
maxcoin.cpp: In function ‘int scanhash_keccak(int, uint32_t*, const uint32_t*, uint32_t, timeval*, timeval*, long unsigned int*)’:
maxcoin.cpp:90:42: error: ‘min’ was not declared in this scope
   pdata[19] = min(max_nonce, n-throughput); // CB: don't report values bigger max_nonce

Pff.2 very crazy days and nights. I came here after christians post on the nvidia cuda forum. I went through 100 pages until finally managed to compile cudaminer and the wallet, just to find that it is too late. Anyway I tried the latest version and I get the same error as in the quote. The previous version I have is from 7th  I think.


This maxcoin is madness, I am doing some solo mining and some in the pools. In both cases I have no ideea if the work is accepted all, or just 10 %. The solo miner reports no errors, just new work. The pool minin at https://max.mining4all.eu gives lot so Yys and ver few Boos, ut I have no ideea if it works or not. So far very small returns 0.3 maxcoinf for 6 hours. The VTC seems more profitable as I seen so far.

Cristian
legendary
Activity: 2044
Merit: 1005
okay, this looks like it might overflow very quickly

Code:
        uint32_t end_nonce = 0xffffffffU / opt_n_threads * (thr_id + 1) - 0x20;

assume only 1 thread mining, then end_nonce will be 0xffffffdfU

now the issue is that when we compute in chunks of about 30000 hashes at once
we will overflow work.data[19] so that the following condition is never met!

Code:
        if (work.data[19] >= end_nonce)
              stratum_gen_work(&stratum, &g_work);

TODO: replace the 0x20 with a value large enough so that overflow will
          not occur.  Alternatively make sure we never update work.data[19]
          with a value smaller than the previous value. Instead write 0xffffffffU.


Cant you put it in a long or bigint?
newbie
Activity: 42
Merit: 0
I got an error in last build attempt.
Code:
maxcoin.cpp: In function ‘int scanhash_keccak(int, uint32_t*, const uint32_t*, uint32_t, timeval*, timeval*, long unsigned int*)’:
maxcoin.cpp:90:42: error: ‘min’ was not declared in this scope
   pdata[19] = min(max_nonce, n-throughput); // CB: don't report values bigger max_nonce
newbie
Activity: 37
Merit: 0
Is it just me or did smalltimeminer's max pool just shut down and take all my coins with it?
legendary
Activity: 1400
Merit: 1050
christian something has gone wrong
i am hashing all over the place now, as low as 1Mhash/s

at 45/64

every failure is a duplicate

EDIT: i just saw as low as 500khash/s being done
and that gets me the share accepted! lol

99% gpu load the entire time
and now down to 54/85

EDIT 2

so bad i have had to close the miner
I have also the same problem the hasrate is all over the place and rather low
member
Activity: 70
Merit: 10
Mining with a single GTX 780 on a worker I can much better replicate the problem now.
I get huge reject rates too.

A string of boo's is always interrupted by a "stratum detected new block" message.
But somewhere while working on that block the nonce space overflows and we're
finding previous results again.

Meaning that a lot of the work is wasted.

Christian


+1

Now that the problem has been identified, I've got faith in you that it'll be fixed in now time Wink
member
Activity: 70
Merit: 10
newbie
Activity: 28
Merit: 0
christian something has gone wrong
i am hashing all over the place now, as low as 1Mhash/s

at 45/64

every failure is a duplicate

EDIT: i just saw as low as 500khash/s being done
and that gets me the share accepted! lol

99% gpu load the entire time
and now down to 54/85

EDIT 2

so bad i have had to close the miner

Restart your PC and see if it gives you the same problem. I had this issue with the 12-18 version, seems my drivers had somehow stopped giving a damn. Rebooting reset it.
sr. member
Activity: 350
Merit: 250
christian something has gone wrong
i am hashing all over the place now, as low as 1Mhash/s

at 45/64

every failure is a duplicate

EDIT: i just saw as low as 500khash/s being done
and that gets me the share accepted! lol

99% gpu load the entire time
and now down to 54/85

EDIT 2

so bad i have had to close the miner
hero member
Activity: 756
Merit: 502
Christian I got my first 1mil MRC after 3 hours of mining. It is somehow too fast or I'm just too lucky today Cheesy

welcome to the millionaire's club! Here, have a cigar.
hero member
Activity: 756
Merit: 502
Mining with a single GTX 780 on a worker I can much better replicate the problem now.
I get huge reject rates too.

A string of boo's is always interrupted by a "stratum detected new block" message.
But somewhere while working on that block the nonce space overflows and we're
finding previous results again.

Meaning that a lot of the work is wasted.

Christian
hero member
Activity: 938
Merit: 1000
Christian I got my first 1mil MRC after 3 hours of mining. It is somehow too fast or I'm just too lucky today Cheesy
sr. member
Activity: 266
Merit: 250
guys so funny pump and dump to the MAX happening right now on mxcnow https://mcxnow.com/
sr. member
Activity: 350
Merit: 250
right now its more to completely remove the number or rejected shares if possible

[2014-02-09 18:03:40] GPU #0: GeForce GTX 660, 62.56 khash/s
[2014-02-09 18:03:40] GPU #0: GeForce GTX 660, 63546 khash/s
[2014-02-09 18:03:40] accepted: 187/190 (98.42%), 63546 khash/s (booooo)
[2014-02-09 18:03:40] DEBUG: reject reason: Duplicate share
[2014-02-09 18:04:24] GPU #0: GeForce GTX 660, 86865 khash/s
[2014-02-09 18:04:26] DEBUG: job_id='5c85' extranonce2=00000000 ntime=52f7c2f2
[2014-02-09 18:04:26] Stratum detected new block
[2014-02-09 18:04:26] GPU #0: GeForce GTX 660, 85414 khash/s
thats what we are trying to remove now :-)
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
[2014-02-09 18:03:40] GPU #0: GeForce GTX 660, 62.56 khash/s
[2014-02-09 18:03:40] GPU #0: GeForce GTX 660, 63546 khash/s
[2014-02-09 18:03:40] accepted: 187/190 (98.42%), 63546 khash/s (booooo)
[2014-02-09 18:03:40] DEBUG: reject reason: Duplicate share
[2014-02-09 18:04:24] GPU #0: GeForce GTX 660, 86865 khash/s
[2014-02-09 18:04:26] DEBUG: job_id='5c85' extranonce2=00000000 ntime=52f7c2f2
[2014-02-09 18:04:26] Stratum detected new block
[2014-02-09 18:04:26] GPU #0: GeForce GTX 660, 85414 khash/s
hero member
Activity: 938
Merit: 1000
i just started pool mining. and yep the same 4 people. will be me, you, bathrobe, and christian until the next big hit haha

31/47 shares on max.netcodepool.org

ouch!

EDIT

almost at 50% rejected now, this is aweful lmao

max.netcodepool.org is bad for cudaminer.

Try https://max.hashfaster.com or pool.chunky.ms/max.

These two have better accepted rates for me.
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
hashfaster:

3] accepted: 180/182 (98.90%), 1003 khash/s (yay!!!)

Though, this one usually goes well at the beginning....
sr. member
Activity: 350
Merit: 250
compiling and ready with a new worker lmao

EDIT

got to 24/26 then got 4 repeated shares
hero member
Activity: 756
Merit: 502

try the new commit. Got to create a new worker lol Wink
sr. member
Activity: 350
Merit: 250
i got so many rejects that they banned my worker haha
Jump to: