Configuring an AMD Radeon RX 580 on Ubuntu 16.04

11/15/17:   I further tightened up this procedure.

Yesterday I bought a new PC used explicitly for “crunching” data with the distributed project Einstein@HOME.  This PC came with Windows 10 pre-installed so  I needed to remove it and install Ubuntu 16.  The installation of Ubuntu 16 necessitates the install of AMD video drivers to support the Radeon RX 580 card.

Here is the page of instructions for driver installation on the AMD website: .   I would suggest that you take a moment to read it.  What follows is basically a regurgitation of the AMD website instructions without all of the chaff.

There are four simple steps involved in the installation of the AMDGPU-Pro Driver: Download, Extract, Install and Configure.  For the purpose of example I am using the path $HOME/Downloads/amd.  You can of course pick your own location:  /tmp for example.

A.  Download .  I placed this download in the directory $HOME/Downloads/amd.

      1.  cd $HOME/Downloads/amd

B.  Extract

      1. tar -Jxvf amdgpu-pro-17.40-NNNNNN.tar.xz  <— this will unwind the file into $HOME/Downloads/amd/amdgpu-pro-17.40-492261.  Note you need “NNNNNNNNN” to match your download.

C.  Install:

     1.  cd $HOME/Downloads/amd/amdgpu-pro-17.40-492261

     2.  ./amdgpu-pro-install –compute  <–two dashes.  This supports OpenCL.  This will take awhile. When complete the install portion is done.

                  3.  sudo reboot

D.  Configure:

      You need to add your user to the video group.

     You can find which groups you are a member of with the following

     command:  groups .  If you are not already a member of the “video” group

     do this:

     sudo usermod -a -G video $LOGNAME

     log out and then back in and try the “groups” command.  You should see that you are now a member of the “video” group.

Your driver to support the Radeon RX580 should now be installed.  To be sure go to the Einstein@HOME website and if you are not already a member become one.  If you are a member go to the list of your computers and your PC should correctly identify your GPU.

If there are any errors in my procedure post the changes/corrections in a “comment” and I will incorporate/fix in this post.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.