Since last 4 days, I am trying to install amdgpu pro drivers on my ubuntu system and I am getting error.

  1. I have downloaded drivers from here for Rx580.

  2. I am following installation instructions from here.

  3. First-time installation, I am getting dkms command not found.

enter image description here

  1. executing below command will show me to install dkms

    dkms status

  2. Installing dkms using below command

    sudo apt-get install dkms

  3. Then try to install using below command, and getting error below is the screenshot for the same.

    ./amdgpu-pro-install -y

enter image description here

  1. I have also tried on kernel 4.4 & 4.8 & 4.16 (getting above error on all kernels)

Below is my system configuration

enter image description here Motherboard


As someone pointed out in the forums (https://community.amd.com/thread/228245) the script is broken.

Provided that you have the right kernel and header version, you need to install the missing packages manually, run:

apt install amdgpu-dkms libdrm-amdgpu-amdgpu1 libdrm-amdgpu1 libdrm2-amdgpu  
| improve this answer | |
  • 4
    Just to add. This solution doesn't work on kernel 4.18.0-15. – echo_salik Feb 24 '19 at 14:47
  • Luckily the more recent release packages have been fixed – Michele Feb 25 '19 at 17:07

Not the answer you're looking for? Browse other questions tagged or ask your own question.