Author

Topic: [ANN] ccminer 2.3 - opensource - GPL (tpruvot) - page 166. (Read 500193 times)

sr. member
Activity: 329
Merit: 250
i added something in the code which should fix your problem, try to force one thread with "-t 1"

But... Its a weird bug i cant reproduce
whatever you did the bug is gone, even without setting "-t 1"...
seeing your dedication you're without doubt a passionate coder, i wish you the success that such passion deserves Smiley
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
i added something in the code which should fix your problem, try to force one thread with "-t 1"

But... Its a weird bug i cant reproduce
sr. member
Activity: 329
Merit: 250
edit: i need to know which linux version and kernel you are using, pthreads version if you can know it also
Linux mescalito 3.14.23-geek #1 ZEN SMP PREEMPT Sat Nov 1 19:53:06 CET 2014 x86_64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz GenuineIntel GNU/Linux
that's https://github.com/zen-kernel/zen-kernel patched kernel, i'll try with with a vanilla kernel as soon i get some time...
pthreads is from gentoo's sys-libs/glibc-2.19
You are using one single thread, are you using the -d parameter ?
nope
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
oh, interresting... will check this

edit: i need to know which linux version and kernel you are using, pthreads version if you can know it also
You are using one single thread, are you using the -d parameter ?
sr. member
Activity: 329
Merit: 250
ok, i've found out num_cpus is set to 8 as i run the miner on an i7 cpu (4 phys. cores, 8 total threads) and that breaks mining (no idea why) as it does with any value greater than 1...
thus i've forced num_cpus to 1 into the code and it's working fine.
sr. member
Activity: 329
Merit: 250
you mean its ok when reset to this one ? because i read "binding thread 0 to cpu 0" which seems normal

if yes, its just before the 2 commits i listed :

Code:
9e2ab1c api: restore bios, can be usefull to identify
aec310d nvml: grab nvidia driver version string too
d0ad101 nvapi: get vid/pid like nvml + driver version
a33058b vstudio: reduce diff, try Klaus options
858c3d9 jansson: use config.h new name (like v2.7)
2300326 jansson: fix version header
d031622 simd512: restore full maxwell power (typo)
1fcde52 small groestl optimizations
ac641a0 delete compat/thrust
c887503 simd512: restore SM3/3.5 perfs
f42bb85 nvml: vid/pid was reversed
e2ac7a2 api: add nvapi and nvml ids for C# tools
aa74aa3 api: fix hwinfo gpus
84d7d92 nvml: fix hwinfo gpu vendor/product id
d7c13b0 stratum: handle standard method if extranonce is ignored
6699b8a nvml: fix windows build
9a8b7ff api: add cpu temp/freq (linux)
1fcdeab stats: rework stats map key to fix sort order
7bb86de nvml: clean up and fix retorted bus id bug in api
94c9945 cubeluffa: Fix indent and add some static prefixes
f0d91ab Luffa and simd merged to one kernal.
b824a63 affinity: do not mix cpu count with gpu one
3be08ad update readme (api, current changes, credits)
yes, resetting to 3be08ad makes the miner work again...
i even tried undo commit b824a63 from head this way:
Code:
git rebase -p --onto b824a63cde035b20f811f49feab6976197e4c6a8^ b824a63cde035b20f811f49feab6976197e4c6a8
however then it doesn't build anymore...
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
you mean its ok when reset to this one ? because i read "binding thread 0 to cpu 0" which seems normal

if yes, its just before the 2 commits i listed :

Code:
9e2ab1c api: restore bios, can be usefull to identify
aec310d nvml: grab nvidia driver version string too
d0ad101 nvapi: get vid/pid like nvml + driver version
a33058b vstudio: reduce diff, try Klaus options
858c3d9 jansson: use config.h new name (like v2.7)
2300326 jansson: fix version header
d031622 simd512: restore full maxwell power (typo)
1fcde52 small groestl optimizations
ac641a0 delete compat/thrust
c887503 simd512: restore SM3/3.5 perfs
f42bb85 nvml: vid/pid was reversed
e2ac7a2 api: add nvapi and nvml ids for C# tools
aa74aa3 api: fix hwinfo gpus
84d7d92 nvml: fix hwinfo gpu vendor/product id
d7c13b0 stratum: handle standard method if extranonce is ignored
6699b8a nvml: fix windows build
9a8b7ff api: add cpu temp/freq (linux)
1fcdeab stats: rework stats map key to fix sort order
7bb86de nvml: clean up and fix retorted bus id bug in api
94c9945 cubeluffa: Fix indent and add some static prefixes
f0d91ab Luffa and simd merged to one kernal.
b824a63 affinity: do not mix cpu count with gpu one
3be08ad update readme (api, current changes, credits)
sr. member
Activity: 329
Merit: 250
could you try blake which doesnt use simd512 functions ?

else git reset --hard to know which one is the problem

There are 2 possible problems :

merged luffacube change and simd512

Code:
[2014-11-24 04:23:51] Starting Stratum on stratum+tcp://am01.eu.trademybit.com:4          440
[2014-11-24 04:23:51] NVML GPU monitoring enabled.
[2014-11-24 04:23:51] 1 miner threads started, using 'x11' algorithm.
[2014-11-24 04:23:51] Binding thread 0 to cpu 0
[2014-11-24 04:23:51] Stratum difficulty set to 0.005
[2014-11-24 04:23:52] Stratum extranonce answer id was not correct!
[2014-11-24 04:24:05] GPU #0: GeForce GTX 750 Ti, 2844 kH/s
[2014-11-24 04:24:05] accepted: 1/1 (100.00%), 2844 khash/s yay!!!
[2014-11-24 04:24:13] GPU #0: GeForce GTX 750 Ti, 2776 kH/s
[2014-11-24 04:24:13] accepted: 2/2 (100.00%), 2810 khash/s yay!!!
[2014-11-24 04:24:17] GPU #0: GeForce GTX 750 Ti, 2469 kH/s
[2014-11-24 04:24:17] accepted: 3/3 (100.00%), 2696 khash/s yay!!!
[2014-11-24 04:24:29] GPU #0: GeForce GTX 750 Ti, 2800 kH/s
[2014-11-24 04:24:35] am01.eu.trademybit.com:4440 x11 block 85834
surprisingly enough commit b824a63cde035b20f811f49feab6976197e4c6a8 is the cause...
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
could you try blake which doesnt use simd512 functions ?

else git reset --hard to know which one is the problem

There are 2 possible problems :

merged luffacube change and simd512

Code:
[2014-11-24 04:23:51] Starting Stratum on stratum+tcp://am01.eu.trademybit.com:4          440
[2014-11-24 04:23:51] NVML GPU monitoring enabled.
[2014-11-24 04:23:51] 1 miner threads started, using 'x11' algorithm.
[2014-11-24 04:23:51] Binding thread 0 to cpu 0
[2014-11-24 04:23:51] Stratum difficulty set to 0.005
[2014-11-24 04:23:52] Stratum extranonce answer id was not correct!
[2014-11-24 04:24:05] GPU #0: GeForce GTX 750 Ti, 2844 kH/s
[2014-11-24 04:24:05] accepted: 1/1 (100.00%), 2844 khash/s yay!!!
[2014-11-24 04:24:13] GPU #0: GeForce GTX 750 Ti, 2776 kH/s
[2014-11-24 04:24:13] accepted: 2/2 (100.00%), 2810 khash/s yay!!!
[2014-11-24 04:24:17] GPU #0: GeForce GTX 750 Ti, 2469 kH/s
[2014-11-24 04:24:17] accepted: 3/3 (100.00%), 2696 khash/s yay!!!
[2014-11-24 04:24:29] GPU #0: GeForce GTX 750 Ti, 2800 kH/s
[2014-11-24 04:24:35] am01.eu.trademybit.com:4440 x11 block 85834
sr. member
Activity: 329
Merit: 250
try a clean build... it works here... hmm do you mean x11 on SM 3 ?
yes, it's a clean build...
and yes, any algo on sm 3:
Code:
*** ccminer 1.5-git for nVidia GPUs by tpruvot@github ***
        Built with the nVidia CUDA SDK 6.5

  Based on pooler cpuminer 2.3.2
  CUDA support by Christian Buchner and Christian H.
  Include some of djm34 additions and sp optimisations

