cancel
Showing results for 
Search instead for 
Did you mean: 

Devgurus Discussion

vmetodiev
Adept II

amdgpu-install on Ubuntu 22.04.1 LTS

Hello Community,

I tried to install the amdgpu-install from the below link on Ubuntu 22.04.1 LTS

https://www.amd.com/en/support/linux-drivers

However, the script reports a lot of unmet dependency issues upon trying to install OpenCL and Vulkan.

None of the threads in the AMD Community related to the issue provides a solution. 

 

Could anyone suggest a recently tested and working combination of amdgpu-install version and Ubuntu version?

1 Solution
vmetodiev
Adept II

After re-installing my desktop Ubuntu 22.04.1 LTS, I finally managed to run the installer successfully. I used the following parameters:

amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk --opencl=legacy

IMHO, the amdgpu-install utility seems to be somehow dependent on the Ubuntu device discovery procedure and the consequent automatic driver and .deb packages installation.

View solution in original post

5 Replies
vmetodiev
Adept II

Update:

Using a fresh Ubuntu Server 22.04 installation, I somehow managed to successfully install the following:

amdgpu-install --usecase=graphics --vulkan=amdvlk --opencl=rocr

But other arguments would still report missing dependencies, for example:

amdgpu-install --usecase=graphics,opencl,rocm,openclsdk,hip,hiplibsdk --opencl=rocr,legacy --vulkan=amdvlk,pro --no-32 --accept-eula

 

0 Likes

What is the Make & Model of your AMD GPU card?

Are you using a Professional or Consumer GPU card?

NOTE: It is possible that the AMDGPU Linux drivers are not fully compatible with Ubuntu LTS versions.

In the Release notes under Linux Drivers Compatibility OS it doesn't mention any LTS version:

Screenshot 2022-11-06 093328.png

But since you do have the Latest LTS version for Ubuntu I imagine it should be compatible since it gets all the latest updates and patches like regular Ubuntu OS but is more secure and stable then regular Ubuntu OS.

You can always open a AMD Support ticket and ask them if AMDGPU Linux driver is fully compatible with Ubuntu LTS or at least those that you said are having issues installing from here: https://www.amd.com/en/support/contact-email-form

vmetodiev
Adept II

An old consumer-grade Radeon RX 460... but I am not sure how this relates to the Ubuntu dependencies at all. 

The Ubuntu Server was installed on a virtual machine. On my desktop Ubuntu, I am still struggling with the following:

$ amdgpu-install --usecase=graphics --vulkan=amdvlk --opencl=rocr
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 https://repo.radeon.com/amdgpu/22.20/ubuntu jammy InRelease
Hit:6 https://repo.radeon.com/rocm/apt/5.2 ubuntu InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-headers-5.15.0-52-generic is already the newest version (5.15.0-52.58).
linux-headers-5.15.0-52-generic set to manually installed.
linux-modules-extra-5.15.0-52-generic is already the newest version (5.15.0-52.58).
linux-modules-extra-5.15.0-52-generic set to manually installed.
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-lib : Depends: libgl1-amdgpu-mesa-dri but it is not installable
Depends: mesa-amdgpu-va-drivers but it is not installable
comgr : Depends: libtinfo5 but it is not installable
gst-omx-amdgpu : Depends: libomxil-bellagio0 but it is not installable
mesa-amdgpu-omx-drivers : Depends: libomxil-bellagio0 but it is not installable
E: Unable to correct problems, you have held broken packages.

Try posting this thread at AMD Developer's Forum. They have OpenCL and Vulkan Forums there.

Start by posting here first to get access to those other Developer's forums: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum

The Moderator will give access and maybe assign the thread to the appropriate forum.

Here is AMD's ROCM Forum: https://community.amd.com/t5/rocm/ct-p/amd-rocm

0 Likes
vmetodiev
Adept II

After re-installing my desktop Ubuntu 22.04.1 LTS, I finally managed to run the installer successfully. I used the following parameters:

amdgpu-install --usecase=graphics,opencl --vulkan=amdvlk --opencl=legacy

IMHO, the amdgpu-install utility seems to be somehow dependent on the Ubuntu device discovery procedure and the consequent automatic driver and .deb packages installation.