lolMiner binary source for this container is currently version 1.24a from Github.
It contains version 20.20 of the AMDGPU Pro Drivers direct from AMD
Here is an example docker run command, please ensure you have your GPU fans manually controlled to prevent overheating, or add --privileged to the command and use lolminer arguments accordingly.
docker run -d --name='lolminer' --net='bridge' -e TZ="Australia/Sydney" --device='/dev/dri:/dev/dri' 'lnxd/lolminer' ./lolminer -pool asia1.ethermine.org:4444 -wal 0xe037C6245910EbBbA720514835d31B385D76927f.x
This container was written to be run on Unraid, so the following instructions apply to that. Please ensure that you know what you're doing before setting this up, as excessively high temperatures are BAD for computers and could damage your hardware / eventuate in data loss.
Tools > System Devices and ensuring your card (and its audio device) is not checked. Also, ensure your GPU is not stubbed by checking its ID on the above page and cross-referencing with pci-stub.ids= (by visiting Main > Flash). If you made changes in this step, you need to safely shut down the array and reboot before proceeding.Radeon TOP via CA (Easiest way to load AMD GPU drivers on Unraid host).lolminer-AMD via CA.Warning: If you don't leave privileged mode enabled for the container, your GPU's default fan curve will be used, which is usually optimised for gaming. Make sure you have Dynamix System Autofan installed to prevent overheating (can be done via CA). I recommend enabling it and setting the high temperature to 25c at most. Low I set to 20c. I could not get the PWM min speed, but this didn't affect anything for me during testing.
If you notice any bugs, feel free to open an Issue or a pull request. For support, I'm best reached via the support thread on the Unraid Community Forums.
Different AMD GPUs require different driver versions, and those different driver versions often don't work very well on Operating Systems that they weren't built for. For this reason, I've gone ahead and changed to using multiple tags, each tag has it's own GPU compatibility table further down.
lnxd/lolminer:latest (Same as latest-20.20 as this is the most compatible with current cards)lnxd/lolminer:latest-20.45 (Only for RX6800 and RX6900)lnxd/lolminer:latest-20.20lnxd/lolminer:latest-18.20
These lists are very hopeful, they're sourced from the AMD website, and there's a real possibility your GPU might not work with a tag it's supposed to. Please do not make purchasing decisions based on these tables.
Also keep in mind you are unlikely to be able to profit from mining with a card with less than or equal to 4GB VRAM available to it. If you try this container you will probably get a DAG generation error or an extremely low hash rate.
Confirmed working: 5500XT by lnxdConfirmed working: RX580 8GB by lnxd, RX580 8GB by SPOautos, RX570 8GB by NixonInnesConfirmed working: RX480 8GB by ich777Confirmed working: RX580 8GB by lnxd, RX580 8GB by SPOautos, RX570 8GB by NixonInnesConfirmed working: RX480 8GB by ich777
A: The output of ./lolMiner --help for 1.24a is available below.
A: Yes! If you have multiple GPUs, and they are all listed in one table, go for that version. If you have multiple GPUs and they are on different tables, you can have multiple containers on different tags and use the -gpus flag in lolminer to set which container uses which GPU.
A: There are none from me. The developer of lolminer charges 0.65%. This means that every 90 minutes the miner will mine for them for 35 seconds. The default pool, Ethermine, has a 1% fee and shares the transaction fees from the block. You can change to mine on any pool.
-tt)?A: lolminer seems to still rely on the default fan curve, so unless you've optimised that for mining it's probably best to set a fixed fan speed by setting the -tt value to a negative, such as -70 (fixed at 70% fan speed while lolminer is running). The lower you can safely set this, the slightly less power your rig will use and the less the affect mining will have on your GPU fan's lifespan.
A: Could be a lot of things, from the card having a very low power limit set, to trying to use a fake card. But the most likely issue is that you're using a card without enough VRAM. 4gb cards are not really suitable for Ethereum mining, please see the Compatibility section above.
A: Yes! Users who have ich777's Radeon TOP installed can also install b3rs3rk's GPU Statistics plugin from CA. This will allow you to see things like the GPU temperature, load, fan RPM of one GPU at a time. Please note that it is expected for memory usage to be only around 4gb, as this is the current DAG limit.
A: Shh! Yes it does. I don't know enough about the NVIDIA drivers in Ubuntu yet to list a compatibility chart, but thanks to some testing by ich777 I have confirmation that lnxd/lolminer:latest-20.45, lnxd/lolminer:latest-20.20 and lnxd/lolminer:latest work with a GTX1060 6GB. The same limitations with regards to VRAM apply as AMD cards, 4gb cards won't work.
+---------------------------------------------------------+
| _ _ __ __ _ _ ____ _ _ |
| | | ___ | | \/ (_)_ __ ___ _ __ / | |___ \| || | |
| | |/ _ \| | |\/| | | '_ \ / _ \ '__| | | __) | || |_ |
| | | (_) | | | | | | | | | __/ | | |_ / __/|__ _| |
| |_|\___/|_|_| |_|_|_| |_|\___|_| |_(_)_____| |_| |
| |
| This software is for mining |
| Ethash, Etchash |
| Equihash 144/5, 192/7, 210/9 |
| BeamHash I, II, III |
| ZelHash (EquihashR 125/4/0) |
| Cuck(ar)oo 29 |
| Cuckaroo 30 CTX |
| Cuckatoo 31/32 |
| |
| |
| Made by Lolliedieb, February 2021 |
+---------------------------------------------------------+
Allowed options:
General:
-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
terminals
--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
Mining:
-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
algorithms
--keepfree arg (=5) 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
--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
temperature.
--tmode arg (=edge) Mode for temperature management.
Use "edge" (default), "junction" or
"memory" to set the mode for
temperature management.
Statistics:
--apiport arg (=0) The port the API will use
--apihost arg (=0.0.0.0) The host binding the API will use
--longstats arg (=150) Long statistics interval
--shortstats arg (=30) Short statistics interval
--digits arg Number of digits in hash speed after
delimiter
--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" /
"off")
--logfile arg Path to a custom log file location
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.
--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
use
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)] (=0) Enables (1) / Disables (0) experimental
4G DAG allocation mode on Windows.
Algorith Split Options:
--dualmode arg (=none) Dual mode used. Allowed options:
none, zil, etc
--dualstratum arg Stratum connection and wallet for the
extra connection. Format:
<wallet>.<worker>@<pool>:<port>
--dualdevices arg Split rule for etc and beam split mode.
Use a comma separated list of indexes
or "4G" (default).
Content type
Image
Digest
Size
500.6 MB
Last updated
over 5 years ago
docker pull lnxd/lolminer:testing