Latest amdgpu-install packages seems to be broken on Ubuntu 20.04
Not only is the AMD linux driver fragmented, full of bugs but now you have also managed to break the installer.
AMD, I am genuinely interested, how you can come up with the idea that what user needs is to provide specific driver profiles for a particular "usecase"? Why why on earth we could not have a single driver which works with every app?
As a content creator I need both professional apps as well as games to work simultaneously on one computer.
This is what I get when trying to install on 20.04:
sudo amdgpu-install --usecase=workstation --opencl=rocr --vulkan=pro --accept-eula
Hit:1 http://cz.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://cz.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://cz.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:4 https://linux.teamviewer.com/deb stable InRelease
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:6 https://repo.radeon.com/amdgpu/21.40.2/ubuntu bionic InRelease
Hit:7 https://repo.radeon.com/rocm/apt/4.5.2 ubuntu InRelease
Get:9 https://repo.radeon.com/amdgpu/21.40.2/ubuntu bionic/proprietary i386 Packages [3 030 B]
Get:10 https://repo.radeon.com/amdgpu/21.40.2/ubuntu bionic/proprietary amd64 Packages [3 658 B]
Hit:11 https://packages.lunarg.com/vulkan/1.2.189 focal InRelease
Hit:12 http://mariadb.mirror.globo.tech/repo/10.5/ubuntu focal InRelease
Hit:8 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Fetched 120 kB in 1s (90,2 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-5.11.0-46-generic is already the newest version (5.11.0-46.51~20.04.1).
linux-modules-extra-5.11.0-46-generic is already the newest version (5.11.0-46.51~20.04.1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
amdgpu-pro : Depends: amdgpu but it is not going to be installed
Depends: libgl1-amdgpu-pro-glx but it is not going to be installed
Depends: libgl1-amdgpu-pro-ext but it is not going to be installed
amdgpu-pro-lib32 : Depends: amdgpu but it is not going to be installed
Depends: amdgpu-lib32 but it is not going to be installed
Depends: libgl1-amdgpu-pro-glx:i386
vulkan-amdgpu-pro : Depends: libwayland-amdgpu-client0 but it is not going to be installed
vulkan-amdgpu-pro:i386 : Depends: libwayland-amdgpu-client0:i386 but it is not going to be installed
I have same problems, but with AMDGPU 21.40.1. Latest AMDGPU 21.40.2 I can't download. Download not started. I try AMDGPU 21.40.1 install for Ubuntu 18.04 .5.6 and Ubuntu 20.04.3 and had same problems like u had. Drivers are broken.
Same issue,any solution?
Re download not started, clicking on the Download button (on https://www.amd.com/en/support/graphics/amd-radeon-5700-series/amd-radeon-rx-5700-series/amd-radeon-...) did not work. Right-click, select 'Copy link location...', open another tab and paste the link did.
wget https://repo.radeon.com/amdgpu-install/21.40.2/ubuntu/focal/amdgpu-install_21.40.2.40502-1_all.deb
sudo apt-get install ./amdgpu-install_21.40.2.40502-1_all.deb
sudo apt-get update
sudo amdgpu-install --usecase=hiplibsdk,rocm
Still many problems. Let know , how it goes.
Vasja: Ok, so I've tried a lot of things, and most recently I followed this guide: https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation
So I purged that repository and then I followed your instructions. Doing "sudo amdgpu-install --usecase=hiplibsdk, rocm" results in this ouput:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package rocm
Check /etc/apt/sources.list.d/amdgpu.list. I'll be it put the wrong distro in there, and packages won't install because they want libffi6 and your OS only provides libffi7.
If you're on Ubuntu 20.04, it should look like this:
$ cat /etc/apt/sources.list.d/amdgpu.list
deb https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal main
#deb-src https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal main
Similar problem here: 1 platform 0 devices, cliinfo
Any advice? Thanks!
Ubuntu 21.04, RX 6600 Sapphire Pulse
$apt show amdgpu
Package: amdgpu
Version: 21.40.2.40502-1350682
Priority: optional
Section: metapackages
Maintainer: Advanced Micro Devices (AMD) <slava.grigorev@amd.com>
Installed-Size: 9.216 B
Depends: amdgpu-dkms, amdgpu-lib (= 21.40.2.40502-1350682)
Download-Size: 1.676 B
APT-Sources: https://repo.radeon.com/amdgpu/21.40.2/ubuntu focal/main amd64 Packages
Description: Meta package to install amdgpu components.
-------------------------------------------
$ clinfo
Number of platforms 1
Platform Name AMD Accelerated Parallel Processing
Platform Vendor Advanced Micro Devices, Inc.
Platform Version OpenCL 2.2 AMD-APP (3361.0)
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd cl_amd_event_callback
Platform Extensions function suffix AMD
Platform Host timer resolution 1ns
Platform Name AMD Accelerated Parallel Processing
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform
clCreateContext(NULL, ...) [default] No platform
clCreateContext(NULL, ...) [other]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) No devices found in platform
Timcharper, that's what mine looks like.