sp-hash / TeamBlackMiner

Fast and stable mining software for Ethereum POW, Ethereum Classic, Zilliqa, Ravencoin (KAWPOW), Firo (FIROPOW), MEOWPOW, EVRPROGPOW , Vertcoin and Hypra.
92 stars 28 forks source link

v2.15 (Windows): EtcHash or Ethash & Verthash on RX580 building DAG very slow (>90secs) #430

Closed UselessGuru closed 10 months ago

UselessGuru commented 10 months ago

Same as https://github.com/sp-hash/TeamBlackMiner/issues/427

Issue is still not fixed:

00:00:00 [2023-12-15 13:51:33.437]
00:00:00 [2023-12-15 13:51:34.058] OpenCL driver version: 546.1
00:00:00 [2023-12-15 13:51:34.123] Cuda driver version: 12.3
00:00:00 [2023-12-15 13:51:34.123] Cuda runtime API version: 12.0
00:00:00 [2023-12-15 13:51:34.123]
00:00:00 [2023-12-15 13:51:34.123]
00:00:00 [2023-12-15 13:51:34.123]
00:00:00 [2023-12-15 13:51:34.123] Welcome to Team Black Miner 2.15
00:00:00 [2023-12-15 13:51:34.123]
00:00:00 [2023-12-15 13:51:34.123]
00:00:00 [2023-12-15 13:51:34.123] GPU0 Ellesmere 8GB added to miner as OpenCL device
00:00:00 [2023-12-15 13:51:34.129] Trying to read verthash data file from disk
00:00:00 [2023-12-15 13:51:34.130] Api server started at 127.0.0.1:4004
00:00:00 [2023-12-15 13:51:34.747] Verthash data file has been loaded succesfully
00:00:00 [2023-12-15 13:51:40.397] Verthash data file has been verified succesfully
00:00:00 [2023-12-15 13:51:40.397] Trying europe.mining-dutch.nl:9991 (verthash)
00:00:00 [2023-12-15 13:51:40.398] Trying eu.mining.prohashing.com:3339 (ethash)
00:00:00 [2023-12-15 13:51:40.398] GPU0 Started CL work thread
00:00:00 [2023-12-15 13:51:40.398] GPU0 Intensity set to 256
00:00:00 [2023-12-15 13:51:40.529] europe.mining-dutch.nl: Pool responded successfully to subscribe
00:00:00 [2023-12-15 13:51:40.574] eu.mining.prohashing.com: Pool responded successfully to subscribe
00:00:00 [2023-12-15 13:51:40.574] eu.mining.prohashing.com: Difficulty is set to 0.500000
00:00:00 [2023-12-15 13:51:40.589] europe.mining-dutch.nl: Pool responded successfully to extranonce subscribe
00:00:00 [2023-12-15 13:51:40.668] eu.mining.prohashing.com: Pool responded successfully to authorize
00:00:00 [2023-12-15 13:51:40.696] GPU0 Load verthash data size 1283457024
00:00:00 [2023-12-15 13:51:40.952] europe.mining-dutch.nl: Pool responded successfully to authorize
00:00:00 [2023-12-15 13:51:40.982] europe.mining-dutch.nl: Difficulty is set to 0.500000
00:00:00 [2023-12-15 13:51:41.552] GPU0 Verthash data loaded to gpu
00:00:00 [2023-12-15 13:51:41.559] Job  (verthash)
00:00:00 [2023-12-15 13:51:45.802] GPU0 Starting generating ethash dag (Epoch: 616)
00:00:00 [2023-12-15 13:52:13.268] VERTHASH: GPU0 Accepted (1/1/0) Reply: 61ms
00:00:00 [2023-12-15 13:52:13.299] VERTHASH: GPU0 Accepted (2/2/0) Reply: 92ms
00:00:00 [2023-12-15 13:52:13.314] VERTHASH: GPU0 Accepted (3/3/0) Reply: 107ms
00:00:00 [2023-12-15 13:52:34.363] VERTHASH: GPU0 Accepted (4/4/0) Reply: 61ms
00:00:01 [2023-12-15 13:52:41.685] mining.prohashing.com (ethash)    PING: 76ms    DIFFICULTY: 0.500    EPOCH: 616
00:00:01 [2023-12-15 13:52:41.685]
00:00:01 [2023-12-15 13:52:41.685] ID      BOARD    TYPE    KERN    XINT    TEMP    FAN     CORE    MEM     WATT
00:00:01 [2023-12-15 13:52:41.685] GPU0    580S     OpenCL  0       0       0/0     0       0       0       0
00:00:01 [2023-12-15 13:52:41.685]                                                                          0
00:00:01 [2023-12-15 13:52:41.685] ID      BOARD    HASHRATE/W    HASHRATE      AVERAGE       SHARES       RATE
00:00:01 [2023-12-15 13:52:41.686] GPU0    580S     0.00 H/W      0.00 H/s      0.00 H/s      0/0/0        100.00%
00:00:01 [2023-12-15 13:52:41.686]                  0.00 H/W      0.00 H/s      0.00 H/s      0/0/0        100.00%
00:00:01 [2023-12-15 13:52:41.686]
00:00:01 [2023-12-15 13:52:41.686] SHARES PER MINUTE: 0.00                              POOL HASHRATE: 0.00 H/s
00:00:01 [2023-12-15 13:52:41.686]
00:00:01 [2023-12-15 13:52:41.686] europe.mining-dutch.nl (verthash)    PING: 70ms    DIFFICULTY: 0.500    EPOCH: 0
00:00:01 [2023-12-15 13:52:41.686]
00:00:01 [2023-12-15 13:52:41.686] ID      BOARD    TYPE    KERN    XINT    TEMP    FAN     CORE    MEM     WATT
00:00:01 [2023-12-15 13:52:41.686] GPU0    580S     OpenCL  0       0       0/0     0       0       0       0
00:00:01 [2023-12-15 13:52:41.686]                                                                          0
00:00:01 [2023-12-15 13:52:41.686] ID      BOARD    HASHRATE/W    HASHRATE      AVERAGE       SHARES       RATE
00:00:01 [2023-12-15 13:52:41.686] GPU0    580S     0.00 H/W      527.82 kH/s   527.70 kH/s   4/0/0        100.00%
00:00:01 [2023-12-15 13:52:41.686]                  0.00 H/W      527.82 kH/s   527.70 kH/s   4/0/0        100.00%
00:00:01 [2023-12-15 13:52:41.686]
00:00:01 [2023-12-15 13:52:41.686] SHARES PER MINUTE: 4.00                              POOL HASHRATE: 559.25 kH/s
[...]
00:00:04 [2023-12-15 13:56:16.631] VERTHASH: GPU0 Accepted (23/23/0) Reply: 107ms
00:00:04 [2023-12-15 13:56:16.649] VERTHASH: GPU0 Accepted (24/24/0) Reply: 123ms
00:00:04 [2023-12-15 13:56:27.407] VERTHASH: GPU0 Accepted (25/25/0) Reply: 61ms
00:00:04 [2023-12-15 13:56:27.437] VERTHASH: GPU0 Accepted (26/26/0) Reply: 91ms
00:00:04 [2023-12-15 13:56:38.218] GPU0 DAG generated in 292.42 seconds (6094847kb)
00:00:04 [2023-12-15 13:56:38.219] GPU0 XIntensity set to Dynamic
00:00:04 [2023-12-15 13:56:38.306] VERTHASH: GPU0 Accepted (27/27/0) Reply: 60ms
00:00:05 [2023-12-15 13:56:40.133] GPU0 Dag buffer verified ok!
00:00:05 [2023-12-15 13:56:41.573] mining.prohashing.com (ethash)    PING: 70ms    DIFFICULTY: 0.500    EPOCH: 616
00:00:05 [2023-12-15 13:56:41.573]
00:00:05 [2023-12-15 13:56:41.573] ID      BOARD    TYPE    KERN    XINT    TEMP    FAN     CORE    MEM     WATT
00:00:05 [2023-12-15 13:56:41.573] GPU0    580S     OpenCL  0       0       0/0     0       0       0       0
00:00:05 [2023-12-15 13:56:41.573]                                                                          0
00:00:05 [2023-12-15 13:56:41.573] ID      BOARD    HASHRATE/W    HASHRATE      AVERAGE       SHARES       RATE
00:00:05 [2023-12-15 13:56:41.573] GPU0    580S     0.00 H/W      2184.91 kH/s  2175.00 kH/s  0/0/0        100.00%
00:00:05 [2023-12-15 13:56:41.573]                  0.00 H/W      2184.91 kH/s  2175.00 kH/s  0/0/0        100.00%
00:00:05 [2023-12-15 13:56:41.573]
00:00:05 [2023-12-15 13:56:41.573] SHARES PER MINUTE: 0.00                              POOL HASHRATE: 0.00 H/s
00:00:05 [2023-12-15 13:56:41.573]
00:00:05 [2023-12-15 13:56:41.573] europe.mining-dutch.nl (verthash)    PING: 75ms    VARDIFF: 0.135    EPOCH: 0
00:00:05 [2023-12-15 13:56:41.573]
00:00:05 [2023-12-15 13:56:41.573] ID      BOARD    TYPE    KERN    XINT    TEMP    FAN     CORE    MEM     WATT
00:00:05 [2023-12-15 13:56:41.573] GPU0    580S     OpenCL  0       0       0/0     0       0       0       0
00:00:05 [2023-12-15 13:56:41.573]                                                                          0
00:00:05 [2023-12-15 13:56:41.573] ID      BOARD    HASHRATE/W    HASHRATE      AVERAGE       SHARES       RATE
00:00:05 [2023-12-15 13:56:41.573] GPU0    580S     0.00 H/W      506.58 kH/s   516.65 kH/s   27/0/0       100.00%
00:00:05 [2023-12-15 13:56:41.573]                  0.00 H/W      506.58 kH/s   516.65 kH/s   27/0/0       100.00%
00:00:05 [2023-12-15 13:56:41.573]
00:00:05 [2023-12-15 13:56:41.573] SHARES PER MINUTE: 13.00                             POOL HASHRATE: 489.76 kH/s
UselessGuru commented 10 months ago

