Claymore Dual Miner. Setting up bat files, download, overview
Claymore Dual Miner Mines: Ethereum, EthereumClassic, Musicoin, Expanse, Pirl, Shift, Ellaism, Soilcoin, Metaverse, dual: Verge. (decred, lbry – ASIC). Claymore Dual Miner is mainly used for Ethereum mining. If you have an outdated version of the program, then there is a chance that you will not be able to apply the settings that are indicated in the guide below. Note that the new version of Claymore has fixed many problems that could have occurred in the earlier version of the program.
Changes in the new version:
– added thermal management of Nvidia video cards directly by means of the miner. To do this, you need to add the appropriate commands to the batch file. “-tt” , “-powlim”, “-cclock”, “-mclock”, “-tt”, “-fanmax”, “-fanmin”. (Below on the page in all configured batch files there are these commands.) These commands work so far only for Dual Mining. – some minor bug fixes and improvements
An important innovation is the -tt command.
The “-tt” command is responsible for specifying the target temperature of the video card. For example, “-tt 73” means that the card will keep the temperature at 73°.
How is temperature management done and how is it better than temperature management with MSI Afterberner?
Now there is no need to manage the temperature in MSI Afterberner. It is enough just to correctly fill in the value (for example, 73) and you can keep the set temperatures using the miner.
In the miner itself, temperature management is much more correct than in MSI Afterburner and other similar utilities.
In MSI Afterberner, the speed of coolers depends only on temperature, which means that we need to separately adjust the temperature curve for each algorithm.
In the case of using the -tt switch, we do not need to set the temperature curve each time the system is reinstalled or the algorithm is changed. It is enough to specify -tt 73 and the temperature will be slightly less than 73 degrees, no matter what algorithm you use to mine cryptocurrency.
What is Claymore Dual Miner
Claymore Dual Miner is a software for simultaneous mining of two cryptocurrencies on one video card. Before Claymore, video cards could only mine one coin. This state of affairs depressed the miners and everyone involved. There was an underground development of miners capable of mining two currencies on one video card.
So in 2021, Claymore Dual Miner appeared, developed and released on the pages of the Bitcointalk.org forum. Before entering the BTT forum, miner files were distributed by a artisanal method – through private messages, file hosting and GitHub repositories. The name of the miner may refer to the double sharpening of a Scottish two-handed sword called “Claymore”.
SWITCHING TO THE BACKUP SERVER OF THE POOL OR TO ANOTHER POOL (FAILOVER)
Use the files “epools.txt” (for Ethereum) and “dpools.txt” (for Decred) to specify additional pools. These files are in text format, one pool per line. 3 connection attempts will be made to each of them (with an interval of 20 seconds between them). If the first character of the string is “;” or “#” – the line will be ignored.
Do not remove spaces between parameters and values – this is the syntax of these files. If you need to specify the symbol “,” in the value of the parameter, use two commas “,,” – it will be recognized as one comma.
The pool specified in the command line (or configuration file) is the main pool, the miner will try to return to it every 30 minutes if he had to use another pool from the list.
If the pool is not specified either on the command line or in the configuration file, then the first pool from the list of failover pools will be the main pool.
How the Claymore Dual Miner works
The miner mines two currencies at the same time. Of the amenities: remote control, GPU monitoring and auto overclocking. A distinctive feature of the miner is to control the timings of the video card memory on the fly, which no miner could do before.
The list of supported currencies for dual mining is small, these are ETH, Decred, Siacoin, Lbry and Pascal coins. Additionally, the miner works with coins on the Blake2s and Keccak algorithms.
Download and installation of payment do not demand. There is no test period of 30 days, Claymore without registration and SMS will mine cryptocurrency 24 hours a week, 365 days a year. However, the person who created the program has every right to receive money for using it.
Once an hour, exactly 36 seconds, video cards mine cryptocurrency for the developer. This feature is called “Devfee”, but in some cases it turns off on its own.
Conditions of Claymore Dual Miner operation
Cards with video memory up to 3 Gigabytes are mined without a commission to the developer. If the memory is more than 3 GB, then the commission is included.
The second coin is mined without commission, without exceptions.
Claymore will not throw errors if the attempt to bypass the commission succeeded or failed.
Быстрый старт
Step 1: Download the miner
Unzip the archive to any location on your computer. In the folder containing the miner, you must create a file with the .bat extension. You can do this in any text editor (such as Notepad). When you save a file, it’s important to select “All Files” as the file type and not “txt”. Otherwise, you will have .bat.txt at the end of the filename and the miner will not be able to open this file. Your bat file (let’s say it’s called test.bat) should contain the following text (step 2):
For security reasons, Windows may prevent you from opening the bat file. In this case, you must allow it to open in a pop-up window.
Step 2: Set up a .bat file to run Claymore Dual Miner
YOUR_WALLET_ADDRESS – enter YOUR Ethereum wallet address (so that Claymore Miner knows where to send your mined Ethereum) YOUR_FARM_NAME – you can choose any name (for example, test), but do not write much: the field should be no more than 32 characters, contain only letters and numbers (no special characters like $%”*; @)..
Step 4: Start mining
Double click your Bat file to start the miner. The program will open, run setx commands to set environment variables, initialize each of your video cards, create DAG files for each card, and start mining. Let Claymore run for about 20 seconds and then press “s” to display your hash rate. If you followed the steps above, you should see a screen like this.
Where to download Claymore Dual Miner
The program does not have an official website, but there is a branch on Github, its own topic on the BTT forum. You can find new versions of Claymore Dual Miner in the repository of released versions on GitHub or in the release repository on the Mega file sharing service.
When downloading, there is a chance that you will be scolded by an antivirus. This is normal. When you download a miner from a MEGA file hosting or GitHub repository, the probability of catching a virus is zero. Another issue is with sites whose names are similar to “claymoreminer” or “minercryptonow”.
What is the functionality of the Claymore miner
Application of mining-optimized timings for video memory in Windows, without flashing the BIOS of the video card. Cards based on Polaris, Vega and 10xx line of cards from Nvidia are supported;
The “Straps” function, in Russian – Belts. One “Belt” is a set of memory timings;
The miner comes with pre-configured memory settings for mining Ethereum, which gives up to 20% performance increase compared to regular timings;
Support for a mixed farm from the maps of the Red and Green camps;
Work with Stratum-compatible pools;
Remote access to video cards;
Support for working with one video card, built-in tools for overclocking video cards, temperature limit management;
Support for mining on Ethereum forks;
Working with Linux & Windows;
Support for NAVI line cards in Ethereum mining mode;
Emergency restart when farm is turned off.
Program Features
The Dual Mining ETH-DCR program allows you to simultaneously calculate blocks using the Scrypt and SHA-256 algorithms. The developers managed to place several cores on a single chip. At the same time, each core supports and calculates only the algorithm defined for it. Using the full capabilities of the video card leads to its increased heating, so it is necessary to work additionally on a high-quality cooling system. Some experts find this program not I like it because it increases the cost and payback period.
The features of the software include the following points:
Several modes of double mining of coins are supported. Claymore’s Dual Ethereum – Decred/Siacoin/Pascal/Lbry is available, mining additional cryptocurrencies does not affect the calculation of blocks of the main coin – Ethereum.
High hashrate efficiency when mining ETH. Thanks to the new code, the miner allows you to increase efficiency by almost 5%. This happens by increasing the load on the video adapter, reducing the number of expired and invalid shares, and optimizing the assembler core and OpenCL code.
Support for simultaneous operation of NVidia and AMD video cards.
No DAG files.
Claymore’s Ethereum miner can be directly used with any pool as long as it supports gtminer, eth-proxy or miner-proxy.
In addition, Claymore’s strengths include:
support for Stratum and http protocols for Siacoin and Decred and Stratum protocol for Ethereum, Pascal and Lbry;
the ability to move to another pool or backup server;
monitoring and displaying information about the operation of each video card (speed, block calculation);
remote management and control;
the presence of additional functions of temperature control and overclocking of the GPU;
the possibility of mining forks of Ethereum (for example, Ekspansa);
versions for Linux and Windows.
In addition to ETH dual mining, there is the possibility of Solo and Pool mining for Ethereum and Siacoin, as well as a Pool option for Pascal, Decree and Libri. By the way, all software documentation can be found in Russian.
What’s new in Claymore Dual Miner 15.0
«-showdiff»
— find out the mining difficulty, is used through the “-showdiff 1” parameter, after which, by pressing the S button on the keyboard, the current difficulty of the mined shares will be displayed.
“-showpower”
– displays the current GPU consumption in Watts, according to the indicators of the video card sensors. By default, it works in “-showpower 1” mode, power is displayed by pressing S. “-driver”
– installs and removes drivers for modifying belts. Unsigned drivers are installed only by disabling Secure Boot via the UEFI BIOS. Works only on Windows.
Switches for the “-driver” command
«-driver install»
— installation of the signed driver.
«-driver install_test»
– Installing an unsigned driver.
«-driver uninstall»
– removes the video card driver and disables the test mode.
«-strap»
– manual input of video memory timings without flashing the BIOS of the video card.
«-rxboost»
– a refreshing kick for video cards based on Polaris chips and a number of older video cards from AMD. Works only on Windows systems.
Equipment heating control
An important point is the control over the temperature regime of the equipment and its management. We look at the “-tt” option, which sets the required temperature for all video cards (for example, “-tt 85”) or each card individually (“-tt 65,70,75”). If a negative value (“-tt -60”) is entered, then the fan operation mode will be set (in our case, at 60% power). By entering “-tt 1” you can simply monitor the fan speed and GPU temperature. By the way, regarding NVidia GPUs, only temperature monitoring is supported, there is no control.
You can fight overheating using the “-li” function, it allows you to reduce the intensity of calculations (though with a loss of speed). The larger the value of the indicator, the lower the intensity, that is, the indicator “-li 1” gives a higher level of intensity than “-li 5”. You can set parameters separately for each GPU. Initially, this mode is set to “0”, that is, it must be enabled.
In order to avoid equipment failure, it makes sense to set the maximum allowable heating value for the video card. After defining the “-tt” value, you need to set “-tstop” on the temperature indicator of any video adapter, upon reaching which the system should automatically turn off, for example, “-tstop 95”.
For the second mined coin, the temperature regime and intensity are set through the “-ttdcr” and “-ttli” options, respectively, by analogy with the main crypt.
You can adjust the maximum and minimum cooler speeds using the “fanmax” and “fanmin” functions. However, this can only be done on AMD GPUs.
Configuring virtual memory for two or more video cards
In order to mine not on one video card, but on several, you should expand the system RAM to 16 GB, this is done by creating a paging file.
Path for swap file configuration:
“Computer Properties -> Advanced System Settings -> Performance -> Advanced -> Virtual Memory” or “Properties -> Advanced Features -> Performance -> Advanced -> Page File”.
What file size should I specify?
The developer of Claymore advises to specify from 16 GB, in order to leave a margin, let’s add another 4 GB. Thus, the paging file size in megabytes should be 20480 Mb.
Basic hardware requirements
Mining Claymore’s Dual Ethereum is possible on Windows 64bit and Linux 64bit operating systems (for example, Ubuntu 12.04). 32 bit operating systems are not supported. As for video cards, the most advanced NVidia cards (368.81 and 372.54), as well as AMD cards (2xxx, 3xxx and 7xxx) can “cooperate” with the newest versions of the program. The amount of GPU memory should be at least 2 GB, and optimally – 4 GB.
In terms of drivers, AMD cards require Catalyst (Crimson) 15.12 for good compatibility and high performance. Other driver versions may cause Claymore to fail to start or slow performance. Therefore, older versions must be uninstalled and new drivers installed after the computer is restarted. For AMD Polaris video adapters (4xxx and 5xxx), then any latest drivers are suitable for them.
Also, for AMD GPUs, you need to install environment variables by adding them to the startup file (this is especially important for 2 GB cards):
If there are a lot of video cards in the farm, then it is worth installing at least 16 GB of virtual memory for Windows.
Anyone can use the miner, you just need to remember that software developers take their commission for using the program. You can mine Ethereum for a deduction of 1%, dual mining of ETH / DCR and others will cost 2%. With double mining, only Ethereum is mined for the developer, the second currency during this time (36 or 72 seconds every hour) is mined for the user. You can remove the developer’s commission from the program, but this is fraught with a decrease in the speed of work.
The installation of the program must be made from a reliable source to avoid any changes in the code. It is best to use the original source – the Bitcointalk developer site or a specialized forum, it is best to use the latest versions 9.x – 10.x. After downloading, you need to unzip the Zip file to your favorite folder on your personal computer.
How to overclock a video card using Claymore Dual Miner?
Usually, the card is overclocked through MSI Afterburner, but to keep everything under one roof, the miner was trained in power management of video cards. Note that the miner works without errors only under Windows, stable operation during overclocking on Linux systems is not guaranteed.
GPU power management for Claymore Dual Miner
It is believed that overclocking helps to squeeze an additional 12 – 13% of performance out of the card, but at the cost of reducing the service life. If you plan to sell video cards after mining, then keep them heated to 70 degrees.
Overclocking arguments are used to reduce the consumption of a video card, or vice versa, to overclock it for maximum profit at the cost of hardware. If the chip and memory frequency parameters are set incorrectly, the video card driver may fall off, this is normal and can be solved by rebooting.
Arguments are written anywhere inside the Batnik after “EthDcrMiner64.exe”. Unless otherwise specified, when run without parameters, Claymore does not control the frequencies and power of the video card. Overclocking Nvidia cards is only possible on Windows.
«-cclock
» – control the frequency of the graphics chip. It is used like this “-cclock 1200”, where 1200 is the frequency at which the chip will operate.
On green cards, the frequency is described through the prefixes “+” (plus)
and “-” (minus) . The finished command for Nvidia cards will look like this: “-cclock +300, -400”.
«-mclock»
– the frequency of the video card memory, or VRAM. Specified like the previous one, with the frequency number for the memory.
«-powlim»
– upper threshold for video card consumption. If you specify, for example, “-powlim -35”, then the video card will operate at 75% of its nominal power. To increase the voltage, “-powlim 35” is used, then the video card will start in 135% power mode.
«-cvddc»
– the voltage of the graphics chip, indicated as an integer. For example “-cvddc 900” will set the core voltage to 0.9 volts, or 900 millivolts.
«-mvddc»
– voltage on the memory banks of the video card. Specified as an integer, like “-cvddc”.
Generations of miners have long checked the voltage at which everything works, does not fall off and does not heat up. It turned out that the treasured figure is 875 mV. If the hashrate still sags, then it is recommended to increase “-powlim” in points of 20 units until the original value is restored.
All arguments can be specified for individual video cards, separated by commas. For example “-cclock 1200, 1200, 1200, 1200” sets the frequency for four GPUs to 1200.
How to lower the temperature of video cards in the Claymore miner settings?
Using the arguments to launch the claymore above, start lowering the voltage on the core, memory, and the overall power limit of the video card.
Setting video memory timings via belts
Claymore is equipped with a tested base of belts with pre-configured optimal video memory timings. The database contains settings for Samsung, Hynix, Micron and Elpida chips. Any memory size is supported.
The “-strap” command sets the strap tightness level. The lower – the tighter the belt is tightened on the card and it works more productively. In order not to confuse the reader, we will indicate how it works.
The “-strap 1” level is the maximum.
The level “-strap 2 to 4” is optimal.
Creating amenities in Claymore
Small arguments that will help you customize the miner for yourself and your tasks.
«-minspeed»
– set the hashrate level, not reaching which in 300 seconds, the miner will reboot. Helps to automate the work of the farm at the stage of solving minor problems with video cards. For example, when the card started to give errors and the hash rate dropped, the miner will reboot the system.
«-r»
– restart the miner if there are problems with the video card. The “-r 1” parameter after detecting problems with the video card will close the miner and run a file called “reboot.bat”.
Inside the “reboot.bat” file, you can put scripts for remote diagnostics of the card, sending a report via a telegram bot, starting the miner with reduced power settings or timings, and rebooting the system. To create a classic system reboot file, enter the line “shutdown -r -t 5 -f” in the file
Problem solving
If you have any problems with Claymore and you are looking for how to fix them, then the first thing to do is to update the miner to the latest version!
Low hashrate
In Claymore versions 9.8 and above, there is:
low hash rate
the program closes after some time
video memory fills up to 3.8 GB
Solution 1 – Update to the latest version 11.9 where this issue is fixed
Solution 2 (temporary) – add the -eres 0 key to the batch file
Miner closes on startup
If the program immediately closes on startup, then specify the pause key in the .bat file to see the reason for closing on the screen.
Check the syntax of your .bat file. There are no errors and extra spaces where they should not be. To see the error code before closing the program, add the pause key at the end of the batch file, as in our example above
Most likely the problem is in the drivers. It is necessary to completely remove the old ones via DDU (Display Driver Uninstaller) and install new ones.
remove environment variables from former miners. System properties / advanced system settings / environment variables – remove variables from old programs. Do not delete system variables! Delete only those that start with GPU_FORCE and reboot the system
If the program does not start, try deleting the C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_250db833a1cd577e\igdrclneo64.dll file, then reinstall the driver
Make sure you set up a sufficient swap file. The file must be = number of video cards * 6300 MB, i.e. If you have 6 video cards set your swap file to 6 * 6300 = 37800 megabytes
Check if the riser contacts are loose. Sometimes swapping the risers helps.
Make sure the system sees all video cards. To do this, open the device manager and see if there are any exclamation marks on the cards
Make sure you have Windows x64
Make sure the batch file syntax is correct. See examples below
If all else fails, reinstall the operating system from scratch.
Socket was closed remotely (by pool) ETH: job timeout, disconnect, retry in 3 sec.
This error occurs when you incorrectly specified the data for connecting to the pool. For example, the wrong protocol (key -esm). Specify the correct protocol for the pool to resolve this error.
Sometimes this error is displayed like this: ETH: Authorization failed: {“id”:2,”result”:NULL,”error”:”rpc:can’tfindmethodeth_submitLogin”}. To solve it, you also need to correctly specify the stratum protocol type (command -esm ).
Cannot load opencl library amd cards will be unavailable
The program reports that it is not possible to load the Opencl libraries, and the cards will not be available for cryptocurrency mining.
To solve it, you need to increase the virtual memory of the farm (how to do this is in the article above). But maybe after that, AMD cards will still be unavailable. In this case, you need to disconnect and reconnect all video cards so that they are detected by the system and work again.
You also need to make sure in the Device Manager that the system sees all the cards and there are no devices with a question mark.
WATCHDOG: GPU hangs in OpenCL call, exit
This error is very often caused by unstable operation of the card’s video memory. Most often, all that needs to be done to solve this problem is to reduce the memory overclocking of the problem card. Open MSI Afterburner or whatever application you overclocked the card with and lower the Memory Clock (MHz) by 10 points. If the error repeats, you will have to reduce overclocking even more until the card starts to work stably.
No amd opencl gpus found
This error usually occurs when the operating system is updated, or the video card drivers are updated through automatic updates. Let’s look at the solution to this problem step by step:
Disable Windows Automatic Updates
Windows Defender needs to make sure the miner and drivers are safe (he may have deleted the OPENCL file). Add the miner to the exceptions
Uninstall Fully Current AMD Drivers via Display Driver Uninstaller
When installing AMD drivers, be sure to check the box to disable automatic driver updates.
After installing the drivers, patch the flashed cards through Atikmdag Patcher and reboot
Download the latest version of Claymore and mine.
How to disable windows updates?
Go to Services. (Task Manager – Services tab – Open Services). Find “Windows Update” in the list. Right-click on this item and select “Properties”. Click “Stop” and select the startup type “Disabled”
How to turn off the commission?
To disable developer fees, specify the -nofee option. However, this disables program optimization options. As a result, the hashrate will decrease by ~ 5%.
Download Claymore latest version:
Windows version Linux version
Happy mining!
Changes in the new version: Latest version v12.0:
slightly reduced required GPU memory (both AMD and NVIDIA) so that you can mine ETH a little longer on cards that don’t have enough memory. (e.g. Nvidia 1063)
the fee for the dual mode has been reduced, now it is 1%, the same as for the ETH only mode.
no commission for all 2GB and 3GB cards on all operating systems.
added version for CUDA 10.0, it’s slightly faster for latest 20xx NVIDIA cards.
several minor fixes and improvements.
How to increase the hashrate of a video card on your own in Claymore Dual Mining
Owners of AMD video cards are lucky – Claymore can use additional assembler cores of the video card. Usually they are idle during mining, but they can be loaded and get a hashrate boost.
Command “-asm”
connects assembler kernels to mining. By default, it starts in “-asm 1” mode; to disable it, specify “-asm 0”. Manual regulation is started with the “-asm 2” key.
Green cards do not support the load on assembler kernels, there is another stray for them – a tablet to increase the Ethereum hashrate.
CONFIGURATION FILE
You can use files like “config.txt”, instead of specifying options on the command line (bat file). Place one option per line if the first character of the line is “;” or “#” – the line will be ignored.
Note: if there are two or more options on the command line – the miner will take all the options from the command line, not from the configuration file!
If there are no options on the command line, the miner will check the “config.txt” file for their presence. If there is only one option on the command line, it must be the name of the configuration file. So you can create several configuration files for different pools (configdwarfpool.txt, ethereum_decred.txt, etc.) and, if necessary, run them with the command:
EthDcrMiner64.exe or EthDcrMiner64.exe configdwarfpool.txt or EthDcrMiner64.exe ethereum_decred.txt etc.
REMOTE CONTROL/MONITORING
The miner supports remote control/monitoring using the JSON protocol via TCP/IP sockets. This utility is able to work with Claymore Ether + Decred miner version 4.3 or higher.
Run “EthMan.exe” from the “Remote management” subdirectory (for Windows versions only).
SECTION 8.1 FEATURES – Remote monitoring: hashrates, GPU temperatures, fan speeds, current pool names, etc.
– Remote control: restarting miners, applying the files “epools.txt”, “dpools.txt” and “config.txt”.
– A simple webserver.
– You can send the same file to several miners at the same time. Before sending the file, all %NAME% lines will be replaced with the names of the miners.
Example:
You sent a file containing the following line:
POOL: eth-eu.dwarfpool.com:8008, WALLET: 0xD69af2A796A737A103F12d2f0BCC563a13900E6F/%NAME%, PSW: x
Each miner will receive their own epools.txt file with their own name, for example:
POOL: eth-eu.dwarfpool.com:8008, WALLET: 0xD69af2A796A737A103F12d2f0BCC563a13900E6F/Ferma1, PSW: x
SECTION 8.2 ETHMAN QUICK START GUIDE
1. Click the “Add Miner” button, specify the miner’s IP and port for remote control (3333 by default). 2. Add other miners in the same way. 3. Now you can see statistics and manage farms remotely. 4. In the properties of the miner (properties) you can specify the hashrate of the miner and the temperature for warning – the utility will warn if something goes wrong.
Note. The miner saves the settings automatically when you close it. If this did not happen and the next time again there is an “empty window”, without your farms, then there is no permission to write to the utility directory. Run it as administrator.
SECTION 8.3
HELP FOR THE COLUMNS OF THE TABLE «Name» — the name of the miner.
“IP:port” – the IP address of the miner and the port for remote control.
“Running time” – miner operation time, as well as the number of reboots.
“Ethereum Stats” – the current speed of Ethereum mining, the number of accepted (accepted) shares, the number of rejected (rejected) shares, the number of incorrectly counted shares, the ratio of rejected / accepted (rejected / accepted).
“Decred Stats: – Same stats for Decred.
“GPU Temperature” – temperatures of video cards and fan speeds.
“Pool” – the current pool for Ethereum and for Decred, the number of switches.
“Version” – version of the miner.
“Comments” – comments to the miner, which you can set in the properties dialog box.
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