Beware: Latest kernel breaks amdgpu-17.50
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2007
    Posts
    398

    Beware: Latest kernel breaks amdgpu-17.50

    The amdgpu module can no longer be installed under the new fedora kernel..

    Code:
    # more /var/lib/dkms/amdgpu/17.50-511655.el7/build/make.log
    DKMS make.log for amdgpu-17.50-511655.el7 for kernel 4.15.7-300.fc27.x86_64 (x86_64)
    Mon Mar 12 07:41:53 +03 2018
    make: Entering directory '/usr/src/kernels/4.15.7-300.fc27.x86_64'
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_drm.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/main.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/symbols.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_fence.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_fence_array.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/ttm/ttm_memory.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkfd/kfd_module.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkfd/kfd_device.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkfd/kfd_chardev.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/ttm/ttm_tt.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkfd/kfd_topology.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_kthread.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_io.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/ttm/ttm_bo.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_mn.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdgpu/amdgpu_drv.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/ttm/ttm_bo_util.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_reservation.o
      CC [M]  /var/lib/dkms/amdgpu/17.50-511655.el7/build/ttm/ttm_bo_vm.o
    In file included from /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_drm.c:1:0:
    /var/lib/dkms/amdgpu/17.50-511655.el7/build/include/kcl/kcl_drm.h: In function ‘kcl_drm_universal_plane_init’:
    /var/lib/dkms/amdgpu/17.50-511655.el7/build/include/kcl/kcl_drm.h:284:29: error: incompatible type for argument 7 of ‘drm_universal_plane_init’
          formats, format_count, type, name);
                                 ^~~~
    In file included from ./include/drm/drm_crtc.h:45:0,
                     from ./include/drm/drmP.h:69,
                     from /var/lib/dkms/amdgpu/17.50-511655.el7/build/include/kcl/kcl_drm.h:6,
                     from /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_drm.c:1:
    ./include/drm/drm_plane.h:556:5: note: expected ‘const uint64_t * {aka const long long unsigned int *}’ but argument is of type ‘enum drm_plane_type’
     int drm_universal_plane_init(struct drm_device *dev,
         ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_drm.c:1:0:
    /var/lib/dkms/amdgpu/17.50-511655.el7/build/include/kcl/kcl_drm.h:284:35: error: incompatible type for argument 8 of ‘drm_universal_plane_init’
          formats, format_count, type, name);
                                       ^~~~
    In file included from ./include/drm/drm_crtc.h:45:0,
                     from ./include/drm/drmP.h:69,
                     from /var/lib/dkms/amdgpu/17.50-511655.el7/build/include/kcl/kcl_drm.h:6,
                     from /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_drm.c:1:
    ./include/drm/drm_plane.h:556:5: note: expected ‘enum drm_plane_type’ but argument is of type ‘const char *’
     int drm_universal_plane_init(struct drm_device *dev,
         ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from /var/lib/dkms/amdgpu/17.50-511655.el7/build/amd/amdkcl/kcl_drm.c:1:0:
    /var/lib/dkms/amdgpu/17.50-511655.el7/build/include/kcl/kcl_drm.h:283:10: error: too few arguments to function ‘drm_universal_plane_init’
       return drm_universal_plane_init(dev, plane, possible_crtcs, funcs,
              ^~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ./include/drm/drm_crtc.h:45:0,
                     from ./include/drm/drmP.h:69,
    1

  2. #2
    Join Date
    Oct 2007
    Posts
    398

    Re: Beware: Latest kernel breaks amdgpu-17.50

    In fact, the last kernel that 17.50 compiles fine under is 4.13.9-300.fc27.x86_64 .. I'm staying there

  3. #3
    Join Date
    Dec 2013
    Location
    United Kingdom
    Posts
    6,295

    Re: Beware: Latest kernel breaks amdgpu-17.50

    did you try with amdgpu 17.60?

  4. #4
    Join Date
    Oct 2007
    Posts
    398

    Re: Beware: Latest kernel breaks amdgpu-17.50

    I couldn't find the 17.60 or above anywhere

  5. #5
    Join Date
    Mar 2018
    Location
    Switzerland
    Posts
    4

    Re: Beware: Latest kernel breaks amdgpu-17.50

    Hello
    I am very new to Linux but i think i have the same problem. i just don't know how to find the amdgpu with dnf that was suggested here by antikythera.
    My kernel with rpm -q kernel are:
    kernel-4.15.6-300.fc27.x86_64
    kernel-4.15.7-300.fc27.x86_64
    kernel-4.15.8-300.fc27.x86_64

    Very strange is that in the grub2 boot menu when i start up my pc there are this three kernels but:
    Generic (4.15.8-300-fc27.x86_64) 27 (Generic)
    Generic (4.15.7-300-fc27.x86_64) 27 (Generic)
    Fedora (4.15.6-300-fc27.x86_64) 27 (Workstation Edition)
    Fedora (0-rescue-numbers[...])

    so i have manualy switch to the 4.15.6 because the other Generic ones aren't working correctly: my correct screen resolution is not working ...

    My questions:
    why are now this generic kernels installed, why aren't they working and how can i fix it? :-)

    Thank you very much.

    Greetings joe

  6. #6
    Join Date
    Oct 2007
    Posts
    398

    Re: Beware: Latest kernel breaks amdgpu-17.50

    Hi. Good question, generic kernels? Interesting.. you didnt build and install any kernels, did you?

    About the AMD:
    From what I understood, there are TWO drivers, more like, AMD makes a driver called amdgpu, and released it to the community as open source. that comes with fedora..
    Then, they ALSO have another driver called amdgpu-pro which you can download from their driver web site..
    I do a bit of mining on my laptop so I've been struggling with the "pro" driver - which is picky about the kernel it gets installed on.
    Older kernels up to 4.13.9-300.fc27.x86_64 worked fine with the amdgpu-pro 17.50 driver..
    The newer kernels changed too much and the 17.50 driver cannot compile its module. (you get subtle dkms errors during install which are actually fatal). There is a myth that there are newer drivers, 17.60 , 17.70, but I could not find them anywhere..

    So, I'm staying at the older kernel, which did not support my wifi, I added that manually.. It's been a sad few days, but I'm happy to say that it all works now.. I still have to work with bluetooth and touchpad - neither works..

    Good luck, -turgut

  7. #7
    Join Date
    Oct 2007
    Posts
    398

    Re: Beware: Latest kernel breaks amdgpu-17.50

    Quote Originally Posted by antikythera
    did you try with amdgpu 17.60?
    where did you find the 17.60 or above?

Similar Threads

  1. Latest Kernel 4.15 breaks wifi in xps 9550
    By byhisdeeds in forum Hardware & Laptops
    Replies: 0
    Last Post: 20th February 2018, 12:13 AM
  2. [SOLVED]
    Latest kernel breaks X.
    By sidebrnz in forum Installation, Upgrades and Live Media
    Replies: 6
    Last Post: 21st September 2013, 02:31 PM
  3. Latest Kernel//Nouveau Breaks Suspend...
    By GrayFox in forum Using Fedora
    Replies: 6
    Last Post: 10th September 2010, 03:11 AM
  4. latest kernel breaks ATI radeon and radeonhd 3D
    By bradchaus in forum Using Fedora
    Replies: 3
    Last Post: 18th December 2008, 09:41 AM
  5. latest kernel breaks X for Radeon video card
    By pjnewman in forum Hardware & Laptops
    Replies: 6
    Last Post: 5th July 2006, 04:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •