NBMiner v40.1: Download and configure the miner

NBMiner v40.1: Download and configure the miner

At the beginning of 2019, the Grin coin gained great popularity among cryptocurrency miners, which can be mined with a previously little-known program. Nbminer.

An interesting feature of this program is the ability not only to mine Grin, but also the ability to mine in the dual cryptocurrencies such as Ethereum (PoW Ethash algorithm), as well as Bytom coins. It should be noted that dual mining, due to the emergence of ASICs for many previously profitable algorithms, as well as due to a significant drop in cryptocurrency prices, has long lost its popularity. Most of the coins that were previously mined in dual with the Claymore dual miner (for example, Siacoin, Decred) now have such complexity of mining that the use of video cards for this makes sense only for heating rooms or indirect heating boilers.

Coins based on the Blake2s algorithm have a slightly higher profitability for dual mining, which can be mined in dual using the Claymore dual miner and Phoenix miner programs. Much less popular in dual is the Nbminer program, which also allows dual mining of coins on one video card.

What is NBMiner?

Nbminer can run on Windows and Linux with Nvidia 10xx and 20xx series graphics cards. It supports the mining of cryptocurrencies using the following algorithms:

  • Tensority - Bytom (BTM);
  • Ethash - Ethereum (ETH) and other coins based on this algorithm;
  • Cuckoo Cycle - Grin (cuckaroo29 algorithm, mode designed for video cards);
  • Cryptonight V8 - Monero (XMR).

It has a built-in commission in the following amount:

  • dual mode of mining BTM + ETH coins - 3%;
  • BTM solo - 2%;
  • ETH solo - 0,65%;
  • Green 2%.

Where to download NBMiner?

Nbminer v40.1 can be downloaded from the link below.


  • NVIDIA driver version:> = 384.
  • Specific requirements for Nvidia GPU:
AlgorithmCoinComputing capabilitiesMemory (Win7 and Linux)Memory (Win10)
ethashETH6.0, 6.1, 7.0, 7.5, 8.0,8.65GB6GB
cuckatooGRIN316.0, 6.1, 7.0, 7.5, 8.0,8.68GB10GB
cuckatoo32GRIN326.0, 6.1, 7.0, 7.58GB10GB
cuckoo_aeAE6.0, 6.1, 7.0, 7.5, 8.0,8.65GB6GB
progpow_seroSERO6.0, 6.1, 7.0, 7.5, 8.0,8.63GB4GB
kawpowRVN6.0, 6.1, 7.0, 7.5, 8.0,8.63GB4GB
beamv3BEAM6.0, 6.1, 7.0, 7.53GB3GB
octopusCFX6.0, 6.1, 7.0, 7.5, 8.0,8.65GB6GB
ergoERGO6.0, 6.1, 7.0, 7.5, 8.0,8.63GB3GB

