Skip to content

Instantly share code, notes, and snippets.

@HenryNguyen5
Last active August 20, 2020 22:29
Show Gist options
  • Save HenryNguyen5/7d7c46ba3c5a17de7142466d8427a8be to your computer and use it in GitHub Desktop.
Save HenryNguyen5/7d7c46ba3c5a17de7142466d8427a8be to your computer and use it in GitHub Desktop.
AMD Grin install
# Install ubuntu server edition
# Update server
sudo apt-get -y update && sudo apt-get -y upgrade
# Install AMDGPU-PRO driver
wget --referer=http://support.amd.com https://drivers.amd.com/drivers/linux/amdgpu-pro-18.50-708488-ubuntu-18.04.tar.xz
cd amdgpu-pro-18.50-708488-ubuntu-18.04/
sudo dpkg --add-architecture i386
./amdgpu-pro-install --opencl=legacy -y
sudo usermod -a -G video $LOGNAME
# Add parameter to allow adjustment of gpu power and clocks
# to GRUB_CMDLINE_LINUX
sudo vim /etc/default/grub
amdgpu.ppfeaturemask=0xffffffff
sudo update-grub
# Download AMD tuning scripts
git clone https://github.com/HenryNguyen5/amdgpu-clocks.git
cd amdgpu-clocks
sudo ln -s /home/$USER/Code/amdgpu-clocks/amdgpu-clocks /usr/bin/amdgpu-clocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment