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.

1 Answer 1


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. Commented Mar 12, 2019 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. Commented Mar 12, 2019 at 19:55
  • 1
    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
    Commented Apr 10, 2019 at 2:29
  • @Fractalyse I wish that were documented by AMD on the page that gives the instructions. Also, I am just trying it and I still see that it does attempt to build the module with DKMS ... that's rather odd. As if the failed previous installations somehow prevent me from using --no-dkms (although that's documented when invoking it with --help), Commented Apr 2, 2020 at 20:23
  • @0xC0000022L you should try amdgpu-pro-19.30-934563, i'm currently using with radeon vii, it's working great and DKMS built with mainline kernel (4.15.0-91-generic). wget --referer support.amd.com drivers.amd.com/drivers/linux/…
    – Fractalyse
    Commented Apr 3, 2020 at 20:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .