My AMD GPU is:
- 00:01.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Kabini [Radeon HD 8400 / R3 Series] [1002:9830] (prog-if 00 [VGA controller])
- Subsystem: Hewlett-Packard Company Kabini [Radeon HD 8400 / R3 Series]
- Kernel driver in use: amdgpu
- Kernel modules: radeon, amdgpu
OS:
- Distributor ID: Ubuntu
- Description: Ubuntu 16.04.4 LTS
- Release: 16.04
- Codename: xenial
Active kernel (For scope of this question):
- Linux UbuntuHP 4.16.0-041600-generic #201804012230 SMP Sun Apr 1 22:31:39 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
I'm using the amdgpu-dkms package from amdgpu-pro-18.10-572953 installed onto Ubuntu 16.04.4: Radeon™ Software for Linux 18.10 Release Notes
The build fails for any kernel over 4.4 (however the irony is that only kernel 4.16 will actually switch the driver over from radeon to amdgpu for my card (when I blacklist radeon in /etc/modprobe.d/blacklist-radeon.conf), but runs without the dkms modules, and uses only the stock modules shipped with the kernel in (see attached file : https://community.amd.com/servlet/JiveServlet/download/2862543-96698/amdgpu_modinfo.txt.zip ):
- /lib/firmware/amdgpu
- /lib/firmware/4.16.0-041600-generic/amdgpu
- /lib/modules/4.16.0-041600-generic/kernel/drivers/gpu/drm/amd/amdgpu
$ lsmod | grep amdgpu
amdgpu 2727936 6
chash 16384 1 amdgpu
gpu_sched 24576 1 amdgpu
i2c_algo_bit 16384 2 amdgpu,radeon
ttm 106496 2 amdgpu,radeon
drm_kms_helper 172032 2 amdgpu,radeon
drm 401408 8 amdgpu,radeon,gpu_sched,ttm,drm_kms_helper
**Note: After the kernel switched over to amdgpu, I had to remove the blacklist for radeon so i could still use the older kernel (4.4), however in kernel 4.16 it still retains the amdgpu driver over radeon (irregardless if I remove the blacklist after the fact), in 4.4 it never switches over if I blacklist radeon
DKMS Build Log:
Is it possible to fix this ? Seems AMD might have to update their code to support the newer kernels, which also 4.17 will be getting shipped soon. Unless ofc the modules that 4.16 has is sufficient already.