This is how I proceeded...
I have a Poloris bios Editor one click patch applied on 2x 8G RX 580 sapphire and 2x 4G RX 580.
1. Install ubuntu 16.04.3
2. login and setup basics
3. shutdown, connect 1st gpu and connect to monitor
4. boot and proceed to install ROCm kernel and AMD compute drivers (I used amdgpu-pro-17.30-465504.tar and got 29MHs)
---------------------------------------------------------------
ROCm GPU Server Driver Installation Guide for Linux
https://rocm.github.io/ROCmInstall.html1. Verify You Have ROCm Capable GPU Installed int the System
lspci | grep -i AMD
2. #Install new ROCm Kernel:
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
3. Download amdgpu-pro-17.30 latest, unarchive and edit amdgpu-pro-install, under the --compute function remove amdgpu-pro-dkms
4. sudo ./amdgpu-pro-install --compute "to install only opencl and libdrm"
5. find ROCm boot menuentry ID
sudo grep menuentry /boot/grub/grub.cfg
6. comment out the default boot, add ROCm kernel to grub boot and amd fragment size
sudo vi /etc/default/grub
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 4.11.0-kfd-compute-rocm-rel-1.6-148"
#GRUB_DEFAULT=0
#2MB fragments for Ellesmere are enabled with a grub option:
GRUB_CMDLINE_LINUX="amdgpu.vm_fragment_size=9"
7. add user to video group
sudo usermod -a -G video $LOGNAME
8. sudo update-grub
9. sudo reboot
10. verify if ROCm kernel is set
sudo uname -r
11. shutdown and add one gpu at a time, test them with miner after every add
I am now hashing at 29MH and was wondering if anyone figured out how to undervolt?