October 16, 2017 Driver Update*

AMD updated their “unsupported” blockchain driver from 17.30 (August 2017) to 17.40 in October 2017. We have updated this post to reference that version as well as their instructions

*The ROCm component was updated from 1.6-148 to 1.6-180 after doing a dist-upgrade and reboot.

Credit goes to Gregory Stoner of AMD for the Radeon Open Compute Platform (ROCm) Linux kernel. As well as to Bitcoin Talk user cpunkt for announcing the fix and summarizing kernel install instructions on August 29, 2017.

This install includes a custom Linux kernel build called ROCm in addition to an AMD driver upgrade. The ROCm kernel upgrade gives an average 3Mh/s increase to each GPU.

We did a clean install of Xubuntu and AMD drivers on a new $35 MLC 60 GB SSD:

Silicon Power 60GB SSD S60 MLC High Endurance SATA III

After installing and updating Xubuntu 16.04 LTS, we executed the following commands:

#Update server
$ sudo apt update
$ sudo apt dist-upgrade

#Install version 17.40 of the AMDGPU-PRO Linux Drivers:
$ cd /opt
$ sudo wget --referer=http://support.amd.com https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz
$ sudo tar -Jxvf amdgpu-pro*
$ cd amd*
$ ./amdgpu-pro-install -y

# Check if your user is already part of the 'video' group
$ groups

# IF not, run the below
$ sudo usermod -a -G video $LOGNAME
$ sudo reboot

#If you don't have it already, install new ROCm Kernel (otheriwse skip this step):
$ sudo wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
$ sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list'
$ sudo apt-get update
$ sudo apt-get install rocm

#Edit grub
$ sudo nano  /etc/default/grub

#2MB fragments for Ellesmere are enabled with a grub option:

#After exiting grub editing, do:
$ sudo update-grub 
$ sudo reboot

For our 9 GPU demo rig, this upgrade (along with switching our miner to an alternative to Claymore) was the equivalent of adding a new Nvidia 1060! It resulted in an average 25.6 Mh/s hashrate increase.

If you found this post useful or even marginally helpful, please tip us. This our Ethereum wallet address: 0xff682Acd27D5f073Be77cd88b2F9eb8c2C59c049