Package Details: opencl-amd 1:7.1.1-1

Git Clone URL: https://aur.archlinux.org/opencl-amd.git (read-only, click to copy)
Package Base: opencl-amd
Description: ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, OpenCL runtime, HIP runtime) - This package is intended to work along with the free amdgpu stack.
Upstream URL: http://www.amd.com
Keywords: amd amdgpu computing gpgpu opencl radeon
Licenses: custom:AMD
Conflicts: amd-smi-lib, amdsmi, comgr, hip, hip-runtime-amd, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, openmp-extras-runtime, rocm, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-openmp, rocm-smi-lib, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev
Provides: amd-smi-lib, amdsmi, comgr, hip, hip-runtime-amd, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, opencl-driver, openmp-extras-runtime, rocm, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-openmp, rocm-smi-lib, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev
Submitter: grmat
Maintainer: luciddream
Last Packager: luciddream
Votes: 137
Popularity: 0.82
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-11-27 16:26 (UTC)

Required by (154)

Sources (19)

Pinned Comments

luciddream commented on 2025-12-13 09:13 (UTC) (edited on 2025-12-13 11:29 (UTC) by luciddream)

I have created four new packages for the ROCm technology preview release stream - currently ROCm 7.10.0. I assume with time they will be able (and forced) to replace the current opencl-amd-dev PKGBUILD.

luciddream commented on 2025-10-11 18:56 (UTC) (edited on 2025-11-27 16:30 (UTC) by luciddream)

Latest release: 7.1.1.

This package includes OpenCL and HIP runtime only.

For the full ROCm experience you need to install opencl-amd-dev which includes extra runtime and developer packages.

nho1ix commented on 2023-12-29 08:43 (UTC) (edited on 2024-02-10 07:13 (UTC) by nho1ix)

Note for anyone who has a Polaris GPU (Radeon RX 5xx) debugging issues with this package; Packages that use OpenCL like clinfo or davinci-resolve-studio will need you to downgrade opencl-amd to 1:5.7.1-1 as well as amdgpu-pro-oglp to 23.10_1620044-1 to avoid coredumps & segfaults.

DVR would not open unless these 2 packages were downgraded (along with their dependencies). Had to figure it out the hard way after hours using valgrind and rebooting over and over. Hopefully someone else will not have to pull their hair out trying to resolve their issue.

Latest Comments

1 2 3 4 5 6 .. 87 Next › Last »

luciddream commented on 2026-01-07 17:25 (UTC)

@qoppzvrbcqjqqlbn I'm not building anything, I'm just providing the existing packages from AMD. If you look at the roadmap they say they plan to eventually support RDNA 1.

qoppzvrbcqjqqlbn commented on 2026-01-07 13:52 (UTC)

@luciddream That is very nice to hear, the separate packages will hopefully make things easier.

For RDNA1 will you include patches such as done in: https://github.com/TheTrustedComputer/ROCm-RDNA1

To enable not officially supported targets like the 5700xt?

luciddream commented on 2026-01-07 12:49 (UTC)

@Rippeee

I'm not so sure about that, It looks like a pull request for RDNA1 has been merged since 25 November, so it's possible that in the next version ROCm will start working again instead of breaking. Also opencl-amd is probably going to be replaced by architecture specific packages (like the ones I've already made for RDNA3 / RDNA4) and RDNA1 is on the supported roadmap.

Rippeee commented on 2026-01-04 08:07 (UTC) (edited on 2026-01-04 10:02 (UTC) by Rippeee)

For anyone using RX 5000 series (e.g., Radeon RX 5700 XT): It never had official support but worked unofficially up to 6.3.2.

For RX 500 series and older: Official support ended at 5.7.1.

DO NOT use the latest version if you have an older card.

How to install an older version:

  1. Clone and check available versions:
git clone https://aur.archlinux.org/opencl-amd.git
cd opencl-amd
git log --all --oneline | head -30
  1. Find your version (example: 812e5c2 Updated to 6.3.2) and checkout:
git checkout 812e5c2
  1. Build and install:
makepkg -si

IMPORTANT: Prevent automatic updates Edit /etc/pacman.conf:

sudo nano /etc/pacman.conf

Under [options], add (remove the # to enable):

IgnorePkg = opencl-amd

Otherwise your card will break after the next system update!

luciddream commented on 2025-12-13 09:13 (UTC) (edited on 2025-12-13 11:29 (UTC) by luciddream)

I have created four new packages for the ROCm technology preview release stream - currently ROCm 7.10.0. I assume with time they will be able (and forced) to replace the current opencl-amd-dev PKGBUILD.

qoppzvrbcqjqqlbn commented on 2025-11-09 08:44 (UTC)

@luciddream

I will retry, maybe not surprising by the dates of these releases, its been a while since I had done anything with this (just needed to reinstall this package and now have issues).

If memory serves me, opencl-mesa works except I used CPP bindings in a project (CLHPP) and that doesn't afair.

But I will try some things and report back.

luciddream commented on 2025-11-09 08:37 (UTC)

@qoppzvrbcqjqqlbn

Did you try with opencl-mesa instead?

qoppzvrbcqjqqlbn commented on 2025-11-09 08:32 (UTC)

I am trying to build this aur for version 22.20.3 (72e6a6669f6e) but the packages on the amd repo return 404.

Is there any way how I can solve this? I need this version to support my rx470 any version higher and they steal my OpenCL compiler from the runtime :/

luciddream commented on 2025-10-20 14:21 (UTC)

Thanks @dreieck, I will add it for the next release (both in conflicts and provides).

dreieck commented on 2025-10-20 13:31 (UTC)

Please add amdsmi to conflicts and maybe provides array:

opencl-amd: /opt/rocm/bin/amd-smi exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/include/amd_smi/amd_smiConfig.h exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/include/amd_smi/amdsmi.h exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/lib/cmake/amd_smi/amd_smi-config-version.cmake exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/lib/cmake/amd_smi/amd_smi-config.cmake exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/lib/cmake/amd_smi/amd_smiTargets.cmake exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/lib/libamd_smi.so exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/BDF.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/README.md exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/Release_Notes.md exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/__init__.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/_version.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_cli.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_cli_exceptions.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_commands.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_helpers.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_init.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_logger.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/libexec/amdsmi_cli/amdsmi_parser.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/_version.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/LICENSE exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/README.md exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/__init__.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/_version.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/amdsmi_exception.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/amdsmi_interface.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/amdsmi_wrapper.py exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/amdsmi/libamd_smi.so exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/example/CMakeLists.txt exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/example/amd_smi_drm_example.cc exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/example/amd_smi_nodrm_example.cc exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/example/amdsmi_esmi_intg_example.cc exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/pyproject.toml exists in filesystem (owned by amdsmi)
opencl-amd: /opt/rocm/share/amd_smi/setup.py exists in filesystem (owned by amdsmi)

Regards and thanks for the package!