rigelminer / rigel

Optimised Nvidia GPU miner
205 stars 15 forks source link

Nicehash - Nexa: unexpected EOF #73

Closed Perfy closed 1 year ago

Perfy commented 1 year ago

Periodically (1-10 minutes) this error appears and a reconnect to the pool occurs. 2023-06-28_231228

rigelminer commented 1 year ago

I noticed this too. Nicehash forces the miner to reconnect from time to time for some reason, I'd ask their support on why it's happening.

rigelminer commented 1 year ago

I think I figured this out, will try to fix it in the next version.

rigelminer commented 1 year ago

Could you please confirm this build fixes the issue? rigel-1.6.0-nicehash-win.zip

Perfy commented 1 year ago

Uptime 1 hour without reconnects. 1 reject (Invalid pool nonce).

r0z69q commented 1 year ago

Could you please confirm this build fixes the issue? rigel-1.6.0-nicehash-win.zip

Have same problem even rigel 1.6.0

rigelminer commented 1 year ago

Fixed in 1.6.1

UselessGuru commented 1 year ago

Still happening with 1.6.1.

Command line used: Rigel-v1.6.1\Rigel.exe --algorithm etchash+kheavyhash --url [1]ethstratum+tcp://etchash.auto.nicehash.com:9200 --username [1]###########################.########### --password [1]x --url [2]stratum+tcp://kheavyhash.auto.nicehash.com:9200 --username [2]###########################.########### --password [2]x --api-bind 127.0.0.1:4006 --no-watchdog --devices 0

rigelminer commented 1 year ago

@UselessGuru I only fixed it for nexa and ergo and wasn't aware of it happening on other algorithms. Will fix in the next version.

rigelminer commented 1 year ago

@UselessGuru could you confirm whether the reconnects are only happening for etchash and not kheavyhash? I fixed it for ethash, but kheavyhash seems to be running fine.

UselessGuru commented 1 year ago

@rigelminer etchash

UselessGuru commented 1 year ago

BTW: Etchash crashes @ZergPool:

[2023-07-04 09:05:52] Rigel v1.6.1 - [Windows]
[2023-07-04 09:05:52] 
[2023-07-04 09:05:52] Driver: v531.79
[2023-07-04 09:05:52] 
[2023-07-04 09:05:52] + GPU #0: GTX 1660 SUPER 6G
[2023-07-04 09:05:52] - GPU #1: GT 1030 2G
[2023-07-04 09:05:52] - GPU #2: GTX 750 Ti 2G
[2023-07-04 09:05:52] 
[2023-07-04 09:05:52] API server is running at http://127.0.0.1:4006
[2023-07-04 09:05:52] Pools for etchash (dev fee 0.7%):
[2023-07-04 09:05:52] URL:    etchash.eu.mine.zergpool.com:9997
[2023-07-04 09:05:52] User:   #####################################
[2023-07-04 09:05:52] Pass:   c=BTC,mc=ETC,ID=Blackbox,pl=0
[2023-07-04 09:05:52] Worker: ############
[2023-07-04 09:05:52] 
[2023-07-04 09:05:52] Pools for kheavyhash (dev fee 0.7%):
[2023-07-04 09:05:52] URL:    kheavyhash.auto.nicehash.com:9200
[2023-07-04 09:05:52] User:   ########################################
[2023-07-04 09:05:52] Pass:   x
[2023-07-04 09:05:52] Worker: ############
[2023-07-04 09:05:52] 
[2023-07-04 09:05:52] [etchash.eu.mine.zergpool.com:9997] connecting...
[2023-07-04 09:05:52] [kheavyhash.auto.nicehash.com:9200] connecting...
[2023-07-04 09:05:52] [kheavyhash.auto.nicehash.com:9200] connected
[2023-07-04 09:05:52] [kheavyhash.auto.nicehash.com:9200] extranonce: 6c5186
[2023-07-04 09:05:52] [etchash.eu.mine.zergpool.com:9997] connected
[2023-07-04 09:05:52] [kheavyhash.auto.nicehash.com:9200] difficulty: 27.57G (6.42)
[2023-07-04 09:05:52] [etchash.eu.mine.zergpool.com:9997] extranonce: f708
[2023-07-04 09:05:52] [etchash.eu.mine.zergpool.com:9997] difficulty: 10.00G (2.33)
[2023-07-04 09:05:54] Light cache built
[2023-07-04 09:05:54] GPU#0: building DAG for epoch 297, 3.57 GB
[2023-07-04 09:06:04] GPU#0: DAG built in 9.8s
[2023-07-04 09:06:12] 
[2023-07-04 09:06:12] +================== Rigel v1.6.1 - [Windows] ==================+
[2023-07-04 09:06:12] |#|Name          |Power|T(core)|T(mem)|Fan|Core   |Memory |Dual|
[2023-07-04 09:06:12] |0|GTX 1660 SUPER|40.3W|   34°C|   n/a|40%|1530MHz|7000MHz| n/a|
[2023-07-04 09:06:12] +-+--------------+-----+-------+------+---+-------+-------+----+
[2023-07-04 09:06:12] |          Total: 40.3W|          Uptime: 0d 00:00:20          |
[2023-07-04 09:06:12] +==============================================================+
[2023-07-04 09:06:12] 
[2023-07-04 09:06:12] +======================= etchash =======================+
[2023-07-04 09:06:12] |#|Name          |Hashrate  |Pool|Acc|Rej|Inv|Eff       |
[2023-07-04 09:06:12] |0|GTX 1660 SUPER|28.02 MH/s|   -|  0|  0|  0|695.0 KH/W|
[2023-07-04 09:06:12] +-+--------------+----------+----+---+---+---+----------+
[2023-07-04 09:06:12] |          Total: 28.02 MH/s|   -|  0|  0|  0|695.0 KH/W|
[2023-07-04 09:06:12] +=======================================================+
[2023-07-04 09:06:12] 
[2023-07-04 09:06:12] +================= kheavyhash =================+
[2023-07-04 09:06:12] |#|Name          |Hashrate|Pool|Acc|Rej|Inv|Eff|
[2023-07-04 09:06:12] |0|GTX 1660 SUPER|       -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:12] +-+--------------+--------+----+---+---+---+---+
[2023-07-04 09:06:12] |                 Total: -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:12] +==============================================+
[2023-07-04 09:06:12] 
[2023-07-04 09:06:23] [kheavyhash.auto.nicehash.com:9200] extranonce: 67564d
[2023-07-04 09:06:32] 
[2023-07-04 09:06:32] +================== Rigel v1.6.1 - [Windows] ==================+
[2023-07-04 09:06:32] |#|Name          |Power|T(core)|T(mem)|Fan|Core   |Memory |Dual|
[2023-07-04 09:06:32] |0|GTX 1660 SUPER|10.8W|   33°C|   n/a|40%|1530MHz|7000MHz| n/a|
[2023-07-04 09:06:32] +-+--------------+-----+-------+------+---+-------+-------+----+
[2023-07-04 09:06:32] |          Total: 10.8W|          Uptime: 0d 00:00:40          |
[2023-07-04 09:06:32] +==============================================================+
[2023-07-04 09:06:32] 
[2023-07-04 09:06:32] +================== etchash ===================+
[2023-07-04 09:06:32] |#|Name          |Hashrate|Pool|Acc|Rej|Inv|Eff|
[2023-07-04 09:06:32] |0|GTX 1660 SUPER|       -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:32] +-+--------------+--------+----+---+---+---+---+
[2023-07-04 09:06:32] |                 Total: -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:32] +==============================================+
[2023-07-04 09:06:32] 
[2023-07-04 09:06:32] +================= kheavyhash =================+
[2023-07-04 09:06:32] |#|Name          |Hashrate|Pool|Acc|Rej|Inv|Eff|
[2023-07-04 09:06:32] |0|GTX 1660 SUPER|       -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:32] +-+--------------+--------+----+---+---+---+---+
[2023-07-04 09:06:32] |                 Total: -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:32] +==============================================+
[2023-07-04 09:06:32] 
[2023-07-04 09:06:33] [kheavyhash.auto.nicehash.com:9200] extranonce: 6c5e33
[2023-07-04 09:06:52] 
[2023-07-04 09:06:52] +================== Rigel v1.6.1 - [Windows] ==================+
[2023-07-04 09:06:52] |#|Name          |Power|T(core)|T(mem)|Fan|Core   |Memory |Dual|
[2023-07-04 09:06:52] |0|GTX 1660 SUPER|10.9W|   33°C|   n/a|40%|1530MHz|7000MHz| n/a|
[2023-07-04 09:06:52] +-+--------------+-----+-------+------+---+-------+-------+----+
[2023-07-04 09:06:52] |          Total: 10.9W|          Uptime: 0d 00:01:00          |
[2023-07-04 09:06:52] +==============================================================+
[2023-07-04 09:06:52] 
[2023-07-04 09:06:52] +================== etchash ===================+
[2023-07-04 09:06:52] |#|Name          |Hashrate|Pool|Acc|Rej|Inv|Eff|
[2023-07-04 09:06:52] |0|GTX 1660 SUPER|       -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:52] +-+--------------+--------+----+---+---+---+---+
[2023-07-04 09:06:52] |                 Total: -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:52] +==============================================+
[2023-07-04 09:06:52] 
[2023-07-04 09:06:52] +================= kheavyhash =================+
[2023-07-04 09:06:52] |#|Name          |Hashrate|Pool|Acc|Rej|Inv|Eff|
[2023-07-04 09:06:52] |0|GTX 1660 SUPER|       -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:52] +-+--------------+--------+----+---+---+---+---+
[2023-07-04 09:06:52] |                 Total: -|   -|  0|  0|  0|-  |
[2023-07-04 09:06:52] +==============================================+
[2023-07-04 09:06:52] 
[2023-07-04 09:06:59] [kheavyhash.auto.nicehash.com:9200] extranonce: 6c5eee
rigelminer commented 1 year ago

