Need help?

NBminer Command Lines (Extra Launch Parameters)

Last updated September 2022

In this guide, we will list Extra Command Lines for NBminer used in NiceHash Miner. You can use this list as a reference for all Extra Commands supported by NiceHash Miner. 

If you are unsure what Extra Commands are and how they work, please read about them here.

Note that NiceHash Miner requires to be run as Administrator for some Extra Commands to work.

LHRUnlock

NBMiner Extra Commands for overclocking

  • -i, --intensity <intensities> Comma-separated list of intensities (1 -100).
  • --mt, --memory-tweak <mode> Memory timings optimize for Nvidia GDDR5 & GDDR5X gpus. range [1-6]. Higher value equals higher hashrate. Individual value can be set via comma seperated list. Power limit may need to be tuned up to get more hashrate. Higher reject share ratio can happen if mining rig hits high temperature, set lower value of -mt can reduce reject ratio.

  • --power-limit, --pl <limit> Set power limit of GPU.

    ​ Set PL in watts: -pl 200.

    ​ Set PL in the percentage of default PowerLimit: -pl 75%

  • --cclock <clocks> Set core clock in MHz. Set clock offsets: -cclock 100, -cclock -500 (Windows only) Set locked clock: -cclock @1500.

  • --mclock <clocks> Set memory clock offsets in MHz. (Windows only)

  • --lock-cv <cv> Set locked core voltages in mV. (Windows only)

  • --fan <speed> Set GPU fan speed in percentage. (Windows only)

Other NBminer Extra Commands

  • -h, --help Displays this help.

  • -v, --version Displays version information.

  • -c, --config <config file path> Use JSON format config file rather than cmd line options.

  • --generate-config <filename> Generate a sample config JSON file.

  • -a, --algo <algo> Select mining algorithm

  • --api <host:port> The endpoint for serving REST API.

  • -d, --devices <devices> Specify GPU list to use. Format: "-d 0,1,2,3" to use first 4 GPU.

  • --strict-ssl Check the validity of certificate when using SSL connection.

  • --proxy Socks5 proxy used to establish connection with pool, E.g. 127.0.0.1:1080

  • --cuckoo-intensity <intensity> Set intensity of cuckoo, cuckaroo, cuckatoo, [1, 12]. A smaller value means higher CPU usage to gain more hashrate. Set to 0 means automatically adapt. Default: 0.

  • --temperature-limit, --tl <temp-limit> Set temperature limit of GPU, if exceeds, stop GPU.

  • --temperature-start, --ts <temp-start> Set cool-down temperature target if GPU is stopped by temperature-limit, default to <temp-limit> - 5.

  • --log Generate a log file named logs/log_<timestamp>.txt.

  • --log-file <filename> Generate custom log file. Note: This option will override --log.

  • --log-no-job Set this option to disable 'New job' info in the console and log file.

  • --log-cycle <cycle> Set to change the cycle of Summary table show in console and log, in seconds, defaults to 30.

  • --no-health Do not query device health status. (Do not set if use LHR GPU)

  • --no-color Do not use colorful output log in cmd line.

  • --long-format Use 'yyMMdd HH:mm:ss,zzz' for log time format.

  • --verbose Print communication data between miner and pool in the log file.

  • --device-info Print device CUDA information.

  • --device-info-json Print out detailed information for every device in JSON format.

  • --fee <fee> Change devfee in percentage, [0-5]. Set to '0' to turn off devfee with a lower hashrate. Otherwise, devfee = max(set_value, default_value).

  • --no-watchdog Disable watchdog process.

  • --platform <platform> Choose platform,0: NVIDIA+AMD (default), 1: NVIDIA only, 2: AMD only

  • --share-check <value> If <value> minutes without share, reboot miner, set 0 to disable. Default: 30

  • --no-interrupt set this option will disable miner interrupting current GPU jobs when a new job coming from the pool, will cause less power supply issue but might lead to a bit higher stale ratio and reject shares.

  • --enable-igpu AMD igpu is disabled by default, set this option to enable.

  • --lhr-mode <mode> LHR unlock mode. Mode 1 has better compatibility (default mode), and Mode 2 has a better stability.

Note: Commands without the <value> should be used in the Commands without the value input field. Commands with <value>, <limits>, <clocks>, or similar next to the flag should be used in the Commands with a value input field.

If you have any further questions, feel free to join our Discord server or ask on our Reddit page where our staff and other users are always happy to answer any questions.

WRITTEN BY
Marko Tarman
Marko is NiceHash's Mining Manager and Content Creator. He started mining back in 2012 before the first ASICs were released. He went from GPU mining BTC, LTC to VTC, and even DOGE. His mining motto: "I've got 99 problems, a bad riser is all of them"