Author

Topic: CCminer(SP-MOD) Modded NVIDIA Maxwell / Pascal kernels. - page 1164. (Read 2347601 times)

sp_
legendary
Activity: 2954
Merit: 1087
Team Black developer
- Compute 3.0 is broken. Need to fix that.
- Also I got a couple of not validate on the cpu when mining x15 on a 750ti. Need to investigate.

Working on Spreadminer 6 for the donators. This will support compute 35 devices as well as being faster than version 5.

newbie
Activity: 14
Merit: 0
am solo mining DGB in the hope that they go up in value.
I got one "yay" this morning and this went into my wallet which is the official version and I got 2386.045241 DBG
I got another "yay" this afternoon but nothing went to my wallet, I can see things like "AddToWallet" and "ProcessBlock: ACCEPTED" and "generated 2385.965241"  in the debug file for the wallet
I am using ccminer sp version from a few days ago from git which I compiled myself,
My question is what do I look for in the log to tell me what the problem is?
Does my wallet need to be unlocked during mining, although I am fairly sure it was locked when I got the 1st "yay" this morning
I've spent a couple of hours googling this issue and not found anything relevant, apologies if this is a noob question that I should know.

Sounds like it was stale/orphan. Around the "generated 2385.965241" part there should be something about it being "stale". It differs for some wallets but here's an example from a random wallet log:

ProcessBlock: ACCEPTED
CheckWork() : new proof-of-work block found 
  hash: 0000006812db9d7092ce94a8d2f0039c604ff912caa3ad9d2f780dc93e892d2e 
target: 00000082ca000000000000000000000000000000000000000000000000000000
CBlock(hash=0000006812db9d7092ce94a8d2f0039c604ff912caa3ad9d2f780dc93e892d2e, ver=6, hashPrevBlock=0000004a76735a7c4fc670a46eb94b04edac72cdf994b2a9d2a3f22ac58553a4, hashMerkleRoot=2c8833801a12db668c2c0620ac71907b68ce29a395bb89b17105696c4b4db8c5, nTime=1420946298, nBits=1e0082ca, nNonce=738947891, vtx=1, vchBlockSig=)
  Coinbase(hash=2c8833801a, nTime=1420946296, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 01260103)
    CTxOut(nValue=500.00, scriptPubKey=OP_DUP OP_HASH160 eee7c7c8791fbd1d508c54b62bcac7015ccd9bfd OP_EQUALVERIFY OP_CHECKSIG)
  vMerkleTree: 2c8833801a
generated 500.00
ERROR: CheckWork() : generated block is stale



Thanks for that sample, I can see there it is 1st flagged in CTxOut line OP_DUP. I dont seem to have an error in that place:
2015-02-09 15:07:31 proof-of-work found 
  block-hash: 527bc46a2753ce77be6cd5a146acd765c25ce7c0845485fae3a5046978f02b11
  pow-hash: 0000000000432d1440bafa716127de2e73ff97f36cee52c46277011728112c97
target: 0000000001c5b100000000000000000000000000000000000000000000000000
2015-02-09 15:07:31 CBlock(hash=527bc46a2753ce77be6cd5a146acd765c25ce7c0845485fae3a5046978f02b11, ver=2050, pow_algo=4, pow_hash=0000000000432d1440bafa716127de2e73ff97f36cee52c46277011728112c97, hashPrevBlock=6c3e2b53057d6e1487f054b920ce2f89ac9a9145b440a50bb0cf74ba020c4f47, hashMerkleRoot=cd3a70434310485b6835d1a4206d76846a4b25012fa5f20bafbc4a4ae95a54cb, nTime=1423494446, nBits=1c01c5b1, nNonce=1770140417, vtx=1)
2015-02-09 15:07:31   CTransaction(hash=cd3a704343, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 036cc508011a062f503253482f)
    CTxOut(nValue=2385.96524100, scriptPubKey=0348029581a6ca059c601739a3b8c9)
