Download XMR-Stak 2.10.7 (AMD & Nvidia GPU Miner)

XMR-Stak 2.10.7: Download and Setup AMD & Nvidia GPU Miner



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).

GitHub: https://github.com/fireice-uk/xmr-stak/releases

Content

  1. XMR-Stak 2.10.7 Changes
  2. Download XMR-Stak 2.10.7 (AMD & Nvidia GPU Miner)
  3. XMR-Stak Supports Algorithms
  4. Features of XMR-Stak
  5. Quick Start XMR-Stak
  6. Setup via .bat file
    1. Decoding the contents of the batch file
    2. Example of a finished .bat file
  7. Command line arguments
    1. General settings
    2. General settings
    3. Settings for NVIDIA
    4. Other settings
  8. Setup via configuration file
    1. First start
  9. How to know the hashrate
    1. How to stop mining
    2. How to stop mining
  10. Hashrate Tips
  11. Solution of problems
    1. xmrstak/backend/rwidia/nvcc code/cuda extra.cu
    2. Memory Alloc Failed: VirtualAlloc Failed
    3. SOCKET ERROR – CONNECT error: GetAddrInfo: Temporary failure in name resolutio
    4. Application Has Been Blocked From Accessing Graphics Hardware error
    5. Setting the intensity and configuration of flows

XMR-Stak Supports Algorithms:

Cryptonight R, Cryptonight Fast, Cryptonight GPU, Cryptonight Heavy, Cryptonight Lite V7, CryptoNight Reverse Waltz, Cryptonight V8, CryptoNightTurtle

Features of XMR-Stak:

  • 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:

  1. Build a farm or use 1 video card
  2. Create an exchange wallet or use a cold wallet
  3. Download program
  4. Unzip to any convenient place
  5. 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.

  1. Create a .bat file. To do this, right-click in the folder with the miner.
  2. Select “Create a text document.”
  3. Change the extension from .txt to .bat
  4. Right-click “Edit.” And we are editing.

Decoding the contents of the batch file

setting up a batch file xmr-stak
  1. xmr-stak.exe The name of the program to run. Leave as is
  2. -o xmr-eu.dwarfpool.com specify the pool address after the -o switch
  3. -u 4ALcw9nTAStZSshoWVUJa….e53c736fd42a5f793d6ede4fb776f2a186a84dba44f3e8 – here we indicate through a dot the address of your digital wallet and Payment Id (for some coins)
  4. .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
  5. 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.

setting xmr-stak

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.

Currency list xmr-stak
Xmr-stak algorithm list

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.

pool xmr-stak

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.

pool address in xmr stak
pool address

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.

wallet address
Enter wallet address

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.

xmr-stack start mining monero
mining start

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:

  1. Command line option
  2. 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.

how to output hashrate to xmr stak
output hashrate

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.

html 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:

"cpu_threads_conf" :
[
 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 0 },
 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 2 },
 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 4 },
 { "low_power_mode" : false, "no_prefetch" : true, "affine_to_cpu" : 6 },
],
{"low_power_mode": false, "no_prefetch": true," affine_to_cpu": 4 },
{"low_power_mode": false, "no_prefetch": true," affine_to_cpu": 6

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

  1. Use drivers 18.5.1 or 18.6.1 on Vega cards and stick to Blockchain drivers on Polaris cards.
  2. Overclock memory on Polaris cards below and set kernel overclocking higher for higher hash rates.
  3. 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

"gpu_threads_conf" :
[
// gpu: GeForce GTX 1080 Ti architecture: 61
// memory: 9314/11264 MiB
// smx: 28
{ "index" : 0,
"threads" : 54, "blocks" : 84,
"bfactor" : 10, "bsleep" : 100,
"affine_to_cpu" : false, "sync_mode" : 3,
},
// gpu: GeForce GTX 1080 Ti architecture: 61
// memory: 9314/11264 MiB
// smx: 28
{ "index" : 1,
"threads" : 54, "blocks" : 84,
"bfactor" : 10, "bsleep" : 100,
"affine_to_cpu" : false, "sync_mode" : 3,
},

These steps should resolve the [CUDA] Error gpu 0 error.

Memory Alloc Failed: VirtualAlloc Failed

This is a memory error. Necessary enable “Lock pages in memory”. Click Run – gpedit.msc

You will get about a 20% increase in productivity.

locking pages in memory

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.

xmr stak blocked graphics hardware

Go to the nvidia.txt file, and at the bottom of the file you will find the following configuration.

"gpu_threads_conf" :
[
 // gpu: GeForce GTX 970 architecture: 52
 // memory: 3374/4096 MiB
 // smx: 13
 { "index" : 0,
 "threads" : 16, "blocks" : 39,
 "bfactor" : 6, "bsleep" : 25,
 "affine_to_cpu" : false, "sync_mode" : 3,
 },
],

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 windows registry editor
  1. Open Registry Editor. In Run, type regedit and press enter, this will open the registry editor.
  2. Now in the registry editor, go to the next folder. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers
  3. In the right pane of the graphics drive section, create a DWORD (32-bit) registry value named TdrDelay.
  4. Change TdrDelay, set its value to 8 and click OK to save the changes.
  5. 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.

Other versions miner:

Full list of available versions:

https://crazy-mining.org/tags/xmr-stak/

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

Recommended Related Articles:

Post Comment

You May Have Missed