cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

makeitwork
Adept II

Ubuntu/Linux, amdgpupro, WARNING: amdgpu dkms failed for running kernel

Attempting to install the amdgpu-pro driver version 19.50 or 19.30 produces the error "WARNING: amdgpu dkms failed for running kernel" and will not install the driver itself on Ubuntu kernel 5.3.0-26-generic.

Log:

<shell>$ sudo ./amdgpu-pro-install --opencl=legacy,pal
deb [ trusted=yes ] file:/var/opt/amdgpu-pro-local/ ./
Get:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ Release [816 B]
Get:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                            
Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg                            
Get:4 file:/var/opt/amdgpu-pro-local ./ Packages [127 kB]                      
Hit:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic InRelease                     
Hit:7 https://packages.lunarg.com/vulkan/1.1.126 bionic InRelease              
Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease             
Hit:9 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:10 http://archive.ubuntu.com/ubuntu bionic InRelease                       
Hit:11 http://ppa.launchpad.net/libratbag-piper/piper-libratbag-git/ubuntu bionic InRelease
Hit:12 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease          
Hit:13 http://us.archive.ubuntu.com/ubuntu bionic-security InRelease           
Hit:14 http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic InRelease     
Hit:15 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ InRelease
Reading package lists... Done                      
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '19.50-967956' (localhost [all]) for 'amdgpu-pro-pin'
The following NEW packages will be installed:
  amdgpu-pro-pin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/6,192 B of archives.
After this operation, 30.7 kB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-pin 19.50-967956 [6,192 B]
Selecting previously unselected package amdgpu-pro-pin.
(Reading database ... 515498 files and directories currently installed.)
Preparing to unpack .../amdgpu-pro-pin_19.50-967956_all.deb ...
Unpacking amdgpu-pro-pin (19.50-967956) ...
Setting up amdgpu-pro-pin (19.50-967956) ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  amdgpu-core amdgpu-lib-hwe amdgpu-pro-core gst-omx-amdgpu
  libdrm-amdgpu-amdgpu1 libdrm-amdgpu-amdgpu1:i386 libdrm-amdgpu-common
  libdrm2-amdgpu libdrm2-amdgpu:i386 libegl1-amdgpu-mesa
  libegl1-amdgpu-mesa:i386 libegl1-amdgpu-mesa-drivers
  libegl1-amdgpu-mesa-drivers:i386 libegl1-amdgpu-pro libegl1-amdgpu-pro:i386
  libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri
  libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx
  libgl1-amdgpu-mesa-glx:i386 libgl1-amdgpu-pro-appprofiles
  libgl1-amdgpu-pro-dri libgl1-amdgpu-pro-dri:i386 libgl1-amdgpu-pro-ext-hwe
  libgl1-amdgpu-pro-glx libgl1-amdgpu-pro-glx:i386 libglapi-amdgpu-mesa
  libglapi-amdgpu-mesa:i386 libglapi1-amdgpu-pro libglapi1-amdgpu-pro:i386
  libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386 libgles2-amdgpu-mesa
  libgles2-amdgpu-mesa:i386 libgles2-amdgpu-pro libgles2-amdgpu-pro:i386
  libllvm9.0-amdgpu libllvm9.0-amdgpu:i386 libomxil-bellagio-bin
  libomxil-bellagio0 libopencl1-amdgpu-pro libosmesa6-amdgpu
  libosmesa6-amdgpu:i386 libvdpau1:i386 libwayland-amdgpu-client0
  libwayland-amdgpu-client0:i386 libwayland-amdgpu-egl1
  libwayland-amdgpu-egl1:i386 libwayland-amdgpu-server0
  libwayland-amdgpu-server0:i386 libxatracker2-amdgpu
  libxatracker2-amdgpu:i386 mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers
  mesa-amdgpu-va-drivers:i386 mesa-amdgpu-vdpau-drivers
  mesa-amdgpu-vdpau-drivers:i386 mesa-vdpau-drivers:i386
  opencl-amdgpu-pro-comgr vdpau-driver-all:i386
  xserver-xorg-hwe-amdgpu-video-amdgpu
Suggested packages:
  libglide3 libglide3:i386 libomxil-bellagio0-components-base
  libvdpau-va-gl1:i386 nvidia-vdpau-driver:i386
  nvidia-legacy-340xx-vdpau-driver:i386
Recommended packages:
  libtxc-dxtn-s2tc0 | libtxc-dxtn0 libtxc-dxtn-s2tc0:i386 | libtxc-dxtn0:i386
