Lol Miner 1.38: Setup, Commands & algorithms

16 minute read

All About LolMiner: Tuning For Maximum Profit.

This page describes how to get started mining with lolMiner 1.38 and newer.

Download for Windows / Linux

Download from the website Download releases from GitHub Download from BitcoinTalk

Review and DevFee

LolMiner - is a program for mining cryptocurrencies such as Ethereum, Beam, Ethereum Classic and many others. The software runs on Windows and Linux platforms.

DevFee (ETH) - 0.7%.

Setting up

To set up a batch file, we need to enter three commands:

bath file

  1. set "" - specify the pool address
  2. set "WALLET=0x360d6f9efea21c82d341504366fd1c2eeea8fa9d.lolMinerWorker" - specify the wallet address and farm name (any)
  3. lolMiner.exe --algo ETHASH --pool !POOL! --user !WALLET! timeout 10 - we leave the standard command to run and the algorithm.

This is how the lolminer batch file for eth will look:

@echo off

setlocal enableDelayedExpansion

Rem #################################
Rem ## Begin of user-editable part ##
Rem #################################

set ""
set "WALLET=0x360d6f9efea21c82d341504366fd1c2eeea8fa9d.lolMinerWorker"

Rem #################################
Rem ##  End of user-editable part  ##
Rem #################################

lolMiner.exe --algo ETHASH --pool !POOL! --user !WALLET! 
timeout 10

Video Guide

Batch file for Nicehash

lolMiner.exe --algo ETHASH --pool --user 3HHG3zpxP4AmbKDR9iRy1c2bqAb4WKhNwm.worker --tls 0 --ethstratum ETHV1

This is the second, easier way to specify a batch file:

lolminer bath file

And an explanation:

lolminer bath file commands

  1. lolMiner.exe - the name of the program that will be launched
  2. --algo ETHASH - algorithm name
  3. --pool - specify the pool address and port
  4. --user 3HHG3zpxP4AmbKDR9iRy1c2bqAb4WKhNwm - specify the wallet address from Nicehash
  5. .worker - after the dot we indicate the name of the worker (any name)
  6. --tls 0 - specify the TLS type (leave 0)
  7. --ethstratum ETHV1 - specify the type of protocol Stratum

A finished example:

lolMiner.exe --algo ETHASH --pool --user 3HHG3zpxP4AmbKDR9iRy1c2bqAb4WKhNwm.worker --tls 0 --ethstratum ETHV1

GMiner & lolMiner LHR ETH Unlock?? (Low Power?) Tested with RTX 3060

GMiner and lolMiner have both released the latest versions of their respective miners, which boast a similar 65-69% unlock for ETH for the LHR cards when combared to NBMiner. However, they apparently now consume less power too! Ill test is out on Zotac Twin Edge OC RTX 3060 to see if that promise holds up!

a 70% ETH Hashrate Unlock for LHR (Limited Hash Rate) GPUs! Time to test it out on my LHR EVGA 3080 & LHR Zotac 3060 Ti! Does it actually deliver on its 70% FHR promise?

Lolminer - ETH unlock on RTX 3060 LHR v2, RTX 3070 LHR and RTX 3080 ti

Fantastic video. I'm mining ravencoin with my 8 3060ti on Hiveos. I want to get as many as possible before halving. I'm getting 27.5mhs with core 220, mem 800 and power 145w.


To start mining with Lolmeiner, you need to specify three things, namely:

  1. Mining algorithm.
  2. Pool address or solo address to connect.
  3. Username / wallet for mining.


Configure the algorithm for mining

LolMiner has two ways to specify the algorithm you want to mine. You need to choose one of them to start mining.

The first option is --algo (-a) followed by one of the following algorithm names:

BEAM-I BeamHash I
C29D CuckarooD 29
C29Z CuckarooZ 29
C30CTX Cuckaroo 30 Cortex
C31 Cuckatoo 31
C32 Cuckatoo 32
EQUI144_5 Equihash 144/5
EQUI192_7 Equihash 192/7
EQUI210_9 Equihash 210/9
ZEL ZelHash

Note that you can always find out the supported algorithms with the command: lolMiner –list-algos. The size of the commission will also be shown. This list will inform you if the program supports the algorithm / requires the personalization parameter (--pers), which is needed for some Equihash-based algorithms.

