I have Ubuntu 18.04.2 and Graphics card asus rx580 8gb. Driver installation problem on ubuntu 18.04.2
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.
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?
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.I have had simmilar problems with amdgpu-pro (19.Q4) drivers, but I'm using WX 7100.
I've installed latest 4.14.* mainline kernel and that solved my problem with installation. Then I've discovered that amdgpu-pro drivers works fine with 5.0.0-37 kernel, but must be installed on previous (4.14.*) kernel. After that I've removed old kernel.