IMPORTANT: Full list of compatible cards:
- Radeon™ RX 480 Graphics
Radeon™ RX 470 Graphics
Radeon™ RX 460 Graphics
AMD Radeon™ R9 Fury X Graphics
AMD Radeon™ R9 Fury Graphics
AMD Radeon™ R9 Nano Graphics
AMD Radeon™ R9 390X Graphics
AMD Radeon™ R9 390 Graphics
AMD Radeon™ R9 380X Graphics
AMD Radeon™ R9 380 Graphics
AMD Radeon™ R9 M395X Graphics
AMD Radeon™ R9 M385 Graphics
AMD Radeon™ R9 M380 Graphics
AMD Radeon™ R9 M270X Graphics
AMD Radeon™ R9 360 Graphics
AMD Radeon™ R9 290X Graphics
AMD Radeon™ R9 290 Graphics
AMD Radeon™ R9 285 Graphics
AMD Radeon™ R7 260X Graphics
AMD Radeon™ R7 260 Graphics
If you do not see your card listed, DO NOT attempt this installation!
Ok, so now that that's out of the way, the first step is to download the driver from the AMD site: http://support.amd.com/en-us/kb-article ... Notes.aspx
(Scroll down and find the link that says "AMDGPU-Pro Driver Version 16.30 for Ubuntu 16.04" and download it)
Assuming the file is saved to your "Downloads" folder, enter the following commands into the terminal:
Code: Select all
cd DownloadsCode: Select all
tar -Jxvf amdgpu-pro_16.30.3-315407.tar.xzCode: Select all
cd amdgpu-pro-driverCode: Select all
nano amdgpu-pro-installYou have now extracted the amdgpu-pro_16.30.3-315407.tar.xz file and are currently editing the install script. Replace the code currently in the install script with this code:
Code: Select all
#!/bin/bash
#
# Copyright 2016 Advanced Micro Devices, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
# OTHER DEALINGS IN THE SOFTWARE.
set -e
REPOSITORY="/var/opt/amdgpu-pro"
usage() {
cat <<END_USAGE
Usage: $PROG [options...]
Options:
-h|--help display this help message
Unless the -h|--help option is given, 'apt-get' options may be present.
END_USAGE
}
function stderr() {
cat - 1>&2
}
function os_release() {
[[ -r /etc/os-release ]] && . /etc/os-release
case "$ID" in
linuxmint)
PACKAGES="amdgpu-pro amdgpu-pro-lib32 amdgpu-pro-dkms"
;;
steamos)
PACKAGES="amdgpu-pro-driver amdgpu-pro-lib32 "`
`"glx-alternative-amdgpu-pro amdgpu-pro-dkms"
;;
*)
echo "Unsupported OS" | stderr
exit 1
;;
esac
}
function source_list() {
local dir etc sourceparts
eval $(apt-config shell dir Dir)
eval $(apt-config shell etc Dir::Etc)
eval $(apt-config shell sourceparts Dir::Etc::sourceparts)
echo ${dir}${etc}${sourceparts}/amdgpu-pro.list
}
function amdgpu_pro_install() {
local src=$(cd ${0%/*} && pwd -P)
local index=$src/Packages.gz
os_release
amdgpu_pro_uninstall $@
if [[ -r $index ]]; then
$SUDO mkdir -p $REPOSITORY && $SUDO cp -af $src/* $_
$SUDO ln -s $_/$PROG $SBIN/${PROG%-*}-uninstall
echo "deb file:$REPOSITORY/ ./" | $SUDO tee $(source_list)
$SUDO apt-get update ||:
$SUDO apt-get $@ install $PACKAGES
fi
}
function amdgpu_pro_uninstall() {
local p
local installed=()
[[ -r "$(source_list)" ]] || return 0
for p in $(zcat $REPOSITORY/Packages.gz | awk '{
if ($1 == "Package:")
p = $2;
else if ($1 == "Architecture:")
print p ":" $2
}')
do
if dpkg -s $p >/dev/null 2>&1; then
installed+=($p)
fi
done
$SUDO apt-get $@ remove --purge ${installed[@]}
$SUDO rm -rf $SBIN/${PROG%-*}-uninstall $(source_list) $REPOSITORY
$SUDO apt-get update ||:
}
PROG=${0##*/}
ARGS="$@"
SUDO=$([[ $(id -u) -ne 0 ]] && echo "sudo" ||:)
SBIN="/usr/bin"
while (($#))
do
case "$1" in
-h|--help)
usage
exit 0
;;
*)
shift
;;
esac
done
set -- $ARGS
amdgpu_pro_${0##*-} $@
Press control + o to save, hit enter, then press control + x to exit nano.
One last terminal command:
Code: Select all
amdgpu-pro-driver/amdgpu-pro-installAlrighty! Now that we have that done, it's time to uninstall those pesky old default drivers. Open up the mint software manager and search for "radeon". Find "Xserver-xorg-video-radeon", double click, and hit "Remove."
IMPORTANT: Make sure your user account is a member of the "video" group.
Code: Select all
sudo usermod -a -G video $LOGNAME....And that's it! Open the terminal and type "reboot." You should now have a functional graphics driver!
If anyone has any questions or this does not work, let me know and I can try to help.
[EDIT]: Fixed some typos.
[EDIT]: R7 260 missing from list of compatible cards
[EDIT]: Forgot an important step