2015-02-09 15:07:31   vMerkleTree: cd3a70434310485b6835d1a4206d76846a4b25012fa5f20bafbc4a4ae95a54cb
2015-02-09 15:07:31 generated 2385.965241
2015-02-09 15:07:31 keypool keep 2
2015-02-09 15:07:31   nActualTimespan = 1490 before bounds
2015-02-09 15:07:31 GetNextWorkRequired RETARGET
2015-02-09 15:07:31 nTargetTimespan = 8640    nActualTimespan = 1490
2015-02-09 15:07:31 Before: 1c021652  0000000002165200000000000000000000000000000000000000000000000000
2015-02-09 15:07:31 After:  1c01c5b1  0000000001c5b1be9334f0a869f533c65c354a25acf5519ac7dffec1d0d8e298
2015-02-09 15:07:31 AddToWallet cd3a70434310485b6835d1a4206d76846a4b25012fa5f20bafbc4a4ae95a54cb  new
full member
Activity: 202
Merit: 100
am solo mining DGB in the hope that they go up in value.
I got one "yay" this morning and this went into my wallet which is the official version and I got 2386.045241 DBG
I got another "yay" this afternoon but nothing went to my wallet, I can see things like "AddToWallet" and "ProcessBlock: ACCEPTED" and "generated 2385.965241"  in the debug file for the wallet
I am using ccminer sp version from a few days ago from git which I compiled myself,
My question is what do I look for in the log to tell me what the problem is?
Does my wallet need to be unlocked during mining, although I am fairly sure it was locked when I got the 1st "yay" this morning
I've spent a couple of hours googling this issue and not found anything relevant, apologies if this is a noob question that I should know.
sounds low level, but maybe was orphaned block?
Try Debug Console command listtransactions.
hero member
Activity: 672
Merit: 500
Banned: For Your Protection
Question about CUDA 6.5 Toolkit - when I install this, it wants to downgrade my driver from 347.xx, do I have to allow this, or will it function with my current drivers?
You can keep your recent driver. But nVidia CUDA installer often changes driver despite the user choice. In that case you will need to reinstall your favorite driver.

Thanks - Question #2: I got it to compile x64 (first time to actually get ANYTHING to compile  Grin), but I can't get it to compile the 32 bit - I get "Unsupported gpu architecture 'compute_52'" - quick solution?

(Edit: I have 750 Ti's and 660's - so if I could "turn off" the 5.2 and "turn on" the 3.0, that'd be great!)

In VS right click on the project, select Properties and under CUDA C/C++ and Device remove the compute_52,sm_52 part (that's for 900-series cards) and leave the compute_50,sm_50. If you also want the 660 to work you need to add compute_30,sm_30 but that might run into CPU validation issues.

That worked - thanks a lot!! (and yeah - 3.0 - validation issues)

legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
Question about CUDA 6.5 Toolkit - when I install this, it wants to downgrade my driver from 347.xx, do I have to allow this, or will it function with my current drivers?
You can keep your recent driver. But nVidia CUDA installer often changes driver despite the user choice. In that case you will need to reinstall your favorite driver.

Thanks - Question #2: I got it to compile x64 (first time to actually get ANYTHING to compile  Grin), but I can't get it to compile the 32 bit - I get "Unsupported gpu architecture 'compute_52'" - quick solution?

(Edit: I have 750 Ti's and 660's - so if I could "turn off" the 5.2 and "turn on" the 3.0, that'd be great!)

In VS right click on the project, select Properties and under CUDA C/C++ and Device remove the compute_52,sm_52 part (that's for 900-series cards) and leave the compute_50,sm_50. If you also want the 660 to work you need to add compute_30,sm_30 but that might run into CPU validation issues.
hero member
Activity: 672
Merit: 500
Banned: For Your Protection
Question about CUDA 6.5 Toolkit - when I install this, it wants to downgrade my driver from 347.xx, do I have to allow this, or will it function with my current drivers?
You can keep your recent driver. But nVidia CUDA installer often changes driver despite the user choice. In that case you will need to reinstall your favorite driver.

Thanks - Question #2: I got it to compile x64 (first time to actually get ANYTHING to compile  Grin), but I can't get it to compile the 32 bit - I get "Unsupported gpu architecture 'compute_52'" - quick solution?

(Edit: I have 750 Ti's and 660's - so if I could "turn off" the 5.2 and "turn on" the 3.0, that'd be great!)
legendary
Activity: 1510
Merit: 1003
Question about CUDA 6.5 Toolkit - when I install this, it wants to downgrade my driver from 347.xx, do I have to allow this, or will it function with my current drivers?
You can keep your recent driver. But nVidia CUDA installer often changes driver despite the user choice. In that case you will need to reinstall your favorite driver.
hero member
Activity: 672
Merit: 500
Banned: For Your Protection
Has anyone got build instructions  from source on Windows 8 ?

Install Visual Studio Express 2013 for Windows Desktop
Install Nvidia CUDA 6.5 Toolkit
Download the ccminer source code
Open the ccminer.sln file
Make sure the compiler is set to "release" and "Win32"
Rebuild solution

Then you should see the ccminer.exe in the release folder

Question about CUDA 6.5 Toolkit - when I install this, it wants to downgrade my driver from 347.xx, do I have to allow this, or will it function with my current drivers?
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
am solo mining DGB in the hope that they go up in value.
I got one "yay" this morning and this went into my wallet which is the official version and I got 2386.045241 DBG
I got another "yay" this afternoon but nothing went to my wallet, I can see things like "AddToWallet" and "ProcessBlock: ACCEPTED" and "generated 2385.965241"  in the debug file for the wallet
I am using ccminer sp version from a few days ago from git which I compiled myself,
My question is what do I look for in the log to tell me what the problem is?
Does my wallet need to be unlocked during mining, although I am fairly sure it was locked when I got the 1st "yay" this morning
I've spent a couple of hours googling this issue and not found anything relevant, apologies if this is a noob question that I should know.

Sounds like it was stale/orphan. Around the "generated 2385.965241" part there should be something about it being "stale". It differs for some wallets but here's an example from a random wallet log:

ProcessBlock: ACCEPTED
CheckWork() : new proof-of-work block found 
  hash: 0000006812db9d7092ce94a8d2f0039c604ff912caa3ad9d2f780dc93e892d2e 
target: 00000082ca000000000000000000000000000000000000000000000000000000
CBlock(hash=0000006812db9d7092ce94a8d2f0039c604ff912caa3ad9d2f780dc93e892d2e, ver=6, hashPrevBlock=0000004a76735a7c4fc670a46eb94b04edac72cdf994b2a9d2a3f22ac58553a4, hashMerkleRoot=2c8833801a12db668c2c0620ac71907b68ce29a395bb89b17105696c4b4db8c5, nTime=1420946298, nBits=1e0082ca, nNonce=738947891, vtx=1, vchBlockSig=)
  Coinbase(hash=2c8833801a, nTime=1420946296, ver=1, vin.size=1, vout.size=1, nLockTime=0)
    CTxIn(COutPoint(0000000000, 4294967295), coinbase 01260103)
    CTxOut(nValue=500.00, scriptPubKey=OP_DUP OP_HASH160 eee7c7c8791fbd1d508c54b62bcac7015ccd9bfd OP_EQUALVERIFY OP_CHECKSIG)
  vMerkleTree: 2c8833801a
generated 500.00
ERROR: CheckWork() : generated block is stale

newbie
Activity: 14
Merit: 0
am solo mining DGB in the hope that they go up in value.
I got one "yay" this morning and this went into my wallet which is the official version and I got 2386.045241 DBG
I got another "yay" this afternoon but nothing went to my wallet, I can see things like "AddToWallet" and "ProcessBlock: ACCEPTED" and "generated 2385.965241"  in the debug file for the wallet
I am using ccminer sp version from a few days ago from git which I compiled myself,
My question is what do I look for in the log to tell me what the problem is?
Does my wallet need to be unlocked during mining, although I am fairly sure it was locked when I got the 1st "yay" this morning
I've spent a couple of hours googling this issue and not found anything relevant, apologies if this is a noob question that I should know.

sounds low level, but maybe was orphaned block?



not sure if I can tell what it is, is there an accepted failure rate, what % is the norm?
legendary
Activity: 2688
Merit: 1240
Has anyone got build instructions  from source on Windows 8 ?

Install Visual Studio Express 2013 for Windows Desktop
Install Nvidia CUDA 6.5 Toolkit
Download the ccminer source code
Open the ccminer.sln file
Make sure the compiler is set to "release" and "Win32"
Rebuild solution

Then you should see the ccminer.exe in the release folder

Works - partly ...

Can someone tell me which flag I have to set to get it compile with curl ssl support in MSVC 2013 Express ?

When I try to connect I get HTTP request failed, protocol https not supported or disabled in libcurl.

Of course my local libcurl lib is ssl enabled and the one in the "compat" dir also from what I see.. So it is probably an option somewhere ?
hero member
Activity: 978
Merit: 506
am solo mining DGB in the hope that they go up in value.
I got one "yay" this morning and this went into my wallet which is the official version and I got 2386.045241 DBG
I got another "yay" this afternoon but nothing went to my wallet, I can see things like "AddToWallet" and "ProcessBlock: ACCEPTED" and "generated 2385.965241"  in the debug file for the wallet
I am using ccminer sp version from a few days ago from git which I compiled myself,
My question is what do I look for in the log to tell me what the problem is?
Does my wallet need to be unlocked during mining, although I am fairly sure it was locked when I got the 1st "yay" this morning
I've spent a couple of hours googling this issue and not found anything relevant, apologies if this is a noob question that I should know.

sounds low level, but maybe was orphaned block?

newbie
Activity: 14
Merit: 0
 am solo mining DGB in the hope that they go up in value.
I got one "yay" this morning and this went into my wallet which is the official version and I got 2386.045241 DBG
I got another "yay" this afternoon but nothing went to my wallet, I can see things like "AddToWallet" and "ProcessBlock: ACCEPTED" and "generated 2385.965241"  in the debug file for the wallet
I am using ccminer sp version from a few days ago from git which I compiled myself,
My question is what do I look for in the log to tell me what the problem is?
Does my wallet need to be unlocked during mining, although I am fairly sure it was locked when I got the 1st "yay" this morning
I've spent a couple of hours googling this issue and not found anything relevant, apologies if this is a noob question that I should know.
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
Has anyone got build instructions  from source on Windows 8 ?

Install Visual Studio Express 2013 for Windows Desktop
Install Nvidia CUDA 6.5 Toolkit
Download the ccminer source code
Open the ccminer.sln file
Make sure the compiler is set to "release" and "Win32"
Rebuild solution

Then you should see the ccminer.exe in the release folder

And you know what, its the same since XP and works also on Windows 10 ! :p
legendary
Activity: 2002
Merit: 1051
ICO? Not even once.
The sha256 algo implementation might come in handy because a coin with modified sha256 is coming from earlz no less:

https://bitcointalksearch.org/topic/ann-sup-supcoin-pluck-algorithm-just-launched-mine-now-950084
hero member
Activity: 675
Merit: 514
Has anyone got build instructions  from source on Windows 8 ?

Install Visual Studio Express 2013 for Windows Desktop
Install Nvidia CUDA 6.5 Toolkit
Download the ccminer source code
Open the ccminer.sln file
Make sure the compiler is set to "release" and "Win32"
Rebuild solution

Then you should see the ccminer.exe in the release folder
sp_
legendary
Activity: 2954
Merit: 1087
Team Black developer
Thanx for new release! It works. quark performance is nearly the same with r36 abd r37.
yes. for compute 5.0 (750,750ti) the speed is the same, but for compute 5.2 much faster. release37 had a drop in the speed for 960,970,980 cards.
I am getting many "result does not validate on cpu" errors in various algos.  However, shares are still accepted.  In setting up auto-switching yaamp by using the "-r 0" round-robin flag on my Windows commandline, I have been seeing results on more algos than I usually mine.  The version running is v38, on a GTX 960.           --scryptr   

Works on 750ti. You can remove compute 5.2 in the projectfile and try to recompile until I find out whats wrong. Or revert to an earlier build
legendary
Activity: 2688
Merit: 1240
Has anyone got build instructions  from source on Windows 8 ?

Compiling on Windows (at least, most software - that is, software that doesn't come with MSVC project files) is not easy.

I know, i already compiled a lot on Windows but this one seems to have some strange issues...
legendary
Activity: 2688
Merit: 1240
Has anyone got build instructions  from source on Windows 8 ?
legendary
Activity: 1797
Merit: 1028
YAAMP ROUND-ROBIN CONFIGURATION--

The following is a working Windows Batch File for a GTX 960 using the yaamp auto-switch.  The "-r 0" flag allows yaamp to cycle through algorithms until the high-paying algorithm is served up.  The long "password" should be comma separated and have no spaces except immediately after the "-p".  Each line is broken by the formatting process on this blog after the "-p" password flag.  I inserted 1 extra blank line between each 1-line command statement for clarity.

There is no such simple solution on Linux, primarily because BASH does not have a goto command.  Save this text as "looper.bat".  Code follows:

:loop

ccminer.exe -r 0 -a x11 -o stratum+tcp://yaamp.com:3533 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

ccminer.exe -r 0 -a x13   -o stratum+tcp://yaamp.com:3633 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

ccminer.exe -r 0 -a x14   -o stratum+tcp://yaamp.com:3933 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

ccminer.exe -r 0 -a x15   -o stratum+tcp://yaamp.com:3733 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

ccminer.exe -r 0 -a quark -i 20 -o stratum+tcp://yaamp.com:4033 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

ccminer.exe -r 0 -a lyra2 -o stratum+tcp://yaamp.com:4433 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

ccminer.exe -r 0 -a fresh -i 20 -o stratum+tcp://yaamp.com:4133 -u name -p x11=5.4,x13=4.2,x14=4.1,x15=3.6,quark=9.8,lyra2=0.7,fresh=6.1

goto loop
Jump to: