luminousmining / miner

GPU Miner / Mining Software - 0% fees
MIT License
12 stars 3 forks source link

HiveOS wrong report #43

Closed luminousmining closed 7 months ago

luminousmining commented 7 months ago

image

(2024/Apr/14)(21:05:17)(i) - GPU[0] AMD Radeon RX Vega 56
(2024/Apr/14)(21:05:17)(i) - GPU[1] AMD Radeon RX 570
(2024/Apr/14)(21:05:17)(i) - GPU[2] AMD Radeon RX 470
(2024/Apr/14)(21:05:17)(i) - GPU[3] AMD Radeon RX 470
(2024/Apr/14)(21:05:17)(i) - GPU[4] NVIDIA GeForce RTX 3070
(2024/Apr/14)(21:05:17)(i) - GPU[5] NVIDIA GeForce GTX 1060 6GB
(2024/Apr/14)(21:14:07) - ========================== HASHRATE ===========================
(2024/Apr/14)(21:14:07) - | DeviceID | Algorithm | Pool              | Hashrate | Shares |
(2024/Apr/14)(21:14:07) - | 0        | kawpow    | clore.2miners.com | 18.88MH  | 1/0/1  |
(2024/Apr/14)(21:14:07) - | 1        | kawpow    | clore.2miners.com | 7.04MH   | 0/0/0  |
(2024/Apr/14)(21:14:07) - | 2        | kawpow    | clore.2miners.com | 6.40MH   | 0/0/0  |
(2024/Apr/14)(21:14:07) - | 3        | kawpow    | clore.2miners.com | 6.39MH   | 0/1/1  |
(2024/Apr/14)(21:14:07) - | 4        | kawpow    | clore.2miners.com | 25.51MH  | 3/0/3  |
(2024/Apr/14)(21:14:07) - | 5        | kawpow    | clore.2miners.com | 6.10MH   | 1/0/1  |
(2024/Apr/14)(21:14:07) - ================================================================

GPU 3 Radeon RX Vega 56 report 1 share invalid.
Log show GPU 3 -> AMD Radeon RX 470 create share invalid not Radeon RX Vega 56.
Radeon RX Vega 56 shoud be -> GPU 0
AMD Radeon RX 470 -> GPU 3

Looking API

./h-stats.sh

stats => {"hs":[18866417,7041255,6523043,6514064,25538822,5983662],"hs_units":"hs","temp":[0,0,0,0,0,0],"fan":[0,0,0,0,0,0],"uptime":0,"ver":"0.2","ar":[0,0,0,1,0,0],"algo":"kawpow","bus_numbers":[12,9,8,6,7,13]}
total_hash => {"total_hash_rate":70467263}
khs => 70467263

"ar":[0,0,0,1,0,0] index 4 have 1 invalide share. the order of GPUs is different between luminousminer and hiveos.

https://github.com/minershive/hiveos-linux/blob/master/hive/miners/custom/README.md#h-statssh
"ar": [123, 3], //Optional: acceped, rejected shares
API report wrong values

luminousmining commented 7 months ago

fixed by : https://github.com/luminousmining/miner/pull/47