Here an EtcHash example:

00:00:00 [2023-12-15 14:47:54.502]
00:00:00 [2023-12-15 14:47:55.079] OpenCL driver version: 546.1
00:00:00 [2023-12-15 14:47:55.309] Cuda driver version: 12.3
00:00:00 [2023-12-15 14:47:55.309] Cuda runtime API version: 12.0
00:00:00 [2023-12-15 14:47:55.309]
00:00:00 [2023-12-15 14:47:55.309]
00:00:00 [2023-12-15 14:47:55.309]
00:00:00 [2023-12-15 14:47:55.309] Welcome to Team Black Miner 2.15
00:00:00 [2023-12-15 14:47:55.309]
00:00:00 [2023-12-15 14:47:55.309]
00:00:00 [2023-12-15 14:47:55.309] GPU0 Ellesmere 8GB added to miner as OpenCL device
00:00:00 [2023-12-15 14:47:55.310] Trying to read verthash data file from disk
00:00:00 [2023-12-15 14:47:55.310] Api server started at 127.0.0.1:4004
00:00:00 [2023-12-15 14:47:55.804] Verthash data file has been loaded succesfully
00:00:00 [2023-12-15 14:48:01.224] Verthash data file has been verified succesfully
00:00:00 [2023-12-15 14:48:01.224] Trying verthash.eu.mine.zergpool.com:4534 (verthash)
00:00:00 [2023-12-15 14:48:01.225] Trying etchash.auto.nicehash.com:9200 (etchash)
00:00:00 [2023-12-15 14:48:01.225] GPU0 Intensity set to 256
00:00:00 [2023-12-15 14:48:01.225] GPU0 Started CL work thread
00:00:00 [2023-12-15 14:48:01.341] etchash.auto.nicehash.com: Pool responded successfully to subscribe
00:00:00 [2023-12-15 14:48:01.404] etchash.auto.nicehash.com: Pool responded successfully to extranonce subscribe
00:00:00 [2023-12-15 14:48:01.452] etchash.auto.nicehash.com: Pool responded successfully to authorize
00:00:00 [2023-12-15 14:48:01.467] etchash.auto.nicehash.com: Difficulty is set to 0.250000
00:00:00 [2023-12-15 14:48:01.498] GPU0 Starting generating etchash dag (Epoch: 315)
00:00:00 [2023-12-15 14:48:01.516] GPU0 Load verthash data size 1283457024
00:00:00 [2023-12-15 14:48:01.687] verthash.eu.mine.zergpool.com: Pool responded successfully to subscribe
00:00:00 [2023-12-15 14:48:02.001] verthash.eu.mine.zergpool.com: Pool responded successfully to extranonce subscribe
00:00:00 [2023-12-15 14:48:02.017] verthash.eu.mine.zergpool.com: Pool responded successfully to authorize
00:00:00 [2023-12-15 14:48:02.032] verthash.eu.mine.zergpool.com: Difficulty is set to 2.000000
00:00:00 [2023-12-15 14:48:02.363] GPU0 Verthash data loaded to gpu
00:00:00 [2023-12-15 14:48:02.370] Job  (verthash)
[...]
00:00:03 [2023-12-15 14:51:01.605]
00:00:03 [2023-12-15 14:51:07.248] Job  (verthash)
00:00:03 [2023-12-15 14:51:18.898] VERTHASH: GPU0 Accepted (10/10/0) Reply: 358ms
00:00:03 [2023-12-15 14:51:29.450] GPU0 DAG generated in 207.95 seconds (3629055kb)
00:00:03 [2023-12-15 14:51:29.450] GPU0 XIntensity set to Dynamic
00:00:03 [2023-12-15 14:51:29.497] Job 4411 (verthash) is possible stale
00:00:03 [2023-12-15 14:51:29.497] Job  (verthash)
00:00:03 [2023-12-15 14:51:31.389] GPU0 Dag buffer verified ok!
00:00:03 [2023-12-15 14:51:38.524] Job 00000000f1e84345 (etchash)
00:00:03 [2023-12-15 14:51:41.111] VERTHASH: GPU0 Accepted (11/11/0) Reply: 155ms
00:00:03 [2023-12-15 14:51:43.703] Job 00000000f1e84346 (etchash)
00:00:03 [2023-12-15 14:51:52.511] VERTHASH: GPU0 Accepted (12/12/0) Reply: 92ms
00:00:03 [2023-12-15 14:51:52.542] VERTHASH: GPU0 Accepted (13/13/0) Reply: 124ms
sp-hash commented 10 months ago

The problem is that the verthash intensity is too high as default. Try to add --dual-intensity 16 or lower

--xintensity for ETC algo --dual-intensity for VTC algo.

adjust up and down to find the best settings

UselessGuru commented 10 months ago

adjust up and down to find the best settings

I expect the miner work with it's default settings.

sp-hash commented 10 months ago

The default verthash intensity has been lowered in 2.16 in dual mode on amd, and this give more power to fo Ethash/etchash. --zil-only parameter can be also used to give 100% power to verthash and 100% to zil pow

UselessGuru commented 10 months ago

Fixed in build v3