Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

Adept I

Can't install amdgpu drivers on Ubuntu 20.04.2 LTS (Kernel 5.8.0-41-generic)

Did a fresh install of Ubuntu LTS (20.04.2). Which comes with kernerl version 5.8.0-41-generic.

It appears that there are no drivers that works for this kernel version. I was under the impression that Ubuntu LTS was to be supported?

I've tried the Radeon™ Software for Linux® Driver for Ubuntu 20.04.1 that was released 12/17/2020 but gives the error


Error! Bad return status for module build on kernel: 5.8.0-41-generic (x86_64)
Consult /var/lib/dkms/amdgpu/ for more information.
dpkg: error processing package amdgpu-dkms (--configure):
installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of amdgpu:
amdgpu depends on amdgpu-dkms (= 1:; however:
Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu (--configure):
dependency problems - leaving unconfigured
Setting up xserver-xorg-amdgpu-video-amdgpu (1:19.1.0-1188099) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up mesa-amdgpu-omx-drivers:amd64 (1:20.1.6-1188099) ...

when I try to install it.

Anyone have any suggestions of how to proceed?


9 Replies
Adept II

amdgpu 20.45 does install & work with kernels 5.8.0-38 & 41 confirmed by several users of 20.04.1 LTS.  Can you where the build is breaking in /var/lib/dkms/amdgpu/   


I'm having the same problem.

Failure starts with:

/var/lib/dkms/amdgpu/ error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
76 | up_read(&vma->vm_mm->mmap_sem);
| ^~~~~~~~
| mmap_base
/var/lib/dkms/amdgpu/ In function ‘amdttm_bo_vm_reserve’:
/var/lib/dkms/amdgpu/ error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
155 | up_read(&vma->vm_mm->mmap_sem);
| ^~~~~~~~
| mmap_base


Ubuntu 20.04.2 LTS isn't scheduled for release until 11Feb21 and does ship with kernel 5.8.0-??.  Here is a link with more info.

The 5.8.0 kernel, requires the 20.04 HWE stack.  The following installs the HWE stack as per the link above.

sudo apt-get install --install-recommends linux-generic-hwe-20.04 xserver-xorg-hwe-20.04

Can you confirm that the HWE headers were installed (see /usr/src/) on your systems prior to doing the amdgpu install?


"amdgpu 20.45 does install & work with kernels 5.8.0-38 & 41 confirmed by several users of 20.04.1 LTS."

Could you post the link to that solution?

But it doesn't compile (again) with kernel 5.8.0-43. Might be a new issue...


Seeing that this is 3 weeks old now - is there a fix?? 20.04.2LTS is well and truly out and about...


Are we looking at another Kernel downgrade?



“It is impossible to genuinely elevate yourself by pushing another person lower”
Journeyman III

Dear AMD support team,


could you please give some status to your customers regarding that issue? It's been a while since we've got some update on this topic.


Best regards,

Just some customer

No, because this is standard practice for software "engineering."  They may or may not fix this if they get an urge, otherwise, they have no plans on doing anything except play air hockey and post on Instagram.

Journeyman III

FYI there's a new amdgpu driver version, 20.50, which works on kernel 5.8 on Ubuntu 20.04: