cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

bitfire777
Journeyman III

Unable to install amdgpu-pro drivers on Ubuntu 20.04.1

Hello,

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:
- amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
- amdgpu-pro-20.45-1164792-ubuntu-20.04.tar.xz
- amdgpu-pro-20.20-1098277-ubuntu-20.04.tar.xz

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:5.6.20.906316-1188099) ...
Loading new amdgpu-5.6.20.906316-1188099 DKMS files...
Building for 5.4.0-54-generic
Building for architecture x86_64
Building initial module for 5.4.0-54-generic

IMG_20201222_115454.jpgIMG_20201222_115522.jpg

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.

Thanks

 

0 Likes
6 Replies
Volfase
Journeyman III

Re: Unable to install amdgpu-pro drivers on Ubuntu 20.04.1

i get this error on linux mint 20

/var/opt/amdgpu-pro-local/./amdgpu-dkms-firmware_5.6.20.906316-1188099_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

0 Likes
bitfire777
Journeyman III

Re: Unable to install amdgpu-pro drivers on Ubuntu 20.04.1

Have you solved it?

0 Likes
Volfase
Journeyman III

Re: Unable to install amdgpu-pro drivers on Ubuntu 20.04.1

No

0 Likes
bridgman
Staff
Staff

Re: Unable to install amdgpu-pro drivers on Ubuntu 20.04.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.

0 Likes
bitfire777
Journeyman III

Re: Unable to install amdgpu-pro drivers on Ubuntu 20.04.1

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
Driver: amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz

Kernel log (/var/log/kern.log) after a failed build and reboot:

https://pastebin.com/hSH54nR7

# dkms status
amdgpu, 5.6.20.906316-1188099: added

 

0 Likes
bitfire777
Journeyman III

Re: Unable to install amdgpu-pro drivers on Ubuntu 20.04.1

@bridgman Is it possible to figure out which versions of Ubuntu 20.04 kernel were tested and stable for specific driver versions?

0 Likes