This guide will walk you through setting up the AMD RX 580 for mining ethereum on nanopool and dual mining Decred on suprnova. This is info I pieced together from across the internet and put together for some friends. I figured I might as well share it with the world. If you find this guide helpful I would gladly accept ETH donations: 0x1bb1d103c870a8e719a0fb8cfb31d356a347ffed
The RX580 is a great card for mining ETH, but out of the box it only sees a ~23mh/s hash rate that takes a huge hit when dual mining. Fortunately with a few tweaks you can easily get it dual mining ETH and DCR at around 30mh/s and 900mh/s respectively.
Before you start you will want to download the tools below.
- GPU-Z: https://www.techpowerup.com/gpuz/
- ATI Win Flash 2.77: https://www.techpowerup.com/download/ati-atiflash/
- Polaris BIOS Editor: https://github.com/jaschaknack/PolarisBiosEditor
Set GPU Workload and Memory Straps
Follow the steps below to update the memory straps in each cards bios and set the workload to compute.
- Install the latest AMD graphics card drivers and reboot. I have seen some guides that suggest specific versions, but I found the latest drivers had the best performance and have been keeping up to date. Reboot as needed.
- Open AMD Radeon Settings and go to Gaming > Global Settings and click through each card in the tabs along the top and make sure AMD Cross fire is turned off for each card. This may take multiple restarts of the tool.
- Open AMD Radeon Settings and go to Gaming > Global Settings and click through each card in and set GPU Workload to “Compute”. This may take multiple restarts of the tool.
- Run ATI Win Flash 2.77 to copy the bios off your cards
- Be sure to right click on the executable and run as administrator! If you don’t do this it doesn’t seem to run right until you reboot.
- This UI in this tool only supports 3 graphics cards. If you have more than 3 connected you will want to disconnect any beyond 3 and do this to them 3 at a time.
- Select the first card in the list and then click the “Save” button to save a copy of the cards bios off to a file. Make sure the bios you copy off is the same one you load back on! Different revisions of the same card may have different bios and could break the card if you load the wrong one on the wrong card. Label carefully and keep this file in a safe spot. It is the original bios in case you want to load it back on for resale.
- Run Polaris BIOS Editor to adjust the memory timings
- Click the “OPEN BIOS” button in the top left and locate the file you saved out above in step 3 to open it
- Click the “ONE CLICK TIMING PATCH” button in the bottom right corner to apply the timings
- Click the “SAVE AS” button to save the modified bios. Don’t overwrite your original bios and make sure you label or number it correctly so you know which one to load back on the appropriate card.
- Run ATI Win Flash 2.77 (or switch back to it if it is already open)
- Click the button in the bottom left that should have the name of your card in it (It might also say load)
- Select the modified bios file that you created in step 5 to load back onto the card
- Click the program button to load the bios onto the card.
- Reboot as needed (you may be able to program multiple cards without reboot)
- Return to step 4 and repeat until all cards are programmed.
- Download GPU-Z and find out what memory your card has and make a note (this will be important later, be sure to run as Administrator if you are having trouble). I found some of my cards had Samsung and others had Hynix.
Now that you have adjusted your memory straps and set the GPU workload to “Compute” your RX 580 should be a beast when mining. With some undervaluing and some overclocks you should be able to get it working great. Fortunately Claymore supports adjusting these parameters at the command line on AMD cards! You can see my command line arguments below.
EthDcrMiner64.exe -epool eth-us-west1.nanopool.org:9999 -ewal YOURWALLETADDRESS -epsw x -eworker etherworkername -dpool dcr.suprnova.cc:3252 -dwal yourusername.workername -dpsw x -allpools 1 -dcri 30 -cclock 1200 -cvddc 900 -mclock 2050,2050,2000,2050 -mvddc 850 -tstop 80 -tt 65 -fanmin 25 -fanmax 100
A breakdown of the arguments above for those curious:
- -dcri 30
- This controls the intensity of the dual mining effort (decred in this case). 30 is the default which works great on the samsung memory cards. If you find your cards are getting too hot or pulling too much power you can lower this to significantly reduce their power consumption.
- -cclock 1200
- Sets the GPU processor clock to 1200mhz. This is lower than the stock clock so it is an under clock.
- -cvddc 900
- Sets the voltage for the GPU. This is lower than the stock voltage so it is an under volt. This is one of the more important things to lower because it decreases power consumption significantly and keeps the cards running cooler. Generally the GPU clock must be lowered along with this value or the card will become unstable.
- -mclock 2050, 2050, 2000, 2050
- This sets the memory clock to 2050mhz on all but the 3rd card. 2050mhz is an overclock over the stock 2000mhz. I have 4 cards so the 4 different values are given for the different cards. All of the command line values will accept multiple values like this if you find one card performing differently. In this case my hynix card became very unstable when overclocking. Many people online have reported having luck with much higher overclocks and squeezing a bit more performance out, but these worked great for me and were super stable.
- -mvddc 850
- This sets the memory voltage to 850mv, a slight under volt. This helps keep cards running cool and using less power.
- -tstop 80
- Maximum temperature (in celcius) that a card is allowed to get to before the miner shuts down. This is a good thing to set for safety.
- -tt 65
- Target temperature (in celsius) that the card will attempt to cool it to. The fans will speed up until the card maintains this temp.
- -fanmin 25
- The fan will always spin at at least this speed while the miner is running (in %)
- -fanmax 100
- The maximum speed that the fan will spin at to attempt to reach the target temperature set with -tt
If you find this guide helpful I would gladly accept ETH donations: 0x1bb1d103c870a8e719a0fb8cfb31d356a347ffed