The following NEW packages will be installed:
  amdgpu-core amdgpu-dkms amdgpu-hwe amdgpu-lib-hwe amdgpu-lib32
  amdgpu-pro-core amdgpu-pro-hwe amdgpu-pro-lib32 clinfo-amdgpu-pro
  gst-omx-amdgpu libdrm-amdgpu-amdgpu1 libdrm-amdgpu-amdgpu1:i386
  libdrm-amdgpu-common libdrm2-amdgpu libdrm2-amdgpu:i386 libegl1-amdgpu-mesa
  libegl1-amdgpu-mesa:i386 libegl1-amdgpu-mesa-drivers
  libegl1-amdgpu-mesa-drivers:i386 libegl1-amdgpu-pro libegl1-amdgpu-pro:i386
  libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri
  libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx
  libgl1-amdgpu-mesa-glx:i386 libgl1-amdgpu-pro-appprofiles
  libgl1-amdgpu-pro-dri libgl1-amdgpu-pro-dri:i386 libgl1-amdgpu-pro-ext-hwe
  libgl1-amdgpu-pro-glx libgl1-amdgpu-pro-glx:i386 libglapi-amdgpu-mesa
  libglapi-amdgpu-mesa:i386 libglapi1-amdgpu-pro libglapi1-amdgpu-pro:i386
  libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386 libgles2-amdgpu-mesa
  libgles2-amdgpu-mesa:i386 libgles2-amdgpu-pro libgles2-amdgpu-pro:i386
  libllvm9.0-amdgpu libllvm9.0-amdgpu:i386 libomxil-bellagio-bin
  libomxil-bellagio0 libopencl1-amdgpu-pro libosmesa6-amdgpu
  libosmesa6-amdgpu:i386 libvdpau1:i386 libwayland-amdgpu-client0
  libwayland-amdgpu-client0:i386 libwayland-amdgpu-egl1
  libwayland-amdgpu-egl1:i386 libwayland-amdgpu-server0
  libwayland-amdgpu-server0:i386 libxatracker2-amdgpu
  libxatracker2-amdgpu:i386 mesa-amdgpu-omx-drivers mesa-amdgpu-va-drivers
  mesa-amdgpu-va-drivers:i386 mesa-amdgpu-vdpau-drivers
  mesa-amdgpu-vdpau-drivers:i386 mesa-vdpau-drivers:i386
  opencl-amdgpu-pro-comgr opencl-amdgpu-pro-icd opencl-orca-amdgpu-pro-icd
  vdpau-driver-all:i386 vulkan-amdgpu-pro vulkan-amdgpu-pro:i386
  xserver-xorg-hwe-amdgpu-video-amdgpu
