rplant8 / cpuminer-opt-rplant

105 stars 75 forks source link

Miner just stops when mining YescryptR8g and others on Zergpool #7

Closed RainbowMiner closed 3 years ago

RainbowMiner commented 3 years ago

.. like the title says. Miner starts but returns to command line quickly:

[2020-09-23 08:48:19] Extranonce subscribe: YES
[2020-09-23 08:48:19] API listnening to 127.0.0.1:33333
[2020-09-23 08:48:19] Stratum connect yescryptR8G.mine.zergpool.com:6324
[2020-09-23 08:48:19] Binding thread 0 to mask 000000000000000f
[2020-09-23 08:48:19]* Binding thread 2 to mask 000000000000000f
 [2020-09-23 08:48:19] Trying 103.249.70.7:6324...
 Binding thread 1 to mask 000000000000000f*
[2020-09-23 08:48:19] 4 miner threads started, using 'yescryptr8g' algorithm.
TCP_NODELAY set
[2020-09-23 08:48:19] Binding thread 3 to mask 000000000000000f
* Connected to yescryptR8G.mine.zergpool.com (103.249.70.7) port 6324 (#0)
* Connection #0 to host yescryptR8G.mine.zergpool.com left intact
[2020-09-23 08:48:19] > {"id": 1, "method": "mining.subscribe", "params": ["cpuminer-opt/4.5.16W-sse42"]}
[2020-09-23 08:48:20] < {"id":1,"result":[[["mining.set_difficulty","1.2"],["mining.notify","59e94ad204ce664552aff2c8212e919a"]],"8100020d",4],"error":null}
[2020-09-23 08:48:20] Stratum session id: 59e94ad204ce664552aff2c8212e919a
[2020-09-23 08:48:20] > {"id": 2, "method": "mining.authorize", "params": ["3DxRETpBoXKrEBQxFb2HsPmG6apxHmKmUx", "rbmcpu,c=BTC,mc=KOTO"]}
[2020-09-23 08:48:20] < {"id":2,"result":true,"error":null}
[2020-09-23 08:48:20] > {"id": 3, "method": "mining.extranonce.subscribe", "params": []}
[2020-09-23 08:48:21] < {"id":null,"method":"mining.set_difficulty","params":[1]}
[2020-09-23 08:48:21] Stratum connection established
[2020-09-23 08:48:21] < {"id":null,"method":"mining.notify","params":["3ddd","140d3853d1a9f963b7d2e003dd7da24b82bb3b171b062a8d2ebcc928f500f7cb","040000800ae52390010000000000000000000000000000000000000000000000000000000000000000ffffffff1f03c6321604a4ef6a5f08","7a657267706f6f6c2e636f6d00ffffffff0285441521010000001976a9143363229d64cbfcb76643670d1934da5d8138b27588ac80d5f0080000000017a914ac51c292ed3db86651049f3c5d727183f17323ea8700000000000000000000000000000000000000",["fee30ccf0194ffa1b849e82c05335ccede66aa966d48cb2dcf4065dd6097c00d","baf388c0359c510d6d8dc9cf8b59a6eba0ab251d275286ebfa97337b93a3475e"],"00000005","1d40a481","5f6aefa4",true,"8f858e4e11eddcb0ddb74785907e1bf6faf37253b2c73fb5454e00ae5f0780b2"]}
[2020-09-23 08:48:21] DEBUG: job_id='3ddd' extranonce2=00000000 ntime=5f6aefa4
[2020-09-23 08:48:21] New stratum difficulty 1
[2020-09-23 08:48:21] yescryptR8G.mine.zergpool.com:6324 yescryptr8g block 1454790, job 3ddd, network diff 0.01546944
[2020-09-23 08:48:21] < {"id":3,"result":true,"error":null}

C:\RainbowMiner\Bin\CPU-Rplant>

The same commandline works fine on miner release 4.5.11w

rplant8 commented 3 years ago

what processor? does the sse2 version work?

RainbowMiner commented 3 years ago

I have tested the miner on an Intel(R) Pentium(R) CPU G4560 @ 3.50GHz Yes, the sse2 version crashes as well.

Here is my command line:

cpuminer-sse2.exe -b 33300 -a yescryptr8g -o stratum+tcp://yescryptR8G.mine.zergpool.com:6324 -u 3DxRETpBoXKrEBQxFb2HsPmG6apxHmKmUx -p rbmcpu,c=BTC,mc=KOTO -t 3 --cpu-affinity 0x0007

And here is the debug output for sse2:

         **********  cpuminer-opt 4.5.16W-sse2 by rplant ***********
CPU: Intel(R) Pentium(R) CPU G4560 @ 3.50GHz.
SW built on Sep 22 2020 with GCC 8.3.0.
CPU features:  SSE4.2  AES
SW features:   SSE2
Algo features: SSE2   SHA

Starting miner with SSE2...

[2020-09-23 12:33:25] 4 CPU cores available, 3 miner threads selected.
[2020-09-23 12:33:25] Extranonce subscribe: YES
[2020-09-23 12:33:25] API listnening to 127.0.0.1:33300
[2020-09-23 12:33:25] Stratum connect yescryptR8G.mine.zergpool.com:6324
[2020-09-23 12:33:25] Binding thread 1 to mask 0000000000000007
[2020-09-23 12:33:25] Binding thread 0 to mask 0000000000000007
[2020-09-23 12:33:25] 3 miner threads started, using 'yescryptr8g' algorithm.*
[2020-09-23 12:33:25]  Binding thread 2 to mask 0000000000000007
 Trying 103.249.70.7:6324...
* TCP_NODELAY set
* Connected to yescryptR8G.mine.zergpool.com (103.249.70.7) port 6324 (#0)
* Connection #0 to host yescryptR8G.mine.zergpool.com left intact
[2020-09-23 12:33:25] > {"id": 1, "method": "mining.subscribe", "params": ["cpuminer-opt/4.5.16W-sse2"]}
[2020-09-23 12:33:26] < {"id":1,"result":[[["mining.set_difficulty","1.2"],["mining.notify","593b56f440a773212300b23f027d21ef"]],"81000228",4],"error":null}
[2020-09-23 12:33:26] Stratum session id: 593b56f440a773212300b23f027d21ef
[2020-09-23 12:33:26] > {"id": 2, "method": "mining.authorize", "params": ["3DxRETpBoXKrEBQxFb2HsPmG6apxHmKmUx", "rbmcpu,c=BTC,mc=KOTO"]}
[2020-09-23 12:33:26] < {"id":2,"result":true,"error":null}
[2020-09-23 12:33:26] > {"id": 3, "method": "mining.extranonce.subscribe", "params": []}
[2020-09-23 12:33:27] < {"id":null,"method":"mining.set_difficulty","params":[1]}
[2020-09-23 12:33:27] Stratum connection established
[2020-09-23 12:33:27] < {"id":null,"method":"mining.notify","params":["3f6b","8f0d99b69dd3ea30dcf369ebefeee7863414752abba9f91b393e2d0e92e79d33","040000800ae52390010000000000000000000000000000000000000000000000000000000000000000ffffffff1f03a333160462246b5f08","7a657267706f6f6c2e636f6d00ffffffff0280201521010000001976a9143363229d64cbfcb76643670d1934da5d8138b27588ac80d1f0080000000017a914ac51c292ed3db86651049f3c5d727183f17323ea8700000000000000000000000000000000000000",[],"00000005","1d4b41b8","5f6b2462",true,"dc7e28a10244dba56b44ff48d67721db47d7e3523423be5c809525a916423420"]}
[2020-09-23 12:33:27] DEBUG: job_id='3f6b' extranonce2=00000000 ntime=5f6b2462
[2020-09-23 12:33:27] New stratum difficulty 1
[2020-09-23 12:33:27] yescryptR8G.mine.zergpool.com:6324 yescryptr8g block 1455011, job 3f6b, network diff 0.013287648
[2020-09-23 12:33:27] < {"id":3,"result":true,"error":null}

C:\Users\RainbowMiner\Bin\CPU-Rplant.20200923_085838>
RainbowMiner commented 3 years ago

This issue is not solved with new release v4.5.17 - still crashing/return to commandline like described above.

RainbowMiner commented 3 years ago

Sorry, new release v4.5.18 still doesn't solve that problem.

rplant8 commented 3 years ago

windows 10 is evil. everything works on win 7. I can't figure out what the problem is yet

rplant8 commented 3 years ago

fixed in 4.5.20

RainbowMiner commented 3 years ago

Thank you for the fix. I can confirm everything runs fine, now.