How to set up an Ethereum Mining rig with AMD and NVIDIA cards on Ubuntu 16.04
TLDR;
- Install Ubuntu 16.04
- Install Nvidia CUDA drivers using deb(network) settings
- Install AMD drivers (reinstalling using --px parameter)
- Run Claymore Dual Miner
- Profit $$$
Install Ubuntu
Grab an Ubuntu 16.04 LTS .iso file from their website
https://www.ubuntu.com/download/desktop.
‘.iso’ files are just CD’s in digital form, just like grandpa used to use back in the day. Install the Ubuntu .iso using a USB stick and software such as 'LiLi'- Linux Live USB:
https://www.linuxliveusb.com/.
Instructions here https://www.linuxliveusb.com/en/help/guide
Once you have made your bootable USB it is time to install your Ubuntu OS, check your motherboard manual as it related to booting from a USB -versions vary
Install NVIDIA CUDA Drivers
Head over to the NVIDIA site to get the drivers for your Nvidia GPU's:
https://developer.nvidia.com/cuda-downloads
Select: Linux -> x86_64 -> Ubuntu -> 16.04 -> deb(network)
I always use the .deb network installation. It's fast and easy with only four steps to follow. The guide is on the site just follow to the instructions.
Note: I always do my driver install with only one GPU attached. Then after installing and making sure the device is recognized, I reboot with the rest attached to the motherboard.
Install AMD GPU Drivers
Once you get your NVIDIA's going, then it’s time to add the AMD GPU’s, Rx580’s in my case. Head over to website:
https://support.amd.com/en-us/download/linux
Thanks to @jeramyroberts. The installation instructions are pretty simple and I will leave a full guide here.
The key here is to reinstall the AMD drivers with the --px parameter. It removes a conflict between the Ubuntu and AMD graphics drivers that will cause a blank screen. This will prevent from bashing your head into a wall.
./amdgpu-pro-install --px
Get Claymore Miner
My miner of choice is the Claymore miner. It works better for me, but you can use whatever works for you. Grab it at:
https://github.com/nanopool/Claymore-Dual-Miner
Extract the miner and run from the directory it is located in. Making sure to check all your parameters. It should detect all your GPU's and get to mining in a few seconds. If your NVIDIA's or AMD's check and reinstall said drivers. If only one isn't there, check its riser and power connections.
$$$Profit$$$
Assuming all was done as above you should now be mining like an 1840's prospector. If there are any problems. First, check your hardware. Is everything hooked up correctly? And BIOS settings missed? The fun thing about this setup is that you can get up and running in an hour. If you messed up your settings and it's too tough to untangle. No Problem - WIPE!!! Start from Step 1. A fresh install solves all.
![Mining Prospector](https://steemitimages.com/0x0/http://mojavedesert.net/people/380-prospector-locx.gif)
Thanks for reading Steemians
update: combining GPUs proved to be somewhat unstable over time. The system had to be reset every 1-3 days. Switched to ethOS with only one type of card, eg NVIDIA 10** GPU's only and had a more stable time with my mining rig