0 upgraded, 72 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/186 MB of archives.
After this operation, 1,212 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 19.50-967956 [2,220 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ amdgpu-dkms 19.50-967956 [9,864 kB]
Get:3 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.99-967956 [35.2 kB]
Get:4 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-common 1.0.0-967956 [4,600 B]
Get:5 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.99-967956 [20.6 kB]
Get:6 file:/var/opt/amdgpu-pro-local ./ libllvm9.0-amdgpu 1:9.0-967956 [13.8 MB]
Get:7 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-client0 1.15.0-967956 [20.8 kB]
Get:8 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-server0 1.15.0-967956 [26.2 kB]
Get:9 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-egl1 1.15.0-967956 [4,300 B]
Get:10 file:/var/opt/amdgpu-pro-local ./ libxatracker2-amdgpu 1:19.2.2-967956 [1,000 kB]
Get:11 file:/var/opt/amdgpu-pro-local ./ libgbm1-amdgpu 1:19.2.2-967956 [26.4 kB]
Get:12 file:/var/opt/amdgpu-pro-local ./ libglapi-amdgpu-mesa 1:19.2.2-967956 [24.1 kB]
Get:13 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa 1:19.2.2-967956 [103 kB]
Get:14 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa-drivers 1:19.2.2-967956 [4,624 B]
Get:15 file:/var/opt/amdgpu-pro-local ./ libgles1-amdgpu-mesa 1:19.2.2-967956 [8,672 B]
Get:16 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-mesa 1:19.2.2-967956 [12.3 kB]
Get:17 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-glx 1:19.2.2-967956 [144 kB]
Get:18 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-dri 1:19.2.2-967956 [7,048 kB]
Get:19 file:/var/opt/amdgpu-pro-local ./ libosmesa6-amdgpu 1:19.2.2-967956 [3,419 kB]
Get:20 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-va-drivers 1:19.2.2-967956 [2,166 kB]
Get:21 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-vdpau-drivers 1:19.2.2-967956 [2,494 kB]
Get:22 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-omx-drivers 1:19.2.2-967956 [2,176 kB]
Get:23 file:/var/opt/amdgpu-pro-local ./ xserver-xorg-hwe-amdgpu-video-amdgpu 1:19.0.1-967956 [57.8 kB]
Get:24 file:/var/opt/amdgpu-pro-local ./ gst-omx-amdgpu 1.0.0.1-967956 [57.9 kB]
Get:25 file:/var/opt/amdgpu-pro-local ./ amdgpu-lib-hwe 19.50-967956 [2,176 B]
Get:26 file:/var/opt/amdgpu-pro-local ./ amdgpu-hwe 19.50-967956 [1,968 B]
Get:27 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.99-967956 [37.7 kB]
Get:28 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.99-967956 [24.3 kB]
Get:29 file:/var/opt/amdgpu-pro-local ./ libllvm9.0-amdgpu 1:9.0-967956 [15.6 MB]
Get:30 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-client0 1.15.0-967956 [19.9 kB]
Get:31 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-server0 1.15.0-967956 [25.8 kB]
Get:32 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-egl1 1.15.0-967956 [4,324 B]
Get:33 file:/var/opt/amdgpu-pro-local ./ libxatracker2-amdgpu 1:19.2.2-967956 [854 kB]
Get:34 file:/var/opt/amdgpu-pro-local ./ libgbm1-amdgpu 1:19.2.2-967956 [28.1 kB]
Get:35 file:/var/opt/amdgpu-pro-local ./ libglapi-amdgpu-mesa 1:19.2.2-967956 [24.9 kB]
Get:36 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa 1:19.2.2-967956 [110 kB]
Get:37 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa-drivers 1:19.2.2-967956 [4,624 B]
Get:38 file:/var/opt/amdgpu-pro-local ./ libgles1-amdgpu-mesa 1:19.2.2-967956 [8,512 B]
Get:39 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-mesa 1:19.2.2-967956 [12.2 kB]
Get:40 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-glx 1:19.2.2-967956 [152 kB]
Get:41 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-dri 1:19.2.2-967956 [6,934 kB]
Get:42 file:/var/opt/amdgpu-pro-local ./ libosmesa6-amdgpu 1:19.2.2-967956 [3,247 kB]
Get:43 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-va-drivers 1:19.2.2-967956 [2,088 kB]
Get:44 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-vdpau-drivers 1:19.2.2-967956 [2,451 kB]
Get:45 file:/var/opt/amdgpu-pro-local ./ amdgpu-lib32 19.50-967956 [2,140 B]
Get:46 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-core 19.50-967956 [5,560 B]
Get:47 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-pro-appprofiles 19.50-967956 [21.8 kB]
Get:48 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-pro-glx 19.50-967956 [192 kB]
Get:49 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-pro 19.50-967956 [27.6 kB]
Get:50 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-pro 19.50-967956 [19.8 kB]
Get:51 file:/var/opt/amdgpu-pro-local ./ libglapi1-amdgpu-pro 19.50-967956 [75.7 kB]
Get:52 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-pro-ext-hwe 19.50-967956 [86.9 kB]
Get:53 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-pro-dri 19.50-967956 [9,684 kB]
Get:54 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-hwe 19.50-967956 [5,348 B]
Get:55 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-pro-glx 19.50-967956 [192 kB]
Get:56 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-pro 19.50-967956 [34.4 kB]
Get:57 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-pro 19.50-967956 [34.8 kB]
Get:58 file:/var/opt/amdgpu-pro-local ./ libglapi1-amdgpu-pro 19.50-967956 [64.1 kB]
Get:59 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-pro-dri 19.50-967956 [10.8 MB]
Get:60 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-lib32 19.50-967956 [5,364 B]
Get:61 file:/var/opt/amdgpu-pro-local ./ libopencl1-amdgpu-pro 19.50-967956 [13.3 kB]
Get:62 file:/var/opt/amdgpu-pro-local ./ clinfo-amdgpu-pro 19.50-967956 [149 kB]
Get:63 file:/var/opt/amdgpu-pro-local ./ opencl-amdgpu-pro-comgr 19.50-967956 [21.7 MB]
Get:64 file:/var/opt/amdgpu-pro-local ./ opencl-amdgpu-pro-icd 19.50-967956 [23.2 MB]
Get:65 file:/var/opt/amdgpu-pro-local ./ opencl-orca-amdgpu-pro-icd 19.50-967956 [31.3 MB]
Get:66 file:/var/opt/amdgpu-pro-local ./ vulkan-amdgpu-pro 19.50-967956 [5,739 kB]
Get:67 file:/var/opt/amdgpu-pro-local ./ vulkan-amdgpu-pro 19.50-967956 [5,831 kB]
Extracting templates from packages: 100%  
Selecting previously unselected package amdgpu-core.
(Reading database ... 515502 files and directories currently installed.)
Preparing to unpack .../00-amdgpu-core_19.50-967956_all.deb ...
Unpacking amdgpu-core (19.50-967956) ...
Selecting previously unselected package amdgpu-dkms.
Preparing to unpack .../01-amdgpu-dkms_19.50-967956_all.deb ...
Unpacking amdgpu-dkms (19.50-967956) ...
Selecting previously unselected package libdrm2-amdgpu:amd64.
Preparing to unpack .../02-libdrm2-amdgpu_2.4.99-967956_amd64.deb ...
Unpacking libdrm2-amdgpu:amd64 (1:2.4.99-967956) ...
Selecting previously unselected package libdrm-amdgpu-common.
Preparing to unpack .../03-libdrm-amdgpu-common_1.0.0-967956_all.deb ...
Unpacking libdrm-amdgpu-common (1.0.0-967956) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:amd64.
Preparing to unpack .../04-libdrm-amdgpu-amdgpu1_2.4.99-967956_amd64.deb ...
Unpacking libdrm-amdgpu-amdgpu1:amd64 (1:2.4.99-967956) ...
Selecting previously unselected package libllvm9.0-amdgpu:amd64.
Preparing to unpack .../05-libllvm9.0-amdgpu_9.0-967956_amd64.deb ...
Unpacking libllvm9.0-amdgpu:amd64 (1:9.0-967956) ...
Selecting previously unselected package libwayland-amdgpu-client0:amd64.
Preparing to unpack .../06-libwayland-amdgpu-client0_1.15.0-967956_amd64.deb ...
Unpacking libwayland-amdgpu-client0:amd64 (1.15.0-967956) ...
Selecting previously unselected package libwayland-amdgpu-server0:amd64.
Preparing to unpack .../07-libwayland-amdgpu-server0_1.15.0-967956_amd64.deb ...
Unpacking libwayland-amdgpu-server0:amd64 (1.15.0-967956) ...
Selecting previously unselected package libwayland-amdgpu-egl1:amd64.
Preparing to unpack .../08-libwayland-amdgpu-egl1_1.15.0-967956_amd64.deb ...
Unpacking libwayland-amdgpu-egl1:amd64 (1.15.0-967956) ...
Selecting previously unselected package libxatracker2-amdgpu:amd64.
Preparing to unpack .../09-libxatracker2-amdgpu_19.2.2-967956_amd64.deb ...
Unpacking libxatracker2-amdgpu:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libgbm1-amdgpu:amd64.
Preparing to unpack .../10-libgbm1-amdgpu_19.2.2-967956_amd64.deb ...
Unpacking libgbm1-amdgpu:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libglapi-amdgpu-mesa:amd64.
Preparing to unpack .../11-libglapi-amdgpu-mesa_19.2.2-967956_amd64.deb ...
Unpacking libglapi-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libegl1-amdgpu-mesa:amd64.
Preparing to unpack .../12-libegl1-amdgpu-mesa_19.2.2-967956_amd64.deb ...
Unpacking libegl1-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:amd64.
Preparing to unpack .../13-libegl1-amdgpu-mesa-drivers_19.2.2-967956_amd64.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libgles1-amdgpu-mesa:amd64.
Preparing to unpack .../14-libgles1-amdgpu-mesa_19.2.2-967956_amd64.deb ...
Unpacking libgles1-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libgles2-amdgpu-mesa:amd64.
Preparing to unpack .../15-libgles2-amdgpu-mesa_19.2.2-967956_amd64.deb ...
Unpacking libgles2-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:amd64.
Preparing to unpack .../16-libgl1-amdgpu-mesa-glx_19.2.2-967956_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-glx:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:amd64.
Preparing to unpack .../17-libgl1-amdgpu-mesa-dri_19.2.2-967956_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-dri:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libosmesa6-amdgpu:amd64.
Preparing to unpack .../18-libosmesa6-amdgpu_19.2.2-967956_amd64.deb ...
Unpacking libosmesa6-amdgpu:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:amd64.
Preparing to unpack .../19-mesa-amdgpu-va-drivers_19.2.2-967956_amd64.deb ...
Unpacking mesa-amdgpu-va-drivers:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:amd64.
Preparing to unpack .../20-mesa-amdgpu-vdpau-drivers_19.2.2-967956_amd64.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package libomxil-bellagio0.
Preparing to unpack .../21-libomxil-bellagio0_0.9.3-4_amd64.deb ...
Unpacking libomxil-bellagio0 (0.9.3-4) ...
Selecting previously unselected package mesa-amdgpu-omx-drivers:amd64.
Preparing to unpack .../22-mesa-amdgpu-omx-drivers_19.2.2-967956_amd64.deb ...
Unpacking mesa-amdgpu-omx-drivers:amd64 (1:19.2.2-967956) ...
Selecting previously unselected package xserver-xorg-hwe-amdgpu-video-amdgpu.
Preparing to unpack .../23-xserver-xorg-hwe-amdgpu-video-amdgpu_19.0.1-967956_amd64.deb ...
Unpacking xserver-xorg-hwe-amdgpu-video-amdgpu (1:19.0.1-967956) ...
Selecting previously unselected package gst-omx-amdgpu.
Preparing to unpack .../24-gst-omx-amdgpu_1.0.0.1-967956_amd64.deb ...
Unpacking gst-omx-amdgpu (1.0.0.1-967956) ...
Selecting previously unselected package amdgpu-lib-hwe.
Preparing to unpack .../25-amdgpu-lib-hwe_19.50-967956_amd64.deb ...
Unpacking amdgpu-lib-hwe (19.50-967956) ...
Selecting previously unselected package amdgpu-hwe.
Preparing to unpack .../26-amdgpu-hwe_19.50-967956_amd64.deb ...
Unpacking amdgpu-hwe (19.50-967956) ...
Selecting previously unselected package libdrm2-amdgpu:i386.
Preparing to unpack .../27-libdrm2-amdgpu_2.4.99-967956_i386.deb ...
Unpacking libdrm2-amdgpu:i386 (1:2.4.99-967956) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:i386.
Preparing to unpack .../28-libdrm-amdgpu-amdgpu1_2.4.99-967956_i386.deb ...
Unpacking libdrm-amdgpu-amdgpu1:i386 (1:2.4.99-967956) ...
Selecting previously unselected package libllvm9.0-amdgpu:i386.
Preparing to unpack .../29-libllvm9.0-amdgpu_9.0-967956_i386.deb ...
Unpacking libllvm9.0-amdgpu:i386 (1:9.0-967956) ...
Selecting previously unselected package libwayland-amdgpu-client0:i386.
Preparing to unpack .../30-libwayland-amdgpu-client0_1.15.0-967956_i386.deb ...
Unpacking libwayland-amdgpu-client0:i386 (1.15.0-967956) ...
Selecting previously unselected package libwayland-amdgpu-server0:i386.
Preparing to unpack .../31-libwayland-amdgpu-server0_1.15.0-967956_i386.deb ...
Unpacking libwayland-amdgpu-server0:i386 (1.15.0-967956) ...
Selecting previously unselected package libwayland-amdgpu-egl1:i386.
Preparing to unpack .../32-libwayland-amdgpu-egl1_1.15.0-967956_i386.deb ...
Unpacking libwayland-amdgpu-egl1:i386 (1.15.0-967956) ...
Selecting previously unselected package libxatracker2-amdgpu:i386.
Preparing to unpack .../33-libxatracker2-amdgpu_19.2.2-967956_i386.deb ...
Unpacking libxatracker2-amdgpu:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libgbm1-amdgpu:i386.
Preparing to unpack .../34-libgbm1-amdgpu_19.2.2-967956_i386.deb ...
Unpacking libgbm1-amdgpu:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libglapi-amdgpu-mesa:i386.
Preparing to unpack .../35-libglapi-amdgpu-mesa_19.2.2-967956_i386.deb ...
Unpacking libglapi-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libegl1-amdgpu-mesa:i386.
Preparing to unpack .../36-libegl1-amdgpu-mesa_19.2.2-967956_i386.deb ...
Unpacking libegl1-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:i386.
Preparing to unpack .../37-libegl1-amdgpu-mesa-drivers_19.2.2-967956_i386.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libgles1-amdgpu-mesa:i386.
Preparing to unpack .../38-libgles1-amdgpu-mesa_19.2.2-967956_i386.deb ...
Unpacking libgles1-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libgles2-amdgpu-mesa:i386.
Preparing to unpack .../39-libgles2-amdgpu-mesa_19.2.2-967956_i386.deb ...
Unpacking libgles2-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:i386.
Preparing to unpack .../40-libgl1-amdgpu-mesa-glx_19.2.2-967956_i386.deb ...
Unpacking libgl1-amdgpu-mesa-glx:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:i386.
Preparing to unpack .../41-libgl1-amdgpu-mesa-dri_19.2.2-967956_i386.deb ...
Unpacking libgl1-amdgpu-mesa-dri:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libosmesa6-amdgpu:i386.
Preparing to unpack .../42-libosmesa6-amdgpu_19.2.2-967956_i386.deb ...
Unpacking libosmesa6-amdgpu:i386 (1:19.2.2-967956) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:i386.
Preparing to unpack .../43-mesa-amdgpu-va-drivers_19.2.2-967956_i386.deb ...
Unpacking mesa-amdgpu-va-drivers:i386 (1:19.2.2-967956) ...
Selecting previously unselected package libvdpau1:i386.
Preparing to unpack .../44-libvdpau1_1.1.1-3ubuntu1_i386.deb ...
Unpacking libvdpau1:i386 (1.1.1-3ubuntu1) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:i386.
Preparing to unpack .../45-mesa-amdgpu-vdpau-drivers_19.2.2-967956_i386.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:i386 (1:19.2.2-967956) ...
Selecting previously unselected package amdgpu-lib32.
Preparing to unpack .../46-amdgpu-lib32_19.50-967956_amd64.deb ...
Unpacking amdgpu-lib32 (19.50-967956) ...
Selecting previously unselected package amdgpu-pro-core.
Preparing to unpack .../47-amdgpu-pro-core_19.50-967956_all.deb ...
Unpacking amdgpu-pro-core (19.50-967956) ...
Selecting previously unselected package libgl1-amdgpu-pro-appprofiles.
Preparing to unpack .../48-libgl1-amdgpu-pro-appprofiles_19.50-967956_all.deb ...
Unpacking libgl1-amdgpu-pro-appprofiles (19.50-967956) ...
Selecting previously unselected package libgl1-amdgpu-pro-glx:amd64.
Preparing to unpack .../49-libgl1-amdgpu-pro-glx_19.50-967956_amd64.deb ...
Unpacking libgl1-amdgpu-pro-glx:amd64 (19.50-967956) ...
Selecting previously unselected package libegl1-amdgpu-pro:amd64.
Preparing to unpack .../50-libegl1-amdgpu-pro_19.50-967956_amd64.deb ...
Unpacking libegl1-amdgpu-pro:amd64 (19.50-967956) ...
Selecting previously unselected package libgles2-amdgpu-pro:amd64.
Preparing to unpack .../51-libgles2-amdgpu-pro_19.50-967956_amd64.deb ...
Unpacking libgles2-amdgpu-pro:amd64 (19.50-967956) ...
Selecting previously unselected package libglapi1-amdgpu-pro:amd64.
Preparing to unpack .../52-libglapi1-amdgpu-pro_19.50-967956_amd64.deb ...
Unpacking libglapi1-amdgpu-pro:amd64 (19.50-967956) ...
Selecting previously unselected package libgl1-amdgpu-pro-ext-hwe:amd64.
Preparing to unpack .../53-libgl1-amdgpu-pro-ext-hwe_19.50-967956_amd64.deb ...
Unpacking libgl1-amdgpu-pro-ext-hwe:amd64 (19.50-967956) ...
Selecting previously unselected package libgl1-amdgpu-pro-dri:amd64.
Preparing to unpack .../54-libgl1-amdgpu-pro-dri_19.50-967956_amd64.deb ...
Unpacking libgl1-amdgpu-pro-dri:amd64 (19.50-967956) ...
Selecting previously unselected package amdgpu-pro-hwe.
Preparing to unpack .../55-amdgpu-pro-hwe_19.50-967956_amd64.deb ...
Unpacking amdgpu-pro-hwe (19.50-967956) ...
Selecting previously unselected package libgl1-amdgpu-pro-glx:i386.
Preparing to unpack .../56-libgl1-amdgpu-pro-glx_19.50-967956_i386.deb ...
Unpacking libgl1-amdgpu-pro-glx:i386 (19.50-967956) ...
Selecting previously unselected package libegl1-amdgpu-pro:i386.
Preparing to unpack .../57-libegl1-amdgpu-pro_19.50-967956_i386.deb ...
Unpacking libegl1-amdgpu-pro:i386 (19.50-967956) ...
Selecting previously unselected package libgles2-amdgpu-pro:i386.
Preparing to unpack .../58-libgles2-amdgpu-pro_19.50-967956_i386.deb ...
Unpacking libgles2-amdgpu-pro:i386 (19.50-967956) ...
Selecting previously unselected package libglapi1-amdgpu-pro:i386.
Preparing to unpack .../59-libglapi1-amdgpu-pro_19.50-967956_i386.deb ...
Unpacking libglapi1-amdgpu-pro:i386 (19.50-967956) ...
Selecting previously unselected package libgl1-amdgpu-pro-dri:i386.
Preparing to unpack .../60-libgl1-amdgpu-pro-dri_19.50-967956_i386.deb ...
Unpacking libgl1-amdgpu-pro-dri:i386 (19.50-967956) ...
Selecting previously unselected package amdgpu-pro-lib32.
Preparing to unpack .../61-amdgpu-pro-lib32_19.50-967956_amd64.deb ...
Unpacking amdgpu-pro-lib32 (19.50-967956) ...
Selecting previously unselected package libopencl1-amdgpu-pro:amd64.
Preparing to unpack .../62-libopencl1-amdgpu-pro_19.50-967956_amd64.deb ...
Unpacking libopencl1-amdgpu-pro:amd64 (19.50-967956) ...
Selecting previously unselected package clinfo-amdgpu-pro.
Preparing to unpack .../63-clinfo-amdgpu-pro_19.50-967956_amd64.deb ...
Unpacking clinfo-amdgpu-pro (19.50-967956) ...
Selecting previously unselected package mesa-vdpau-drivers:i386.
Preparing to unpack .../64-mesa-vdpau-drivers_19.2.1-1ubuntu1~18.04.1_i386.deb ...
Unpacking mesa-vdpau-drivers:i386 (19.2.1-1ubuntu1~18.04.1) ...
Selecting previously unselected package opencl-amdgpu-pro-comgr.
Preparing to unpack .../65-opencl-amdgpu-pro-comgr_19.50-967956_amd64.deb ...
Unpacking opencl-amdgpu-pro-comgr (19.50-967956) ...
Selecting previously unselected package opencl-amdgpu-pro-icd.
Preparing to unpack .../66-opencl-amdgpu-pro-icd_19.50-967956_amd64.deb ...
Unpacking opencl-amdgpu-pro-icd (19.50-967956) ...
Selecting previously unselected package opencl-orca-amdgpu-pro-icd:amd64.
Preparing to unpack .../67-opencl-orca-amdgpu-pro-icd_19.50-967956_amd64.deb ...
Unpacking opencl-orca-amdgpu-pro-icd:amd64 (19.50-967956) ...
Selecting previously unselected package vdpau-driver-all:i386.
Preparing to unpack .../68-vdpau-driver-all_1.1.1-3ubuntu1_i386.deb ...
Unpacking vdpau-driver-all:i386 (1.1.1-3ubuntu1) ...
Selecting previously unselected package vulkan-amdgpu-pro:i386.
Preparing to unpack .../69-vulkan-amdgpu-pro_19.50-967956_i386.deb ...
Unpacking vulkan-amdgpu-pro:i386 (19.50-967956) ...
Selecting previously unselected package vulkan-amdgpu-pro:amd64.
Preparing to unpack .../70-vulkan-amdgpu-pro_19.50-967956_amd64.deb ...
Unpacking vulkan-amdgpu-pro:amd64 (19.50-967956) ...
Selecting previously unselected package libomxil-bellagio-bin.
Preparing to unpack .../71-libomxil-bellagio-bin_0.9.3-4_amd64.deb ...
Unpacking libomxil-bellagio-bin (0.9.3-4) ...
Setting up libvdpau1:i386 (1.1.1-3ubuntu1) ...
Setting up amdgpu-core (19.50-967956) ...
Setting up libdrm-amdgpu-common (1.0.0-967956) ...
Setting up libwayland-amdgpu-server0:amd64 (1.15.0-967956) ...
Setting up libwayland-amdgpu-server0:i386 (1.15.0-967956) ...
Setting up libomxil-bellagio-bin (0.9.3-4) ...
Setting up libomxil-bellagio0 (0.9.3-4) ...
Setting up libwayland-amdgpu-egl1:amd64 (1.15.0-967956) ...
Setting up libwayland-amdgpu-egl1:i386 (1.15.0-967956) ...
Setting up libdrm2-amdgpu:amd64 (1:2.4.99-967956) ...
Setting up libdrm2-amdgpu:i386 (1:2.4.99-967956) ...
Setting up libwayland-amdgpu-client0:amd64 (1.15.0-967956) ...
Setting up libwayland-amdgpu-client0:i386 (1.15.0-967956) ...
Setting up amdgpu-dkms (19.50-967956) ...
Loading new amdgpu-19.50-967956 DKMS files...
Building for 5.3.0-26-generic
Building for architecture x86_64
Building initial module for 5.3.0-26-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/amdgpu-dkms.0.crash'
Error! Bad return status for module build on kernel: 5.3.0-26-generic (x86_64)
Consult /var/lib/dkms/amdgpu/19.50-967956/build/make.log for more information.
Setting up amdgpu-pro-core (19.50-967956) ...
Setting up libgl1-amdgpu-pro-appprofiles (19.50-967956) ...
Setting up libgbm1-amdgpu:amd64 (1:19.2.2-967956) ...
Setting up libgbm1-amdgpu:i386 (1:19.2.2-967956) ...
Setting up libllvm9.0-amdgpu:amd64 (1:9.0-967956) ...
Setting up libllvm9.0-amdgpu:i386 (1:9.0-967956) ...
Setting up mesa-vdpau-drivers:i386 (19.2.1-1ubuntu1~18.04.1) ...
Setting up libglapi-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Setting up libglapi-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Setting up libgles1-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Setting up libgles1-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.99-967956) ...
Setting up libdrm-amdgpu-amdgpu1:i386 (1:2.4.99-967956) ...
Setting up libxatracker2-amdgpu:amd64 (1:19.2.2-967956) ...
Setting up libxatracker2-amdgpu:i386 (1:19.2.2-967956) ...
Setting up libosmesa6-amdgpu:amd64 (1:19.2.2-967956) ...
Setting up libosmesa6-amdgpu:i386 (1:19.2.2-967956) ...
Setting up libgles2-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Setting up libgles2-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Setting up libgl1-amdgpu-mesa-dri:amd64 (1:19.2.2-967956) ...
Setting up libgl1-amdgpu-mesa-dri:i386 (1:19.2.2-967956) ...
Setting up libglapi1-amdgpu-pro:amd64 (19.50-967956) ...
Setting up libglapi1-amdgpu-pro:i386 (19.50-967956) ...
Setting up gst-omx-amdgpu (1.0.0.1-967956) ...
Setting up libgl1-amdgpu-pro-dri:amd64 (19.50-967956) ...
Setting up libgl1-amdgpu-pro-dri:i386 (19.50-967956) ...
Setting up mesa-amdgpu-omx-drivers:amd64 (1:19.2.2-967956) ...
Setting up libopencl1-amdgpu-pro:amd64 (19.50-967956) ...
Setting up libegl1-amdgpu-mesa:amd64 (1:19.2.2-967956) ...
Setting up libegl1-amdgpu-mesa:i386 (1:19.2.2-967956) ...
Setting up vdpau-driver-all:i386 (1.1.1-3ubuntu1) ...
Setting up opencl-orca-amdgpu-pro-icd:amd64 (19.50-967956) ...
Setting up vulkan-amdgpu-pro:i386 (19.50-967956) ...
Setting up vulkan-amdgpu-pro:amd64 (19.50-967956) ...
Setting up mesa-amdgpu-va-drivers:amd64 (1:19.2.2-967956) ...
Setting up mesa-amdgpu-va-drivers:i386 (1:19.2.2-967956) ...
Setting up libegl1-amdgpu-pro:amd64 (19.50-967956) ...
Setting up libegl1-amdgpu-pro:i386 (19.50-967956) ...
Setting up opencl-amdgpu-pro-comgr (19.50-967956) ...
Setting up libgl1-amdgpu-pro-glx:amd64 (19.50-967956) ...
Setting up libgl1-amdgpu-pro-glx:i386 (19.50-967956) ...
Setting up mesa-amdgpu-vdpau-drivers:amd64 (1:19.2.2-967956) ...
Setting up mesa-amdgpu-vdpau-drivers:i386 (1:19.2.2-967956) ...
Setting up libgl1-amdgpu-pro-ext-hwe:amd64 (19.50-967956) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:19.2.2-967956) ...
Setting up libgl1-amdgpu-mesa-glx:i386 (1:19.2.2-967956) ...
Setting up libgles2-amdgpu-pro:amd64 (19.50-967956) ...
Setting up libgles2-amdgpu-pro:i386 (19.50-967956) ...
Setting up xserver-xorg-hwe-amdgpu-video-amdgpu (1:19.0.1-967956) ...
Setting up clinfo-amdgpu-pro (19.50-967956) ...
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:19.2.2-967956) ...
Setting up libegl1-amdgpu-mesa-drivers:i386 (1:19.2.2-967956) ...
Setting up opencl-amdgpu-pro-icd (19.50-967956) ...
Setting up amdgpu-lib-hwe (19.50-967956) ...
Setting up amdgpu-lib32 (19.50-967956) ...
Setting up amdgpu-hwe (19.50-967956) ...
Setting up amdgpu-pro-hwe (19.50-967956) ...
Setting up amdgpu-pro-lib32 (19.50-967956) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
WARNING: amdgpu dkms failed for running kernel

