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/184.108.40.2066316-1188099/build/make.log 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:220.127.116.116316-1188099); 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?
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/18.104.22.1686316-1188099/build/make.log?
I'm having the same problem.
Failure starts with:
/var/lib/dkms/amdgpu/22.214.171.1246316-1188099/build/ttm/ttm_bo_vm.c:76:24: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
76 | up_read(&vma->vm_mm->mmap_sem);
/var/lib/dkms/amdgpu/126.96.36.1996316-1188099/build/ttm/ttm_bo_vm.c: In function ‘amdttm_bo_vm_reserve’:
/var/lib/dkms/amdgpu/188.8.131.526316-1188099/build/ttm/ttm_bo_vm.c:155:26: error: ‘struct mm_struct’ has no member named ‘mmap_sem’; did you mean ‘mmap_base’?
155 | up_read(&vma->vm_mm->mmap_sem);
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?
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?
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.
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.