Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to edit commands when running NiceHash Miner? #288

Closed
kugaevsky opened this issue Jan 17, 2021 · 7 comments
Closed

How to edit commands when running NiceHash Miner? #288

kugaevsky opened this issue Jan 17, 2021 · 7 comments

Comments

@kugaevsky
Copy link

kugaevsky commented Jan 17, 2021

cmd_1.json resets and drops any changes when Excavator starts from Nicehash application. How could I apply all my API commands without using HTTP API?

@nicehashdev
Copy link
Contributor

Unfortunately you cannot adjust commands NHM is giving Excavator (yet). I suggest you open this ticket in NHM repo.

Alternatively, if you restrict yourself to daggerhashimoto mining only, you may try out following experimental wrapper: https://github.com/nicehash/excavator/tree/master/experimental

It has watchdog (restarts Excavator if it crashes...) and Windows autostart service. Additionally, you may apply overclocks and no 3rd party tool is needed to take care of it. It is a pretty solid mining solution that takes care of everything.

@kugaevsky
Copy link
Author

Thanks for the great advice, but I've solved this issue another way. Probably someone will find it useful.

I've put the file with custom commands to Excavator directory in Nicehash plugins and added custom arguments to Extra launch parameters in Benchmark tab of Nicehash application. With -c commands.json -wp 18000 parameters Excavator started from Nicehash loads my OC profile and perfectly tunes with octune.html.

@kugaevsky
Copy link
Author

I believe that moving custom command-line arguments for miners/plugins to a more obvious place will make Nicehash UI more user friendly.

@nicehashdev
Copy link
Contributor

Okay great! I will leave this issue open for others, if anyone wants to do the same.

@nicehashdev nicehashdev changed the title cmd_1.json resets on miner start How to edit commands when running NiceHash Miner? Jan 19, 2021
@ben1628
Copy link

ben1628 commented Feb 11, 2021

-c commands.json -wp 18000 <

How does your commands.json looks like?

{"time":10,"commands":[
{"id":1,"method":"device.set.oc_profile","params":["0","-150","1300","130","50"]},
{"id":1,"method":"worker.reset","params":["0"]}
]}

Try to add this but I cannot get passed

=========================== www.nicehash.com =========================
Excavator v1.6.2a GPU Miner for NiceHash.
Copyright (C) 2021 NiceHash. All rights reserved.
=========================== www.nicehash.com =========================

Build number: 514
Provided startup commandline: -p 4000 -c cmd_1.json -m -qx -c commands.json

[16:50:19][0x00001c18][info] Log started, build v514
[16:50:19][0x00001c18][info] core | Found (0) CUDA device: GeForce RTX 3060 Ti
[16:50:19][0x00001c18][info] api | Listening on 127.0.0.1:4000
[16:50:19][0x00001c18][info] core | Initialized!

@ben1628
Copy link

ben1628 commented Feb 12, 2021

okay, looks like I can generate the commands.json from the octune.html.

@ben1628
Copy link

ben1628 commented Feb 14, 2021

still get a problem, when I add -c command.json, it just freeze at core initialized.

@nicehashdev nicehashdev pinned this issue Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants