angelbbs / NiceHashMinerLegacy

NiceHash Miner Legacy Fork Fix
Other
72 stars 16 forks source link

Incorrect DeviceID passed to overclock scripts when mining DaggerHashimoto #41

Closed Balzhur closed 5 years ago

Balzhur commented 5 years ago

$subj

See below log - ID=1 passed to Card with ID=0.

[2018-12-24 19:29:44] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(NOT_SET)] NEW MINER CREATED
[2018-12-24 19:29:44] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(NOT_SET)] NEW MINER CREATED
[2018-12-24 19:29:44] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] Using CMD: bin_3rdparty\Phoenix\BeforeMining.cmd
[2018-12-24 19:29:45] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] Start CMD: bin_3rdparty\Phoenix\BeforeMining.cmd NVIDIA SINGLE DaggerHashimoto "1"
[2018-12-24 19:29:47] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] Starting miner [pid(19928)|bin(bin_3rdparty\Phoenix\PhoenixMiner.exe)]  -gpus  1 -nvidia -retrydelay 10 -pool stratum+tcp://daggerhashimoto.eu.nicehash.com:3353 -wal [censored] -cdmport  127.0.0.1:4002 -proto 4 -pass x  -logfile 0_log.txt
[2018-12-24 19:29:47] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] [pid(19928)|bin(bin_3rdparty\Phoenix\PhoenixMiner.exe)] Starting cooldown checker
[2018-12-24 19:29:47] [INFO] [ExtraLaunchParametersParser DISABLED! ] %-N 28800 -i 22 -l 1070-x16r.log
[2018-12-24 19:29:47] [INFO] [ExtraLaunchParametersParser] DisableAMDTempControl is TRUE, temp control parameters will be ignored
[2018-12-24 19:29:47] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] Using CMD: bin_3rdparty\t-rex\BeforeMining.cmd
[2018-12-24 19:29:48] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] Start CMD: bin_3rdparty\t-rex\BeforeMining.cmd NVIDIA SINGLE X16R "1"
[2018-12-24 19:29:50] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] Starting miner [pid(23460)|bin(bin_3rdparty\t-rex\t-rex.exe)] -a x16r -o stratum+tcp://x16r.eu.nicehash.com:3366 -u [censored] -p x [skipped] -b 127.0.0.1:4005 -d  1 -N 28800 -i 22 -l 1070-x16r.log 
[2018-12-24 19:29:50] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] [pid(23460)|bin(bin_3rdparty\t-rex\t-rex.exe)] Starting cooldown checker
[2018-12-24 19:29:50] [INFO] [MiningSession] Now Mining : { GPU#1 }: DaggerHashimoto, { GPU#2 }: X16R, 

[skip]

[2018-12-24 19:31:04] [INFO] [ComputeDeviceManager.CheckCount] CUDA GPUs count: Old: 2 / New: 2
[2018-12-24 19:31:10] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] [pid(19928)|bin(bin_3rdparty\Phoenix\PhoenixMiner.exe)] Shutting down miner
[2018-12-24 19:31:11] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] Using CMD: bin_3rdparty\Phoenix\AfterMining.cmd
[2018-12-24 19:31:11] [INFO] [Phoenix-MINER_ID(7)-DEVICE_IDs(0)] Start CMD: bin_3rdparty\Phoenix\AfterMining.cmd NVIDIA SINGLE DaggerHashimoto "1"
[2018-12-24 19:31:14] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] [pid(23460)|bin(bin_3rdparty\t-rex\t-rex.exe)] Shutting down miner
[2018-12-24 19:31:14] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] Using CMD: bin_3rdparty\t-rex\AfterMining.cmd
[2018-12-24 19:31:14] [INFO] [trex_NVIDIA-MINER_ID(8)-DEVICE_IDs(1)] Start CMD: bin_3rdparty\t-rex\AfterMining.cmd NVIDIA SINGLE X16R "1"
Balzhur commented 5 years ago

For two cards at once (Phoenix):

[2018-12-24 19:42:45] [INFO] [Phoenix-MINER_ID(9)-DEVICE_IDs(0,1)] Start CMD: bin_3rdparty\Phoenix\BeforeMining.cmd NVIDIA SINGLE DaggerHashimoto "1,2"

So instead of "0,1" device ids became "1,2".

Balzhur commented 5 years ago

Claymore for GPU1:

[2018-12-25 11:14:14] [INFO] [ClaymoreDual-MINER_ID(11)-DEVICE_IDs(1)] Start CMD: bin_3rdparty\claymore_dual\BeforeMining.cmd NVIDIA SINGLE DaggerHashimoto "-platform 2 -di 1"
[2018-12-25 11:14:17] [INFO] [ClaymoreDual-MINER_ID(11)-DEVICE_IDs(1)] Starting benchmark:   -platform 2 -di 1  -epool stratum+tcp://eth-eu.dwarfpool.com:8008 -ewal [skipped] -mport 127.0.0.1:-4004 -epsw x -allpools 1 -ftime 10 -retrydelay 5 -epoolsfile epoolsNV1-1.txt -logfile 1-1_log.txt
angelbbs commented 5 years ago

Phoenix miner card numbers starting with 1 Так что обходите эту проблему с нумерацией карт в скрипте.

angelbbs commented 5 years ago

починил

Balzhur commented 5 years ago

Fix confirmed.