nicehash / excavator

NiceHash's proprietary low-level CUDA miner
https://www.nicehash.com
53 stars 19 forks source link

Equihash - Unknown Algorithm on NHMP stratum #261

Closed salighie closed 6 years ago

salighie commented 6 years ago

getting unknown algorithm for equihash on excavator 1.5.4a --- attached is the json nh_equihash.txt

what am i missing?

here is the debug log output =========================== www.nicehash.com ========================= Excavator v1.5.4a_nvidia GPU Miner for NiceHash. Copyright (C) 2018 NiceHash. All rights reserved. =========================== www.nicehash.com =========================

Build time: 2018-05-30 12:41:07 Build number: 5688 Provided startup commandline: excavator.exe -c nh_equihash.json -d 0 -f 0 [... etc]

[21:43:02][0x0

0001434][info] Log started [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] core | Found CUDA device: GeForce GTX 1070 Ti [21:43:03][0x00001434][info] api | Listening on 127.0.0.1:3456 [21:43:03][0x00001434][info] http | Listening on 192.168.2.11:8091 [21:43:03][0x00001434][debug] Adding command with 0 seconds execution delay: {"id":1,"method":"subscribe","params":["nhmp.usa.nicehash.com:3200","3AKVGsMPiQn5k7ewr6MNExmBFCGjUW75nS.EQUIRIG"]} [21:43:03][0x00002fa0][trace] Executing: {"id":1,"method":"subscribe","params":["nhmp.usa.nicehash.com:3200","3AKVGsMPiQn5k7ewr6MNExmBFCGjUW75nS.EQUIRIG"]} [21:43:03][0x00001434][debug] Adding command with 1 seconds execution delay: {"id":1,"method":"algorithm.add","params":["Equihash"]} [21:43:03][0x00002fa0][debug] core | Command method: subscribe [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":1,"method":"worker.add","params":["Equihash","0"]} [21:43:03][0x00002fa0][trace] Response: {"id":1,"error":null} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":2,"method":"worker.add","params":["Equihash","1"]} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":3,"method":"worker.add","params":["Equihash","2"]} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":4,"method":"worker.add","params":["Equihash","3"]} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":5,"method":"worker.add","params":["Equihash","4"]} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":6,"method":"worker.add","params":["Equihash","5"]} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":7,"method":"worker.add","params":["Equihash","6"]} [21:43:03][0x00001434][debug] Adding command with 3 seconds execution delay: {"id":8,"method":"worker.add","params":["Equihash","7"]} [21:43:03][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":1,"method":"worker.print.speed","params":["0"]} [21:43:03][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":2,"method":"worker.print.speed","params":["1"]} [21:43:03][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":3,"method":"worker.print.speed","params":["2"]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":4,"method":"worker.print.speed","params":["3"]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":5,"method":"worker.print.speed","params":["4"]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":6,"method":"worker.print.speed","params":["5"]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":7,"method":"worker.print.speed","params":["6"]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":8,"method":"worker.print.speed","params":["7"]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":1,"method":"miner.alive","params":[]} [21:43:04][0x00001434][debug] Adding command with 10 seconds execution delay and 30 seconds loop time: {"id":2,"method":"algorithm.print.speeds","params":["0"]} [21:43:04][0x00001434][debug] Adding command with 1800 seconds execution delay: {"id":1,"method":"worker.clear","params":[]} [21:43:04][0x00001434][debug] Adding command with 1800 seconds execution delay: {"id":2,"method":"unsubscribe","params":[]} [21:43:04][0x00001434][debug] Adding command with 1800 seconds execution delay: {"id":3,"method":"quit","params":[]} [21:43:04][0x00001434][info] core | Initialized! [21:43:04][0x00001434][info] Connected to nhmp.usa.nicehash.com:3200 [21:43:04][0x00002fa0][info] nhmp | Subscribed [21:43:04][0x00001434][trace] Executing: {"id":1,"method":"algorithm.add","params":["Equihash"]} [21:43:04][0x00001434][debug] core | Command method: algorithm.add [21:43:04][0x00001434][trace] Response: {"id":1,"error":"Unknown algorithm Equihash"} [21:43:06][0x00002fa0][trace] Executing: {"id":1,"method":"worker.add","params":["Equihash","0"]} [21:43:06][0x00002fa0][debug] core | Command method: worker.add [21:43:06][0x00002fa0][trace] Response: {"id":1,"error":"Unknown algorithm: Equihash"} [21:43:06][0x00002fa0][trace] Executing: {"id":2,"method":"worker.add","params":["Equihash","1"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":2,"error":"Unknown algorithm: Equihash"} [21:43:07][0x00002fa0][trace] Executing: {"id":3,"method":"worker.add","params":["Equihash","2"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":3,"error":"Unknown algorithm: Equihash"} [21:43:07][0x00002fa0][trace] Executing: {"id":4,"method":"worker.add","params":["Equihash","3"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":4,"error":"Unknown algorithm: Equihash"} [21:43:07][0x00002fa0][trace] Executing: {"id":5,"method":"worker.add","params":["Equihash","4"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":5,"error":"Unknown algorithm: Equihash"} [21:43:07][0x00002fa0][trace] Executing: {"id":6,"method":"worker.add","params":["Equihash","5"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":6,"error":"Unknown algorithm: Equihash"} [21:43:07][0x00002fa0][trace] Executing: {"id":7,"method":"worker.add","params":["Equihash","6"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":7,"error":"Unknown algorithm: Equihash"} [21:43:07][0x00002fa0][trace] Executing: {"id":8,"method":"worker.add","params":["Equihash","7"]} [21:43:07][0x00002fa0][debug] core | Command method: worker.add [21:43:07][0x00002fa0][trace] Response: {"id":8,"error":"Unknown algorithm: Equihash"} [21:43:08][0x00002fa0][info] nhmp | Disconnected [21:43:08][0x00002fa0][warning] nhmp | read: End of file (2) [21:43:12][0x00001434][info] Shutting down [21:43:12][0x00001434][info] api | Closing [21:43:12][0x00001434][info] http | Closing Terminate batch job (Y/N)? y

C:\CryRig_3-NiceHash\excavator>

t4nja commented 6 years ago

Don't use uppercase when naming algorithms. Change "Equihash" to "equihash". You have to use exactly the same names as they are listed here: https://github.com/nicehash/excavator/tree/master/nvidia#available-cuda-algorithms-in-excavator

salighie commented 6 years ago

Thanks - had no idea it was case sensitive.

if i may make a suggestion - to save you these headaches - can you add language in the excavator readme to cover the following topics (i've only been able to infer these from comments in other issues and trial and error) 1) The nhmp.\<LOCATION>.nicehash.com:3200 stratum needs to be used as of ver 1.?.? 2) That it's the same stratum uri for all algos 3) That Algo-names are case sensitive (as per your comment above)

Thanks for the support

this is resolved

UselessGuru commented 6 years ago

The nhmp..nicehash.com:3200 stratum needs to be used as of ver 1.?.?

As of ver 1.5.x