The second way to configure lolMiner is through the --coin (-c) parameter. This option sets more detailed settings for the selected profiles and allows you to use special features such as algorithm switches or a combination of an algorithm with the correct personalization.

You can check the detailed list of additional parameters for lolMiner using the lolMiner -h command.

Allowed options:


-h [ --help ]                         Help screen
--config arg (=./lolMiner.cfg)        Config file
--json arg (=./user_config.json)      Config file in Json format
--profile arg                         Profile to load from Json file
--nocolor [=arg(=on)] (=off)          Disable colors in output
--basecolor [=arg(=on)] (=off)        Use 16 colors scheme for non-rgb
--list-coins                          List all supported coin profiles
--list-algos                          List all supported algorithms
--list-devices                        List all supported & detected GPUs in
									your system
-v [ --version ]                      Print lolMiner version number


-c [ --coin ] arg                     The coin to mine
-a [ --algo ] arg                     The algorithm to mine.
									This is an alternative to --coin.
-p [ --pool ] arg                     Mining pool to mine on
									Format: <pool>:<port>
-u [ --user ] arg                     Wallet or pool user account to mine on
--pass arg                            Pool user account password (Optional)
--tls arg                             Toggle TLS ("on" / "off")
--devices arg                         The devices to mine on
									Values: ALL / AMD / NVIDIA or a comma
									separated list of indexces.
--devicesbypcie [=arg(=on)] (=off)    Interpret --devices as list of PCIE
									BUS:SLOT pair
--pers arg                            The personalization string.
									Required when using --algo for Equihash
--keepfree arg (=8)                   Set the number of MBytes of GPU memory
									that should be left free by the miner.
--benchmark arg                       The algorithm to benchmark

Managing Options:

--watchdog arg (=script)              Specify which action to take when a
									card is detected to be crashed.
									"off": Continue working on remaining
									cards. No action.
									"exit": Exit the miner with exit code
									42 to ask for a restart. Recommended
									for Nvidia cards.
									"script": Call an external script.
									Default and recommended for AMD cards.
--watchdogscript arg                  Specify which script to be executed
									when a hung GPU is detected
--computemode [=arg(=1)] (=0)         Ask lolMiner to enable AMD compute mode
									for supported GPUs. Requires previleges
									to change system settings.
--singlethread [=arg(=-1)] (=-2)      Enable single mining thread mode for
									all GPUs (-1) or for a specific GPU id.
--tstart arg (=0)                     Minimal temperature for a GPU to start
									in degree C. If set to 0 disables
									restart below a fixed temperature.
--tstop arg (=0)                      Temperature to pause or stop a GPU from
									mining in degree C. If set to 0
									disables stop above a fixed
--tmode arg (=edge)                   Mode for temperature management.
									Use "edge" (default), "junction" or
									"memory" to set the mode for
									temperature management.


