One of my co-workers built a small rig using 2x AMD Radeon RX570 GPUs.

I was going to give him my USB bootable installation to get up and running quickly, until I realized he was running AMD GPUs and Nvidia GPUs.  So I put together a set of quick steps to get him mining quickly.

Do a fresh installation of Ubuntu 16.04

Download the latest AMD drivers and install

cd ~/Downloads

wget --referer http://support.amd.com/ https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.50-511655.tar.xz

tar xvf amdgpu-pro-17.50-511655.tar.xz 

cd amdgpu-pro-17.50-511655/

sudo ./amdgpu-pro-install -y --opencl=legacy

Next we’ll install Claymore Dual Miner

cd ~/Downloads

wget https://github.com/nanopool/Claymore-Dual-Miner/releases/download/v10.0/Claymore.s.Dual.Ethereum.Decred_Siacoin_Lbry_Pascal.AMD.NVIDIA.GPU.Miner.v10.0.-.LINUX.tar.gz

mkdir ~/claymore10

cd ~/claymore10

tar -xvpzf ~/Downloads/Claymore.s.Dual.Ethereum.Decred_Siacoin_Lbry_Pascal.AMD.NVIDIA.GPU.Miner.v10.0.-.LINUX.tar.gz

chmod u+s ethdcrminer64

The command everyone recommends using looks something like this

~/claymore10/ethdcrminer64 -epool us2.ethermine.org:4444 -ewal <wallet>.<worker> -epsw x -mode 1 -tt 68 -allpools 1

What happened is we got an error about miner doesn’t have root acecss

ETH - Total Speed: 44.209 Mh/s, Total Shares: 13, Rejected: 0, Time: 00:22
ETH: GPU0 22.107 Mh/s, GPU1 22.102 Mh/s
Failed to set new fan speed, check if miner has root access!
Failed to set new fan speed, check if miner has root access!
Failed to set new fan speed, check if miner has root access!
Failed to set new fan speed, check if miner has root access!
ETH: 01/26/18-13:35:54 - New job from us2.ethermine.org:4444

With default setting the AMD Radeon RX570‘s do about 22 Mh/s, give it a week to make sure things are stable and we’ll tweak them up to hopefully around 30 Mh/s.  I’ll give you another post once we make those changes.

In the mean time, to get rid of that annoying error message, I just removed the -tt for now which is Target Temperature so Claymore stops trying to make calls to adjust fan speeds automatically.   However you really want to increase the fan speeds manually to keep the GPUs cooler. Check out this post, this is what I had done, near the bottom gives you the settings you’ll want to add to your miner.sh script to keep your RX570’s cool, Adjusting RX570 Fans Speed.