Miner.farm Crypto Currency Community Forum
Browse and post your favorite coin/crypto news, miner.farm and PiMP OS updates and announcements, mining guides, overclocking tips, and more...
- Configuring the rig: Help / Getting started videos
- How to fix problems: Troubleshooting guides
- How to mine different algos / setup wallets: Strategy guides
- Keys and Downloads: your Miner.farm account page
- Post your rig pics to the rig showcase so we can all check out your awesome builds!
- Please subscribe/like/follow us on social media
PiMP Guide to xmr-stak, a cryptonight miner for nvidia, amd, and cpu.
xmr-stak mines the cryptonight family of algorithms. Currently
👉Cryptonight - ETN, DERO, XAO,...
👉Cryptonight V7 - XMR, XTL,...
👉Cryptonight Heavy - SUMO, XHV, LOKI...
👉Cryptonight Lite V7 - AEON
👉Cryptonight IPBC V3 - IPBC!
It runs on both Nvidia and AMD GPUs, as well most CPUs out there. Supports these coins and many others:
Aeon, Bbscoin, Bitcoal, Croat, Dero, Dinastycoin, Edollar, Electroneum, Fonero, Graft, Haven, Intense, Interplanetary Broadcast Coin, Italocoin, Iridium, Karbo, Leviarcoin, Loki, Masari, Monero, Ombre, Solace, Stellite, Sumokoin, Superioir, Turtlecoin, Ultranote,...
Read up on the release pages here:
To get it going with PiMP, first do a
pimpupto be sure you have the latest code.
Next install miner
pimp --add 3201
3201 (cpu/amd/nvid) xmrstak v2.4.5 (pimp2.5.1+): cryptonight [xmrstak.pcfg]
Now edit the configuration file. Find a good profile stanza that matches the coin you wish to mine, and edit it to match your details. Remove the
#at the front of a stanzas lines to enable it. Here is an example:
# MoneroPool with Local Wallet: Username is YOUR_WALLET.YOUR_WORKER/YOUR_EMAIL # POOL1=stratum+tcp://mine.moneropool.com:3333 # USER1=4AkxPmLWKtyQ7hagDJ3CMRevKUvtDpe8XcABaJRYfXvLHCWFtyChdxhMNXuhEpp6aPXgg7AEpFSRCEAHqNhkBuP66qqVNP1.PimpWorker # PASS1=x
Modify this as required, with your wallet in
USER, and your pool URL in
POOL, then remove all the leading
# MoneroPool with Local Wallet: Username is YOUR_WALLET.YOUR_WORKER/YOUR_EMAIL POOL1=stratum+tcp://mine.moneropool.com:3333 USER1=4AkxPmLWKtyQ7hagDJ3CMRevKUvtDpe8XcABaJRYfXvLHCWFtyChdxhMNXuhEpp6aPXgg7AEpFSRCEAHqNhkBuP66qqVNP1.PimpWorker PASS1=x
Now test fly the configuration using
pimp --testIn this case, my profile id is 3
#pimp --test 3 Configuration stored in file 'config.txt' Pool configuration stored in file 'pools.txt' ------------------------------------------------------------------- xmr-stak 2.4.5 7d09a6d Brought to you by fireice_uk and psychocrypt under GPLv3. Based on CPU mining code by wolf9466 (heavily optimized by fireice_uk). Based on NVIDIA mining code by KlausT and psychocrypt. Based on OpenCL mining code by wolf9466. Configurable dev donation level is set to 1.0% You can use following keys to display reports: 'h' - hashrate 'r' - results 'c' - connection -----------------------------Compiled by Indeed Miners----------------------------- 88 88b 88 8888b. 888888 888888 8888b. 8b d8 88 88b 88 888888 88''Yb .dP'Y8 88 88Yb88 8I Yb 88__ 88__ 8I Yb 88b d88 88 88Yb88 88__ 88__dP `Ybo.' 88 88 Y88 8I dY 88'' 88'' 8I dY 88YbdP88 88 88 Y88 88'' 88'Yb o.`Y8b 88 88 Y8 8888Y' 888888 888888 8888Y' 88 YY 88 88 88 Y8 888888 88 Yb 8bodP' ----------------------------------------------------------------------------------- [2018-05-23 17:56:01] : Mining coin: monero7 [2018-05-23 17:56:02] : NVIDIA: GPU configuration stored in file 'nvidia.txt' [2018-05-23 17:56:02] : Starting NVIDIA GPU thread 0, no affinity. [2018-05-23 17:56:02] : Found AMD platform index id = 1, name = Advanced Micro Devices, Inc. [2018-05-23 17:56:02] : Found OpenCL GPU Ellesmere. [2018-05-23 17:56:02] : Found OpenCL GPU Ellesmere. [2018-05-23 17:56:02] : AMD: GPU (OpenCL) configuration stored in file 'amd.txt' [2018-05-23 17:56:02] : Compiling code and initializing GPUs. This will take a while... [2018-05-23 17:56:02] : Device 0 work size 8 / 32. [2018-05-23 17:56:02] : OpenCL device 0 - Precompiled code /root/.openclcache/.openclbin not found. Compiling ... [2018-05-23 17:56:15] : OpenCL device 0 - Precompiled code stored in file /root/.openclcache/.openclbin [2018-05-23 17:56:15] : Device 1 work size 8 / 32. [2018-05-23 17:56:15] : OpenCL device 1 - Load precompiled code from file /root/.openclcache/.openclbin [2018-05-23 17:56:15] : Starting AMD GPU (OpenCL) thread 0, no affinity. [2018-05-23 17:56:15] : Starting AMD GPU (OpenCL) thread 1, no affinity. [2018-05-23 17:56:15] : CPU configuration stored in file 'cpu.txt' [2018-05-23 17:56:15] : Starting 1x thread, affinity: 0. [2018-05-23 17:56:15] : hwloc: memory pinned [2018-05-23 17:56:15] : Starting 1x thread, affinity: 1. [2018-05-23 17:56:15] : hwloc: memory pinned [2018-05-23 17:56:15] : Fast-connecting to stratum+tcp://xmr-eu1.nanopool.org:14444 pool ... [2018-05-23 17:56:15] : Pool stratum+tcp://xmr-eu1.nanopool.org:14444 connected. Logging in... [2018-05-23 17:56:16] : Difficulty changed. Now: 120001. [2018-05-23 17:56:16] : Pool logged in. [2018-05-23 17:56:16] : New block detected.
It is wise to read the guides for
xrm-stakwell. As a miner, it provides a wide range of configurable options. To get the best performance out of any given set of GPUs, you will want to do your research. After running it the first time, you will find a set of config files in the miners directory at
/opt/miners/xmr-stak. Each of the config files end in
.txt. For example,
nvidia.txtsets up the configuration for NVIDIA GPUs.
Please reply to this thread with any configs you discover that perform well. Make sure you note the configuration of the system, as well post the entire JSON entry from the config file. Using
gputoolwill also benefit you greatly.
Benchmarks with XMR-Stak
After setting up and starting the miner, you should be able to get pretty live updates using
Miner.farm. You can also attach to the screen session using
screen -d -ras normal.
Let the miner run for awhile, at least a few minutes. This will insure it has settled in nice. In the screen session, simply hit the
hkey, and it will report the utilization for you. The format spans a couple rows, so read across the output for the full result. You should also check with your pool. Remember that pools won't show results until blocks have matured, based on the rules of each pool.
There is also a CLI option for
--benchmark BLOCKVERSION. You can enable this mode by adding the line to
FLAGSin your profile. Or simply run the miner from the shell by hand using
/opt/miners/xmr-stak/xmr-stak --benchmark BLOCKVERSION. If you use your profile, you should only run the miner using the debug mode from
pimp. Make sure you remove the option after getting numbers for your platform.
You can also tweak the GPU settings with
gputoolwhile the miner is running. Make a change and apply it with
gputool, and check the results on
Miner.farmor by hitting
hin the screen window. Let changes soak 10~15 minutes to validate stability.
We promise to keep your email safe and never spam you.
© 2014-2021 Miner.farm | By Miners, For Miners | Portable Instant Mining Platform, LLC