cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

jgoin
Newcomer

Is there a known resolution for installing AMD drivers on Ubuntu 18.04?

After spending almost an entire day looking up drivers and related problems for Radeon HD family of cards as well as trying to understand if there was a problem with Ubuntu 18.04 specifically, I'm posting my question here in the hopes that an AMD Driver Developer will take notice and answer.

I'm currently running the below kernel version:

$ uname -a
Linux jgoin-ubuntu 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I've attempted several times to install the Radeon drivers using the instructions outlined on the ReadTheDocs page.  The card I'm trying to install drivers for shows up as part of lspci output:

$ lspci -nn | grep Radeon
10:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850 / R7 265 / R9 270 1024SP] [1002:6819]
10:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] [1002:aab0]

However, installing the drivers results in dkms failing:

$ ./amdgpu-install -y
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 [130 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:10 http://dl.google.com/linux/chrome/deb stable Release
Hit:11 http://repository.spotify.com stable InRelease
Fetched 252 kB in 1s (395 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '18.50-725072' (localhost [all]) for 'amdgpu-pro-pin'
The following packages were automatically installed and are no longer required:
libbsd0:i386 libdrm-amdgpu1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libllvm7:i386 libomxil-bellagio-bin libomxil-bellagio0 libsensors4:i386 libstdc++6:i386 libva2:i386 libvdpau1:i386 libx11-6:i386
libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxshmfence1:i386 libxxf86vm1:i386
mesa-vdpau-drivers:i386 vdpau-driver-all:i386
Use 'sudo apt autoremove' to remove them.
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/5,976 B of archives.
After this operation, 29.7 kB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-pin 18.50-725072 [5,976 B]
Selecting previously unselected package amdgpu-pro-pin.
(Reading database ... 149076 files and directories currently installed.)
Preparing to unpack .../amdgpu-pro-pin_18.50-725072_all.deb ...
Unpacking amdgpu-pro-pin (18.50-725072) ...
Setting up amdgpu-pro-pin (18.50-725072) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amdgpu-core amdgpu-lib glamor-amdgpu 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
libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx libgl1-amdgpu-mesa-glx:i386 libglapi-amdgpu-mesa libglapi-amdgpu-mesa:i386 libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386 libgles2-amdgpu-mesa
libgles2-amdgpu-mesa:i386 libllvm7.0-amdgpu libllvm7.0-amdgpu:i386 libosmesa6-amdgpu libosmesa6-amdgpu: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 xserver-xorg-amdgpu-video-amdgpu
Suggested packages:
libglide3 libglide3:i386
Recommended packages:
libtxc-dxtn-s2tc0 | libtxc-dxtn0 libtxc-dxtn-s2tc0:i386 | libtxc-dxtn0:i386
The following NEW packages will be installed:
amdgpu amdgpu-core amdgpu-dkms amdgpu-lib amdgpu-lib32 glamor-amdgpu 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 libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx libgl1-amdgpu-mesa-glx:i386 libglapi-amdgpu-mesa libglapi-amdgpu-mesa:i386 libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386
libgles2-amdgpu-mesa libgles2-amdgpu-mesa:i386 libllvm7.0-amdgpu libllvm7.0-amdgpu:i386 libosmesa6-amdgpu libosmesa6-amdgpu: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 xserver-xorg-amdgpu-video-amdgpu
0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.6 MB of archives.
After this operation, 492 MB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.50-725072 [2,348 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ amdgpu-dkms 18.50-725072 [7,005 kB]
Get:3 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.95-725072 [30.7 kB]
Get:4 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-common 1.0.0-725072 [4,488 B]
Get:5 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.95-725072 [17.8 kB]
Get:6 file:/var/opt/amdgpu-pro-local ./ libllvm7.0-amdgpu 1:7.0-725072 [11.9 MB]
Get:7 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-client0 1.15.0-725072 [20.8 kB]
Get:8 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-server0 1.15.0-725072 [26.2 kB]
Get:9 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-egl1 1.15.0-725072 [4,312 B]
Get:10 file:/var/opt/amdgpu-pro-local ./ libxatracker2-amdgpu 1:18.2.0-725072 [187 kB]
Get:11 file:/var/opt/amdgpu-pro-local ./ libgbm1-amdgpu 1:18.2.0-725072 [23.6 kB]
Get:12 file:/var/opt/amdgpu-pro-local ./ libglapi-amdgpu-mesa 1:18.2.0-725072 [23.0 kB]
Get:13 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa 1:18.2.0-725072 [75.8 kB]
Get:14 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa-drivers 1:18.2.0-725072 [4,640 B]
Get:15 file:/var/opt/amdgpu-pro-local ./ libgles1-amdgpu-mesa 1:18.2.0-725072 [8,504 B]
Get:16 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-mesa 1:18.2.0-725072 [12.0 kB]
Get:17 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-glx 1:18.2.0-725072 [121 kB]
Get:18 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-dri 1:18.2.0-725072 [4,003 kB]
Get:19 file:/var/opt/amdgpu-pro-local ./ libosmesa6-amdgpu 1:18.2.0-725072 [1,257 kB]
Get:20 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-va-drivers 1:18.2.0-725072 [1,119 kB]
Get:21 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-vdpau-drivers 1:18.2.0-725072 [1,339 kB]
Get:22 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-omx-drivers 1:18.2.0-725072 [1,113 kB]
Get:23 file:/var/opt/amdgpu-pro-local ./ glamor-amdgpu 1.19.0-725072 [69.7 kB]
Get:24 file:/var/opt/amdgpu-pro-local ./ xserver-xorg-amdgpu-video-amdgpu 1:18.1.99-725072 [56.3 kB]
Get:25 file:/var/opt/amdgpu-pro-local ./ gst-omx-amdgpu 1.0.0.1-725072 [58.0 kB]
Get:26 file:/var/opt/amdgpu-pro-local ./ amdgpu-lib 18.50-725072 [2,196 B]
Get:27 file:/var/opt/amdgpu-pro-local ./ amdgpu 18.50-725072 [1,972 B]
Get:28 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.95-725072 [31.9 kB]
Get:29 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.95-725072 [19.9 kB]
Get:30 file:/var/opt/amdgpu-pro-local ./ libllvm7.0-amdgpu 1:7.0-725072 [13.4 MB]
Get:31 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-client0 1.15.0-725072 [19.9 kB]
Get:32 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-server0 1.15.0-725072 [25.8 kB]
Get:33 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-egl1 1.15.0-725072 [4,340 B]
Get:34 file:/var/opt/amdgpu-pro-local ./ libxatracker2-amdgpu 1:18.2.0-725072 [196 kB]
Get:35 file:/var/opt/amdgpu-pro-local ./ libgbm1-amdgpu 1:18.2.0-725072 [23.6 kB]
Get:36 file:/var/opt/amdgpu-pro-local ./ libglapi-amdgpu-mesa 1:18.2.0-725072 [22.9 kB]
Get:37 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa 1:18.2.0-725072 [77.8 kB]
Get:38 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa-drivers 1:18.2.0-725072 [4,640 B]
Get:39 file:/var/opt/amdgpu-pro-local ./ libgles1-amdgpu-mesa 1:18.2.0-725072 [8,428 B]
Get:40 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-mesa 1:18.2.0-725072 [11.8 kB]
Get:41 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-glx 1:18.2.0-725072 [122 kB]
Get:42 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-dri 1:18.2.0-725072 [4,153 kB]
Get:43 file:/var/opt/amdgpu-pro-local ./ libosmesa6-amdgpu 1:18.2.0-725072 [1,286 kB]
Get:44 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-va-drivers 1:18.2.0-725072 [1,197 kB]
Get:45 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-vdpau-drivers 1:18.2.0-725072 [1,427 kB]
Get:46 file:/var/opt/amdgpu-pro-local ./ amdgpu-lib32 18.50-725072 [2,148 B]
Extracting templates from packages: 100%
Selecting previously unselected package amdgpu-core.
(Reading database ... 149080 files and directories currently installed.)
Preparing to unpack .../00-amdgpu-core_18.50-725072_all.deb ...
Unpacking amdgpu-core (18.50-725072) ...
Selecting previously unselected package amdgpu-dkms.
Preparing to unpack .../01-amdgpu-dkms_18.50-725072_all.deb ...
Unpacking amdgpu-dkms (18.50-725072) ...
Selecting previously unselected package libdrm2-amdgpu:amd64.
Preparing to unpack .../02-libdrm2-amdgpu_2.4.95-725072_amd64.deb ...
Unpacking libdrm2-amdgpu:amd64 (1:2.4.95-725072) ...
Selecting previously unselected package libdrm-amdgpu-common.
Preparing to unpack .../03-libdrm-amdgpu-common_1.0.0-725072_all.deb ...
Unpacking libdrm-amdgpu-common (1.0.0-725072) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:amd64.
Preparing to unpack .../04-libdrm-amdgpu-amdgpu1_2.4.95-725072_amd64.deb ...
Unpacking libdrm-amdgpu-amdgpu1:amd64 (1:2.4.95-725072) ...
Selecting previously unselected package libllvm7.0-amdgpu:amd64.
Preparing to unpack .../05-libllvm7.0-amdgpu_7.0-725072_amd64.deb ...
Unpacking libllvm7.0-amdgpu:amd64 (1:7.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-client0:amd64.
Preparing to unpack .../06-libwayland-amdgpu-client0_1.15.0-725072_amd64.deb ...
Unpacking libwayland-amdgpu-client0:amd64 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-server0:amd64.
Preparing to unpack .../07-libwayland-amdgpu-server0_1.15.0-725072_amd64.deb ...
Unpacking libwayland-amdgpu-server0:amd64 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-egl1:amd64.
Preparing to unpack .../08-libwayland-amdgpu-egl1_1.15.0-725072_amd64.deb ...
Unpacking libwayland-amdgpu-egl1:amd64 (1.15.0-725072) ...
Selecting previously unselected package libxatracker2-amdgpu:amd64.
Preparing to unpack .../09-libxatracker2-amdgpu_18.2.0-725072_amd64.deb ...
Unpacking libxatracker2-amdgpu:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgbm1-amdgpu:amd64.
Preparing to unpack .../10-libgbm1-amdgpu_18.2.0-725072_amd64.deb ...
Unpacking libgbm1-amdgpu:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libglapi-amdgpu-mesa:amd64.
Preparing to unpack .../11-libglapi-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libglapi-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa:amd64.
Preparing to unpack .../12-libegl1-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libegl1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:amd64.
Preparing to unpack .../13-libegl1-amdgpu-mesa-drivers_18.2.0-725072_amd64.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgles1-amdgpu-mesa:amd64.
Preparing to unpack .../14-libgles1-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libgles1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgles2-amdgpu-mesa:amd64.
Preparing to unpack .../15-libgles2-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libgles2-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:amd64.
Preparing to unpack .../16-libgl1-amdgpu-mesa-glx_18.2.0-725072_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-glx:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:amd64.
Preparing to unpack .../17-libgl1-amdgpu-mesa-dri_18.2.0-725072_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-dri:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libosmesa6-amdgpu:amd64.
Preparing to unpack .../18-libosmesa6-amdgpu_18.2.0-725072_amd64.deb ...
Unpacking libosmesa6-amdgpu:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:amd64.
Preparing to unpack .../19-mesa-amdgpu-va-drivers_18.2.0-725072_amd64.deb ...
Unpacking mesa-amdgpu-va-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:amd64.
Preparing to unpack .../20-mesa-amdgpu-vdpau-drivers_18.2.0-725072_amd64.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-omx-drivers:amd64.
Preparing to unpack .../21-mesa-amdgpu-omx-drivers_18.2.0-725072_amd64.deb ...
Unpacking mesa-amdgpu-omx-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package glamor-amdgpu:amd64.
Preparing to unpack .../22-glamor-amdgpu_1.19.0-725072_amd64.deb ...
Unpacking glamor-amdgpu:amd64 (1.19.0-725072) ...
Selecting previously unselected package xserver-xorg-amdgpu-video-amdgpu.
Preparing to unpack .../23-xserver-xorg-amdgpu-video-amdgpu_18.1.99-725072_amd64.deb ...
Unpacking xserver-xorg-amdgpu-video-amdgpu (1:18.1.99-725072) ...
Selecting previously unselected package gst-omx-amdgpu.
Preparing to unpack .../24-gst-omx-amdgpu_1.0.0.1-725072_amd64.deb ...
Unpacking gst-omx-amdgpu (1.0.0.1-725072) ...
Selecting previously unselected package amdgpu-lib.
Preparing to unpack .../25-amdgpu-lib_18.50-725072_amd64.deb ...
Unpacking amdgpu-lib (18.50-725072) ...
Selecting previously unselected package amdgpu.
Preparing to unpack .../26-amdgpu_18.50-725072_amd64.deb ...
Unpacking amdgpu (18.50-725072) ...
Selecting previously unselected package libdrm2-amdgpu:i386.
Preparing to unpack .../27-libdrm2-amdgpu_2.4.95-725072_i386.deb ...
Unpacking libdrm2-amdgpu:i386 (1:2.4.95-725072) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:i386.
Preparing to unpack .../28-libdrm-amdgpu-amdgpu1_2.4.95-725072_i386.deb ...
Unpacking libdrm-amdgpu-amdgpu1:i386 (1:2.4.95-725072) ...
Selecting previously unselected package libllvm7.0-amdgpu:i386.
Preparing to unpack .../29-libllvm7.0-amdgpu_7.0-725072_i386.deb ...
Unpacking libllvm7.0-amdgpu:i386 (1:7.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-client0:i386.
Preparing to unpack .../30-libwayland-amdgpu-client0_1.15.0-725072_i386.deb ...
Unpacking libwayland-amdgpu-client0:i386 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-server0:i386.
Preparing to unpack .../31-libwayland-amdgpu-server0_1.15.0-725072_i386.deb ...
Unpacking libwayland-amdgpu-server0:i386 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-egl1:i386.
Preparing to unpack .../32-libwayland-amdgpu-egl1_1.15.0-725072_i386.deb ...
Unpacking libwayland-amdgpu-egl1:i386 (1.15.0-725072) ...
Selecting previously unselected package libxatracker2-amdgpu:i386.
Preparing to unpack .../33-libxatracker2-amdgpu_18.2.0-725072_i386.deb ...
Unpacking libxatracker2-amdgpu:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgbm1-amdgpu:i386.
Preparing to unpack .../34-libgbm1-amdgpu_18.2.0-725072_i386.deb ...
Unpacking libgbm1-amdgpu:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libglapi-amdgpu-mesa:i386.
Preparing to unpack .../35-libglapi-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libglapi-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa:i386.
Preparing to unpack .../36-libegl1-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libegl1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:i386.
Preparing to unpack .../37-libegl1-amdgpu-mesa-drivers_18.2.0-725072_i386.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgles1-amdgpu-mesa:i386.
Preparing to unpack .../38-libgles1-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libgles1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgles2-amdgpu-mesa:i386.
Preparing to unpack .../39-libgles2-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libgles2-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:i386.
Preparing to unpack .../40-libgl1-amdgpu-mesa-glx_18.2.0-725072_i386.deb ...
Unpacking libgl1-amdgpu-mesa-glx:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:i386.
Preparing to unpack .../41-libgl1-amdgpu-mesa-dri_18.2.0-725072_i386.deb ...
Unpacking libgl1-amdgpu-mesa-dri:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libosmesa6-amdgpu:i386.
Preparing to unpack .../42-libosmesa6-amdgpu_18.2.0-725072_i386.deb ...
Unpacking libosmesa6-amdgpu:i386 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:i386.
Preparing to unpack .../43-mesa-amdgpu-va-drivers_18.2.0-725072_i386.deb ...
Unpacking mesa-amdgpu-va-drivers:i386 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:i386.
Preparing to unpack .../44-mesa-amdgpu-vdpau-drivers_18.2.0-725072_i386.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:i386 (1:18.2.0-725072) ...
Selecting previously unselected package amdgpu-lib32.
Preparing to unpack .../45-amdgpu-lib32_18.50-725072_amd64.deb ...
Unpacking amdgpu-lib32 (18.50-725072) ...
Setting up amdgpu-core (18.50-725072) ...
Setting up libdrm-amdgpu-common (1.0.0-725072) ...
Setting up libwayland-amdgpu-server0:amd64 (1.15.0-725072) ...
Setting up libwayland-amdgpu-server0:i386 (1.15.0-725072) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up gst-omx-amdgpu (1.0.0.1-725072) ...
Setting up libwayland-amdgpu-egl1:amd64 (1.15.0-725072) ...
Setting up libwayland-amdgpu-egl1:i386 (1.15.0-725072) ...
Setting up libdrm2-amdgpu:amd64 (1:2.4.95-725072) ...
Setting up libdrm2-amdgpu:i386 (1:2.4.95-725072) ...
Setting up libwayland-amdgpu-client0:amd64 (1.15.0-725072) ...
Setting up libwayland-amdgpu-client0:i386 (1.15.0-725072) ...
Setting up libllvm7.0-amdgpu:amd64 (1:7.0-725072) ...
Setting up libllvm7.0-amdgpu:i386 (1:7.0-725072) ...
Setting up amdgpu-dkms (18.50-725072) ...
Loading new amdgpu-18.50-725072 DKMS files...
Building for 4.18.0-15-generic
Building for architecture x86_64
Building initial module for 4.18.0-15-generic
Error! Bad return status for module build on kernel: 4.18.0-15-generic (x86_64)
Consult /var/lib/dkms/amdgpu/18.50-725072/build/make.log for more information.
Setting up glamor-amdgpu:amd64 (1.19.0-725072) ...
Setting up libgbm1-amdgpu:amd64 (1:18.2.0-725072) ...
Setting up libgbm1-amdgpu:i386 (1:18.2.0-725072) ...
Setting up libglapi-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libglapi-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up libgles1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libgles1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.95-725072) ...
Setting up libdrm-amdgpu-amdgpu1:i386 (1:2.4.95-725072) ...
Setting up libxatracker2-amdgpu:amd64 (1:18.2.0-725072) ...
Setting up libxatracker2-amdgpu:i386 (1:18.2.0-725072) ...
Setting up libosmesa6-amdgpu:amd64 (1:18.2.0-725072) ...
Setting up libosmesa6-amdgpu:i386 (1:18.2.0-725072) ...
Setting up libgles2-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libgles2-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-dri:amd64 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-dri:i386 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-omx-drivers:amd64 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-va-drivers:amd64 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-va-drivers:i386 (1:18.2.0-725072) ...
Setting up xserver-xorg-amdgpu-video-amdgpu (1:18.1.99-725072) ...
Setting up mesa-amdgpu-vdpau-drivers:amd64 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-vdpau-drivers:i386 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-glx:i386 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa-drivers:i386 (1:18.2.0-725072) ...
Setting up amdgpu-lib (18.50-725072) ...
Setting up amdgpu (18.50-725072) ...
Setting up amdgpu-lib32 (18.50-725072) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
WARNING: amdgpu dkms failed for running kernel

From the make.log:

$ cat /var/lib/dkms/amdgpu/18.50-725072/build/make.log
DKMS make.log for amdgpu-18.50-725072 for kernel 4.18.0-15-generic (x86_64)
Fri Feb 15 16:10:40 EST 2019
make: Entering directory '/usr/src/linux-headers-4.18.0-15-generic'
Makefile:970: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_drm.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/sched_main.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/lib/chash.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_drv.o
LD /var/lib/dkms/amdgpu/18.50-725072/build/amd/lib/amdchash.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.o
In file included from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
};
^
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/main.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_fence.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/symbols.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/sched_fence.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_fence_array.o
In file included from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
};
^
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.c: In function ‘amdgpu_device_get_pcie_info’:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.c:3487:15: error: implicit declaration of function ‘pcie_get_speed_cap’; did you mean ‘pci_find_saved_cap’? [-Werror=implicit-function-declaration]
speed_cap = pcie_get_speed_cap(pdev);
^~~~~~~~~~~~~~~~~~
pci_find_saved_cap
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_kthread.o
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.c:3534:16: error: implicit declaration of function ‘pcie_get_width_cap’; did you mean ‘pci_get_device’? [-Werror=implicit-function-declaration]
link_width = pcie_get_width_cap(pdev);
^~~~~~~~~~~~~~~~~~
pci_get_device
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_fence.c:84:1: warning: ‘_kcl_fence_default_wait’ defined but not used [-Wunused-function]
_kcl_fence_default_wait(struct fence *fence, bool intr, signed long timeout)
^~~~~~~~~~~~~~~~~~~~~~~
CC /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/sched_entity.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_kms.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_io.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_reservation.o
In file included from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
};
^
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_drm_global.o
LD /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/amd-sched.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_memory.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_pci.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_mn.o
scripts/Makefile.build:581: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu] Error 2
make[1]: *** Waiting for unfinished jobs....
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_tt.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_bitmap.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.o
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_memory.c:29:0: warning: "pr_fmt" redefined
#define pr_fmt(fmt) "[TTM] " fmt

