I am attempting to install the AMD gpu drivers for an RX 480 in Ubuntu 18.4.2. Whenever I run amdgpu-install or amdgpu-pro-install I get

amdgpu dkms failed for running kernel.

Link to make.log

I should note that I do have NVIDIA drivers installed as well, as I am using an NVIDIA 1070ti for compute, however, the card is currently not physically in the system so that I can test the AMD card/drivers.


It depends of which kernel version you're running. latest amdgpu-pro drivers works fine with kernel 4.15.0-47-generic and dkms build success

Install working kernel with latest drivers

sudo apt-get install linux-image-4.15.0-47-generic \
linux-modules-extra-4.15.0-47-generic \

reboot into linux-image-4.15.0-47-generic

Install latest driver from https://amd.com

wget --referer support.amd.com https://drivers.amd.com/drivers/linux/amdgpu-pro-18.50-725072-ubuntu-18.04.tar.xz 
tar xf amdgpu-pro-18.50-725072-ubuntu-18.04.tar.xz
cd amdgpu-pro-18.50-725072-ubuntu-18.04

Then reboot and Voilà

edit: update new kernel version

  • I'm getting the same failure on a fresh Kubuntu 18.04 install with kernel 4.18.0-16-generic from the 18.50-725072 drivers. – Marty Vance Mar 12 at 19:02
  • My issue is known: bugs.freedesktop.org/show_bug.cgi?id=109440 the recommendation is to wait for the 19.10 drivers or downgrade to kernel 4.15. – Marty Vance Mar 12 at 19:55
  • DKMS will simply not build with kernel > 4.15, that's why you need a 4.15 kernel to build them. By the way if you just need openCL stuff, you can install driver using amdgpu-pro-install --no-dkms and use any kernel version after 4.17 – Fractalyse Apr 10 at 2:29

protected by Community Mar 29 at 10:19

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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