Latest change log


  • fixethashv40.0 false is detected as LHR blocking in latest Nvidia drivers.
  • feature: Supports future LHR GPUs.


  • feature: Add overclocking options for Nvidia GPUs, require administrator rights, accept comma separated list to specify for each GPU.
    • -power-limit, -pl: Set the GPU power limit. Examples: Set PL in watts: -pl 200Set PL as a percentage of the default PowerLimit: -pl 75%(in windows bat file, need double %-pl 75%%)
    • -cclock: Set the core frequency in MHz. Examples: Set the clock offset: -cclock 100 (Windows only) Set the locked clock: -cclock @1500
    • -mclock: Set memory clock offset in MHz (Windows only)
    • -lock-cv: Set locked GPU core voltage in mV, support Turing and new GPUs. (Windows only)
    • -fan: Set the fan speed as a percentage of the GPU. (Windows only)
  • feature: Display the current LHR value in the console pivot table and in the web monitor.
  • feature-proxyoptions now support username and password for SOCKS5 proxy. format:-proxy user:[email protected]:port
  • feature: Web monitoring of changes, removal of unused information for double mining.
  • feature: new possibilities for log management.
    • -log-no-job: Switch off New jobline in the console.
    • -log-cycle: Set to change the display cycle of pivot table in console and log in seconds, default is 30.
  • fixethashChanging the CPU share check to an independent thread, less performance degradation when mining in very low complexity pools.
  • fix: LHR lock has detected a failure in some cases.


  • feature: LHR mode support new version GA104 3060
  • feature: ethash By default enables LHR mode for version 3060 v1, disabled by default only in Windows 470.05
  • fix: ethash cannot detect LHR lock in certain situation.
  • fixed: Nvidia GPU power consumption issue in certain setup configuration.
  • remove: sero support.
  • Feature: LHR mode adds support for 3060 GA104 kernel version
  • Feature: ethash by default enables LHR mode for 3060v1 and is disabled by default only when using Windows 470.05.
  • Bug Fix: In LHR ethash mode, hashrate blocking was detected incorrectly in some cases.
  • Bugfix: In some cases, it was not possible to get the energy consumption data of the N-card
  • Remove: support sero


  • optimization: significant improvement in LHR ethash mode:
  • higher power, more stable NGR unlocking for both-NGR-mode 1 and ITR-2 modes
  • by default NGR mode changes to -NGR-mode 1 for ITR GPUs
  • the default values ​​are served in the increased mode, -NGR-mode 1 -> 74, -NGR-mode 2 -> 71
  • added 3 new options for ITR autotuning under control, in most cases, you do not need to change:
  • -lhr-decrease-value: the amount to decrease is the value when configured with one lhr. the default value is 0,5.
  • - lhr-decrease-time: When a lock is detected and the time elapsed since the last lock exceeds this value, -lhr decrease will not be executed. the default is 15, which means 15 minutes.
  • lhr-reduce-limit: The maximum number of times to reduce is the value of lhr, default is 6.
    Typical hashrate: default 3060Ti LHR ...


  • feature: ergo new LHR mode for ERGO mining, enable it manually by adding -lhr option
  • Just like in LHR mode in ethash, the -lhr value represents the expected hashrate, reaching a percentage of the non-LHR GPU hashrate, maintains a comma-separated list to specify the -lhr value for each GPU, and -lhr -1 for disconnection.
  • LHR mode is not recommended for GPUs with Hynix GDDR6 memory due to poor performance.
  • For GPUs with non-Hynix GDDR6 memory, such as 3060 3060ti 3070, start trying with -lhr 85
  • For GPUs with GDDR6X memory like 3070ti 3080 3080ti, start trying with -lhr 100
  • If a mining block is detected during ERGO mining, the miner will automatically reduce the -lhr value by 0,5 and continue mining. the maximum decrease time is 10, which is 5,0
  • optimizations: hence the power consumption of Nvidia GPUs is reduced.


Fixed issue with error hash.


  • Feature: New low power LHR mode, option to add lhr mode.
  • -lhr-mode 2 is the default LHR mode, which is the new low power mode.
    -lhr-mode 1 changes the LHR mode to an older version which is the same as v39.2
    -lhr-mode 1 is only suitable for GPU with limited power limit, can achieve higher hash rate than mode 2
    -lhr-mode 2 is able to provide lower average power and temperature. especially suitable for GPUs with gddr6x like 3070ti, 3080, 3080ti. Power consumption fluctuates in this mode, best used with locked core clock.
    feature: - lhr decimal value support
  • feature: for LHR GPUs, when a mining lock is detected, the miner will automatically reduce the -lhr value by 0,1 and continue mining. the maximum decrease time is 10, which adds up to 1,0
  • fixed: higher cpu usage on install -share-check 0


  • Ethash added LHR lock detection and recovery in LHR mode.
  • Added display of memory temperature (if available) for Nvidia and AMD GPUs under Windows.
  • More reliable protocol handling.


featureethashNew LHR mode for mining ETH on RTX 30 series LHR GPUs, supports Windows and Linux, can get ~ 70% of max unlocked hashrate.

  • This mode can be configured with the argument -lhr, only works ethashNow.
  • -lhrthe default is 0, which means that even if -lhrit is not installed, LHR mode -lhr 68will apply to LHR GPUs if specific GPUs are detected.
  • Configure LHR mode by setting -lhr <value>a certain value that will indicate to the miner that he trying to reach value percentage of the maximum unlock hashrate, for example -lhr 68, expects to get 68% hashrate for the same GPU model without LHR.
  • Higher -lhra value will result in a higher hash rate, but has a higher chance of getting into a blocking state, which will result in a much lower hash rate.
  • A good starting point is 68 and has been tested for stability on most rig configurations.
  • -lhrthe value can be set per GPU using a comma separated list -lhr 65,68,0,-1Where -1means off the LHR mode.