5 Replies
azzkikr
Journeyman III

Same error here. Tried installing the driver on a 4.15 kernel to no avail. In /var/crash the following file is generated when building on 5.4 kernel.

ProblemType: Package
DKMSBuildLog:
 DKMS make.log for amdgpu-19.50-967956 for kernel 5.3.0-26-generic (x86_64)
 ma 27 jan 2020 23:45:11 CET
 make: Entering directory '/usr/src/linux-headers-5.3.0-26-generic'
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_drm.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/scheduler/sched_main.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_memory.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/main.o
 In file included from /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/../include/../backport/backport.h:8:0,
                  from <command-line>:0:
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h: In function ‘kcl_amdgpu_get_vblank_timestamp_kms’:
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:99:9: error: implicit declaration of function ‘amdgpu_get_vblank_timestamp_kms’; did you mean ‘kcl_amdgpu_get_vblank_timestamp_kms’? [-Werror=implicit-function-declaration]
   return amdgpu_get_vblank_timestamp_kms(dev, pipe, max_error, vblank_time, flags);
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          kcl_amdgpu_get_vblank_timestamp_kms
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_tt.o
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.c: At top level:
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.c:1449:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   .get_vblank_timestamp = kcl_amdgpu_get_vblank_timestamp_kms,
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.c:1449:26: note: (near initialization for ‘kms_driver.get_vblank_timestamp’)
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.c:1450:26: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
   .get_scanout_position = kcl_amdgpu_get_crtc_scanout_position,
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.c:1450:26: note: (near initialization for ‘kms_driver.get_scanout_position’)
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/scheduler/sched_fence.o
 cc1: some warnings being treated as errors
 scripts/Makefile.build:288: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.o' failed
 make[2]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/amdgpu_drv.o] Error 1
 scripts/Makefile.build:519: recipe for target '/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu' failed
 make[1]: *** [/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu] Error 2
 make[1]: *** Waiting for unfinished jobs....
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/scheduler/sched_entity.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/symbols.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_fence.o
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_fence.c:63:1: warning: ‘dma_fence_test_signaled_any’ defined but not used [-Wunused-function]
  dma_fence_test_signaled_any(struct dma_fence **fences, uint32_t count,
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_fence_array.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_bo.o
   LD   /var/lib/dkms/amdgpu/19.50-967956/build/scheduler/amd-sched.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_drm_cache.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_bo_util.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_bo_vm.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_reservation.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_module.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_device_cgroup.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_execbuf_util.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_page_alloc.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_pci.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_bo_manager.o
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_pci.c: In function ‘amdkcl_pci_init’:
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_pci.c:189:84: warning: passing argument 2 of ‘amdkcl_fp_setup’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   _kcl_pcie_link_speed = (const unsigned char *) amdkcl_fp_setup("pcie_link_speed", _kcl_pcie_link_speed_stub);
                                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
 In file included from /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_pci.c:3:0:
 /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_common.h:23:21: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
  static inline void *amdkcl_fp_setup(const char *symbol, void *fp_stup)
                      ^~~~~~~~~~~~~~~
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_suspend.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_perf_event.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_kthread.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_page_alloc_dma.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/ttm_agp_backend.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_mm.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_mn.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_io.o
   CC   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/kcl_workqueue.o
   LD   /var/lib/dkms/amdgpu/19.50-967956/build/amd/amdkcl/amdkcl.o
   LD   /var/lib/dkms/amdgpu/19.50-967956/build/ttm/amdttm.o
 Makefile:1655: recipe for target '_module_/var/lib/dkms/amdgpu/19.50-967956/build' failed
 make: *** [_module_/var/lib/dkms/amdgpu/19.50-967956/build] Error 2
 make: Leaving directory '/usr/src/linux-headers-5.3.0-26-generic'
DKMSKernelVersion: 5.3.0-26-generic
Date: Mon Jan 27 23:45:20 2020
DuplicateSignature: dkms:amdgpu-dkms:19.50-967956:/var/lib/dkms/amdgpu/19.50-967956/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:99:9: error: implicit declaration of function ‘amdgpu_get_vblank_timestamp_kms’; did you mean ‘kcl_amdgpu_get_vblank_timestamp_kms’? [-Werror=implicit-function-declaration]
Package: amdgpu-dkms 19.50-967956
PackageVersion: 19.50-967956
SourcePackage: amdgpu-dkms
Title: amdgpu-dkms 19.50-967956: amdgpu kernel module failed to build
0 Likes
hollowkernel
Journeyman III

I get a similar failure with Linux kernel 5.5.x, which is the kernel that allows maximum performance out of the Radeon RX 5700XT.

0 Likes
tscolari
Journeyman III

Having the same issue here... Kernel 5.3.0-42 (Ubuntu).

notreunity
Journeyman III

Hello, I had the same issue, I'm running Ubuntu 18.04.4 with kernel version 5.3.0-42 it looks like DMKS is the problematic package on this version, it can not compile on kernel > 4.15

To fix this issue you can try installing the driver with

./amdgpu-pro-install --no-dkms

In my case, since I only needed the OpenCL stuff to use in Blender I used this command instead

./amdgpu-pro-install --opencl=pal,legacy --headless --no-dkms

I got this information on this unix.stackexchange question

makeitwork
Adept II

I ended up running an older kernel just to have the latest amdgpu-pro driver, until the most recent update which included support for Ubuntu 18.04-HWE - now I'm running amdgpu-pro revision 20.10 on kernel 5.3.0-46-generic with no compilation problems.