Eth PDF
Eth PDF
The material in this book or its affiliated website have no regard to the
specific investment objectives, financial situation, or particular needs of any
reader, user or visitor. This book is published solely for informational and
entertainment purposes. No warranties of any kind are expressed or implied.
Readers acknowledge that the author is not engaging in the rendering of legal,
financial or professional advice. Please consult a licensed professional or
licensed financial advisor before attempting any techniques outlined in this
book.
By reading this book, the reader agrees that under no circumstances are
is the author responsible for any losses, direct or indirect, which are incurred
as a result of the use of information contained within this document,
including, but not limited to, errors, omissions, or inaccuracies. The reader
should use the information only as a starting point for doing additional
independent research in order to allow you to form your own opinion
regarding investment.
Table of Contents
I’m mining Ethereum for quite some time now. I have written this guide
to help you setup your own GPU for mining purposes. This is a collection of
my experiences with fixing various mining problems.
Please follow all the steps described in this guide by their order!
2. Motherboard
For the 6 GPU mining rigs the best, cheapest and most reliable
motherboard is a H81 pro BTC 2.0. It works better than most very
expensive gaming motherboards like Z170 and Z270 Pro series.
For the 12/13 GPU mining rigs, the best motherboard to use is a
ASRock H110 Pro BTC. Windows can only support 12 AMD GPUs at the
same time, you can combine 12 AMD + 6 Nvidia GPUs but it’s not worth it.
There are some 19+ Motherboards, however from personal experience
you may have problems with them, so it’s better to stick to 6 or 12 GPU
mining rigs.
IMPORTANT: You must have the latest motherboard BIOS installed. You
can check your motherboard BIOS update history to see what was changed
from your BIOS version till the latest available one. If there are no major
changes, then you can skip this step. Chipset, PCI-E, GPU support changes are
the most important ones and you need to upgrade your motherboard BIOS if
they came out.
Some motherboards like the Z170 which are used for gaming have
6 PCI-E inputs, but if you connect all 6 of them and have an Integrated
GPU enabled on your rig, it probably won’t start or it will give you a poor
performance. That is an error on your motherboard, and you have to
disable the Integrated GPU to make the rig work. That is not a good
option, which can cause problems.
How to setup your motherboard?
First you will need to connect your motherboard with just a CPU,
RAM and the Disk. DO NOT use any of the GPUs until the end of this setup.
RAM
CPU
Any CPU that fits the socket of your motherboard (1150 for H81
pro btc) is OK
For 12/13 GPU rigs get a slightly better CPU (60$-100$) cause it
will be a bit faster when working on the rig, especially when changing
GPUs from Graphics to Compute mode in AMD Settings and using
streaming software such as Team Viewer or Splashtop.
PSU
80 PLUS certificate tells you how much extra power the PSU will
draw to power your components. Let’s say you have 8 GPUs and they use
with your motherboard and other parts exact 1000W (let’s say it’s 50%
PSU load). 80+ Platinum will use 1060W total (it will lose 60W extra),
80+ Gold will use 1080W, 80+ Silver will use 1100W, 80+ Bronze will use
1120W and a PSU without certificate will use 1150W or more. The power
draw of each PC part is the same, the only thing that changes is the extra
power the PSU needs to power your rig (in our example our PC will
always use 1000W but the PSU needs extra to generate that flow). PSU
maximum efficiency is stated in its manual, mostly it’s 50-80% of its load,
the ones I used in this example. At higher PSU loads the efficiency drops
by additional 2-4%. Higher grade certificate is expensive and most of
them have 5-10 years warranty. It’s very important to get top grade and
high quality PSU with long warranty because that reduces the RISK.
Expensive PSUs have gone trough a lot of tests, that’s why they are
expensive. If you already spend so much on your mining rig, there is no
point to save some small $ on a very important component, and you will
save power in a longer run that will increase your ROI.
Risers
They are responsible for most of the trouble with your GPUs, so if
you have a problem with one of your GPUs for example, and you don’t see
it or you can’t flash the BIOS, try to replace the riser.
Try to get high quality risers or latest release, they are very
important parts of your mining rig and you don’t want them to be
problematic, 60cm cable length is fine.
Disk (SSD)
You can get Windows 10 Pro for free at their official website. You can
download their Windows tool for making a bootable USB stick (If you are
doing this on a PC that has Original Windows already on it). You can also
download the Windows 10 ISO from their site and make yourself a bootable
USB, then install Windows on your SSD. Still don’t connect any GPUs to your
mining rig! Because the first thing we want is to optimize Windows for our
own mining purposes.
drivers for GPUs under Linux are OUTDATED and they have poor
support
overclock tools for Linux are hard to get, and they most likely
won’t work on all of the GPUs properly (especially the undervolt part,
which is the most important).
POWER DRAW – yes, under Linux your GPUs will use about 5%
more power than on Windows, with the exact same settings for
overclock/undervolt.
Tools like SMOS or EthOS are very expensive. Their tools for
overclock and undervolt are not working properly. Those Linux based OS
cannot have the same Overclock/Undervolt settings as on Windows, or
they will crash because of poor driver support (800mV on Memory works
on most GPUs under Windows, but almost none on Linux).
You can monitor your rigs on Windows almost the same way as
on SMOS or EthOS, I will explain how to do that later in the guide.
Windows Updates
If you have downloaded Windows 10 from the official Microsoft website
then your Windows 10 pro is almost up to date.
Go to Windows Update
Once windows is fully installed and has booted for the first time,
you will have to run the Windows 10 Registry tweaks for
mining.bat file. Using this tweak disables everything that is not important
for mining on Windows. Disable everything from this tool.
Services Tweaks
Open up search and type in “This PC“, right click on it and choose
“Properties“
At the bottom you will see the “Virtual memory“ option, click on
“Change“
Uncheck “Automatically manage paging file size for all
drives“
Now depending on how many GPUs you have you will need
to increase the virtual memory. In general, for each GPU you need to
have 3GB Virtual Memory (because the DAG file used for hashing
Ethereum is above 2GB and going to 3 GB this year). So if you have 6
GPU you need to have 6x3GB Virtual Memory = 18GB
Select “Never” on all four selections for “Turn off the display”
and “Put the computer to sleep“
Now after Windows is setup properly, download a tool called DDU. That
tool will uninstall your current driver (even your integrated GPU) and block
Windows from automatically installing GPU drivers. That’s important so that
Windows does not install an outdated driver. It will ask you to run in “safe
mode” but that is not necessary. When you run the program just click on
“Clean and restart”. We want to manually download and install the right
drivers.
Sometimes, it’s possible that you get better results with the Beta
Blockchain Driver , but that driver only supports 8 AMD GPUs and please try
first the Adrenaline edition. In the Blockchain driver you will not need to
change GPUs to Compute mode, it’s there as default.
Now after you have all of your GPUs under the right driver, there is one
more important step to make.
Radeon Settings
Each GPU has its own BIOS, which specifies how it should work. There
are four different memory types that you will encounter on your GPU: Hynix,
Elpida, Micron, Samsung.
During mining Ethereum, you will only be using memory of the GPU,
That means the higher quality of the memory is, the better hashrate you can
get. While testing all of the memory types, I’ve found out that Samsung and
Hynix are a little bit better than Elpida and Micron, but the difference is small.
they are the rarest memory type and you can found them mostly
on RX 570 8gb cards (they can appear on every RX series but it’s very
rare)
What memory are my cards and how to export the BIOS?
This tool allows you to see what memory type your card has as you can
see in this picture.
There are various guides and tutorials how to BIOS mod your GPU and
they are all very confusing and risky to use, especially if you accidentally use a
BIOS that is not made for your GPU. In BIOS we need only to change Memory
Timings. There are many reasons to do it that way, because GPUs don’t behave
identical even if they are the same GPU; they can give much different results.
For example if you have Sapphire RX 570 4gb, Elpida memory cards,
they are all exact the same and the results you get from them:
Anorak BIOSes have only memory timings replaced and the power
save BIOSes have:
Memory timings are the only part in the GPU BIOS that you need to
change. Your miner software is using the memory of the GPU to make the
calculations (hashrate you see in Claymore). In the GPU BIOS it is described
how the GPU Memory should behave on specific clock rates. By changing how
your memory behaves at higher clock rates (increase tick rate of timings) we
can make the GPU calculate its operations faster.
Now after you know the basics of BIOS mod, you really don’t need to
know anything else because we will only replace the Memory Timings in the
GPU BIOS. Overclock and undervolt can be done through software and
we NEVER change those values in the BIOS, because it can brick your cards if
you do. It’s as simple as that.
IMPORTANT – Always work with the original BIOS of your cards, don’t
download random BIOS online cause you can’t be sure they are made for your
card type. Even if they are the same model, it does not mean they have the
same BIOS. It’s very important to work with the original card BIOS to reduce
the unnecessary risk to the minimum.
6. How to flash the new BIOS?
First you will need to download a tool for flashing the BIOS
called ATIFlash.
With this tool you can put the custom BIOS over your current one.
Always make a backup for your current BIOS and store it somewhere safe, you
can never know when you are going to need it.
IMPORTANT – be careful what BIOS you are going to flash on what GPU.
I would recommend you to never have different card types plugged in when
you are going to flash, so you don’t flash, by accident, a wrong BIOS to a wrong
card. However, it is almost impossible, because if you use the AtiFlash
properly as explained in this guide, it should give you a warning that you can’t
flash the specific BIOS, because it’s a different type than your original card.
1. Put the custom BIOS that you are going to flash in the AtiFlash
folder, for example “upgrade.rom”.
Upgraded BIOS, Part 1
2. Copy the file path location to the AtiFlash folder like shown in the
picture
upgrade.rom -> that is the name of the BIOS that you want
to flash to the GPU
you may get the error that the ROM file could not be read; for that
you will need to replace the Riser your GPU is connected to, or connect
that GPU directly to the motherboard or use a DDU to reinstall the current
driver and install the driver back on. If it does not work, try to download
Atiflash 2.74 Version and try using this instead.
you may get the error on 4000 or 8000 bytes wrong size; that
means you want to flash the wrong BIOS. Some older cards have a 512kb
BIOS; exact same new version of cards use a 256kb BIOS, which means
you wanted to flash the older BIOS to the new type and of course you got
rejected. You need to always be careful about what BIOS you are flashing.
after flashing your GPU and restarting the PC, if you don’t see the
GPU anymore, means you didn’t install the “Pixel Patcher”. Please go to
the GPU Driver section and read it again.
7. GPU Miner
Now after all your GPUs are flashed with the right upgraded BIOS, we
can move on to the most important step, the mining software part. There are a
couple of different common mining programs, depending on the algorithm
they are working with, the most common ones are:
EquiHash (Zcash, Zclassic, Bitcoin Gold) are also mined with the
same software
Claymore 10.2 is currently the best miner for Ethereum, and it comes
with a nice option of dual mining with some other altcoins (Decred, Sia… ).
That can boost your profit by around 20-30% for 20% more power draw.
Even if you have expensive electricity, the bonus profit is probably worth it.
Claymore software has a fixed fee of 1% when you are mining Ethereum
or 2% fee when you are mining Decred. There are various problems that can
happen due to the way the Fee is working. The fee works in a way that each
hour you will be disconnected from your mining process and for about 1-2
minutes, you will mine for the Claymore developers. After that it will connect
you again to your pool and start the mining again. By constant disconnecting
and reconnecting each hour, your GPU cools down and then heats up again,
and by doing that you are risking the life of your GPUs. I heard from many
people that after some time one of the GPUs would reset to the default clock
settings because of the constant disconnecting/reconnecting. It would also
“hang” and crash the miner or cause it to recreate the DAG file, and you end up
losing valuable time with that. Claymore is a really cool software and I think
there could be a better way to support the developers, rather than risking our
own miner stability. By using the official Claymore, I lost about 3% of my
shares compared to using the Claymore without the Developer Fee, everyone
can try it for themselves and see the difference.
Claymore runs through its “start.bat” file. In the “start.bat” (you can
open it with the notepad) you just need to write the following (no setx
commands before that):
-epool is the mining pool you can use, it’s just a personal
preference. Some people like to use nanopool, some like dwarfpool or
ethermine. You can use any pool you like. Be careful what pool you are using;
it should be based on your location. It would make no sense to mine on a
European pool if you are in America. Always use the pool that is close to you.
Nanopool, dwarfpool, ethermine and others have mostly location specific
pools, you can’t miss them; they mostly start with EU, US or Asia. After that
you can write your own Ethereum address which is used to collect your
Ethereum shares. You can view statistics on the mining pool by searching it
with your address, for example if you are using nanopool you can see your
current active statistics.
with: https://eth.nanopool.org/yourEthereumAddress. For example
using Nanopool:
Ethereum is mined just by using the memory of your GPU, so the GPUs
core is almost not affected by the Ethereum mining at all. This gives a
possibility to utilize the GPU core for mining some other coins in the same
time as you mine Ethereum without affecting its hashrate. Of course if you
would mine the dual coin at full potencial, it would affect Ethereum hashrate,
that’s why we will need to optimize the intensity of the dual coin; lowering it
at such degree that it’s not affecting Ethereum hashrate.
The part before the -dwal is the same as for the solo Ethereum mining
described above. The -dwal has the same representation as -ewal, it just is the
mining pool of the dual coin. I would recommend to mine ONLY Decred as a
dual coin, because it has the highest efficiency of all of them. As described
above, Dual coin uses the GPUs core for mining and not all dual coins give the
same results. For RX 5xx cards, the best way is to go with Decred. I use
the Supernova Decred mining pool. You need to create an account there, and
the account name will serve you as a Decred mining pool address. This way, it
gives you one more security improvement, because you don’t show people
your address, instead just your account name. On your account, you will need
to create a worker and give it a name for example: worker1, and leave it’s
password as it is (“password”). Now to connect properly to the Decred mining
pool you would need to put
“-dwal supernovaAccountName.supernovaWorkerName”
How to mine Decred?
You can create a Decred wallet at Bittrex. It’s a very good trading site
featuring a lot of altcoins including Decred. You can cash out your Decred at
your account page in supernova, under “My Account” -> “Edit Account” ->
“Payment Address” and you need to type your Bittrex address there. And now
you just need to set “Automatic Payout Threshold” to your desired value, I use
0.5 as my payout cap. You can convert your mined Decred to Ethereum at
Bittrex exchange site, and store the value that way. It’s safe if you use a 2FA
authenticator.
As you can see in the dual mining configuration, the last part is “-dcri
25”. It means that the dual coin is set to mine intensively, and it shows how
much GPU core is assigned for that task. Yes, it’s needed for solo mining too,
and needs to be set to 6. This is a very important part because
it’s DEPENDANT ON THE GPU SERIES. The only noticeable difference
between the RX 570 and RX 580 series is their GPU Core. The memory (used
for Ethereum mining) is almost the same on those cards, so there is basically
no difference in Ethereum hashrate, but the big difference comes in the GPU
Core. The RX 580 series can handle around -dcri 25, don’t go above that
because it can reduce your Ethereum hashrate. For RX 570 series the optimal -
dcri is around 19-22. For some cards even lower as 13, this needs to be tested
by yourself. The proper way would be to start with -dcri 10. Then using your
keyboard press “+” or “-”, that way you can increase or decrease -dcri by 1, as
you will see on the claymore miner. By going up you will see the dual coin
hash rate going up, repeat that until you can start to see the Ethereum
hashrate decrease, then, after you find that spot reduce -dcri by 3, so you are
not pushing the GPU to the limit. On the RX 570 series, it’s possible to get a
higher hashrate on Ethereum with dual mining rather than just solo
mining. Optimal for RX 570 is around -dcri 19 , optimal for RX 580 series is
around -dcri 25. For some cards, it’s possible to go even further, but it’s not
worth it to stress the GPU too much.
9. Overclock/Undervolt
This is the most important part of this guide, it’s very important for you
to learn the right way of overclocking and undervolting to optimize the GPU as
much as possible.
1. STEP – Delete all the overclock tools that you have installed,
especially MSI Afterburner because it can interfere with the proper way of
overclocking and undervolting.
What is OverdriveNtool?
Now after your GPUs are at their default settings, we’ll be using
OverdriveNtool to handle the overclocking,target the GPUs temperature and
its undervolting. There is no other tool where you can have full control of your
GPU and the ability to quickly optimize GPUs. You can’t be 100% sure the
overclock/undervolt settings are working properly. This is a special software
that gives you FULL access to your AMD GPUs and it’s very easy to use once
you know the basics.
This software may seem confusing or complicated at first, but it’s very
easy to understand. I will explain it through the following picture:
OverdriveNtool Default Settings
After that, go to “Save As” and change the “Save as type” to “All Files”
and then name the script “overclock.bat”. That way you will create a Batch file
the same type as Claymores “start.bat” and it will work in very similar way.
Now after that open the overclock.bat file with notepad and write in the
following:
This will make a batch script that will run the OverdriveNtool.exe and
set each GPU (-p) to a predefined profile (“profileName”).
Be careful, as you can see in the displayed image in my case, there are 7
GPUs enabled on this mining rig. The first one is an integrated GPU and its ID
is -p0, all others are mining GPUs (p1,…p6). So if you have your integrated
GPU disabled or for some reason you use a motherboard that does not have it,
then your mining GPU ID starts from p0. You can see the GPUs order as
displayed in the picture below. The GPUs order in OverdriveNtool is
the same as in the GPU-Z and Claymore 10.2.
Now make 6 “New” profiles and name them GPU1, GPU2… GPU6 and
each profile will represent the GPU it’s attached to. For example, we are using
“-p1” GPU to the profile “GPU1” and so on. You need to make so many profiles
as you have mining GPUs (all GPUs except the integrated one).
RED – this part shows you the real GPU core clock rates and its voltages.
In other overclocking tools, you will only see the last one, in this case 1340
MHz. As you noticed, there are 8 of them (P0, P1….P7) and that are the GPUs
core states. This means the GPU switches automatically to default between
those states, depending on how much you use the GPU. From all those 8 states,
we don’t want the GPU to switch between them, we want it to run stable at the
fixed clock rates we put it on. To do that, we will need to disable all the GPUs
states except the last one (P7). You can disable every state from P0 till P7
simply by double clicking on its name. For example, with the mouse go over
“P0” and double click on it. You will know if you are successful when that state
changes color.
MEMORY – This works identically as the GPU core, except it’s for the
memory. This is the Holy Grail, this is the most important part of GPU mining
and it’s very RANDOM. There is no set values that work 100% on your GPU.
There is just one proper way of doing it without risking any problems; we
need to disable P0 and P1 by double clicking on them.
We will need to repeat the process for each GPU individually. It’s very
important to test it that way, so if you end up getting a crash or reset, you will
know exactly at what part that happened so that you can reverse the crashing
settings.
First we will need to test the first mining GPU only, not all at once:
As you can see in the picture, you will need to have values set exactly
the way it’s shown. Apply settings first, then click on the “Save” button near
the profile or else the profile settings won’t be applied properly. You have
your first GPU all set and ready to make the final step.
Overclock Properly
This is the most important question people want to have an answer for
and it’s the trickiest one. There are no optimal or universal values, because on
the identical GPUs, the same Overclock/Undervolt settings don’t work the
same way. Each GPU is unique and requires individual testing to optimize it
properly.
After that scroll all the way down till you see your GPUs, they are
located at the end. Now after you found the GPUs, select all sensors except
“Memory Errors” and HIDE them (right click on the sensors and press “hide”).
After that, you will have something similar to the image below:
Memory Errors in HWinfo64
In my case there are 6 AMD GPUs and I have disabled all other sensors
because they are not interesting to me. We only want to have GPU Memory
Errors displayed, this will tell you if your GPU is overclocked too much. Now
this is the way we will test your GPUs optimal settings.
1. Start mining with the current base settings as we did for first GPU
(1150MHz/850mV on GPU core and 1800MHz/900mV) on the Memory,
the target temperature is 60C.
3. Now change the memory to 1850MHz, then click apply, after that
click save on the profile.
4. Now start the overclock.bat script, it will reset the GPU to its
default settings, and after that you will need to apply new 1850MHz
memory settings.
5. Start mining and see if you get any memory errors after 2-3
minutes.
6. If you don’t get any memory errors, that means your GPU is
having no problems running at those clock rate. Now we will try to
increase memory clock rate by 50MHz increments, and each time you
increase memory repeat step 4 and 5. If you see no difference in hashrate
after changing memory clock rate, you need to restart your PC. Sometimes
if you change overclock/undervolt a lot, it will stop making change. We
want to repeat that process till you start to see memory errors, depending
on them do the following:
If you get few memory errors after some time, go back to
25MHz and test it again.
If you get millions of errors, that’s the HARD CAP of the GPU
and you can’t push it above that, reduce the clock rate by 50 MHz.
Now after you have found the optimal value for your GPU, you can do
the following:
Set the GPU core to 1100 MHz and then to 1200 MHz, don’t forget
to apply, save profile and then run the overclock.bat, to see the difference
in hashrate and the power draw from the wall. If you see no difference in
hashrate after changing GPU core clock rate, you need to restart your PC;
sometimes if you change overclock/undervolt a lot, it will stop making
changes.
After you done all that for the FIRST GPU, you can repeat the process for
each other GPUs. Always keep an eye in HWinfo64 for memory errors; that
way you will have a stable rig. The rig can work with a bunch of memory
errors but that can cause:
If all of your GPUs on the rig are the same, you can try to apply the
profile settings that worked for the first GPU to the next GPU and test if it
works. After that, try to adjust the small settings to reduce memory errors if
you get them. It’s possible that the same GPU with the same settings causes
the PC to crash or freeze, that’s why you test one GPU at a time.
RX 570 Series:
Micron Memory
Hynix Memory
Samsung Memory
RX 580 Series:
Micron Memory
Hynix Memory
Samsung Memory
Elpida Memory
After you’ve managed to setup all of the GPUs profiles and have tested
them with no or minimum errors, you want to make sure that your mining rig
works automatically.
Now try to restart your PC, it should overclock and start mining
automatically.
11. Managing mining rigs
There are many ways of managing your rigs and a lot of software to do
that. I like the simplest one, and that works great for me.
Hope you’ve learned a lot and this guide helped you to achieve a better
and efficient mining.
Good luck!
DDU https://www.guru3d.com/files-details/display-driver-
uninstaller-download.html
GPU-Z https://www.techpowerup.com/download/techpowerup-
gpu-z/
ATIFlash https://www.techpowerup.com/download/ati-atiflash/
Claymore 10.2 NoFee https://mega.nz/#!h2A0GYJL!OwPnxMRxE-
Version zODBBg9caUFG0Si8Z-AUbUhmoxQhzz990
Bittrex https://bittrex.com
OverdriveNtool https://forums.guru3d.com/threads/overdriventool-tool-
for-amd-gpus.416116/
HWinfo64 https://www.hwinfo.com/download/