XMR-Stak 2.10.7 (AMD & Nvidia GPU Miner) – An updated version of the popular miner XMR-Stak. Which brings with it useful changes and improvements: NVIDIA – fixed phase 3 (critical error) has been fixed. AMD – optimized auto tuning for VEGA. Unsupported currencies removed. Documentation updated.
XMR-Stak – A program for mining Monero and mining algorithms of the CryptoNote family (cryptonight_V8, cryptonight_lite, cryptonight_lite_v7, cryptonight_masari, cryptonight_v7, cryptonight_v7_stellite, cryptonight_haven, cryptonight_heavy).
Supports many devices (CPU / x86, AMD-GPU and NVIDIA-GPU)
Support all common OS (Linux, Windows and macOS)
Supports cryptonight algorithm for Monero (XMR) and cryptonight-light (AEON)
The program is easy to use (no need to edit the configuration file for the first run)
automatic setup for each device
Open Source Software (GPLv3)
Supports TLS Protocol
Displays browser statistics via HTML
Has a JSON API to monitor your farm
Quick Start XMR-Stak
In order to get coins you need:
Build a farm or use 1 video card
Create an exchange wallet or use a cold wallet
Download program
Unzip to any convenient place
Edit .bat file with the desired coin
Setup via bat file
In order not to change configuration files each time, in the program some functions can be rewritten using parameters command line through a batch file.
Create a .bat file. To do this, right-click in the folder with the miner.
Select “Create a text document.”
Change the extension from .txt to .bat
Right-click “Edit.” And we are editing.
Decoding the contents of the batch file
xmr-stak.exe The name of the program to run. Leave as is
-o xmr-eu.dwarfpool.com specify the pool address after the -o switch
-u 4ALcw9nTAStZSshoWVUJa….e53c736fd42a5f793d6ede4fb776f2a186a84dba44f3e8 – here we indicate through a dot the address of your digital wallet and Payment Id (for some coins)
.rig1 specify the identifier of your farm. This is necessary to track statistics on the pool. This is the name will be displayed on the pool
pausepause key is not required to see the code mistakes if something goes wrong. Otherwise, the program is just closes without displaying anything
Example of a finished .bat file
xmr-stak.exe -o xmr-eu.dwarfpool.com:8050 -u 4ALcw9nTAStZSshoWVUJakZ6tL....kA8t565v7iBwQXx2r34HNroSAZ.5c01d3dd96ac8e1e4de....fb776f2a186a84dba44f3e8.rig1 -p x
pause
We indicated in the batch file the most necessary commands to runcryptocurrency mining process. We list all possible arguments below.command line, in case you want to configure the program morethin.
Command line arguments
General settings:
-C, --poolconf FILE use pool configuration file
--noUAC disable account control dialog
--noCPU disable the processor in the miner
–cpu FILE использовать файл конфигурации процессора
Pool Settings:
-C, –poolconf FILE use pool configuration file
-o, --url URL URL, pool and port e.g., xmr-eu.dwarfpool.com:8050
-O, --tls-url URLTLS pool address and port, for example. xmr-eu.dwarfpool.com:8050
-u, --user USERNAME pool username or wallet address
-r, --rigid RIGID identifier (worker) for statistics on the pool side (pool support required)
-p, --pass PASSWD pool password, in most cases x or empty
Settings for AMD:
--noNVIDIA disable nvidia cards
--noAMDCachedisable AMD cache (OpenCL) for precompiled binaries
--openCLVendor VENDOR use OpenCL vendor and device driver [AMD, NVIDIA] default: AMD
--amd FILE download AMD configuration file
Settings for Nvidia:
–noNVIDIA disable nvidia cards
--nvidia FILE download nvidia configuration file
Other settings:
-h, --help show help
-v, --version version number
-V, --version-longshow long version number
--benchmark BLOCKVERSION just do a test and exit
--benchwait WAIT_SEC test timeout
--benchwork WORK_SEC control time
-i --httpd HTTP_PORT use HTTP interface port
--use-nicehash use-nicehash pool should work in nicehash mode
–currency NAME currency name for mining
Setup via configuration file
Run xmr-stak.exe, and the first thing you notice. He will ask: “Do you want to use the HTTP interface?” Just enter 9999 or any number and press Enter to create the config.txt file. Later we will explain how to use config.txt.
First start
When this is run, a configuration file will be created. Then the program will ask you Choose the currency you want to get. Just enter a currency name and press Enter. If no currency is specified, just enter the algorithm, which she uses. In this example, we will use Monero.
After that, the program will ask for the address of the pool for your chosen currency. For example xmr-eu.dwarfpool.com:8050
Choosing a reliable pool for your currency is the most important step.
Find the address and port on the Dwarfpool pool
By going to the pool page, you will find connection information. Choose the correct address based on your location. we we’ll select the European address, as he is closer to our location. Accordingly, ping to the pool servers will be faster, and therefore new jobs will come and go faster.
Next, we indicate the correct port, depending on your equipment. For a farm with several cards, we will specify 8050, thereby the pool will send the work most suitable for several video cards. This improves productivity.
If we had only one video card, we would specify port 8005, and for the most powerful farm from the video cards of the top segment, we would specify port 8100.
Enter the pool address in the command window and press Enter to go to the next step.
After which the program will ask for your username, which is usually your wallet.
The wallet can be obtained either at any reliable exchange or download a cold coin wallet. It is easier to open on the exchange, but reliability is less. At the same time, exchanges sometimes close wallets “for service”, so if a coin grows, you will not have time to transfer coins from a cold wallet to an exchange to sell them.
In our opinion, it is best to diversify risks and store some coins on the exchange and part on a cold wallet. However, it is up to you to decide.
Enter the wallet address and press enter.
Then you need to enter the password. Password is rarely used on pools. Therefore, put X
Then enter the identifier of your farm, for example Rig1. This is necessary to track statistics from the pool.
The next option is port pool support (TLS / SSL), just type n.
Next, the program will ask if you want to use Nicehash – enter n (no).
Use multiple pools – n.
After this list is completed, your miner will connect to the pool and start mining the coin that you have selected.
In addition, 4 additional files will be created in the folder, such as cpu.txt, nvidia.txt or amd.txt and pools.txt.
How to know the hashrate
You can find out your hashrate by entering your wallet address in the pool, but how to check the results in the miner itself?
By default, the hashrate or data mining results. To check the hash rate at You have 2 options:
Command line option
HTML reports
Command line option: just press H on the command line to display power.
Press R to display sharing results. Everything is simple and clear.
If you want to get clean looking reports, then display your hashrate using the HTML reporting option.
HTML report: remember, when we first started, we entered any number. This number is needed for HTML reports. If you forget that you entered, then go to the config.txt file and find this line.
"httpd_port" : 9999,
To check the hash rate, results and connection reports, enter the following into the address bar of your browser.
http://127.0.0.1:9999/h
Where 127.0.0.1 is your local IP (everyone has the same one) and 9999 is the port that we configured initially. You will get a neatly generated hashrate.
How to stop mining
Xmr stak is a joint miner, and by default it uses as processor and video card farm. In case your specifications CPUs are too low or if you do not want to use your processor for mining, you need to exclude them from the program.
In the xmr stak folder, you will find the cpu.txt file. Open the txt file and scroll down to where you will find the following lines:
To prevent mining on the CPU, set cpu_threads_conf to null (equal to zero).
"cpu_threads_conf" : null,
This will exclude the processor from mining.
Adding lists of pools or new coins to the miner
The easiest way is to simply create a new batch file with the desired coin, while the basic configuration will remain the same.
Information that you entered when configuring the program will be stored in separate text files. Whenever you run a miner it will connect to the pool and start mining the coin that you set up.
Hashrate Tips
Use drivers 18.5.1 or 18.6.1 on Vega cards and stick to Blockchain drivers on Polaris cards.
Overclock memory on Polaris cards below and set kernel overclocking higher for higher hash rates.
On a farm of Vega graphics cards, all of your graphics cards need to be individually tuned for their clock speeds.
Problem solving
xmrstak/backend/rwidia/nvcc code/cuda extra.cu
This error sometimes occurs on Nvidia graphics cards.
To solve it, you need to replace nvidia.txt with bsleep up to 100 and bfactor up to 10 in the configuration file
You will get about a 20% increase in productivity.
lock pages in memory
SOCKET ERROR – CONNECT error: GetAddrInfo: Temporary failure in name resolution
You have entered the wrong port or pool address. Check carefully The syntax of your configuration or .bat file. Even if skipped one character: a period or a comma, the program will not start.
Application Has Been Blocked From Accessing Graphics Hardware error
“The xmr-stak.exhe application has been blocked for access to graphics hardware.”
This error on Windows 10 is one of the most common. mistakes you may encounter. Especially on NVIDIA farms. If you faced with this error, then here is a quick solution.
Go to the nvidia.txt file, and at the bottom of the file you will find the following configuration.
First try increasing the bfactor value from 6 to 8 or more. Save the file and run the program. If you still get this error, then try to reduce threads or blocks. It should decide problem, but if the error still appears here is another solution.
Open Registry Editor. In Run, type regedit and press enter, this will open the registry editor.
Now in the registry editor, go to the next folder. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
In the right pane of the graphics drive section, create a DWORD (32-bit) registry value named TdrDelay.
Change TdrDelay, set its value to 8 and click OK to save the changes.
After you have done this, you must reboot the system. Now this problem should be solved.
Setting the intensity and configuration of flows
XMR-STAK gives you too many tuning options to get the best results from your equipment.
By default, the miner creates a configuration file for the CPU, as well as for NVIDIA and AMD graphics cards. You can edit the values in these text files and see what works best for your farms.
Change the value of intensity, “work-size”, threads and blocks. You can add more GPUs, and also you can lower the power mode of your processor.
You can get additional information about setting up the equipment and code from the instructions in Russian in the archive with the program.
We hope that this guide has a sufficient basic information covering the launch of coin mining. If you think that we missed something, please let us know.
Read more articles about cryptocurrencies and mining at CRAZY-MINING.ORG
Do you like to read similar articles about cryptocurrencies and mining, do you want to support me as an author or ask questions? Be the first to know the news, subscribe to my telegram channel CRYPTO WIKIES
Post Comment