Skip to content

Installing AMDGPU PRO driver for Ubuntu 16.04.3 for VR use

Catharine McGhan edited this page May 4, 2018 · 12 revisions

The following has been tested-working under Ubuntu 16.04 with the new hardware stack enabled (4.10 kernels beyond 16.04's 4.4 kernels) via:

  • sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04
and with an AMD card of the newest AMDGPU-PRO drivers

Table of Contents

See the following page for the newest combination of AMD (Radeon) drivers under Ubuntu

Commands/instructions for AMDGPU-PRO driver installation under Ubuntu:

AMDGPU-PRO 17.40 driver for Ubuntu 16.04.3 + Vulkan SDK v1.0.61.0

  • You are installing the vulcan SDK first! via the vulkan installation instructions (old link) prior to installing AMDGPU-PRO
  • cd ~/Downloads
  • wget https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.40-492261.tar.xz
  • firefox https://vulkan.lunarg.com/sdk/home &
    • In firefox, download "1.0.61.0", listed as release date of 13-Sep-2017: vulkansdk-linux-x86_64-1.0.61.0.run (20MB)
  • Generally, need to do this before installing anything driver (make sure have latest system kernel):
    • sudo apt update
    • sudo apt dist-upgrade
    • sudo reboot
  • Install the vulkan sdk first:
    • sudo apt-get install graphviz
    • sudo apt-get install libglm-dev graphviz libxcb-dri3-0 libxcb-present0 libpciaccess0 cmake libpng-dev libxcb-keysyms1-dev libxcb-dri3-dev libx11-dev libmirclient-dev libwayland-dev libxrandr-dev
    • sudo apt-get install git libpython2.7
    • cd ~ && mkdir vulkan && cd vulkan
  • For the 1.0.61.0 version, run:
    • cp ~/Downloads/vulkansdk-linux-x86_64-1.0.61.0.run ./
    • chmod ugo+x vulkansdk-linux-x86_64-1.0.61.0.run
    • ./vulkansdk-linux-x86_64-1.0.61.0.run
    • gedit ~/.bashrc
    • and then add the following lines to the bottom of the file, and save the file
      • export VULKAN_SDK=~/vulkan/VulkanSDK/1.0.61.0/x86_64
      • export PATH=$VULKAN_SDK/bin:$PATH
      • export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
      • export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
    • Close the terminal
    • Reopen a new terminal, so that the vulkan environment variables will be set up
  • Add yourself to the video group, so that you can use the vulkan driver, as well:
    • sudo usermod -a -G video $LOGNAME
  • Now, to install the AMDGPU-PRO driver, first try:
    • dpkg -l amdgpu-pro
  • and if packages are found, uninstall the old packages before reinstalling the new ones (if you need to reinstall):
    • amdgpu-pro-uninstall
  • Install the AMDGPU-PRO driver:
    • For version 17.40, run:
      • cd ~/Downloads
      • tar -Jxvf amdgpu-pro-17.40-492261.tar.xz
      • cd amdgpu-pro-17.40-492261.tar.xz
      • ./amdgpu-pro-install –y
      • sudo reboot
  • After rebooting, the new driver should now be active!
  • Note that if you run into problems with the display / at GUI login, it's probably because he kernel got updated and the AMDGPU-PRO driver needed to be updated, as well. You will need to Ctrl-Alt-F1 to a terminal, log in there, uninstall the AMDGPU-PRO driver (remove it from the kernel) for the moment, and then reboot first, so that you can log in and get the new combination of updated driver(s) via Firefox or similar
    • amdgpu-pro-uninstall
    • sudo reboot

AMDGPU-PRO 17.50 driver for Ubuntu 16.04.3 + Vulkan SDK v1.0.65.0

  • You are using this site to obtain the correct driver for your video card, specifically this link for "Desktop Graphics"+"Radeon RX Series"+"Radeon RX4xx Series"+"Ubuntu x86_64" and this link for Linux installation
  • cd ~/Downloads
  • wget https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.50-511655.tar.xz
  • firefox https://vulkan.lunarg.com/sdk/home &
    • In firefox, download "1.0.65.0", listed as release date of 02-Nov-2017: vulkansdk-linux-x86_64-1.0.65.0.run (24MB)
  • Generally, need to do this before installing anything driver (make sure have latest system kernel):
    • sudo apt update
    • sudo apt dist-upgrade
    • sudo reboot
  • Install the vulkan sdk first:
    • sudo apt-get install graphviz
    • sudo apt-get install libglm-dev graphviz libxcb-dri3-0 libxcb-present0 libpciaccess0 cmake libpng-dev libxcb-keysyms1-dev libxcb-dri3-dev libx11-dev libmirclient-dev libwayland-dev libxrandr-dev
    • sudo apt-get install git libpython2.7
    • cd ~ && mkdir vulkan && cd vulkan
  • For the 1.0.65.0 version, run:
    • cp ~/Downloads/vulkansdk-linux-x86_64-1.0.65.0.run ./
    • chmod ugo+x vulkansdk-linux-x86_64-1.0.65.0.run
    • ./vulkansdk-linux-x86_64-1.0.65.0.run
    • gedit ~/.bashrc
    • and then add the following lines to the bottom of the file, and save the file
      • export VULKAN_SDK=~/vulkan/VulkanSDK/1.0.65.0/x86_64
      • export PATH=$VULKAN_SDK/bin:$PATH
      • export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
      • export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
    • Close the terminal
    • Reopen a new terminal, so that the vulkan environment variables will be set up
  • Add yourself to the video group, so that you can use the vulkan driver, as well:
    • sudo usermod -a -G video $LOGNAME
  • Now, to install the AMDGPU-PRO driver, first try:
    • dpkg -l amdgpu-pro
  • and if packages are found, uninstall the old packages before reinstalling the new ones (if you need to reinstall):
    • amdgpu-pro-uninstall
  • Install the AMDGPU-PRO driver:
    • For version 17.50, run:
      • cd ~/Downloads
      • tar -Jxvf amdgpu-pro-17.50-511655.tar.xz
      • cd amdgpu-pro-17.50-511655.tar.xz
      • ./amdgpu-pro-install -y --opencl=legacy # for pre-Vega 10 video cards, such as the RX480
      • sudo reboot
  • After rebooting, the new driver should now be active!

AMDGPU-PRO 18.10 driver for Ubuntu 16.04.3 + Vulkan SDK v1.1.70.0

  • Similar to above, except you want:
  • cd ~/Downloads
  • wget https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-18.10-572953.tar.xz
  • firefox https://vulkan.lunarg.com/sdk/home &
    • In firefox, download "1.1.70.0", listed as release date of 05-Mar-2018: vulkansdk-linux-x86_64-1.1.70.0.run (22MB)

Display/login problems at GUI login after AMDGPU-PRO installation?

  • Note that if you run into problems with the display / at GUI login, it's probably because the kernel got updated and the AMDGPU-PRO driver needed to be updated, as well. You will need to Ctrl-Alt-F1 to a terminal, log in there, uninstall the AMDGPU-PRO driver (remove it from the kernel) for the moment, and then reboot first, so that you can log in and get the new combination of updated driver(s) via Firefox or similar
    • amdgpu-pro-uninstall
    • sudo reboot
Clone this wiki locally