In file included from ./include/linux/kernel.h:14:0,
from ./include/linux/list.h:9,
from ./include/linux/wait.h:7,
from ./include/linux/dma-fence.h:25,
from /var/lib/dkms/amdgpu/18.50-725072/build/include/kcl/kcl_fence.h:12,
from /var/lib/dkms/amdgpu/18.50-725072/build/ttm/backport/backport.h:5,
from <command-line>:0:
./include/linux/printk.h:292:0: note: this is the location of the previous definition
#define pr_fmt(fmt) fmt

LD /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/amdkcl.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo_util.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo_vm.o
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.c: In function ‘ttm_bo_bulk_move_lru_tail’:
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.c:272:3: error: implicit declaration of function ‘list_bulk_move_tail’; did you mean ‘list_move_tail’? [-Werror=implicit-function-declaration]
list_bulk_move_tail(&man->lru, &pos->first->lru,
^~~~~~~~~~~~~~~~~~~
list_move_tail
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_module.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_object.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_lock.o
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_object.c:60:0: warning: "pr_fmt" redefined
#define pr_fmt(fmt) "[TTM] " fmt

In file included from ./include/linux/kernel.h:14:0,
from ./include/linux/list.h:9,
from ./include/linux/wait.h:7,
from ./include/linux/dma-fence.h:25,
from /var/lib/dkms/amdgpu/18.50-725072/build/include/kcl/kcl_fence.h:12,
from /var/lib/dkms/amdgpu/18.50-725072/build/ttm/backport/backport.h:5,
from <command-line>:0:
./include/linux/printk.h:292:0: note: this is the location of the previous definition
#define pr_fmt(fmt) fmt

scripts/Makefile.build:581: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/ttm' failed
make[1]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/ttm] Error 2
Makefile:1534: recipe for target '_module_/var/lib/dkms/amdgpu/18.50-725072/build' failed
make: *** [_module_/var/lib/dkms/amdgpu/18.50-725072/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic'

I did happen to notice that a package was mentioned as being missing: "libelf-dev".  I installed it and tried again.

$ ./amdgpu-install -y
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 [130 kB]
Hit:5 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Ign:8 http://dl.google.com/linux/chrome/deb stable InRelease
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:10 http://dl.google.com/linux/chrome/deb stable Release
Hit:11 http://repository.spotify.com stable InRelease
Fetched 252 kB in 1s (399 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Selected version '18.50-725072' (localhost [all]) for 'amdgpu-pro-pin'
The following packages were automatically installed and are no longer required:
libbsd0:i386 libdrm-amdgpu1:i386 libdrm-nouveau2:i386 libdrm-radeon1:i386 libdrm2:i386 libedit2:i386 libelf1:i386 libexpat1:i386 libffi6:i386 libllvm7:i386 libomxil-bellagio-bin libomxil-bellagio0 libsensors4:i386 libstdc++6:i386 libva2:i386 libvdpau1:i386 libx11-6:i386
libx11-xcb1:i386 libxau6:i386 libxcb-dri2-0:i386 libxcb-dri3-0:i386 libxcb-glx0:i386 libxcb-present0:i386 libxcb-sync1:i386 libxcb-xfixes0:i386 libxcb1:i386 libxdamage1:i386 libxdmcp6:i386 libxext6:i386 libxfixes3:i386 libxshmfence1:i386 libxxf86vm1:i386
mesa-vdpau-drivers:i386 vdpau-driver-all:i386
Use 'sudo apt autoremove' to remove them.
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/5,976 B of archives.
After this operation, 29.7 kB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-pro-pin 18.50-725072 [5,976 B]
Selecting previously unselected package amdgpu-pro-pin.
(Reading database ... 149116 files and directories currently installed.)
Preparing to unpack .../amdgpu-pro-pin_18.50-725072_all.deb ...
Unpacking amdgpu-pro-pin (18.50-725072) ...
Setting up amdgpu-pro-pin (18.50-725072) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
amdgpu-core amdgpu-lib glamor-amdgpu 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
libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx libgl1-amdgpu-mesa-glx:i386 libglapi-amdgpu-mesa libglapi-amdgpu-mesa:i386 libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386 libgles2-amdgpu-mesa
libgles2-amdgpu-mesa:i386 libllvm7.0-amdgpu libllvm7.0-amdgpu:i386 libosmesa6-amdgpu libosmesa6-amdgpu: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 xserver-xorg-amdgpu-video-amdgpu
Suggested packages:
libglide3 libglide3:i386
Recommended packages:
libtxc-dxtn-s2tc0 | libtxc-dxtn0 libtxc-dxtn-s2tc0:i386 | libtxc-dxtn0:i386
The following NEW packages will be installed:
amdgpu amdgpu-core amdgpu-dkms amdgpu-lib amdgpu-lib32 glamor-amdgpu 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 libgbm1-amdgpu libgbm1-amdgpu:i386 libgl1-amdgpu-mesa-dri libgl1-amdgpu-mesa-dri:i386 libgl1-amdgpu-mesa-glx libgl1-amdgpu-mesa-glx:i386 libglapi-amdgpu-mesa libglapi-amdgpu-mesa:i386 libgles1-amdgpu-mesa libgles1-amdgpu-mesa:i386
libgles2-amdgpu-mesa libgles2-amdgpu-mesa:i386 libllvm7.0-amdgpu libllvm7.0-amdgpu:i386 libosmesa6-amdgpu libosmesa6-amdgpu: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 xserver-xorg-amdgpu-video-amdgpu
0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/50.6 MB of archives.
After this operation, 492 MB of additional disk space will be used.
Get:1 file:/var/opt/amdgpu-pro-local ./ amdgpu-core 18.50-725072 [2,348 B]
Get:2 file:/var/opt/amdgpu-pro-local ./ amdgpu-dkms 18.50-725072 [7,005 kB]
Get:3 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.95-725072 [30.7 kB]
Get:4 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-common 1.0.0-725072 [4,488 B]
Get:5 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.95-725072 [17.8 kB]
Get:6 file:/var/opt/amdgpu-pro-local ./ libllvm7.0-amdgpu 1:7.0-725072 [11.9 MB]
Get:7 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-client0 1.15.0-725072 [20.8 kB]
Get:8 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-server0 1.15.0-725072 [26.2 kB]
Get:9 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-egl1 1.15.0-725072 [4,312 B]
Get:10 file:/var/opt/amdgpu-pro-local ./ libxatracker2-amdgpu 1:18.2.0-725072 [187 kB]
Get:11 file:/var/opt/amdgpu-pro-local ./ libgbm1-amdgpu 1:18.2.0-725072 [23.6 kB]
Get:12 file:/var/opt/amdgpu-pro-local ./ libglapi-amdgpu-mesa 1:18.2.0-725072 [23.0 kB]
Get:13 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa 1:18.2.0-725072 [75.8 kB]
Get:14 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa-drivers 1:18.2.0-725072 [4,640 B]
Get:15 file:/var/opt/amdgpu-pro-local ./ libgles1-amdgpu-mesa 1:18.2.0-725072 [8,504 B]
Get:16 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-mesa 1:18.2.0-725072 [12.0 kB]
Get:17 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-glx 1:18.2.0-725072 [121 kB]
Get:18 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-dri 1:18.2.0-725072 [4,003 kB]
Get:19 file:/var/opt/amdgpu-pro-local ./ libosmesa6-amdgpu 1:18.2.0-725072 [1,257 kB]
Get:20 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-va-drivers 1:18.2.0-725072 [1,119 kB]
Get:21 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-vdpau-drivers 1:18.2.0-725072 [1,339 kB]
Get:22 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-omx-drivers 1:18.2.0-725072 [1,113 kB]
Get:23 file:/var/opt/amdgpu-pro-local ./ glamor-amdgpu 1.19.0-725072 [69.7 kB]
Get:24 file:/var/opt/amdgpu-pro-local ./ xserver-xorg-amdgpu-video-amdgpu 1:18.1.99-725072 [56.3 kB]
Get:25 file:/var/opt/amdgpu-pro-local ./ gst-omx-amdgpu 1.0.0.1-725072 [58.0 kB]
Get:26 file:/var/opt/amdgpu-pro-local ./ amdgpu-lib 18.50-725072 [2,196 B]
Get:27 file:/var/opt/amdgpu-pro-local ./ amdgpu 18.50-725072 [1,972 B]
Get:28 file:/var/opt/amdgpu-pro-local ./ libdrm2-amdgpu 1:2.4.95-725072 [31.9 kB]
Get:29 file:/var/opt/amdgpu-pro-local ./ libdrm-amdgpu-amdgpu1 1:2.4.95-725072 [19.9 kB]
Get:30 file:/var/opt/amdgpu-pro-local ./ libllvm7.0-amdgpu 1:7.0-725072 [13.4 MB]
Get:31 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-client0 1.15.0-725072 [19.9 kB]
Get:32 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-server0 1.15.0-725072 [25.8 kB]
Get:33 file:/var/opt/amdgpu-pro-local ./ libwayland-amdgpu-egl1 1.15.0-725072 [4,340 B]
Get:34 file:/var/opt/amdgpu-pro-local ./ libxatracker2-amdgpu 1:18.2.0-725072 [196 kB]
Get:35 file:/var/opt/amdgpu-pro-local ./ libgbm1-amdgpu 1:18.2.0-725072 [23.6 kB]
Get:36 file:/var/opt/amdgpu-pro-local ./ libglapi-amdgpu-mesa 1:18.2.0-725072 [22.9 kB]
Get:37 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa 1:18.2.0-725072 [77.8 kB]
Get:38 file:/var/opt/amdgpu-pro-local ./ libegl1-amdgpu-mesa-drivers 1:18.2.0-725072 [4,640 B]
Get:39 file:/var/opt/amdgpu-pro-local ./ libgles1-amdgpu-mesa 1:18.2.0-725072 [8,428 B]
Get:40 file:/var/opt/amdgpu-pro-local ./ libgles2-amdgpu-mesa 1:18.2.0-725072 [11.8 kB]
Get:41 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-glx 1:18.2.0-725072 [122 kB]
Get:42 file:/var/opt/amdgpu-pro-local ./ libgl1-amdgpu-mesa-dri 1:18.2.0-725072 [4,153 kB]
Get:43 file:/var/opt/amdgpu-pro-local ./ libosmesa6-amdgpu 1:18.2.0-725072 [1,286 kB]
Get:44 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-va-drivers 1:18.2.0-725072 [1,197 kB]
Get:45 file:/var/opt/amdgpu-pro-local ./ mesa-amdgpu-vdpau-drivers 1:18.2.0-725072 [1,427 kB]
Get:46 file:/var/opt/amdgpu-pro-local ./ amdgpu-lib32 18.50-725072 [2,148 B]
Extracting templates from packages: 100%
Selecting previously unselected package amdgpu-core.
(Reading database ... 149120 files and directories currently installed.)
Preparing to unpack .../00-amdgpu-core_18.50-725072_all.deb ...
Unpacking amdgpu-core (18.50-725072) ...
Selecting previously unselected package amdgpu-dkms.
Preparing to unpack .../01-amdgpu-dkms_18.50-725072_all.deb ...
Unpacking amdgpu-dkms (18.50-725072) ...
Selecting previously unselected package libdrm2-amdgpu:amd64.
Preparing to unpack .../02-libdrm2-amdgpu_2.4.95-725072_amd64.deb ...
Unpacking libdrm2-amdgpu:amd64 (1:2.4.95-725072) ...
Selecting previously unselected package libdrm-amdgpu-common.
Preparing to unpack .../03-libdrm-amdgpu-common_1.0.0-725072_all.deb ...
Unpacking libdrm-amdgpu-common (1.0.0-725072) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:amd64.
Preparing to unpack .../04-libdrm-amdgpu-amdgpu1_2.4.95-725072_amd64.deb ...
Unpacking libdrm-amdgpu-amdgpu1:amd64 (1:2.4.95-725072) ...
Selecting previously unselected package libllvm7.0-amdgpu:amd64.
Preparing to unpack .../05-libllvm7.0-amdgpu_7.0-725072_amd64.deb ...
Unpacking libllvm7.0-amdgpu:amd64 (1:7.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-client0:amd64.
Preparing to unpack .../06-libwayland-amdgpu-client0_1.15.0-725072_amd64.deb ...
Unpacking libwayland-amdgpu-client0:amd64 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-server0:amd64.
Preparing to unpack .../07-libwayland-amdgpu-server0_1.15.0-725072_amd64.deb ...
Unpacking libwayland-amdgpu-server0:amd64 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-egl1:amd64.
Preparing to unpack .../08-libwayland-amdgpu-egl1_1.15.0-725072_amd64.deb ...
Unpacking libwayland-amdgpu-egl1:amd64 (1.15.0-725072) ...
Selecting previously unselected package libxatracker2-amdgpu:amd64.
Preparing to unpack .../09-libxatracker2-amdgpu_18.2.0-725072_amd64.deb ...
Unpacking libxatracker2-amdgpu:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgbm1-amdgpu:amd64.
Preparing to unpack .../10-libgbm1-amdgpu_18.2.0-725072_amd64.deb ...
Unpacking libgbm1-amdgpu:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libglapi-amdgpu-mesa:amd64.
Preparing to unpack .../11-libglapi-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libglapi-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa:amd64.
Preparing to unpack .../12-libegl1-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libegl1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:amd64.
Preparing to unpack .../13-libegl1-amdgpu-mesa-drivers_18.2.0-725072_amd64.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgles1-amdgpu-mesa:amd64.
Preparing to unpack .../14-libgles1-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libgles1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgles2-amdgpu-mesa:amd64.
Preparing to unpack .../15-libgles2-amdgpu-mesa_18.2.0-725072_amd64.deb ...
Unpacking libgles2-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:amd64.
Preparing to unpack .../16-libgl1-amdgpu-mesa-glx_18.2.0-725072_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-glx:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:amd64.
Preparing to unpack .../17-libgl1-amdgpu-mesa-dri_18.2.0-725072_amd64.deb ...
Unpacking libgl1-amdgpu-mesa-dri:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package libosmesa6-amdgpu:amd64.
Preparing to unpack .../18-libosmesa6-amdgpu_18.2.0-725072_amd64.deb ...
Unpacking libosmesa6-amdgpu:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:amd64.
Preparing to unpack .../19-mesa-amdgpu-va-drivers_18.2.0-725072_amd64.deb ...
Unpacking mesa-amdgpu-va-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:amd64.
Preparing to unpack .../20-mesa-amdgpu-vdpau-drivers_18.2.0-725072_amd64.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-omx-drivers:amd64.
Preparing to unpack .../21-mesa-amdgpu-omx-drivers_18.2.0-725072_amd64.deb ...
Unpacking mesa-amdgpu-omx-drivers:amd64 (1:18.2.0-725072) ...
Selecting previously unselected package glamor-amdgpu:amd64.
Preparing to unpack .../22-glamor-amdgpu_1.19.0-725072_amd64.deb ...
Unpacking glamor-amdgpu:amd64 (1.19.0-725072) ...
Selecting previously unselected package xserver-xorg-amdgpu-video-amdgpu.
Preparing to unpack .../23-xserver-xorg-amdgpu-video-amdgpu_18.1.99-725072_amd64.deb ...
Unpacking xserver-xorg-amdgpu-video-amdgpu (1:18.1.99-725072) ...
Selecting previously unselected package gst-omx-amdgpu.
Preparing to unpack .../24-gst-omx-amdgpu_1.0.0.1-725072_amd64.deb ...
Unpacking gst-omx-amdgpu (1.0.0.1-725072) ...
Selecting previously unselected package amdgpu-lib.
Preparing to unpack .../25-amdgpu-lib_18.50-725072_amd64.deb ...
Unpacking amdgpu-lib (18.50-725072) ...
Selecting previously unselected package amdgpu.
Preparing to unpack .../26-amdgpu_18.50-725072_amd64.deb ...
Unpacking amdgpu (18.50-725072) ...
Selecting previously unselected package libdrm2-amdgpu:i386.
Preparing to unpack .../27-libdrm2-amdgpu_2.4.95-725072_i386.deb ...
Unpacking libdrm2-amdgpu:i386 (1:2.4.95-725072) ...
Selecting previously unselected package libdrm-amdgpu-amdgpu1:i386.
Preparing to unpack .../28-libdrm-amdgpu-amdgpu1_2.4.95-725072_i386.deb ...
Unpacking libdrm-amdgpu-amdgpu1:i386 (1:2.4.95-725072) ...
Selecting previously unselected package libllvm7.0-amdgpu:i386.
Preparing to unpack .../29-libllvm7.0-amdgpu_7.0-725072_i386.deb ...
Unpacking libllvm7.0-amdgpu:i386 (1:7.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-client0:i386.
Preparing to unpack .../30-libwayland-amdgpu-client0_1.15.0-725072_i386.deb ...
Unpacking libwayland-amdgpu-client0:i386 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-server0:i386.
Preparing to unpack .../31-libwayland-amdgpu-server0_1.15.0-725072_i386.deb ...
Unpacking libwayland-amdgpu-server0:i386 (1.15.0-725072) ...
Selecting previously unselected package libwayland-amdgpu-egl1:i386.
Preparing to unpack .../32-libwayland-amdgpu-egl1_1.15.0-725072_i386.deb ...
Unpacking libwayland-amdgpu-egl1:i386 (1.15.0-725072) ...
Selecting previously unselected package libxatracker2-amdgpu:i386.
Preparing to unpack .../33-libxatracker2-amdgpu_18.2.0-725072_i386.deb ...
Unpacking libxatracker2-amdgpu:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgbm1-amdgpu:i386.
Preparing to unpack .../34-libgbm1-amdgpu_18.2.0-725072_i386.deb ...
Unpacking libgbm1-amdgpu:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libglapi-amdgpu-mesa:i386.
Preparing to unpack .../35-libglapi-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libglapi-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa:i386.
Preparing to unpack .../36-libegl1-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libegl1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libegl1-amdgpu-mesa-drivers:i386.
Preparing to unpack .../37-libegl1-amdgpu-mesa-drivers_18.2.0-725072_i386.deb ...
Unpacking libegl1-amdgpu-mesa-drivers:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgles1-amdgpu-mesa:i386.
Preparing to unpack .../38-libgles1-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libgles1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgles2-amdgpu-mesa:i386.
Preparing to unpack .../39-libgles2-amdgpu-mesa_18.2.0-725072_i386.deb ...
Unpacking libgles2-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-glx:i386.
Preparing to unpack .../40-libgl1-amdgpu-mesa-glx_18.2.0-725072_i386.deb ...
Unpacking libgl1-amdgpu-mesa-glx:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libgl1-amdgpu-mesa-dri:i386.
Preparing to unpack .../41-libgl1-amdgpu-mesa-dri_18.2.0-725072_i386.deb ...
Unpacking libgl1-amdgpu-mesa-dri:i386 (1:18.2.0-725072) ...
Selecting previously unselected package libosmesa6-amdgpu:i386.
Preparing to unpack .../42-libosmesa6-amdgpu_18.2.0-725072_i386.deb ...
Unpacking libosmesa6-amdgpu:i386 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-va-drivers:i386.
Preparing to unpack .../43-mesa-amdgpu-va-drivers_18.2.0-725072_i386.deb ...
Unpacking mesa-amdgpu-va-drivers:i386 (1:18.2.0-725072) ...
Selecting previously unselected package mesa-amdgpu-vdpau-drivers:i386.
Preparing to unpack .../44-mesa-amdgpu-vdpau-drivers_18.2.0-725072_i386.deb ...
Unpacking mesa-amdgpu-vdpau-drivers:i386 (1:18.2.0-725072) ...
Selecting previously unselected package amdgpu-lib32.
Preparing to unpack .../45-amdgpu-lib32_18.50-725072_amd64.deb ...
Unpacking amdgpu-lib32 (18.50-725072) ...
Setting up amdgpu-core (18.50-725072) ...
Setting up libdrm-amdgpu-common (1.0.0-725072) ...
Setting up libwayland-amdgpu-server0:amd64 (1.15.0-725072) ...
Setting up libwayland-amdgpu-server0:i386 (1.15.0-725072) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Setting up gst-omx-amdgpu (1.0.0.1-725072) ...
Setting up libwayland-amdgpu-egl1:amd64 (1.15.0-725072) ...
Setting up libwayland-amdgpu-egl1:i386 (1.15.0-725072) ...
Setting up libdrm2-amdgpu:amd64 (1:2.4.95-725072) ...
Setting up libdrm2-amdgpu:i386 (1:2.4.95-725072) ...
Setting up libwayland-amdgpu-client0:amd64 (1.15.0-725072) ...
Setting up libwayland-amdgpu-client0:i386 (1.15.0-725072) ...
Setting up libllvm7.0-amdgpu:amd64 (1:7.0-725072) ...
Setting up libllvm7.0-amdgpu:i386 (1:7.0-725072) ...
Setting up amdgpu-dkms (18.50-725072) ...
Loading new amdgpu-18.50-725072 DKMS files...
Building for 4.18.0-15-generic
Building for architecture x86_64
Building initial module for 4.18.0-15-generic
Error! Bad return status for module build on kernel: 4.18.0-15-generic (x86_64)
Consult /var/lib/dkms/amdgpu/18.50-725072/build/make.log for more information.
Setting up glamor-amdgpu:amd64 (1.19.0-725072) ...
Setting up libgbm1-amdgpu:amd64 (1:18.2.0-725072) ...
Setting up libgbm1-amdgpu:i386 (1:18.2.0-725072) ...
Setting up libglapi-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libglapi-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up libgles1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libgles1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up libdrm-amdgpu-amdgpu1:amd64 (1:2.4.95-725072) ...
Setting up libdrm-amdgpu-amdgpu1:i386 (1:2.4.95-725072) ...
Setting up libxatracker2-amdgpu:amd64 (1:18.2.0-725072) ...
Setting up libxatracker2-amdgpu:i386 (1:18.2.0-725072) ...
Setting up libosmesa6-amdgpu:amd64 (1:18.2.0-725072) ...
Setting up libosmesa6-amdgpu:i386 (1:18.2.0-725072) ...
Setting up libgles2-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libgles2-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-dri:amd64 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-dri:i386 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-omx-drivers:amd64 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa:amd64 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa:i386 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-va-drivers:amd64 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-va-drivers:i386 (1:18.2.0-725072) ...
Setting up xserver-xorg-amdgpu-video-amdgpu (1:18.1.99-725072) ...
Setting up mesa-amdgpu-vdpau-drivers:amd64 (1:18.2.0-725072) ...
Setting up mesa-amdgpu-vdpau-drivers:i386 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-glx:amd64 (1:18.2.0-725072) ...
Setting up libgl1-amdgpu-mesa-glx:i386 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa-drivers:amd64 (1:18.2.0-725072) ...
Setting up libegl1-amdgpu-mesa-drivers:i386 (1:18.2.0-725072) ...
Setting up amdgpu-lib (18.50-725072) ...
Setting up amdgpu (18.50-725072) ...
Setting up amdgpu-lib32 (18.50-725072) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
WARNING: amdgpu dkms failed for running kernel

Ran into the same general problem of DKMS failing.  From the make.log:

DKMS make.log for amdgpu-18.50-725072 for kernel 4.18.0-15-generic (x86_64)
Fri Feb 15 16:14:23 EST 2019
make: Entering directory '/usr/src/linux-headers-4.18.0-15-generic'
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_drm.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/sched_main.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/lib/chash.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_drv.o
LD /var/lib/dkms/amdgpu/18.50-725072/build/amd/lib/amdchash.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_memory.o
In file included from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
};
^
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/main.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/sched_fence.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/symbols.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.o
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_memory.c:29:0: warning: "pr_fmt" redefined
#define pr_fmt(fmt) "[TTM] " fmt

In file included from ./include/linux/kernel.h:14:0,
from ./include/linux/list.h:9,
from ./include/linux/wait.h:7,
from ./include/linux/dma-fence.h:25,
from /var/lib/dkms/amdgpu/18.50-725072/build/include/kcl/kcl_fence.h:12,
from /var/lib/dkms/amdgpu/18.50-725072/build/ttm/backport/backport.h:5,
from <command-line>:0:
./include/linux/printk.h:292:0: note: this is the location of the previous definition
#define pr_fmt(fmt) fmt

CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_fence.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_tt.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/sched_entity.o
In file included from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
from /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../include/../backport/backport.h:12,
from <command-line>:0:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/../amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
};
^
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_fence.c:84:1: warning: ‘_kcl_fence_default_wait’ defined but not used [-Wunused-function]
_kcl_fence_default_wait(struct fence *fence, bool intr, signed long timeout)
^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.c: In function ‘amdgpu_device_get_pcie_info’:
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.c:3487:15: error: implicit declaration of function ‘pcie_get_speed_cap’; did you mean ‘pci_find_saved_cap’? [-Werror=implicit-function-declaration]
speed_cap = pcie_get_speed_cap(pdev);
^~~~~~~~~~~~~~~~~~
pci_find_saved_cap
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_fence_array.o
/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.c:3534:16: error: implicit declaration of function ‘pcie_get_width_cap’; did you mean ‘pci_get_device’? [-Werror=implicit-function-declaration]
link_width = pcie_get_width_cap(pdev);
^~~~~~~~~~~~~~~~~~
pci_get_device
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_kthread.o
LD /var/lib/dkms/amdgpu/18.50-725072/build/scheduler/amd-sched.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_io.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_reservation.o
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.c: In function ‘ttm_bo_bulk_move_lru_tail’:
/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.c:272:3: error: implicit declaration of function ‘list_bulk_move_tail’; did you mean ‘list_move_tail’? [-Werror=implicit-function-declaration]
list_bulk_move_tail(&man->lru, &pos->first->lru,
^~~~~~~~~~~~~~~~~~~
list_move_tail
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_drm_global.o
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu/amdgpu_device.o] Error 1
scripts/Makefile.build:581: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/amd/amdgpu] Error 2
make[1]: *** Waiting for unfinished jobs....
CC /var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo_util.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_pci.o
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_mn.o
cc1: some warnings being treated as errors
scripts/Makefile.build:325: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/ttm/ttm_bo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CC /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/kcl_bitmap.o
LD /var/lib/dkms/amdgpu/18.50-725072/build/amd/amdkcl/amdkcl.o
scripts/Makefile.build:581: recipe for target '/var/lib/dkms/amdgpu/18.50-725072/build/ttm' failed
make[1]: *** [/var/lib/dkms/amdgpu/18.50-725072/build/ttm] Error 2
Makefile:1534: recipe for target '_module_/var/lib/dkms/amdgpu/18.50-725072/build' failed
make: *** [_module_/var/lib/dkms/amdgpu/18.50-725072/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic'

TL;DR: From what I can tell, it looks as though something about this build for the driver seems broken.  I'm not sure what other information I can offer to move this forward.

AMD Driver Devs, I'm happy to work with you on this if you reach out.  I'm a SysAdmin by trade, so this stuff is important to me.

0 Likes
1 Reply
binarydepth
Adept II

To downgrade the kernel remove the last kernel, maybe you will need to install Synaptic package manager if you have more than one kernel above 4.15. Ask Ubuntu downgrade question 
I was having trouble installing AMDGPU-PRO in Ubuntu because I had 18.04.2, searched and found the old-releases page and downloaded 18.04.1 and have not installed any kernels to fear of more trouble.