amdgpu-pro install on Ubuntu 18.04.2 LTS

12,985

You appear to be affected by this bug.

The DKMS will not compile on the 4.18 Linux kernel in 18.50.

Some workarounds are:

A) Wait for the 19.10 driver, which reportedly will be released within the coming months.

B) Downgrade to kernel 4.15 which is reported to work. If this didn't work for you install linux-modules-extra-4.15.0-47-generic and linux-headers-4.15.0-47-generic as well as linux-image-4.15.0-47-generic and try again.

C) Use the no-dkms switch when installing with kernel versions 4.17 or later. amdgpu-pro-install --no-dkms Also reported to work.

Note: I do not have your hardware so I cannot test. This answer is the result of research and nothing more.

Sources:

https://bugs.freedesktop.org/show_bug.cgi?id=109440

https://unix.stackexchange.com/questions/501267/how-to-fix-amdgpu-dkms-failed-for-running-kernel-when-installing-amd-gpu-drive

If you are getting a dkms not found error refer to this answer.

Share:
12,985

Related videos on Youtube

Dmytro Kravchenko
Author by

Dmytro Kravchenko

Updated on September 18, 2022

Comments

  • Dmytro Kravchenko
    Dmytro Kravchenko almost 2 years

    I have Ubuntu 18.04.2 and Graphics card asus rx580 8gb. Driver installation problem on ubuntu 18.04.2

    1. I go on "https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580" for download driver. I have last driver just only "Radeon™ Software for Linux® Driver for Ubuntu 18.04.1". Ok, I try install.

    2. I open terminal and try install this, but I have problem. I run in terminal:

      $ sudo ./amdgpu-pro-install

    returns me:

    WARNING: amdgpu dkms failed for running kernel

    This dosen't work. Whay I can to force work it?

  • Dmytro Kravchenko
    Dmytro Kravchenko about 5 years
    Thank you very much for your reply. Unfortunately I could not install this driver. To eliminate errors, I installed a clean system every time before attempting to install amdgpu. Probably, I just have to wait for the new driver. Or me hope for an answer from amd (maybe they will share some instruction with me, and I will definitely share it).
  • Marc-André Appel
    Marc-André Appel over 4 years
    The --no-dkms argument helped in my case, thanks for that one!
  • Elder Geek
    Elder Geek over 4 years
    @Marc-AndréAppel I'm glad it helped!