cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

slav
Adept I

it is not possible to install the driver on ubuntu (5500 xt)

it is not possible to install the driver on ubuntu

it is not possible to install the driver (amdgpu-pro) on Ubuntu 18.04.5 LTS,  Graphics Radeon RX 5500 XT (NAVI14, DRM 3.35.0, 5.4.0-56-generic, LLVM 10.0.1)

The other day, the system updated the kernel, the driver began to work incorrectly (video slows down) ... deleted the driver and began to reinstall the driver with the amdgpu-pro-install script, but the installation stops working with an error

Building for 5.4.0-56-generic
Building for architecture x86_64
Building initial module for 5.4.0-56-generic
Error! Bad return status for module build on kernel: 5.4.0-56-generic (x86_64)

(warning amdgpu dkms failed for running kernel)  

________________________________

LOG install

DKMS make.log for amdgpu-5.6.14.224-1147287 for kernel 5.4.0-56-generic (x86_64)
Вс дек 6 10:38:15 MSK 2020
make: вход в каталог «/usr/src/linux-headers-5.4.0-56-generic»
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/Makefile:20: "Local GCC version 70505 does not match kernel compiler GCC version 70500"
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/Makefile:21: "This may cause unexpected and hard-to-isolate compiler-related issues"
AR /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/built-in.a
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/symbols.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/main.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_mn.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/sched_main.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_memory.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_ioctl.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/sched_entity.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/sched_fence.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_device_cgroup.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_drm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_drm_cache.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_fence_array.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_tt.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_memory.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_fence.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_drv.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_device.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_io.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_kms.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_atombios.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_kthread.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_mm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_fence.c:30: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 [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_perf_event.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_reservation.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_suspend.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_workqueue.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_crtc.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_seq_file.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo_util.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_connector.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo_vm.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.c: In function ‘amdkcl_pci_init’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.c:103: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/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.c:4:0:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_common.h:12: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 [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_drm_atomic_helper.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_backlight.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/dma-buf/dma-resv.o
LD [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/amd-sched.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_module.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_connectors.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atom.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fence.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ttm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_object.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_execbuf_util.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_gart.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_encoders.o
LD [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/amdkcl.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_page_alloc.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_display.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo_manager.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_agp_backend.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_i2c.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fb.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_page_alloc_dma.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_gem.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ring.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_cs.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_benchmark.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_test.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_pm.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fb.c: In function ‘amdgpufb_create’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fb.c:252:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
info->fbops = &amdgpufb_ops;
^
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_dp.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_afmt.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_trace_points.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_encoders.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_sa.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_i2c.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_dma_buf.o
LD [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/amdttm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_vm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ib.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c: In function ‘amdgpu_read_platform_bios’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c:200:9: error: implicit declaration of function ‘pci_platform_rom’; did you mean ‘pci_map_rom’? [-Werror=implicit-function-declaration]
bios = pci_platform_rom(adev->pdev, &size);
^~~~~~~~~~~~~~~~
pci_map_rom
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c:200:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
bios = pci_platform_rom(adev->pdev, &size);
^
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_pll.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ucode.o
cc1: some warnings being treated as errors
scripts/Makefile.build:273: recipe for target '/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.o] Error 1
make[2]: *** Ожидание завершения заданий…
scripts/Makefile.build:522: recipe for target '/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu] Error 2
Makefile:1757: recipe for target '/var/lib/dkms/amdgpu/5.6.14.224-1147287/build' failed
make: *** [/var/lib/dkms/amdgpu/5.6.14.224-1147287/build] Error 2
make: выход из каталога «/usr/src/linux-headers-5.4.0-56-generic»

_

0 Likes
3 Replies
slav
Adept I

______

Log crashes after restart systems

ProblemType: Package
DKMSBuildLog:
DKMS make.log for amdgpu-5.6.14.224-1147287 for kernel 5.4.0-56-generic (x86_64)
Вс дек 6 09:17:08 MSK 2020
make: вход в каталог «/usr/src/linux-headers-5.4.0-56-generic»
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/Makefile:20: "Local GCC version 70505 does not match kernel compiler GCC version 70500"
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/Makefile:21: "This may cause unexpected and hard-to-isolate compiler-related issues"
AR /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/built-in.a
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/main.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/symbols.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_mn.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_memory.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_device_cgroup.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_ioctl.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/sched_entity.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_drm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/sched_main.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/sched_fence.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_drm_cache.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_fence_array.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_io.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_fence.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_memory.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_drv.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_tt.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_kthread.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_mm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_perf_event.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_device.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_reservation.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_suspend.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_fence.c:30: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 [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_workqueue.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo_util.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_seq_file.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_connector.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_backlight.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_drm_atomic_helper.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.c: In function ‘amdkcl_pci_init’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.c:103: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/5.6.14.224-1147287/build/amd/amdkcl/kcl_pci.c:4:0:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/kcl_common.h:12: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 [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/dma-buf/dma-resv.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo_vm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_kms.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_atombios.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_crtc.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_module.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_execbuf_util.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_connectors.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atom.o
LD [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/scheduler/amd-sched.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fence.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ttm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_object.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_gart.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_encoders.o
LD [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdkcl/amdkcl.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_bo_manager.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_page_alloc.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_agp_backend.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/ttm_page_alloc_dma.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_display.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_i2c.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fb.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_gem.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ring.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_benchmark.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_cs.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_test.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_pm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_dp.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_afmt.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_trace_points.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_encoders.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fb.c: In function ‘amdgpufb_create’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_fb.c:252:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
info->fbops = &amdgpufb_ops;
^
LD [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/ttm/amdttm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/atombios_i2c.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_sa.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_dma_buf.o
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c: In function ‘amdgpu_read_platform_bios’:
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c:200:9: error: implicit declaration of function ‘pci_platform_rom’; did you mean ‘pci_map_rom’? [-Werror=implicit-function-declaration]
bios = pci_platform_rom(adev->pdev, &size);
^~~~~~~~~~~~~~~~
pci_map_rom
/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c:200:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
bios = pci_platform_rom(adev->pdev, &size);
^
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_vm.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ib.o
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_pll.o
cc1: some warnings being treated as errors
CC [M] /var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_ucode.o
scripts/Makefile.build:273: recipe for target '/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.o' failed
make[2]: *** [/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.o] Error 1
make[2]: *** Ожидание завершения заданий…
scripts/Makefile.build:522: recipe for target '/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu' failed
make[1]: *** [/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu] Error 2
Makefile:1757: recipe for target '/var/lib/dkms/amdgpu/5.6.14.224-1147287/build' failed
make: *** [/var/lib/dkms/amdgpu/5.6.14.224-1147287/build] Error 2
make: выход из каталога «/usr/src/linux-headers-5.4.0-56-generic»
DKMSKernelVersion: 5.4.0-56-generic
Date: Sun Dec 6 09:17:14 2020
DuplicateSignature: dkms:amdgpu-dkms:(not installed):/var/lib/dkms/amdgpu/5.6.14.224-1147287/build/amd/amdgpu/amdgpu_bios.c:200:9: error: implicit declaration of function ‘pci_platform_rom’; did you mean ‘pci_map_rom’? [-Werror=implicit-function-declaration]
Package: amdgpu-dkms (not installed)
PackageVersion: (not installed)
SourcePackage: amdgpu-dkms
Title: amdgpu-dkms (not installed): amdgpu kernel module failed to build

 

 

need help

 

 

0 Likes

Not sure how it happened yet, but Canonical sent a kernel update through that was built off the same kernel version but was missing some symbols. In the short term you can downgrade to 5.4.0-54 kernel - we also have a new build with a workaround for the missing symbol going through testing which should get posted in a few days.

Separately we run a CI system which periodically downloads the latest version of each supported distro to catch problems like this, but that CI system was down with an unrelated problem at exactly the wrong time.

We have updated the release notes to include this issue and another recent "gotcha" - Proton 5.13.2 and higher causing problems with any drivers that install into the /opt folder, which includes our Vulkan and OpenCL drivers.