I've spent two days trying to install amdgpu-pro drivers on Ubuntu 20.04.1. I've tried to install 20.45 and 20.20 versions:
Here is the command which I'm using to install driver:
./amdgpu-pro-install --opencl=legacy,pal --headless -y
The installation process interrupts on building DKMS module for kernel with errors on screen and then PC automatically reboots in 10 seconds.
..... Setting up amdgpu-dkms (1:126.96.36.1996316-1188099) ... Loading new amdgpu-188.8.131.526316-1188099 DKMS files... Building for 5.4.0-54-generic Building for architecture x86_64 Building initial module for 5.4.0-54-generic
I've also tried different versions of kernels: 5.4.0-58-generic (default for Ubuntu), 5.8 and even tried to downgrade to 5.4.0-54-generic, but get the same error each time.
Please help me to fix this.
i get this error on linux mint 20
E: Sub-process /usr/bin/dpkg returned an error code (1)
Would it be possible to paste a kernel log (/var/log/kern.log) after a failed build and reboot ?
At the risk of stating the obvious I would not expect to see the PC reboot during the build stage.
Yes. I've also tried to install with rocr option, but it does not help:
./amdgpu-pro-install --opencl=legacy,rocr -y
# uname -r 5.4.0-58-generic
Kernel log (/var/log/kern.log) after a failed build and reboot:
# dkms status amdgpu, 184.108.40.2066316-1188099: added