If you read all the posts in this topic, then you should know that the
-y
option should be left off the installation command.
Your
inxi output lists
AMD Ryzen 3 2200G with Radeon Vega Graphics, which is an
APU.
User
Citizen229, in his topic says the AMDGPU-Pro driver can’t be installed on mobile GPUs as well as APUs:
viewtopic.php?f=59&t=248059
I've been looking for a statement by AMD to verify that but still haven't found one, so you will be testing an installation that may fail, but first change the word
linuxmint back to
ubuntu in the
amdgpu-pro-install script. I’ll explain why later. I recommend a new installation. Otherwise, there will probably be an error message about
unmet dependencies when you attempt a second installation. Use this command to try to fix that:
sudo apt install --fix-broken
With the release of the
Radeon Software for Linux 18.30 package, AMD has added another obstacle to the installation for Mint users who want to install the AMDGPU-Pro driver. With previous versions, the
amdgpu-pro-install script was edited by changing the word
ubuntu to
linuxmint. That won’t work with the newest version. After the installation, if you view the installer log in the Terminal window, you will probably see these 3 lines at the end:
Errors were encountered while processing:
/tmp/apt-dpkg-install-VlDLjr/08-amdgpu-core_18.30-633530_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Looking deeper in the log, you will see these lines:
ERROR: This package can only be installed on Ubuntu 18.04.
dpkg: error processing archive /tmp/apt-dpkg-install-VlDLjr/08-amdgpu-core_18.30-633530_all.deb (--unpack):
new amdgpu-core package pre-installation script subprocess returned error exit status 1
If the
amdgpu-pro-18.30-633530.tar.xz package is extracted and then the
amdgpu-core_18.30-633530_all.deb package within it is extracted and then the
control.tar.xz package within it is extracted, then the
preinst script can be viewed:
Code: Select all
#!/bin/bash
set -e
. /etc/os-release
if [ "$VERSION_ID" != "18.04" ] ; then
>&2 echo "ERROR: This package can only be installed on Ubuntu 18.04."
exit 1
fi
exit 0
This script will run before the
amdgpu-core package is installed. It checks in the system’s
/etc/os-release file for a
VERSION_ID="18.04" line, which is the latest version of Ubuntu. If that is not found, then the
amdgpu-core package will not be installed, the error message will be seen in the installer log and the installation will fail.
The solution I found is to edit the
/etc/os-release file. Use this command to open it:
xed admin:///etc/os-release
Code: Select all
NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic
Change the word
linuxmint to
ubuntu in line 3 and change the number
19 to
18.04 in line 6. After the installation, you can change these back. The
amdgpu-pro-install script does not have to be edited.
Proceed with the installation by right clicking on the downloaded
amdgpu-pro-18.30-633530.tar.xz package and selecting
Extract Here. Open the
amdgpu-pro18.30-633530 folder. Right click in the empty space and select
Open in Terminal. Use the command
./amdgpu-pro-install
If you also want to install the OpenCL component, then use this command for Vega10 and newer cards:
./amdgpu-pro-install --opencl=pal
Or this command for Pre Vega10 cards:
./amdgpu-pro-install --opencl=legacy
Also, AMD says
both pal and legacy can be installed, which is useful for users who are unsure which option should be selected:
./amdgpu-pro-install --opencl=pal,legacy
Reboot.
To uninstall the driver:
amdgpu-pro-uninstall
How to check the AMDGPU-Pro installation:
Use this command:
grep hybrid /var/log/Xorg.0.log
. Check for these two lines, referring to the AMDGPU hybrid driver. Your version number may be different:
Code: Select all
AMDGPU(0): AMDGPU DDX hybrid version: 18.50.1.418
AMDGPU(0): AMDGPU kernel module hybrid version: 18.50.1.418
Use this command:
grep libglx /var/log/Xorg.0.log
. The module
libglx.so
should be loading from here:
Code: Select all
/opt/amdgpu-pro/lib/xorg/modules/extensions
UPDATE: Mint 19 Cinnamon installation. These instructions were tested and also work on both
Radeon Software for Linux 18.40 and
18.50.
UPDATE: Mint 19.1 Cinnamon installation. 4.15.0-20 kernel.
Radeon Software for Linux 18.50 (
amdgpu-pro-18.50-708488-ubuntu-18.04.tar.xz) installed successfully.
UPDATE: Tested
4.15.0-46 and
4.15.0-47 kernels with
amdgpu-pro-18.50-756341-ubuntu-18.04.tar.xz package. No problems.
Tested
4.18.0-17 kernel. Installation failed. This message seen:
Code: Select all
ERROR (dkms apport): kernel package linux-headers-4.18.0-17-generic is not supported
WARNING: amdgpu dkms failed for running kernel
UPDATE 4-26-19: Tested
4.18.0-18 kernel with
Radeon™ Software for Linux® version 19.10 for Ubuntu 18.04.2
(
amdgpu-pro-19.10-785425-ubuntu-18.04.tar.xz package). The installation worked and the
/etc/os-release
file does not need to be edited, but it will also work if the file is edited. This line will be seen in the installation log:
WARNING: This package was intended to be installed on Ubuntu 18.04 and may not work as expected on Linux Mint 19.1.
Radeon Software for LInux 19.10 also works with the older 4.15 kernel but a new problem for Mint users has been added with that package. This will only be seen if it is uninstalled. The uninstaller removes other important packages from the Mint installation that previous versions did not. These lines are from the uninstallation log:
Removing xorg (1:7.7+19ubuntu7.1) ...
Removing xserver-xorg (1:7.7+19ubuntu7.1) ...
Removing xserver-xorg-video-all (1:7.7+19ubuntu7.1) ...
Removing xserver-xorg-video-vmware (1:13.2.1-1build1) ...
Removing xserver-xorg-video-amdgpu (18.0.1-1) ...
Removing xserver-xorg-input-all (1:7.7+19ubuntu7.1) ...
Removing xserver-xorg-input-libinput (0.27.1-1) ...
Removing xserver-xorg-video-vesa (1:2.3.4-1build3) ...
Removing xserver-xorg-video-ati (1:18.0.1-1) ...
Removing xserver-xorg-video-radeon (1:18.0.1-1) ...
Removing xserver-xorg-input-wacom (1:0.36.1-0ubuntu1) ...
Removing xserver-xorg-video-fbdev (1:0.4.4-1build6) ...
Removing xserver-xorg-video-intel (2:2.99.917+git20171229-1) ...
Removing xserver-xorg-video-nouveau (1:1.0.15-2) ...
Removing xserver-xorg-video-qxl (0.1.5-2build1) ...
Removing amdgpu-pro-core (19.10-785425) ...
Removing xserver-xorg-core (2:1.19.6-1ubuntu4.2) ...
After rebooting, you will end up in the virtual console tty1, unable to get to the desktop. To correct that problem, this command should be used to re-install those packages, right after
Radeon Software for Linux 19.10 is uninstalled, before rebooting. It can also be used in tty1:
apt install xserver-xorg xserver-xorg-video-all
EDITED 5-24-19: the
5.0.0-15 kernel in the Update Manager is not supported by
Radeon Software for Linux 19.10. This message will be seen in the installation log:
Building initial module for 5.0.0-15-generic
ERROR (dkms apport): kernel package linux-headers-5.0.0-15-generic is not supported
UPDATE 6-19-19: The
Radeon Software for LInux 19.20 for Ubuntu 18.04.2 installs the same as 19.10. No files need to be edited, but the same uninstallation problem exists. It also works with the 4.18 and
5.0.0-15,
5.0.0-16 and
5.0.0-17 kernels.
https://www.amd.com/en/support/kb/relea ... 20-unified
EDITED 7-7-19: This package is not compatible with the 4.15 kernel.
The
Xorg.0.log file does not show these lines when the 4.18 or 5.0 kernel is installed, as previous Radeon Software versions did, to verify the installation:
Code: Select all
AMDGPU(0): AMDGPU DDX hybrid version: xx.xx.x.xx
AMDGPU(0): AMDGPU kernel module hybrid version: xx.xx.x.xx
Use this command:
grep libglx.so /var/log/Xorg.0.log
. This should be the output:
Code: Select all
Loading /opt/amdgpu-pro/lib/xorg/modules/extensions/libglx.so
Update 8-16-19: Tested
Radeon Software for Linux version 19.30 for Ubuntu 18.04.3 on Mint 19.2.
https://www.amd.com/en/support/kb/relea ... fied-linux
Installation is similar to the previous version; no files need to be edited, but the uninstallation problem persists, which started with
Radeon Software for Linux 19.10. This driver package is compatible with the 4.15, 4.18 and 5.0 kernels. Tested were the 4.15.0-54, 4.15.0-58, 4.18.0-25 and 5.0.0-25 kernels.
Update 11-10-19: Tested the
5.3.0-19 kernel with
Radeon Software for Linux version 19.30 for Ubuntu 18.04.3 in the package
amdgpu-pro-19.30-855429-ubuntu-18.04.tar.xz. The driver failed to install.
AMD just released on 11-8-19 a revision of
Radeon Software for Linux version 19.30 in the package
amdgpu-pro-19.30-934563, which has driver support for the new Radeon RX 5500 series. This driver also does not have support for the 5.3 kernel.
https://www.amd.com/en/support/kb/relea ... 30-unified
EDITED 12-25-19: With the release of Mint 19.3,
Radeon Software for Linux is finally working correctly.
Version 19.30 installed without any editing of a configuraton file and the uninstallation problem that was introduced in version 19.10 has been eliminated.
Update 1-6-2000: Using Mint 19.3 Cinnamon and the 5.0.0-32 kernel, tested
Radeon Software for Linux version 19.50 for Ubuntu 18.04.3 in the package
amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz.
https://www.amd.com/en/support/kb/relea ... fied-linux
This package has problems. The AMDGPU driver installation with the
All-Open component (
amdgpu-install), will install but the installation will be about 4 minutes longer. When the step
Building initial module for 5.0.0-32-generic is reached, there will be about 6 minutes needed. Usually this step takes about 2 minutes for building the 4 AMD kernel modules.
The installation with the
Pro component (
amdgpu-pro-install) will fail with these lines in the installation log:
Code: Select all
configure: error: in `/var/lib/dkms/amdgpu/19.50-967956/build':
configure: error: C compiler cannot create executables
See `config.log' for more details
Error! Bad return status for module build on kernel: 5.0.0-32-generic (amd64)
I installed
build-essential and then the amdgpu-pro driver installation appeared to be successful, except for the extra 4 minutes needed. However, upon rebooting, there was a black screen, so the driver had to be removed in tty1.
Same result using the
4.15.0-72 kernel. The
5.3.0-xx kernel is still not supported.
EDITED:
Radeon Software for Linux 19.50 is supposed to support
Ubuntu 18.04.3, so I tested that OS using the 5.0 kernel and got identical results.
Update 7-21-2020: I suspected my old
Radeon R7 240 video card was the cause of not being able to install the
AMDGPU-Pro driver from any package since
Radeon Software for Linux version 19.30, although AMD said the card was still supported up to
Radeon Software for Linux version 20.10. I think the card lost support right after version 19.30 but AMD did not remove it from their supported list of products right away. The most recent version,
Radeon Software for Linux version 20.20 for Ubuntu 20.04, does not list that card anymore on the supported list.
I recently purchased a newer inexpensive AMD card; the
Radeon RX 560. I tested all the Radeon Software versions that did not work with the previous card and here are the results:
Mint 19.3 using the 5.0.0-32 kernel:
Radeon Software for Linux version 19.50 for Ubuntu 18.04.3 fails, but after installing
build-essential, it works.
Mint 19.3 using the 5.3.0-62 kernel:
Radeon Software for Linux version 20.10 for Ubuntu 18.04.4 HWE works, without installing
build-essential.
Radeon Software for Linux version 20.20 for Ubuntu 20.04 fails.
Mint 20 using the 5.4.0-26 kernel:
Radeon Software for Linux version 20.20 for Ubuntu 20.04 works.
https://www.amd.com/en/support/kb/relea ... inux-20-20
EDITED 8-8-20:
Radeon™ Software for Linux® version 20.30 for Ubuntu 20.04.1 works in Mint 20:
https://www.amd.com/en/support/kb/relea ... inux-20-30
EDITED 8-8-20:
Radeon™ Software for Linux® version 20.30 for Ubuntu 20.04.1 works:
https://www.amd.com/en/support/kb/relea ... inux-20-30
Update 12-20-20:
Radeon Software for Linux 20.45 for Ubuntu 20.04.1 installs OK with the
5.4.0-54 kernel but fails to install with the
5.4-0-56 kernel but there is a problem with that kernel and it has been removed from Update Manager.
Radeon Software for Linux version 20.45 for Ubuntu 20.04.1 will install for the
5.4.0-58 kernel if the newest package build is used. If you download the package from the usual location, the package build version is
20.45-1164792 and it will fail to install.
https://www.amd.com/en/support/kb/relea ... inux-20-45
The newer package build is
20.45-1188099 and you can get it from here:
https://www.amd.com/en/support/graphics ... rx-6900-xt
This is a support page for AMD Radeon™ RX 6900 XT Drivers but the package will work for other GPUs that are supported by the AMDGPU-Pro driver. Click the
plus sign next to
Ubuntu x86 64-Bit.
This info is given by
Bridgman of the AMD staff on the fourth page of this topic in the AMD support forum:
https://community.amd.com/t5/drivers-so ... d-p/426676
He also mentions that the usual download location page with build 20.45-1164792 will be updated but that has not happened yet. I have found in the past for AMD to be tardy in updating important info on their websites.
Installation fails for the
5.8-0.33 kernel.
Update 3-21-21:
Radeon Software for Linux version 20.50 for Ubuntu 20.04.1 and 20.04.2 installs fine using the
5.8.0-45 kernel:
https://www.amd.com/en/support/kb/relea ... inux-20-50
EDITED: the
5.9 kernel is also supported (tested
5.9.12)
These installation commands can no longer be used:
Code: Select all
./amdgpu-pro-install --opencl=pal
./amdgpu-pro-install --opencl=pal,legacy
The
PAL support option for OpenCL has been replace by
ROCr, so the new commands will be:
Code: Select all
./amdgpu-pro-install --opencl=rocr
./amdgpu-pro-install --opencl=legacy,rocr
PAL OpenCL stack supports Vega 10 and later products and
Legacy OpenCL stack supports legacy products older than Vega 10.