I'm having a lot of issues with 16.04 with kernel 4.4.0-79-generic attempting to mine with RX580s. It is a minimal Ubuntu install, nothing fancy.
The drivers were installed per directions here: http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx. Here is an output showing lspci sees the cards:
The drivers were installed per directions here: http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx. Here is an output showing lspci sees the cards:
miner@MINER01:~$ lspci | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 67df (rev e7)
The install process condensed from the URL posted above is this:
wget --referer=http://support.amd.com https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.10-414273.tar.x
tar -Jxvf amdgpu-pro-17.10-414273.tar.xz
cd amdgpu-pro-17.10-414273
sudo ./amdgpu-pro-install -y
After drivers were installed a reboot was recommended and performed. Then adding the ethereum repo and installing some build tools and other things:
sudo add-apt-repository -y ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install git cmake libcryptopp-dev libleveldb-dev libjsoncpp-dev libjsonrpccpp-dev libboost-all-dev libgmp-dev libreadline-dev libcurl4-gnutls-dev ocl-icd-libopencl1 opencl-headers mesa-common-dev libmicrohttpd-dev build-essential -y
Now we get to checking out Genoil's cpp-ethereum and compiling it.
git clone https://github.com/Genoil/cpp-ethereum/
cd cpp-ethereum/
mkdir build
cd build
cmake -DBUNDLE=miner ..
make -j2
Great, assumption is we can attempt to see if it work snow. Notice below how no OpenCL devices are listed out of the 5 cards that are showing up in lspci.
miner@MINER01:~/build/cpp-ethereum/build/ethminer$ ./ethminer -G --list-devices
Genoil's ethminer 0.9.41-genoil-1.1.7
=====================================================================
Forked from github.com/ethereum/cpp-ethereum
CUDA kernel ported from Tim Hughes' OpenCL kernel
With contributions from nicehash, nerdralph, RoBiK and sp_
Please consider a donation to:
ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
[OPENCL]:
Listing OpenCL devices.
FORMAT: [deviceID] deviceName
Anyone know what I'm missing here?