--apiport arg (=0)                    The port the API will use
--apihost arg (=              The host binding the API will use
--longstats arg (=150)                Long statistics interval
--shortstats arg (=30)                Short statistics interval
--statsformat arg (=default)          Format for long statistics.
									Use --help-format to get an overview of
									available fields.
--help-format [=arg(=1)]              Format description for --statsformat

--digits arg                          Number of digits in hash speed after
--timeprint [=arg(=on)] (=off)        Enables time stamp on short statistics
									("on" / "off")
--compactaccept [=arg(=on)] (=off)    Enables compact accept notification
--log [=arg(=on)]                     Enables printing a log file ("on" /
--logfile arg                         Path to a custom log file location

Overclock (Experimental):

--cclk arg (=*)                       The core clock used for the GPUs. Cards
									are separated with a comma. "*" can be
									used to skip a card.

Ethash Options:

--ethstratum arg (=ETHPROXY)          Ethash stratum mode. Available options:
									ETHV1: EthereumStratum/1.0.0 (Nicehash)
									ETHPROXY: Ethereum Proxy
--worker arg (=eth1.0)                Separate worker name for Ethereum Proxy
									stratum mode.
--mode arg (=b)                       Kernel mode to mine on. Comma separated
									values for configuring multiple cards
--lhrtune arg (=0)                    Offset to most important LHR
									parameters. If your card is unstable or
									does not unlock try negative values.
									Range is +/-20.
--disable-dag-verify [=arg(=1)] (=0)  Disable the CPU side verification and
									repair of DAG.
--4g-alloc-size arg (=0)              Sets the DAG size (in MByte) the miner
									is allowed to use on 4G cards. Can be a
									comma separated list of values for each
									card. Suggested values:
									Linux: 4080 Windows: 4024
--zombie-tune arg (=auto)             Sets the Zomie tune mode (auto or 0-3)
									for Polaris GPUs. Can be a comma
									separated list of values to set for
									each card individually.
--dagdelay [=arg(=0)] (=-1)           Delay between creating the DAG buffers
									for the GPUs. Negative values enable
									parallel generation (default).
--enablezilcache [=arg(=1)] (=0)      Allows 8G+ GPUs to store the DAG for
									mining Zilliqa. It will generated only
									once and offers a faster switching.
--benchepoch arg (=350)               The DAG epoch the denchmark mode will

Ethash Expert Options:

--workmulti arg (=180)                Modifys the amount of Ethash work a GPU
									does per batch.
--rebuild-defect arg (=3)             Triggers a DAG rebuild if a card
									produced <param> defect shares. Default
									is 3, use 0 to deactivate the rebuild.
--enable-ecip1099 [=arg(=on)] (=off)  Enable reduced DAG size for mining ETC
									from block 11.730.000 and higher.
--disableLinux56fix [=arg(=on)] (=off)
									Disables the startup workaround for
									Polaris GPUs on Linux kernel 5.6.
--win4galloc [=arg(=1)] (=1)          Enables (1) / Disables (0) experimental
									4G DAG allocation mode on Windows.

Algorithm Split Options:

--dualmode arg (=none)                Dual mode used. Allowed options:
									none, zil, zilEx, eth, etc
--dualpool arg                        Pool configuration for extra
									connection, Format <pool>:<port>
--dualuser arg                        Username or wallet address for the
									extra connection
--dualpass arg                        Password for the extra connection
--dualdevices arg                     Split rule for etc and beam split mode.
									Use a comma separated list of indexes
									or "4G" (default).

Algorithms and DevFee

Algorithm Fee %
Autolykos V2 1.5
BeamHash III 1.0
Cuckoo 29 2.0
CuckarooD 29 2.0
CuckarooM 29 2.0
Cuckaroo 30 CTXC 2.5
Cuckatoo 31 2.0
Cuckatoo 32 2.0
Cuckaroo 29-32 1.0
Cuckaroo 29-40 1.0
Equihash 144/5 1.0
Equihash 192/7 1.0
Equihash 210/9 1.0
Etchash 0.7
Ethash 0.7
ZelHash 1.0

Driver requirements

Nvidia: Cuda 10 or 11


  • Big Navi: amdgpu-pro 20.40 (Linux) / Adrenaline 20.11.2 (Windows) and newer.
  • Navi: amdgpu-pro 19.30 (Linux) / Adrenaline 19.10.02 (Windows) and newer.
  • Vega: amdgpu-pro 18.50 (Linux) / Adrenaline 18.10 (Windows) and newer.
  • old cards: Blockchain drivers and newer.


CPU mining:

Flash bios program:



  • Added DNS over HTTPS name resolving for establishing your pool connection. This has advantages when your normal DNS resolving might be blocked or modified by a firewall. You can control its behavior with the parameter --dns-over-https value with the values 0: turns DNS over HTTPS off; 1: DNS over HTTPS is enabled, fallback to normal DNS resolving is possible (default); 2: enforcing DNS over HTTPS, normal DNS is completely disables (1)
  • Updated internal libraries for TLS connection handling
  • Moved more fee pools to use TLS connection. When mining Ethash, Etchash (both +ZIL), Ergo and Beam the fee connection is now always encrypted (TLS 1.2) and mining data packages can not be identified as such.
  • Changed LHR kernel defaults for RTX 3060 and RTX 3070, because the default ones had an issue with defect shares at high oc.


(Note: The windows version will be delayed a bit - we need to make sure first LHR unlocking is working there as expected) Feature Changes

  • Improved Ethash performance on Turing based graphic cards (GTX 16 series, RTX 20 series, lower tier CMP cards) by about 0.4 to 0.7%.
  • Improvement of Ethash performance (up to 1%) and reduction of stale share rate for Maxwell and Pascal (GTX 10) based GPUs.
  • Changes LHR tuning algorithm to minimize the number of locks & time for finding a stable value: The tuning might be improved by the miner later once stable for long enough time.
  • Improved LHR performance for 3060 V1 (GA106-300-A1) on older drivers (460.39 and earlier)
  • Added Ergo kernels for RX 6700XT and RX 6600 (XT) on newer AMD drivers.
  • Ethereum stratum code will now print the pool difficulty in better human readable number
  • The miner will now print the ip of the connected pool - to be able to detect e.g. faulty DNS entries
  • Added parameters --dualtls and --dualworker to toggle TLS and the worker name for the dual connection. To be used as with the parameters for the standard connection.
  • --statsformat can now distinguish between the number of LHR locks “lhrlks” and the current --lhrtune parameter lhrparam
  • Added a parameter --vstats to modify the terminal width in number of characters to overwrite the automatic detection, which sometimes does not work with some terminal emulators like putty.
  • Added a parameter --hstats. Given this parameter will switch the statistics to a way such that the statistics write a horizontal line per GPU instead of the default vertical (see screenshot below). When the automatic read terminal width is reached, the remaining entries will be printed to a 2nd set of lines. The vertical statistics can be combined with the usual --statsformat patterns to customize the displayed values per card. The optional number overwrites the the automatic screen width detection. To fit all values of --statsformat extended into one line we need --hstats 150 or higher (recommended setting this value manually when accessing the rig via terminal emulator). Fixes
  • Fixed 3060 V1 (GA106-300-A1) internal parameters for drivers 460.39 and below, stabilizing the hash rate (they pretty much did not work stably unlocked in 1.36)
  • Fixed a bug causing a wavy hash-rate report in some FHR rigs
  • Fixed a bug causing --mode a kernels to be defect for Ampere and Turing GPUs in 1.36(a) releases
  • Fixed a bug causing a segmentation fault when trying to mine EXCC.


Feature updates

  • Improved Ethash & Etchash performance on all Nvidia Turing & Ampere GPUs by 0.3 to 0.7% depending on card & system.
  • Decreased rate of stales on Nvidia Turing & Ampere GPUs.
  • Modified LHR auto tuning to use finer steps (0.2 instead of 1). Also when the miner is more then 2 hours stable on its current settings and a lock appears, the card will unlock again, but the tuning will not be reduced.
  • New parameter: --lhrwait n will set the miner to wait n seconds, until the LHR detection and calibration gets active. Allows to wait for systems with delayed memory overclock settings.


  • Fixed a potential crash between switching between cached Eth and Zil dag on Nvidia cards
  • Fixed a bug: Worker name got lost on mining pool (since 1.34)
  • Fixed a bug causing rare defect shares on LHR cards
  • 1.36a: Fixed a bug causing no LHR unlock to normal speed after epoch change
  • 1.36a: Reverted some LHR kernels to a specification more similar to what was in 1.35. These are default in Windows and on RTX 3080 on Linux, other cards can request this kernels by using --lhrtune wauto or wTuneNumber in case the default is unstable.


Feature changes

  • Ergo: Adjusted all codes mining Autolykos v2 to be ready for the epoch 1 and higher, starting Sunday Nov 7th ~8 am UTC. To continue mining Ergo, please update to this version. (1)
  • Ergo: Added ability for all AMD cards to pre-build the next Ergo data set while mining. This is at a cost of slightly slower mining directly after a height change, but generally improves poolside performance. In case you find it unstable the pre-building can be deactivated by using parameter --ergo-prebuild -1 / 0 / 1. Here -1 stands for the cards default, 0 is off, 1 is on. Default is on for all AMD GPUs except GCN1 and Vega generations - those were more stable with the option turned off. The value can be set per card by using a comma separated list of values.
  • Ergo: Improved performance of AMD Hawaii generation of chips by about 2%.
  • Ethash: Added error correcting tables to check the DAG integrity up to epoch 499 (Early June 2022)
  • Ethash: Added option to use the version 1.33 semi-unlocker style - this was more performant for some GDDR6X cards. Use --lhrtune xauto to activate the 1.33 solver style auto tuning and use –lhrtune x to set a predetermined tune value. The 1.33 style solver can be mixed with 1.34+ style solvers by using a comma separated list of values.

Bug fixes

  • Ethash: Fixed a bug some crashed Nvidia cards did not trigger the watchdog
  • Ethash: Fixed a bug causing the worker name not to be correctly passed to the pool in some cases in 1.34(a)

(1) The new Ergo epochs will increase the size of the data set used for mining by 5% every ~75 days. Some cards might need a bit more core clock to achieve the used performance. Also 2G cards in zombie mode will see a significant reduction in speed, because the data set is more then 2150 MBytes in size now.


  • Added further epochs to the dag correction detection / table. This can resolve issues with defect shares that appeared in 1.34 or earlier with start of epoch 450.
  • Slightly changes internal LHR parameters of 3070 ti & 3080 - we hope to improve stability by this plus a small speedup.


  • Improved performance of RTX 3060 and RTX 3060 Ti by up to 2%, generally allowing a bit less core clock.
  • Auto tuning will now be quicker to reasonable hashrates.
  • Improved stability on found parameters.
  • Found parameters that are hard coded with --lhrtune are now applied within 30 seconds after dag build.
  • --lhrtune now understands the parameter “off” to disable any kind of LHR handling - this is useful for cards that sometimes trigger the lhr detection although they are non-LHR.
  • Improved compatibility with many current drivers. Still on Linux we recommend 470.74 for LHR v2 cards. The 460 series drivers might perform up to 0.5% worse. For 3060 LHR V1 use either 460.39 or earlier driver.
  • The parameter --workmulti now has effect on Nvidia GPUs on Ethash. Default value is 192, lower values will improve stale count, higher values will reduce CPU load (and can be a tiny bit quicker, although only very tiny).
  • Added support of RTX A6000 / RTX A5000 / RTX A4000 (and future RTX A2000) Nvidia workstation GPUs.
  • Reduced RAM usage of Nvidia Ethash solver (some 10+ card rigs got issues with 1.33 when they only had 4G of memory).
  • --statsformat now understands the string “lhrinfo” to print the --lhrtune parameter and the lock count in custom set up statistics.
  • Fixed a bug with --tstop or a lost stratum connection triggering a LHR GPU to lock.
  • Fixed a bug that RTX 3070Ti only triggered the lock detector on rather low memory clock.
  • Fixed a bug with invalid shares in Pitcairn Ergo Zombie mode.
  • Improved stability of Ethash stratum and statistics module.

Core Feature: Complete rework of LHR semi-unlock feature.

  • Better performance of LHR semi-unlock, about 70%+ on GDDR6x cards (3070 Ti & 3080 (Ti) ), about 71-72%+ on GDDR6 (3060 (Ti) & 3070), 81%+ on 3060 LHR V1 with the right drivers (earlier then 460.39). Recommended driver for LHR v2: 470.74 (Linux), 472.12 (Windows)

Important hint: We saw some calibration bugs with 460.93 driver (Linux). Please do not use it!

  • Less performance difference between low and high core clock then earlier versions
  • Cards are automatically detected if they are LHR - no more --mode switch required
  • In the beginning the miner will calibrate to your exact core & memory clocks. The total process takes 3-4 minutes total, one with rather low speed and the remaining time with speed closer to the final value. Try not to change any overclock after or during calibration, else the performance might be lower then expected!
  • --lhrtune has now default value of auto for an automatic tuning. Results of automatic tuning will be displayed in stats after calibration is completed. Note: re-tuning of values used in 1.32a is required!

Other feature changes

  • Default --shortstats interval lowered to 15 seconds, default --longstats interval lowered to 60 seconds
  • More stable displayed hashrate on Nvidia cards when mining Eth
  • Changes in Api: On supported algorithms the miner now exposes the number of stale shares in API (stales and defect shares are no longer collapsed into one value)


  • Fixed a bug with processing old style --dualmode etc dualmine settings
  • Fixed some minor bugs of the API
  • Fixed a bug causing a non-realistic high hash rate to be displayed on LHR cards when overclocked after start