Known Issue

  • unable to unlock LHR hash under Windows driver 471.11


  • fix: AMD kernel error on some GPUs with drivers 21.6.1+ under Windows.


  • fix: high CPU usage in v38.0


  • fixethash --enable-dag-cachecrashes on AMD GPUs when switching DAG file.
  • fixergosupport AMD Vegagraphics processors.


  • new algoergofor AMD GPUs could be faster with ETH mining timings
  • optimizeergoslightly increased hashrate on Nvidia GPUs
  • feature: use --temperature-limit--temperature-startto protect the GPU from overheating, see readme.md for details


  • feature: Option add, --enable-dag-cacheto allow additional DAGfor various epochare cached in GPU memory useful for ETH+ZILmining and mining on NiceHash.


  • feature: added feature -p -p1 -p2 settings passwordmining pool, old format -u wallet.worker:passwddisabled ,:can be added as part of a worker or wallet
  • optimizeethashminor hashrate improvement on RDNA GPUs
  • fix: compatibility issue with deprecated 21.4.1AMD driver.


  • fixergohigh rejection rate on Nvidia 10 series GPUs
  • fixergopool compatibility
  • Miner recommend p106-90и 1060 3Gto my mind ERGO, the hashrate will be significantly increased from -mtoption.


  • new algoergofor landing ERGOcoins on Nvidia GPUs.
  • delete algobfc cuckaroodfor Nvidia, octopusfor AMD
  • fixoctopussupport CFXnew address format
  • fix: problem with clBuildProgram error on Vega for versions 35.0 - 36.1
  • feature: disable AMD iGPU by default, can be enabled again by setting --enable-igpu
  • other: minor bug fixes, overall stability improvements


  • optimizeoctopusLower power consumption for Nvidia 2030 series GPUs, 2% more hashrate for Nvidia 16 series GPUs
  • fixethashFixed performance degradation under win8 and win8.1 for Nvidia 10 series GPUs.
  • fixethashSlightly reduce the obsolescence rate.
  • fix: Fixed random crash, improved overall stability.
  • feature: Add detail datetimecpu usageto the summary log
  • featureethashIf the DAG validation fails, display the corresponding GPU name in red in the summary.


  • fixkawpowcrash on some gpu versions35.x
  • fixethashperformance degradation under win7 for Nvidia 10 series GPUs.
  • delete algoeaglesongeaglesong_ethashtrbtrb_ethashhnshns_ethashsipccuckaroo,cuckaroo_swap
  • feature: smaller binary file size

Performance (default settings)

AlgorithmsCoinsP106-100P104-8G1070ti1080ti2080RX580 2048sp

Mining setup for NBMiner

The batch file for starting mining is configured for a specific pool based on the following templates:

  • for BTM cryptocurrency:

nbminer -a tensority -o stratum+tcp://пул BTM:порт -u кошелек BTM.worker;

  • for cryptocurrency ETH:

nbminer -a ethash -o ethproxy+tcp://пул эфира:порт -u кошелек эфира.worker;

  • for dual mining BTM + ETH:

nbminer -a tensority_ethash -o stratum+tcp://пул:порт -u кошелек BTM.worker -do ethproxy+tcp://пул эфира:порт -du кошелек эфира.worker;

  • for mining Grin coins:

nbminer -a cuckaroo -o stratum+tcp://пул:порт -u адрес почты@email.com/worker

Commands supported by NBMiner

The following commands can be added to the BAT file (you can use the full spelling with two dashes or abbreviated one with one):

-h, --help - shows a list of available commands;
-v, --version - shows the version of the program;
-c, --config <config file path> - the configuration is used in a separate json file instead of commands in the file to run;
-a, --algo <algo> - choice of algorithm (tensority for BTM, ethash for ETH, cryptonightv8 for XMR);
--api <host:port> - to use the REST API;
-o, --url <url> - pool address;
-u, --user <user> - name (wallet address) on the pool in the format username | wallet] .workername: password, for example: bm1xxxxxx.worker or username.worker: password;
-o1, --url1 <url> - address to reserve pool # 1;
-u1, --user1 <user> - name for backup pool # 1;
-o2, --url2 <url> - address to reserve pool # 2;
-u2, --user2 <user> - name for backup pool # 2;
-di, --secondary-intensity <intensity> - the intensity of mining using the Ethash algorithm with dual. Recommended in the range 8 - 24, default is 16;
-do, --secondary-url <url> - address of the pool for mining ether and similar coins;
-du, --secondary-user <user> - username for ether mining;
-do1, --secondary-url1 <url> - reserve pool # 1 for ether mining with dual;
-du1, --secondary-user1 <user> - backup name # 1 for ether mining with dual;
-do2, --secondary-url2 <url> - reserve pool # 2 for mining using the Ethash algorithm in dual;
-du2, --secondary-user2 <user> - backup name # 2 for ether mining with dual. The format used is "-d 0,1,2,3"(starting from the zero card);
--strict-ssl - verification of the certificate when using an SSL connection;
--log - generating a log file with the name log_<timestamp>.txt;
--long-format - using the format year-month-day hour: minutes: for the log.