2 Replies Latest reply on May 22, 2018 11:48 PM by d3m0nkingx

    Fix Amdgpu-18.10.572953 DMKS modules failed installation for kernel 4.16.0-041600 ?

    d3m0nkingx

      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.

        • Re: Fix Amdgpu-18.10.572953 DMKS modules failed installation for kernel 4.16.0-041600 ?
          billy72

          Hi d3m0nkingx

           

          i can't see on the AMD drivers downloads page nor in the release notes page of driver 18.10 that you are linked the Radeon HD 8400 compatibility for this driver

           

          ... maybe your GPU is not compatible with the driver 18.10?

           

          it is possible that you depend on the manufacturer of your system for graphics drivers upgrades?

            • Re: Fix Amdgpu-18.10.572953 DMKS modules failed installation for kernel 4.16.0-041600 ?
              d3m0nkingx

              You're asking if HP is providing the graphics drivers for linux ? If so that's not possible as this laptop was built with windows 8, and HP support only support windows drivers. I'm on linux ...

               

              See for yourself: Contact HP Customer Support | HP® Customer Support   and type CND5052339 for the serial #. You will see they don't provide linux support.

               

              And as I said in the original post.. the DKMS module SUCCESSFULLY built for kernel 4.4.0-127, just NOT 4.16.0-041600. Hence why I included the make log which is showing why the code isn't building.... This requires attention of the techs that created the dkms to look that over and see at having it made compatible to the new kernel headers.

               

              In regards to the driver that's being loaded at boot time, it's confusing as to why 4.16.0-04166 kernel loads amdgpu driver when I blacklist radeon, but on 4.4.0-127 it doesn't. But the situation with the DKMS modules is reversed.