BTC donation address: 1AJdfCpLWPNoAMDfHF1wD5y8VgKSSTHxPo

[2014-11-24 02:13:32] Starting Stratum on stratum+tcp://am01.eu.trademybit.com:4440
* Rebuilt URL to: http://am01.eu.trademybit.com:4440/
* Hostname was NOT found in DNS cache
[2014-11-24 02:13:32] CUDA GPU#0 matches NVML GPU 0 by busId 1
[2014-11-24 02:13:32] NVML GPU monitoring enabled.
[2014-11-24 02:13:32] 1 miner threads started, using 'x11' algorithm.
[2014-11-24 02:13:32] Binding thread 0 to cpu 0
*   Trying 162.243.98.68...
* TCP_NODELAY set
* Connected to am01.eu.trademybit.com (162.243.98.68) port 4440 (#0)
* Connection #0 to host am01.eu.trademybit.com left intact
[2014-11-24 02:13:33] > {"id": 1, "method": "mining.subscribe", "params": ["ccminer/1.5-git"]}
[2014-11-24 02:13:33] < {"id":1,"result":[[["mining.set_difficulty","deadbeefcafebabe5004000000000000"],["mining.notify","deadbeefcafebabe5004000000000000"]],"30000435",4],"error":null}
[2014-11-24 02:13:33] Stratum session id: deadbeefcafebabe5004000000000000
[2014-11-24 02:13:33] > {"id": 2, "method": "mining.authorize", "params": ["skunk.gpu", "123"]}
[2014-11-24 02:13:33] < {"id":null,"method":"mining.set_difficulty","params":[0.005]}
[2014-11-24 02:13:33] Stratum difficulty set to 0.005
[2014-11-24 02:13:33] < {"id":null,"method":"mining.notify","params":["13","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f046e86725408","0d2f6e6f64655374726174756d2f0000000002387e7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca87a5d16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["70208abe2159faa839e3663502e479b526cd567b1b1263def969e76c2ad3c48a","742251aa525a570077f42766b13a4f5853b19b4593a854432dd140657667c024","5d5f2ff472c8ee9157c3119b95e7c1b6ec6961d92c5f24252f35ab673a6d01b6"],"00000002","1b15ec49","5472866e",true]}
[2014-11-24 02:13:33] stratum time is at least 49s in the future
[2014-11-24 02:13:34] < {"id":2,"result":true,"error":null}
[2014-11-24 02:13:34] > {"id": 3, "method": "mining.extranonce.subscribe", "params": []}
[2014-11-24 02:13:34] sleeptime: 500 ms
[2014-11-24 02:13:34] DEBUG: job_id=472866e 13 xnonce2=00000000 time=02:13:33
[2014-11-24 02:13:34] job 472866e 13 target change: c7ff380000 (1.3)
[2014-11-24 02:13:34] GPU #0: start=00000000 end=003fffff range=003fffff
[2014-11-24 02:13:35] stratum extranonce subscribe timed out
[2014-11-24 02:13:35] DEBUG: job_id=472866e 13 xnonce2=01000000 time=02:13:33
[2014-11-24 02:13:35] am01.eu.trademybit.com:4440 x11 block 174738
[2014-11-24 02:13:50] < {"id":null,"method":"mining.notify","params":["14","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f04a586725408","0d2f6e6f64655374726174756d2f0000000002387e7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca87a5d16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["70208abe2159faa839e3663502e479b526cd567b1b1263def969e76c2ad3c48a","742251aa525a570077f42766b13a4f5853b19b4593a854432dd140657667c024","5d5f2ff472c8ee9157c3119b95e7c1b6ec6961d92c5f24252f35ab673a6d01b6"],"00000002","1b15ec49","5472866e",false]}
[2014-11-24 02:13:50] DEBUG: job_id=472866e 14 xnonce2=00000000 time=02:13:33
[2014-11-24 02:13:50] am01.eu.trademybit.com:4440 asks job 20 for block 174738
[2014-11-24 02:13:50] < {"id":null,"method":"mining.notify","params":["15","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f04a586725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:13:50] stratum time is at least 87s in the future
[2014-11-24 02:13:50] DEBUG: job_id=47286a5 15 xnonce2=00000000 time=02:13:50
[2014-11-24 02:13:50] am01.eu.trademybit.com:4440 asks job 21 for block 174738
[2014-11-24 02:14:45] < {"id":null,"method":"mining.notify","params":["16","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f04dc86725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:14:45] DEBUG: job_id=47286a5 16 xnonce2=00000000 time=02:13:50
[2014-11-24 02:14:45] am01.eu.trademybit.com:4440 asks job 22 for block 174738
[2014-11-24 02:15:40] < {"id":null,"method":"mining.notify","params":["17","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f041387725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:15:40] DEBUG: job_id=47286a5 17 xnonce2=00000000 time=02:13:50
[2014-11-24 02:15:40] am01.eu.trademybit.com:4440 asks job 23 for block 174738
[2014-11-24 02:16:35] < {"id":null,"method":"mining.notify","params":["18","847e8a59771982017b2905c9d73e4b8fe68d862cb78aeca60009a9be00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270392aa02062f503253482f044a87725408","0d2f6e6f64655374726174756d2f0000000002e0df7407000000001976a914d6805498b318123b15609efed3ca378e5dab2a4c88aca09f5e16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["42ea2645f167a04d487551aaf1b93f86006548fb7a43259c09aab8eba7494959","016e8f9eea686e13861faf9efacb282dbf486bf9d2b34890ab7ed48fcde4d107","81a855f91e497320ccd6cedc63a26ecd1febca98513b8db422dbfecab63d8850"],"00000002","1b15ec49","547286a5",false]}
[2014-11-24 02:16:35] DEBUG: job_id=47286a5 18 xnonce2=00000000 time=02:13:50
[2014-11-24 02:16:35] am01.eu.trademybit.com:4440 asks job 24 for block 174738
[2014-11-24 02:16:52] < {"id":null,"method":"mining.notify","params":["19","fab6dff86f9e510f97accaed6dd47a3f226c970f7eb2c3eb0007722d00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff270393aa02062f503253482f045c87725408","0d2f6e6f64655374726174756d2f000000000240597307000000001976a914a7134b81f946dc22cf207c9fddd0e49e06b10f0a88acc00b5a16000000001976a914f8974d2a987797f36948d9c0c61200c9078723e888ac00000000",["70208abe2159faa839e3663502e479b526cd567b1b1263def969e76c2ad3c48a"],"00000002","1b179554","5472875c",true]}
[2014-11-24 02:16:52] stratum time is at least 88s in the future
[2014-11-24 02:16:52] DEBUG: job_id=472875c 19 xnonce2=00000000 time=02:16:52
[2014-11-24 02:16:52] am01.eu.trademybit.com:4440 x11 block 174739
[2014-11-24 02:16:52] hashlog: 1/1 purged
[2014-11-24 02:17:41] < {"id":null,"method":"mining.notify","params":["14","6749f43e90fc9c149529576fb20f567d8eac4639033452b6015c784b00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f34e01062f503253482f048187725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c02475a","54728781",true]}
[2014-11-24 02:17:41] DEBUG: job_id=4728781 14 xnonce2=00000000 time=02:17:29
[2014-11-24 02:17:41] am01.eu.trademybit.com:4440 x11 block 85747
[2014-11-24 02:17:41] < {"id":null,"method":"mining.notify","params":["15","4306df6772b4c4fc8856190f637703898f980a2460e834720216911400000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f44e01062f503253482f048c87725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c020d04","5472878c",true]}
[2014-11-24 02:17:41] DEBUG: job_id=472878c 15 xnonce2=00000000 time=02:17:40
[2014-11-24 02:17:41] am01.eu.trademybit.com:4440 x11 block 85748
[2014-11-24 02:17:49] < {"id":null,"method":"mining.notify","params":["16","a8ad6f3e9a20c0302dd69b8cf8c4bdea34e82a16d2a9d29800aec36000000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f54e01062f503253482f049487725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c01d883","54728795",true]}
[2014-11-24 02:17:49] DEBUG: job_id=4728795 16 xnonce2=00000000 time=02:17:49
[2014-11-24 02:17:49] am01.eu.trademybit.com:4440 x11 block 85749
[2014-11-24 02:17:58] sleeptime: 500 ms
[2014-11-24 02:17:58] DEBUG: job_id=4728795 16 xnonce2=01000000 time=02:17:49
[2014-11-24 02:17:58] GPU #0: start=00000000 end=003fffff range=003fffff
[2014-11-24 02:18:08] < {"id":null,"method":"mining.notify","params":["17","65b76b01f335cbe274bc2338b8bdf1a902cb39874a4c2b3601d37e8d00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff2703f64e01062f503253482f04a787725408","0d2f6e6f64655374726174756d2f000000000100286bee000000001976a914210bfe0b955c7bfdd2b8982017b24c02359b5fd688ac00000000",[],"00000002","1c01a162","547287a7",true]}
[2014-11-24 02:18:08] DEBUG: job_id=47287a7 17 xnonce2=00000000 time=02:18:07
[2014-11-24 02:18:08] am01.eu.trademybit.com:4440 x11 block 85750
[2014-11-24 02:18:18] GPU #0: GeForce GTX 660, 27.23 kH/s
[2014-11-24 02:18:18] sleeptime: 500 ms
[2014-11-24 02:18:18] DEBUG: job_id=47287a7 17 xnonce2=01000000 time=02:18:07
[2014-11-24 02:18:18] GPU #0: start=00000000 end=0018ed18 range=0018ed18
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
try a clean build... it works here... hmm do you mean x11 on SM 3 ?
sr. member
Activity: 329
Merit: 250
commit 9e2ab1cb6f3728b47dbd17fccc6fad258962bac7

the miner stopped working on any pool, it prints out hash rates only in benchmark mode...
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
try HexChat Smiley

and put these colors file in Roaming : https://dl.dropboxusercontent.com/u/31689596/hexchat/colors.conf
legendary
Activity: 1400
Merit: 1050
Yep, could be related... i asked for a testnet but never had an answer... Will try to double check this for the final 1.5.0...

Any news from you ? We dont see you on irc

edit, for h7, blake is so fast than... difficulty is in h6 and h7 set to 0
I don't go very often on irc, I use webirc, so basically I can't follow anything, need to login all the time my computer is restarted, can't close my browser etc... all that explain a bit... (last time I logged in, it was pretty calm too)
That's why I suggested moving ccminer to skype which I use a lot more
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
Yep, could be related... i asked for a testnet but never had an answer... Will try to double check this for the final 1.5.0...

Any news from you ? We dont see you on irc

edit, for h7, blake is so fast than... difficulty is in h6 and h7 set to 0
legendary
Activity: 1400
Merit: 1050
its no more used, was to check when pdata change, but in fact never in one "scan" (now i compute the first 64 bytes bloc on the cpu)

I think there is a problem with blake... Shares are accepted but i never find a real block... Already seen this issue ?
pdata changes only when you request a new block

regarding share/block issue, I don't know... A block is the same as a share except that the difficulty is higher
(meaning more digits should match...)
So assuming the algo is tuned to find shares, you should find also blocks.
(may-be you should try on testnet and see if it happens)

edit: but yeah there is this strange thing when you swap h[6] and not h[7] may-be it explains a little the problem.
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
its no more used, was to check when pdata change, but in fact never in one "scan" (now i compute the first 64 bytes bloc on the cpu)

I think there is a problem with blake... Shares are accepted but i never find a real block... Already seen this issue ?
legendary
Activity: 1400
Merit: 1050
was looking into blake256, what exactly do crcsum ?
Looks to me as some useless calculation...
legendary
Activity: 1484
Merit: 1082
ccminer/cpuminer developer
yes ok... just after Simd patch which reduce a bit the speed on SM 3.0
sr. member
Activity: 329
Merit: 250
do you know the commit hash of your build ? (git show)
3be08ad9445ddc7e594c916e5cc85bef2b58af66
Jump to: