🌐
Arch Linux
aur.archlinux.org › packages › opencl-legacy-amdgpu-pro
Package Details: opencl-legacy-amdgpu-pro 23.20_1664988-1
April 20, 2022 - ... A Package providing non-free legacy ("PAL") based OpenCL ICDs , Just like the opencl-amd (https://aur.archlinux.org/packages/opencl-amd) Package , but the with the advantage of a having a 32-bit version (https://aur.archlinux.org/packages/lib32-opencl-legacy-amdgpu-pro) , and not including ...
🌐
openSUSE
en.opensuse.org › SDB:AMD_GPGPU
SDB:AMD GPGPU - openSUSE Wiki
July 28, 2025 - After that you will be able to install AMD ORCA OpenCL driver by installing opencl-legacy-amdgpu-pro-icd package.
Discussions

OpenCL, how do I get it when AMD will only give the propriety drivers to paid enterprise versions of Linux as far as I know? I have an AMD® Radeon (tm) r9 380 series and since I upgraded my OS, I no longer have OpenCL and all avenues explored has proved to be convoluted and a dead end.

EDIT: I made a new thread about this.

I keep meaning to write this up somewhere... TBH the main thing stopping me is that I can't think of a name for the GitLab repo.

I've managed to install just the OpenCL ICD from AMDGPU-PRO without messing up Debian's normal Mesa drivers, and it all works fine on my machine.

AMD expects you to install the AMDGPU-PRO driver as one big bundle, and their .debs for Ubuntu all depend on this one meta-package to try to make sure you install the whole thing together. Last time I checked, installing the whole bundle on Sid breaks OpenGL, possibly by replacing the Mesa driver with an older version.

So I made a little dummy package to 1) convince apt that AMD's stupid metapackage is installed and 2) set up the linker path, since they install the driver to /opt/amdgpu-pro/lib/x86_64-linux-gnu. That allowed me to install only opencl-orca-amdgpu-pro-icd_[version]_amd64.deb from the official AMDGPU-PRO release for Ubuntu (I have an rx470; for some newer cards you would want opencl-amdgpu-pro-icd_[version]_amd64.deb instead).

For a couple of months now, the proprietary OpenCL drivers have been working just fine alongside the open-source "everything else" drivers from Debian on my machine. I have tested it by running Blender and LuxMark.

If you're interested, I can post my dummy package and maybe some better-worded instructions. This comment ended up a bit long-winded, but all you actually need to do is install the dummy package and then install a single .deb from AMD's huge .tar.gz.

Also, somebody please tell me what to name the repo...

More on reddit.com
🌐 r/debian
18
12
October 29, 2020
Using integrated AMD-GPU for OpenCL?
Did you use amdgpu-install to install drivers? I know that rx 570 is not longer supported in rocm and you need legacy drivers for it. Maybe 5700G does not work with legacy drivers and you need to install both legacy and rocm. I had something similar when trying to make rx 6600 and rx 570 work together. It was a terrible mess for me and in the end Boinc still didn't work correctly and I was forced to use rx 570 on another computer. It was really disappointing and bad for AMD to stop supporting rx 500 so soon. More on reddit.com
🌐 r/OpenCL
18
5
March 1, 2023
Looking for AMDGPU-PRO 21.40.1 .tar.xz for Polaris on Ubuntu 22.04
https://repo.radeon.com/amdgpu-install/21.40.1/ubuntu/ happened to find this, may be what you need. Not the .tar.gz but its a .deb. I remember having this exact issue trying to get r9 390s to work properly back in the heydeys of eth. wish I kept it laying around, best of luck. https://www.amd.com/en/support/downloads/previous-drivers.html/graphics/radeon-600-500-400/radeon-rx-400-series/radeon-rx-470.html this is it. More on reddit.com
🌐 r/gpumining
2
3
April 14, 2025
A cleaner way of installing the OpenCL driver from AMDGPU-PRO on Debian

Going to install it right now. Will report on this shortly...

*info added

More on reddit.com
🌐 r/debian
11
26
October 31, 2020
🌐
Radeon
repo.radeon.com › amdgpu › 5.7.1 › ubuntu › pool › proprietary › o › opencl-legacy-amdgpu-pro
Index of /amdgpu/5.7.1/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/
../ opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.0..> 10-Oct-2023 23:11 22817660 opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.0..> 10-Oct-2023 23:11 24416620 opencl-legacy-amdgpu-pro-icd_23.20-1664988.20.0..> 10-Oct-2023 23:11 22814240 opencl-legacy-amdgpu-pro-icd_23.20-1664988.20.0..> ...
🌐
Linux Mint Forums
forums.linuxmint.com › board index › main edition support › hardware support › graphics cards & monitors
Has anybody installed OpenCl for AMD on 21.3 ? - Linux Mint Forums
February 7, 2024 - For older cards, you have to use opencl=legacy, and it only works with AMD's version of amdgpu kernel driver (i.e. you can't use it with the regular amdgpu kernel module by using --no-dkms). So: ... amdgpu-core amdgpu-dkms amdgpu-dkms-firmware amdgpu-pro-core clinfo-amdgpu-pro libdrm-amdgpu-amdgpu1 ...
🌐
Arch Linux
aur.archlinux.org › packages › lib32-opencl-legacy-amdgpu-pro
lib32-opencl-legacy-amdgpu-pro 22.10.1_1401426-1 - AUR
April 20, 2022 - ... A Package providing non-free legacy ("PAL") based OpenCL ICDs , Just like the opencl-amd (https://aur.archlinux.org/packages/opencl-amd) Package , but the with the advantage of a having a 32-bit version (https://aur.archlinux.org/packages/lib32-opencl-legacy-amdgpu-pro) , and not including ...
🌐
GitHub
github.com › Diolinux › amd-opencl-pro-linux-resolve › blob › main › install-opencl-amd.sh
amd-opencl-pro-linux-resolve/install-opencl-amd.sh at main · Diolinux/amd-opencl-pro-linux-resolve
# ./amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms · # # For Arch Linux or Manjaro, use the opencl-amd on AUR instread. # # To use amdvlk driver, launch the program/game with this command : # # VK_ICD_FILENAMES="/opt/amdgpu-pro/etc/vulkan/icd.d/amd_icd64.json" game64 ·
Author   Diolinux
Find elsewhere
🌐
GitHub
github.com › secureworkstation › rpm-amdgpu-pro-opencl
GitHub - secureworkstation/rpm-amdgpu-pro-opencl: Proprietary AMDGPU-PRO OpenCL ICD clean RPM repackage for Fedora (and compatible systems) · GitHub
It is meant to coexist with the free AMDGPU driver on a regular Fedora kernel (no proprietary kernel modules required). Kernel 5.6.7-300.fc32.x86_64 or newer is recommended. This package includes both the PAL and the ORCA (Legacy) driver, hopefully supporting all AMD GPU hardware that is supported by the driver (up to Navi14 / AMD Radeon 5600 XT), though it is only regularly tested by the package maintainer on Navi10 / AMD Radeon 5700 XT.
Starred by 37 users
Forked by 11 users
🌐
GitHub
github.com › ryan-ronnander › amdgpu-pro-opencl-installer
GitHub - ryan-ronnander/amdgpu-pro-opencl-installer: AMD OpenCL installer scripts for Linux. Run the open amdgpu stack with added proprietary OpenCL components. · GitHub
March 20, 2018 - AMD OpenCL installer scripts for Linux. These scripts install AMD's "legacy" (non-ROCm) OpenCL components alongside the open source amdgpu stack.
Starred by 3 users
Forked by 3 users
Languages   Shell
🌐
Einstein@Home
einsteinathome.org › content › quick-guide-how-install-opencl-amd-gpus-linux-kubuntu-1804-and-similar-distro
A quick guide: How to install OpenCL for AMD GPUs on Linux Kubuntu 18.04 (and similar distro) | Einstein@Home
August 17, 2019 - If you have a supported OS and you are using the amdgpu kernel module for your graphics and you just need to add the OpenCL compute capability to support Polaris or Vega GPUs (and also Sea Islands and Volcanic Islands GPUs that came before Polaris), the simplest thing to do is to download the full AMDGPU-PRO package (Radeon Software for Linux) for your supported distro and run the amdgpu-install script with the --headless and --opencl=pal,legacy options.
🌐
ArchWiki
wiki.archlinux.org › title › General-purpose_computing_on_graphics_processing_units
General-purpose computing on graphics processing units - ArchWiki
May 31, 2026 - ... intel-compute-runtime: a.k.a. ... (Broadwell), Gen9 (Skylake and variants), and Gen11 (Ice/Elkhart Lake) Graphics. The OpenCL ICD provided for legacy platforms has the suffix "legacy1"....
🌐
GitHub
gist.github.com › kytulendu › 3351b5d0b4f947e19df36b1ea3c95cbe
A shell script to install AMDGPU-PRO OpenCL driver. · GitHub
August 26, 2021 - # # ./amdgpu-pro-install --opencl=legacy,pal --headless --no-dkms # # For Arch Linux or Manjaro, use the opencl-amd or rocm-opencl-runtime on AUR instread. # # To use amdvlk driver, launch the program/game with this command : # # VK_ICD_FIL...
🌐
Reddit
reddit.com › r/opencl › using integrated amd-gpu for opencl?
r/OpenCL on Reddit: Using integrated AMD-GPU for OpenCL?
March 1, 2023 -

Hey there, one question. I am using an old RX570 for KataGo with OpenCL. Now I switched to a new Ryzen 5700G with integrated GPU, and I thought I could use that as well for speeding up calculation. KataGo does support more than 1 OpenCL-device, but when I check with "clinfo", I only see the RX570. I did enable the integrated GPU in BIOS, but it doesn't show up... any ideas?

w@w-mint:~$ clinfo
Number of platforms                               1
  Platform Name                                   AMD Accelerated Parallel Processing
  Platform Vendor                                 Advanced Micro Devices, Inc.
  Platform Version                                OpenCL 2.1 AMD-APP (3380.4)
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_amd_event_callback cl_amd_offline_devices 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             AMD

  Platform Name                                   AMD Accelerated Parallel Processing
Number of devices                                 1
  Device Name                                     Ellesmere
  Device Vendor                                   Advanced Micro Devices, Inc.
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 2.0 AMD-APP (3380.4)
  Driver Version                                  3380.4 (PAL,HSAIL)
  Device OpenCL C Version                         OpenCL C 2.0 
  Device Type                                     GPU
  Device Board Name (AMD)                         Radeon RX 570 Series
  Device Topology (AMD)                           PCI-E, 01:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
...
🌐
Google Groups
groups.google.com › g › linux.debian.user › c › iULNIKE5XIc
AMD OpenCL support
October 17, 2021 - Perhaps your claim of not having OpenCL support is erroneous and what happens actually is you have uncomplete/unsufficent support for your use case: a typical example is Darktable not having OpenCL image support, this requiring more recent OpenCL implementation that the Mesa one. Then you would probably have to either: - revert to use the proprietary amdgpu-pro driver (including an AMD ICD) instead of the free amdgpu one https://www.amd.com/en/support/kb/faq/amdgpu-installation - or continue using the free amdgpu driver but install ROCm (AMD ICD) https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html - or continue using the free amdgpu driver but install the ICD subset of the proprietary driver https://linuxconfig.org/install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu
Top answer
1 of 2
5

I just did a fresh install to a USB3.0 thumb drive using 22.04.2 LTS and was able to get my RX 5600XT working with OpenCL. 5600XT is a Navi10, the 6700XT is a Navi22. Maybe it will work...

I grabbed the non-HME version 22.40.3 for Ubuntu 22.04.2. dpkg -i....then:

root@yada:/# amdgpu-install --usecase=workstation,rocm,opencl --opencl=rocr,legacy --vulkan=pro --accept-eula

There was a couple messages about missing firmware in /lib/firmware/amdgpu which appears to be common but they were a handful of specific code named GPU's. Looking at that directory shows a bunch of files for many types like Pitcairn, and Navi, and Vega.

Did a reboot and clinfo shows the 5600XT.

If you plan on compiling things with OpenCL support such as JTR be sure to:

sudo apt-get -y install ocl-icd-opencl-dev opencl-headers

Lastly, I added my user to groups video and render but I'm not getting any devices when I run clinfo or john --list=opencl-devices. Running as root works fine. Close enough for me.

Update May 2024

For the current Ubuntu 22.04.4 LTS I had to use an older version of the amd install scripts and downgrade my kernel to get it to work. rocm was picky and reading my failed makefile log trying to install the latest 6.0.6 installer threw errors during DKMS compiling. If anyone finds a newer combination please advise. Grab amdgpu-install version 5.5.3 dpkg -i amdgpu-install_5.5.50503-1620033.22.04_all.deb

Install kernel

sudo apt-get install linux-image-5.19.0-45-generic linux-headers-5.19.0-45-generic linux-modules-extra-5.19.0-45-generic

reboot...remove newer kernel otherwise DKMS will find it and try building modules and fail.

sudo apt-get remove linux-image-6.5.0-28-generic
sudo apt autoremove

Possibly reboot once more then run the original commands above and everything will install. No error about missing firmware like before, and following the advice of @askcompu rebooting after a usermod -a -G video,render [user] worked fine. clinfo now displays the card running as a user instead of root.

2 of 2
0

I encountered same issues with missing packages. So I unpacked the install.deb from AMD and extracted the repository URLs. The .deb is some kind of ZIP. The folder is etc/apt/... Putting this URLs manually to my sources.list and "apt update" and the install runs smooth.

🌐
Arch Linux
aur.archlinux.org › packages › opencl-icd-loader
AUR (en) - opencl-icd-loader - Arch Linux
opencl-driver (opencl-nvidia-410xxAUR, amdapp-sdkAUR, opencl-nvidia-440xxAUR, vc4cl-gitAUR, opencl-nvidia-430xxAUR, beignet-gitAUR, intel-openclAUR, mesa-wsl2-gitAUR, opencl-nvidia-340xxAUR, opencl-legacy-amdgpu-proAUR, beignetAUR, opencl-510xx-nvidiaAUR, intel-compute-runtime-legacy-binAUR, ...
🌐
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
[SOLVED] opencl in AMDGPU : clinfo get SIGSEGV , libreoffice not run / Pacman & Package Upgrade Issues / Arch Linux Forums
August 27, 2024 - ... the opencl-legacy-amdgpu-pro is out of date and as comment only have advantage of 32 bit : "A Package providing non-free legacy ("PAL") based OpenCL ICDs , Just like the opencl-amd (https://aur.archlinux.org/packages/opencl-amd) Package , but the with the advantage of a having a 32-bit ...
🌐
thelinuxvault
thelinuxvault.net › blog › install-opencl-for-the-amdgpu-open-source-drivers-on-debian-and-ubuntu
Install OpenCL For The AMDGPU Open Source Drivers On Debian and Ubuntu
Mesa automatically uses RustiCL for compatible GPUs (RDNA1+). We’ll install the necessary packages to enable OpenCL. The OpenCL ICD (Installable Client Driver) loader manages OpenCL implementations.
🌐
GitHub
github.com › ptrumpis › OpenCL-AMD-GPU
GitHub - ptrumpis/OpenCL-AMD-GPU: Fix OpenCL detection and performance issues on AMD Radeon GPU's by registering Installable Client Driver (ICD) files. · GitHub
A possible fix for OpenCL detection problems on AMD Radeon GPU's. It will scan your system for OpenCL Installable Client Driver (ICD) files by AMD and register them on Windows.
Starred by 74 users
Forked by 7 users
Languages   PowerShell 55.4% | Batchfile 44.6%