Thanks. I confirm etchash+kheavyhash is broken for Turing GPUs. The next version will have a fix for it.

UselessGuru commented 1 year ago

I confirm etchash+kheavyhash is broken for Turing GPUs

In my tests ethash+kheavyhash is also broken for Turing GPUs

rigelminer commented 1 year ago

Yep, internally they're the same algorithm. The fix for etchash will automatically apply to ethash, octa, and flora.

UselessGuru commented 1 year ago

The fix for etchash will automatically apply to ethash, octa, and flora.

flora??? Isn't that Chia based?

rigelminer commented 1 year ago

No idea :) This is the one I'm talking about - https://miningpoolstats.stream/flora

UselessGuru commented 1 year ago

I saw the same page where it says Ethash. But any other page I find for XFL point more towards flora. Would you have any idea how to calculate the XFL DAG size, and do you know of a API to get the current block heigt from (something similar to https://whattomine.com/coins.json, but for XFL?

rigelminer commented 1 year ago

Would you have any idea how to calculate the XFL DAG size

Flora or XFL (this ticker seems to be for another coin)? Well, the answer is "no" for both, I don't know. When I connect to stratum+tcp://flora.e4pool.com:5656 the miner says epoch 33, DAG size 1.35 GB.

UselessGuru commented 1 year ago

XFL (this ticker seems to be for another coin)

True. I got confused with FlorinCoin (XFL). Ticker for Flora is FLORA. The DAG information for FLORA is listed here: https://minerstat.com/dag-size-calculator

rigelminer commented 1 year ago

1.6.2 should fix ETC connection issue with nicehash and ETC+KAS crashes