Skip to content

Instantly share code, notes, and snippets.

@gp187
Last active March 11, 2018 08:21
Show Gist options
  • Save gp187/3d73acb8ce78290d0daa6cd9e1191765 to your computer and use it in GitHub Desktop.
Save gp187/3d73acb8ce78290d0daa6cd9e1191765 to your computer and use it in GitHub Desktop.
AMD RX580 6 card rig | Install Ubuntu 16 and drivers
#!/bin/sh
# Get the Mining Driver
# https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-Pro-Beta-Mining-Driver-for-Linux-Release-Notes.aspx
# Install it normally
# KNOWN ISSUE: if ubuntu fails to load after the restart means the intel driver was remove
# use this to add it again
# sudo apt install -f intel-graphics-update-tool
sudo apt install git lm-sensors unity-tweak-tool ocl-icd-opencl-dev libmicrohttpd-dev libssl-dev cmake build-essential libhwloc-dev clinfo
sudo apt install unity-tweak-tool
# FIX: post update crash in ubuntu 16
sudo chown -R : /sbin/plymouthd
# XMRIG-AMD working
# https://github.com/fireice-uk/xmr-stak-amd
# The GPU monitoring doesn't work in XMRIG so grab the raw data to see
# cat /sys/class/drm/card0/device/pp_dpm_sclk
# cat /sys/class/drm/card0/device/pp_dpm_mclk
# cat /sys/kernel/debug/dri/0/amdgpu_pm_info
# To adjust fan speed use
# https://github.com/DominiLux/amdgpu-pro-fans
# sudo ./amd-pro-fans -s 60
# To see temperatures use `sensors` command from `lm-sensors` package
@gp187
Copy link
Author

gp187 commented Mar 9, 2018

@gp187
Copy link
Author

gp187 commented Mar 9, 2018

The solution so far is to install all drivers, disable lightdm service (disable the desktop) and load ubuntu as a service

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment