GitHub – nanopool/Claymore-Dual-Miner: Claymore’s Dual Ethereum+Decred_Siacoin_Lbry AMD+NVIDIA GPU Miner
Mục lục bài viết
Claymore’s Dual Ethereum+Decred AMD+NVIDIA GPU Miner.
Latest version is v14.5 Beta – Supercharged Edition:
- added “-rxboost” option for AMD Polaris cards, use “-rxboost 1” to improve hashrate by about 5% by applying some additional memory timings. You can use your own straps or use “-strap” option, you will get boost anyway.
See Readme for additional information. - fixed issue with overclock reset for Nvidia cards.
Latest version is v12.0:
- zero devfee for all 2GB and 3GB cards in all operating systems.
- reduced devfee for dual mode, now it is 1%, same as for ETH-only mode.
- a bit reduced required GPU memory (both AMD and NVIDIA) so you can mine ETH a bit longer on cards that don’t have enough memory.
- added version for CUDA 10.0, it is a bit faster for latest 20xx NVIDIA cards.
- a few minor bug fixes and improvements.
Latest version is v11.8:
- fixed issue with missed GPU temperatures when miner is started via Remote Desktop Connection (RDC).
- Linux version: removed libcurl library dependency.
- added “-showdiff” option.
- a few minor bug fixes and improvements.
Latest version is v10.0:
- added assembler kernels for ETH+LBC mining mode (AMD cards only), major speedup for LBC.
- about 1% ETH speedup for Vega cards.
- fixed issues with voltage/clocks management for latest AMD blockchain drivers (not completely).
- new GPU sorting method for NVIDIA cards. Now GPUs are sorted by physical bus index (it matches AfterBurner list of GPUs).
- for ETH+LBC mining mode maximal “dcri” value is 1000 now.
- added “-platform” option.
- added “ESTALE” option support in failover file epools.txt (see “-estale” option for details).
- several minor bug fixes and improvements.
Latest version is v9.8:
- added Vega cards support (ASM mode).
- added fan/OC support for 17.7.2 (and higher) drivers.
- fixed issue with -ttli and -ttdcr option for Nvidia cards.
- improved support for systems with more than 10 GPUs, check readme for “-di” and “-mode” options description for details.
- a few minor bug fixes and improvements.
Latest version is v9.7:
- Added ASM mode for RX460/560 cards, up to 30% speedup for second coin in dual mode.
- Improved ETH speed for some Nvidia cards.
- Improved speed in dual mode for Nvidia cards.
- reduced initialization time.
- a few minor bug fixes and improvements.
- EthMan: added ability to select several rigs.
- EthMan: several minor bug fixes and improvements.
Latest version is v9.6:
- new GPU sorting method for AMD cards. Now GPUs are sorted by physical bus index (it matches AfterBurner list of GPUs). Also the list of temperatures/fans matches the list of GPUs automatically.
Therefore “-di detect” and “-gmap” options are not necessary and not supported anymore.
WARNING: be careful if you use use separate overclock/temperature settings for every card, due to new sorting method GPUs can get different indexes! - added “-minspeed” option to restart miner/system if miner cannot reach specified speed.
- now watchdog monitors initialization steps too, e.g. it will restart miner even if miner hangs at GPUs initialization.
- added “-allcoins etc” option for ETC pools that require Username.Worker, in this mode devfee will be mined on some default ETC pools and DAG will not be recreated.
- added current DAG size info when “s” key is pressed.
- added 1 minute average speed for ETH when “s” key is pressed.
- fixed connection timeout issue in Linux version.
- fixed some issues related to remote management via TCP/IP.
- added “-ejobtimeout” and “-djobtimeout” options.
- fixed epoch #0 support.
- a few minor bug fixes and improvements.
- EthMan: fixed issue with lost connection to some rigs.
- EthMan: added password for webserver.
- EthMan: added separate settings for every event.
- EthMan: added “retrigger” option for lost connection event.
Latest version is v9.5:
- fixed issue with PASC, miner could check some nonces twice. Effective hashrate must be a bit higher now.
- improved SIA support for Nicehash, added “mining.extranonce.subscribe” and “client.reconnect” commands support. Effective hashrate must be a bit higher now.
- a few minor bug fixes and improvements.
- EthMan: added ability to enable/disable GPUs remotely (see API.txt for tech details).
- EthMan: added notification for too high fan speed.
- EthMan: several minor bug fixes and improvements.
Latest version is v9.4:
- improved fans management for latest drivers and Polaris cards.
- added “-mpsw” option.
- added shares-per-GPU statistics when “s” key is pressed.
- Included EthMan v3.0 which supports passwords and email notifications.
Latest version is v9.3:
- improved dual mining speed stability in ASM mode.
- added “-altnum” option for alternative GPU indexing.
- a few minor bug fixes and improvements.
Latest version is v9.2:
- improved mining speed stability.
- added changes in DCR mining protocol.
- fixed possible issue with rejected DCR shares on Nicehash pool.
- added pool selection in runtime (“e” and “d” keys).
- now if devfee mining fails for a long time, miner will not stop mining, it will turn on “-nofee” option temporarily with appropriate warnings, until successful devfee mining.
- some minor improvements.
- EthMan: added ReasonID parameter to .bat file which is executed when some rig has problems, check “sample.bat” for details.
Latest version is v9.1:
- added assembler kernels for ETH+SIA and ETH+PASCAL modes (major speedup for SIA and PASCAL).
- added alternative assembler kernels for Tonga and Polaris cards for ETH-only mode. Use them if you get best speed at “-dcri 1” (i.e. you cannot find speed peak), use “-asm 2” option to enable this mode.
- a few minor bug fixes and improvements.
Latest version is v9.0:
- added “-asm” option (AMD cards only) which enables assembler GPU kernels. In this mode some tuning is required even in ETH-only mode, use “-dcri” option or or “+/-” keys in runtime to set best speed.
Currently only ETH-only and ETH-DCR modes are supported in assembler. Use “-asm 0” if you don’t want to use new assembler kernels.
If ASM mode is enabled, miner must show “GPU #x: algorithm ASM” at startup. - improved ETH mining speed in ASM mode for some cards, also a bit reduced power usage for some cards (fine-tuning is required via “-dcri” or “+/-” keys in runtime).
NOTE 1: if GPU throttles, best “-dcri” value is different.
NOTE 2: speed peak can be rather short, so change “-dcri” value slowly. - dramatically increased DCR mining speed in assembler mode (up to 70%). Be careful, power usage is higher too.
- added “-gmap” option.
- fixed DCR Nicehash support.
- added “FINE-TUNING” section to Readme file.
- A lot of minor improvements and bug fixes.
Latest version v8.1:
- added Ethereum+Pascal mode for NVidia cards.
- improved “-di detect” option: now after GPU order detection miner starts mining with the detected order.
- now remote management is working in read-only mode by default.
- improved “-mport” option, now you can specify network adapter IP for incoming connections for remote management.
- added “-benchmark” option.
- fixed issue with “-retrydelay” option.
- added “-v” option.
- a few minor bug fixes and improvements.
- EthMan: added option for font color selection.
Latest version v8.0:
- added new coin for dual mode: PASCAL(PASC). Now you can mine Ethereum, Ethereum+Decred, Ethereum+Siacoin, Ethereum+Lbry or Ethereum+Pascal. NOTE: Currently Pascal is not available for NVidia cards.
- added “-nofee” option.
- added ability to use environment variables in “epools.txt”, “dpools.txt” and “config.txt” files. For example, define “WORKER” environment variable and use it as “%WORKER%” in config.txt.
- added “License.txt” file.
- some minor improvements.
Latest version v7.3:
- now miner supports HTTP for remote monitoring, you can check miner state remotely via browser, check “-mport” option for details.
- added temperature management for Linux gpu-pro drivers. Note: root access is required to manage fans speed.
- added “-fanmin” option.
- fixed issue with “-allcoins exp” option.
- EthMan: added options for number of decimal points in displayed statistics.
- some minor improvements and bug fixes.
Download:
NVIDIA DRIVERS:
9xx cards in Windows 7 x64: just use latest/recent drivers from Nvidia website (for example, 368.81). Note that latest 372.54 is slower than 368.81.
9xx cards in Windows 10 x64: you have to use old drivers (for example, 352.xx) and miner built for cuda6.5.
10xx cards in Windows 7 x64: just use latest 372.54 drivers from Nvidia website.
10xx cards in Windows 10 x64: just use latest 372.54 drivers from Nvidia website, note that you must have Win10 Anniversary update.
FEATURES:
- Supports new “dual mining” mode: mining both Ethereum and Decred/Siacoin/Lbry at the same time, with no impact on Ethereum mining speed. Ethereum-only mining mode is supported as well.
- Effective Ethereum mining speed is higher by 3-5% because of a completely different miner code – much less invalid and outdated shares, higher GPU load, optimized OpenCL code.
- Supports both AMD and nVidia cards, even mixed.
- No DAG files.
- Supports all Stratum versions for Ethereum: can be used directly without any proxies with all pools that support eth-proxy, qtminer or miner-proxy.
- Supports Ethereum and Siacoin solo mining.
- Supports both HTTP and Stratum for Decred.
- Supports both HTTP and Stratum for Siacoin. Note: not all Stratum versions are supported currently for Siacoin.
- Supports Stratum for Lbry.
- Supports failover.
- Displays detailed mining information and hashrate for every card.
- Supports remote monitoring and management.
- Supports GPU selection, built-in GPU overclocking features and temperature management.
- Supports Ethereum forks (Expanse, etc).
- Windows and Linux versions.
This version is POOL/SOLO for Ethereum, POOL for Decred, POOL/SOLO for Siacoin, POOL for Lbry.
For AMD cards, Catalyst (Crimson) 15.12 is required for best performance and compatibility. You can get very bad results for different drivers version, or miner can fail on startup.
For nVidia cards, 368.81 driver is recommended for best performance and compatibility.
For AMD cards, set the following environment variables, especially if you have 2GB cards:
GPU_FORCE_64BIT_PTR 0
GPU_MAX_HEAP_SIZE 100
GPU_USE_SYNC_OBJECTS 1
GPU_MAX_ALLOC_PERCENT 100
GPU_SINGLE_ALLOC_PERCENT 100
For multi-GPU systems, set Virtual Memory size in Windows at least 16 GB:
“Computer Properties / Advanced System Settings / Performance / Advanced / Virtual Memory”.
This miner is free-to-use, however, current developer fee is 1% for Ethereum-only mining mode (-mode 1) and 2% for dual mining mode (-mode 0), every hour the miner mines for 36 or 72 seconds for developer.
Decred is mined without developer fee.
If you don’t agree with the dev fee – don’t use this miner.
This version is for recent AMD videocards only: 7xxx, 2xx and 3xx, 2GB or more. Recent nVidia videocards are supported as well.
There are builds for Windows x64 and for Linux x64 (tested on Ubuntu 12.04). No 32-bit support.
COMMAND LINE OPTIONS:
-epool Ethereum pool address. Only Stratum protocol is supported for pools. Miner supports all pools that are compatible with Dwarfpool proxy and accept Ethereum wallet address directly.
For solo mining, specify “http://” before address, note that this mode is not intended for proxy or HTTP pools, also “-allpools 1” will be set automatically in this mode.
Note: The miner supports all Stratum versions for Ethereum, HTTP mode is necessary for solo mining only.
Using any proxies will reduce effective hashrate by at least 1%, so connect miner to Stratum pools directly. Using HTTP pools will reduce effective hashrate by at least 5%.
-ewal Your Ethereum wallet address. Also worker name and other options if pool supports it.
Pools that require “Login.Worker” instead of wallet address are not supported directly currently, but you can use “-allpools 1” option to mine there.
-epsw Password for Ethereum pool, use “x” as password.
-eworker Worker name, it is required for some pools.
-esm Ethereum Stratum mode. 0 – eth-proxy mode (for example, dwarpool.com), 1 – qtminer mode (for example, ethpool.org),
2 – miner-proxy mode (for example, coinotron.com), 3 – nicehash mode. 0 is default.
-etha Ethereum algorithm mode for AMD cards. 0 – optimized for fast cards, 1 – optimized for slow cards, 2 – for gpu-pro Linux drivers. -1 – autodetect (default, automatically selects between 0 and 1).
You can also set this option for every card individually, for example “-etha 0,1,0”.
-ethi Ethereum intensity. Default value is 8, you can decrease this value if you don’t want Windows to freeze or if you have problems with stability. The most low GPU load is “-ethi 0”.
Also “-ethi” now can set intensity for every card individually, for example “-ethi 1,8,6”.
You can also specify negative values, for example, “-ethi -8192”, it exactly means “global work size” parameter which is used in official miner.
-eres this setting is related to Ethereum mining stability. Every next Ethereum epoch requires a bit more GPU memory, miner can crash during reallocating GPU buffer for new DAG.
To avoid it, miner reserves a bit larger GPU buffer at startup, so it can process several epochs without buffer reallocation.
This setting defines how many epochs miner must foresee when it reserves GPU buffer, i.e. how many epochs will be processed without buffer reallocation. Default value is 2.
-allpools Specify “-allpools 1” if miner does not want to mine on specified pool (because it cannot mine devfee on that pool), but you agree to use some default pools for devfee mining.
Note that if devfee mining pools will stop, entire mining will be stopped too.
-allcoins Specify “-allcoins 1” to be able to mine Ethereum forks, in this mode miner will use some default pools for devfee Ethereum mining.
Note that if devfee mining pools will stop, entire mining will be stopped too.
Miner has to use two DAGs in this mode – one for Ethereum and one for Ethereum fork, it can cause crashes because DAGs have different sizes.
Therefore for this mode it is recommended to specify current Ethereum epoch (or a bit larger value),
for example, “-allcoins 47” means that miner will expect DAG size for epoch #47 and will allocate appropriate GPU buffer at starting, instead of reallocating bigger GPU buffer (may crash) when it starts devfee mining.
Another option is to specify “-allcoins -1”, in this mode miner will start devfee round immediately after start and therefore will get current epoch for Ethereum, after that it will be able to mine Ethereum fork.
If you mine Expanse, the best way is to specify “-allcoins exp”, in this mode devfee mining will be on Expanse too and DAG won’t be recreated at all.
-etht Time period between Ethereum HTTP requests for new job in solo mode, in milliseconds. Default value is 200ms.
-erate send Ethereum hashrate to pool. Default value is “1”, set “-erate 0” if you don’t want to send hashrate.
-estale send Ethereum stale shares to pool, it can increase effective hashrate a bit. Default value is “1”, set “-estale 0” if you don’t want to send stale shares.
-dpool Decred/Siacoin/Lbry pool address. Use “http://” prefix for HTTP pools, “stratum+tcp://” for Stratum pools. If prefix is missed, Stratum is assumed.
Decred: both Stratum and HTTP are supported. Siacoin: both Stratum and HTTP are supported, though note that not all Stratum versions are supported currently. Lbry: only Stratum is supported.
-dwal Your Decred/Siacoin/Lbry wallet address or worker name, it depends on pool.
-dpsw Password for Decred/Siacoin/Lbry pool.
-di GPU indexes, default is all available GPUs. For example, if you have four GPUs “-di 02” will enable only first and third GPUs (#0 and #2).
Use “-di detect” value to detect correct GPU order for temperatures management (requires non-zero “-tt” option); note that it will not work properly if you do not want to assign all GPUs to miner.
You can also turn on/off cards in runtime with “0”…”9″ keys and check current statistics with “s” key.
-gser this setting can improve stability on multi-GPU systems if miner hangs during startup. It serializes GPUs initalization routines. Use “-gser 1” to serailize some of routines and “-gser 2” to serialize all routines.
Default value is “0” (no serialization, fast initialization).
-mode Select mining mode:
“-mode 0” (default) means dual Ethereum + Decred/Siacoin/Lbry mining mode.
“-mode 1” means Ethereum-only mining mode. You can set this mode for every card individually, for example, “-mode 1-02” will set mode “1” for first and third GPUs (#0 and #2).
-dcoin select second coin to mine in dual mode. Possible options are “-dcoin dcr”, “-dcoin sc”, “-dcoin lbc”. Default value is “dcr”.
-dcri Decred/Siacoin/Lbry intensity. Default value is 30, you can adjust this value to get the best Decred/Siacoin/Lbry mining speed without reducing Ethereum mining speed.
You can also specify values for every card, for example “-dcri 30,100,50”.
You can change the intensity in runtime with “+” and “-” keys and check current statistics with “s” key.
For example, by default (-dcri 30) 390 card shows 29MH/s for Ethereum and 440MH/s for Decred. Setting -dcri 70 causes 24MH/s for Ethereum and 850MH/s for Decred.
-dcrt Time period between Decred/Siacoin HTTP requests for new job, in seconds. Default value is 5 seconds.
-ftime failover main pool switch time, in minutes, see “Failover” section below. Default value is 30 minutes, set zero if there is no main pool.
-wd watchdog option. Default value is “-wd 1”, it enables watchdog, miner will be closed (or restarted, see “-r” option) if any thread is not responding for 1 minute or OpenCL call failed.
Specify “-wd 0” to disable watchdog.
-r Restart miner mode. “-r 0” (default) – restart miner if something wrong with GPU. “-r -1” – disable automatic restarting. -r >20 – restart miner if something
wrong with GPU or by timer. For example, “-r 60” – restart miner every hour or when some GPU failed.
“-r 1” closes miner and execute “reboot.bat” file (“reboot.bash” or “reboot.sh” for Linux version) in the miner directory (if exists) if some GPU failed.
So you can create “reboot.bat” file and perform some actions, for example, reboot system if you put this line there: “shutdown /r /t 5 /f”.
-dbg debug log and messages. “-dbg 0” – (default) create log file but don’t show debug messages.
“-dbg 1” – create log file and show debug messages. “-dbg -1” – no log file and no debug messages.
-logfile debug log file name. After restart, miner will append new log data to the same file. If you want to clear old log data, file name must contain “noappend” string.
If missed, default file name will be used.
-li low intensity mode. Reduces mining intensity, useful if your cards are overheated. Note that mining speed is reduced too.
More value means less heat and mining speed, for example, “-li 10” is less heat and mining speed than “-li 1”. You can also specify values for every card, for example “-li 3,10,50”.
Default value is “0” – no low intensity mode.
-lidag low intensity mode for DAG generation, it can help with OC or weak PSU. Supported values are 0, 1, 2, 3, more value means lower intensity. Example: “-lidag 1”.
You can also specify values for every card, for example “-lidag 1,0,3”. Default value is “0” (no low intensity for DAG generation).
-tt set target GPU temperature. For example, “-tt 80” means 80C temperature. You can also specify values for every card, for example “-tt 70,80,75”.
You can also set static fan speed if you specify negative values, for example “-tt -50” sets 50% fan speed. Specify zero to disable control and hide GPU statistics.
“-tt 1” (default) does not manage fans but shows GPU temperature and fan status every 30 seconds. Specify values 2..5 if it is too often.
Note: for NVIDIA cards only temperature monitoring is supported, temperature management is not supported.
Note: for Linux gpu-pro drivers, miner must have root access to manage fans, otherwise only monitoring will be available.
-ttdcr reduce Decred/Siacoin intensity automatically if GPU temperature is above specified value. For example, “-ttdcr 80” reduces Decred intensity if GPU temperature is above 80C.
You can see current Decred intensity coefficients in detailed statistics (“s” key). So if you set “-dcri 50” but Decred/Siacoin intensity coefficient is 20% it means that GPU currently mines Decred/Siacoin at “-dcri 10”.
You can also specify values for every card, for example “-ttdcr 80,85,80”. You also should specify non-zero value for “-tt” option to enable this option.
It is a good idea to set “-ttdcr” value higher than “-tt” value by 3-5C.
NOTE: Check “KNOWN ISSUES” section. GPU indexes in temperature control sometimes don’t match GPU indexes in mining!
-ttli reduce entire mining intensity (for all coins) automatically if GPU temperature is above specified value. For example, “-ttli 80” reduces mining intensity if GPU temperature is above 80C.
You can see if intensity was reduced in detailed statistics (“s” key).
You can also specify values for every card, for example “-ttli 80,85,80”. You also should specify non-zero value for “-tt” option to enable this option.
It is a good idea to set “-ttli” value higher than “-tt” value by 3-5C.
NOTE: Check “KNOWN ISSUES” section. GPU indexes in temperature control sometimes don’t match GPU indexes in mining!
-tstop set stop GPU temperature, miner will stop mining if GPU reaches specified temperature. For example, “-tstop 95” means 95C temperature. You can also specify values for every card, for example “-tstop 95,85,90”.
This feature is disabled by default (“-tstop 0”). You also should specify non-zero value for “-tt” option to enable this option.
NOTE: Check “KNOWN ISSUES” section. GPU indexes in temperature control sometimes don’t match GPU indexes in mining!
If it turned off wrong card, it will close miner in 30 seconds.
You can also specify negative value to close miner immediately instead of stopping GPU, for example, “-tstop -95” will close miner as soon as any GPU reach 95C temperature.
-fanmax set maximal fan speed, in percents, for example, “-fanmax 80” will set maximal fans speed to 80%. You can also specify values for every card, for example “-fanmax 50,60,70”.
This option works only if miner manages cooling, i.e. when “-tt” option is used to specify target temperature. Default value is “100”.
Note: for NVIDIA cards this option is not supported.
-fanmin set minimal fan speed, in percents, for example, “-fanmin 50” will set minimal fans speed to 50%. You can also specify values for every card, for example “-fanmin 50,60,70”.
This option works only if miner manages cooling, i.e. when “-tt” option is used to specify target temperature. Default value is “0”.
Note: for NVIDIA cards this option is not supported.
-cclock set target GPU core clock speed, in MHz. If not specified or zero, miner will not change current clock speed. You can also specify values for every card, for example “-cclock 1000,1050,1100,0”.
Unfortunately, AMD blocked underclocking for some reason, you can overclock only.
Note: for NVIDIA cards this option is not supported.
-mclock set target GPU memory clock speed, in MHz. If not specified or zero, miner will not change current clock speed. You can also specify values for every card, for example “-mclock 1200,1250,1200,0”.
Unfortunately, AMD blocked underclocking for some reason, you can overclock only.
Note: for NVIDIA cards this option is not supported.
-powlim set power limit, from -50 to 50. If not specified, miner will not change power limit. You can also specify values for every card, for example “-powlim 20,-20,0,10”.
Note: for NVIDIA cards this option is not supported.
-cvddc set target GPU core voltage, multiplied by 1000. For example, “-cvddc 1050” means 1.05V. You can also specify values for every card, for example “-cvddc 900,950,1000,970”. Supports latest AMD 4xx cards only in Windows.
Note: for NVIDIA cards this option is not supported.
-mvddc set target GPU memory voltage, multiplied by 1000. For example, “-mvddc 1050” means 1.05V. You can also specify values for every card, for example “-mvddc 900,950,1000,970”. Supports latest AMD 4xx cards only in Windows.
Note: for NVIDIA cards this option is not supported.
-mport remote monitoring/management port. Default port is 3333, specify “-mport 0” to disable remote monitoring/management feature.
Specify negative value to enable monitoring (get statistics) but disable management (restart, uploading files), for example, “-mport -3333” enables port 3333 for remote monitoring, but remote management will be blocked.
You can also use your web browser to see current miner state, for example, type “localhost:3333” in web browser.
-colors enables or disables colored text in console. Default value is “1”, use “-colors 0” to disable coloring.
CONFIGURATION FILE
You can use “config.txt” file instead of specifying options in command line.
If there are not any command line options, miner will check “config.txt” file for options.
If there is only one option in the command line, it must be configuration file name.
If there are two or more options in the command line, miner will take all options from the command line, not from configuration file.
Place one option per line, if first character of a line is “;” or “#”, this line will be ignored.
SAMPLE USAGE
Dual mining:
nanopool Ethereum+Siacoin:
EthDcrMiner64.exe -epool eth-eu1.nanopool.org:9999 -ewal YOUR_ETH_WALLET/YOUR_WORKER/YOUR_EMAIL -epsw x -dpool “http://sia-eu1.nanopool.org:9980/miner/header?address=YOUR_SIA_WALLET&worker=YOUR_WORKER_NAME&email=YOUR_EMAIL” -dcoin sia
nanopool Ethereum+Siacoin(Stratum):
EthDcrMiner64.exe -epool eth-eu1.nanopool.org:9999 -ewal YOUR_ETH_WALLET/YOUR_WORKER/YOUR_EMAIL -epsw x -dpool stratum+tcp://sia-eu1.nanopool.org:7777 -dwal YOUR_SIA_WALLET/YOUR_WORKER/YOUR_EMAIL -dcoin sia
Ethereum-only mining:
nanopool:
EthDcrMiner64.exe -epool eth-eu1.nanopool.org:9999 -ewal YOUR_ETH_WALLET/YOUR_WORKER/YOUR_EMAIL -epsw x
Ethereum forks mining:
EthDcrMiner64.exe -epool etc-eu1.nanopool.org:9999 -ewal YOUR_ETH_WALLET/YOUR_WORKER/YOUR_EMAIL -epsw x
FAILOVER
Use “epools.txt” and “dpools.txt” files to specify additional pools. These files have text format, one pool per line. Every pool has 3 connection attempts.
Miner disconnects automatically if pool does not send new jobs for a long time or if pool rejects too many shares.
If the first character of a line is “;” or “#”, this line will be ignored.
Do not change spacing, spaces between parameters and values are required for parsing.
If you need to specify “,” character in parameter value, use two commas – ,, will be treated as one comma.
You can reload “epools.txt” and “dpools.txt” files in runtime by pressing “r” key.
Pool specified in the command line is “main” pool, miner will try to return to it every 30 minutes if it has to use some different pool from the list.
If no pool was specified in the command line then first pool in the failover pools list is main pool.
You can change 30 minutes time period to some different value with “-ftime” option, or use “-ftime 0” to disable switching to main pool.
REMOTE MONITORING/MANAGEMENT
Miner supports remote monitoring/management via JSON protocol over TCP/IP sockets.
Start “EthMan.exe” from “Remote management” subfolder (Windows version only).
Check “Help” tab for built-in help.
KNOWN ISSUES
- Weak/old cards like 7xxx/270/270X cannot handle dual mining properly, Ethereum mining is slower by about 5%.
- AMD cards: GPU indexes in temperature control sometimes don’t match GPU indexes in mining. Miner has to enumerate GPUs via OpenCL API to execute OpenCL code, and also it has to enumerate GPUs via ADL API to manage temperature/clock.
And order of GPUs in these lists can be different. There is no way to fix GPUs order automatically, thanks to AMD devs.
But you can do it manually. For example, if you have two cards, you can change their order by adding “-di 10”. Another example, reverse order for six cards: “-di 543210”.
Also you can do it automatically (experimental feature) with “-di detect” option. - Windows 10 Defender recognizes miner as a virus, some antiviruses do the same. Miner is not a virus, add it to Defender exceptions.
I write miners since 2014. Most of them are recognized as viruses by some paranoid antiviruses, perhaps because I pack my miners to protect them from disassembling, perhaps because some people include them into their botnets, or perhaps these antiviruses are not good, I don’t know. For these years, a lot of people used my miners and nobody confirmed that my miner stole anything or did something bad.
Note that I can guarantee clean binaries only for official links in my posts on this forum (bitcointalk). If you downloaded miner from some other link – it really can be a virus.
However, my miners are closed-source so I cannot prove that they are not viruses. If you think that I write viruses instead of good miners – do not use this miner, or at least use it on systems without any valuable data. - LBC PoW is not very good for dual mining, it causes a bit less Ethereum mining speed.
TROUBLESHOOTING
- Install Catalyst v15.12 (for AMD cards).
- Disable overclocking.
- Set environment variables as described above.
- Set Virtual Memory 16 GB.
- Reboot computer.
- Check hardware, risers.
- Set some timeout in .bat file before starting miner at system startup (30sec or even a minute), and try “-ethi 4” to check if it is more stable. It can help if miner is not stable on some system.
FAQ
-
What is dwarfpool proxy (eth-proxy)?
Official Ethereum miner does not support Stratum protocol, it supports HTTP protocol only. It causes less profit because of delays.
A proxy was created to fix it, so official Ethereum miner is locally connected to the proxy by HTTP protocol, for local network delays due to HTTP protocol are small. Proxy is connected to the pool via Stratum protocol so it has small delays too. Currently most pools support Stratum and you have to use HTTP-to-Stratum proxy to make official miner work with pools properly. Of course you can try to connect official miner to a pool directly via HTTP but you will lose 10-20% shares because of a short block time in Ethereum.
This miner does not use HTTP protocol, it uses Stratum directly. So you should connect it directly to the pool at Stratum port and it will work a bit faster than official miner via proxy because there is no proxy between miner and pool. -
What command option X means?
Read “Readme!!!.txt”, “COMMAND LINE OPTIONS” section. -
How to mine using pool X?
Read “Readme!!!.txt”, “SAMPLE USAGE” section. -
Why wrong temperature is displayed?
Read “Readme!!!.txt”, “KNOWN ISSUES” section. -
Windows 10 marks miner as a virus.
Read “Readme!!!.txt”, “KNOWN ISSUES” section. -
Can miner stop overheated GPU?
Yes, see “-tstop” option. -
Why miner does not stop overheated GPU immediately?
See question above about wrong temperatures. -
Why this command line doesn’t work (escaping ‘&’)?
Char ‘&’ in command line means command separator, to use it in command line either quote string with “”, or escape ‘&’ (use ^& on Windows).
No need to do this in *pools.txt or config.txt.
Also all command line options must be in same line in .bat file, don’t split them to several lines, it won’t work. -
How to mine Decred or Sia ONLY with this Ethereum Dual miner?
No way. It is Ethereum miner with extra bonus coins. To mine extra coins only use other miners. -
Why Ethereum hashrate in Dual mode is higher than in Single mode?
Hardware feature, accept it as an extra bonus. -
Is 15.12 driver mandatory?
Usually latest drivers work well. But there are some reports of people where they don’t. So 15.12 is recommended. -
Will newer drivers have higher/lower hashrate?
Usually no, but it depends… Check for yourself. -
Why miner does not show temperatures for RX 480 cards?
They use newer overdrive API which is not yet published by AMD. -
Why miner on Linux with stock card settings gives a bit lower hashrate than on Windows?
This probably is the difference in time calculations on both platforms. In reality the accepted hashrate is usually the same. -
Why -cclock/-mclock options do not work?
Sometimes they do not work. Use Afterburner or Trixx on Windows, atitweak and other tools on Linux instead. -
Why my GPU is 10C hotter in Dual mode?
This is a price for the extra work done. It also consumes more power, so make sure your PSU has sufficient power. -
Can the temperature be lowered?
Yes, see “-tt”, “-dcri”, “-ttdcr”, “-li” options. -
How can I undervolt my cards on Linux?
Usually only by flashing modified GPU BIOS. Unfortunately, no standard way of doing so. -
Why pool shows less hashrate than miner?
On my test rigs I use miner with default settings and on pool I see about 4-5% less than miner shows (my hashrate is about 800MH/s if I turn on all rigs).
Miner shows “raw” hashrate, 2% is devfee in dual mode, other 2-3% can be related to the connection quality, current pool status/luck or/and may be something else.
Also, from my calculations miner loses about 0.5-1% because it cannot drop current GPU round when it gets new job, it is related to “-ethi” value, so I made it 8 by default instead of 16.
But if on pool you see 10% less than miner shows all the time – something is wrong with pool, your connection to internet or your hashrate is low and you did not wait enough time to see average hashrate for 24 hours.
Usually I use “ethpool” pool for tests. -
I see only one card via Remote Desktop Connection.
It’s a problem of RDC, use TeamViewer or some other remote access software. -
I see only one card instead of two in temperature management info.
Disable CrossFire. -
Miner works in ETH-only mode but crashes in dual mode.
Dual mode requires more power, so make sure PSU power is enough and check GPU clocks if you OC’ed them. -
Error “server: bind failed with error”.
Specify “-mport 0” option. -
How can I get stats from miner as EthMan does?
Start EthMan and catch its tcp/ip data with WireShark, you will see json protocol details.