Package Details: opencl-amd 1:6.3.2-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, ROCm 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, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev
Provides: amd-smi-lib, comgr, hip, hip-dev, hip-doc, hip-runtime-amd, hip-samples, hipcc, hsa-amd-aqlprofile, hsa-rocr, hsa-rocr-dev, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocjpeg, rocjpeg-dev, rocm-cmake, rocm-core, rocm-dbgapi, rocm-debug-agent, rocm-device-libs, rocm-gdb, rocm-hip-runtime, rocm-language-runtime, rocm-ocl-icd, rocm-opencl, rocm-opencl-dev, rocm-opencl-icd-loader, rocm-opencl-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, rocprofiler-register, roctracer, roctracer-dev
Submitter: grmat
Maintainer: sperg512 (luciddream)
Last Packager: luciddream
Votes: 132
Popularity: 0.21
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-01-29 20:12 (UTC)

Required by (128)

Sources (38)

Pinned Comments

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.

luciddream commented on 2021-12-26 15:14 (UTC) (edited on 2025-01-29 20:13 (UTC) by luciddream)

Current release is for ROCm 6.3.2 opencl-amd package includes only OpenCL / HIP runtime. You also need to use opencl-amd-dev package for ROCm LLVM compiler, OpenCL and HIP SDK. Please relog / reboot after installing so your PATH gets updated

There are now official packages available: rocm-opencl-sdk for OpenCL and rocm-hip-sdk for HIP - You might have better luck with these packages depending on your GPU.

Latest Comments

« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 .. 79 Next › Last »

luciddream commented on 2022-05-13 16:09 (UTC)

@Deuchnord thanks for reporting that. I'm not using a helper to install it so it's easy to miss these things. I will figure out something for the next version!

Deuchnord commented on 2022-05-13 16:00 (UTC)

My AUR helper (yay) often complains about this package versions, because it's using strange version numbers:

opencl-amd: local (22.10.50100-1) is newer than AUR (22.10.2.50102-1)

The only workaround I found for now is to rename the package's folder in the cache and uninstall then reinstall:

mv ~/.cache/yay/opencl-amd ~/.cache/yay/opencl-amd-bak && yay -Rs opencl-amd && yay -S opencl-amd

I understand that this package sticks to the vendor release numbering, but would still help a lot if something could be done to limitate this issue, since yay's error is correct (22.10.50100 > 22.10.2.x).

luciddream commented on 2022-05-12 06:41 (UTC)

@limsandy it's a minor release so probably not much. But AMD released it before releasing any source code / documentation so I'm not sure what they have changed, and I forgot to compare the directories for any changes. It works fine so made a new release too.

If I had to guess is that this release is only to support new distribution versions like RHEL 9.0 which was also announced the same day.

limsandy commented on 2022-05-12 00:15 (UTC)

@luciddream

What's new in the latest version? :P

luciddream commented on 2022-05-06 13:02 (UTC)

@Ashark I don't see a reason to exclude it, it's part of the AMDGPU stack.

Ashark commented on 2022-05-06 11:42 (UTC) (edited on 2022-05-06 11:44 (UTC) by Ashark)

@luciddream @sperg512 What about excluding orca part from this package? The separate package appeared for it opencl-legacy-amdgpu-pro. And mentioned in list here.

luciddream commented on 2022-05-06 10:16 (UTC)

@melvyn2

There is no way to do that unless AMD includes the change in AMDGPU stack. One advantage of opencl-amd is that it uses the packages from AMD, so people can be somewhat certain that it's safe to use this. I think the best alternative now is to use a previous version of opencl-amd that works with your GPU.

As an alternative to opencl-amd people can use binaries from rocm-opencl-runtime if they are provided and they feel comfortable using them. The current ones are outdated and personally I don't consider them safe when I can't verify their build process. I think we can all hope that opencl-amd will not be needed in the future and a better package will be provided by AMD for Arch Linux, but currently that's all we have.

p.s I have a new AMD 5900x CPU for my PC, I need a new RAM now, then I think I can start testing rocm-arch as well and be able to compare with opencl-amd when necessary.

<deleted-account> commented on 2022-05-06 00:23 (UTC)

The https://aur.archlinux.org/packages/rocm-opencl-runtime package now includes a patch to enable the new (ROCm) OpenCL driver to work on GFX8/Polaris 10 GPUs. I realize that this package pulls the binaries from AMD, but I'd like for this package to enable ROCm CL support for polaris GPUs too, if possible.

evdinowork commented on 2022-04-26 23:30 (UTC) (edited on 2022-04-26 23:43 (UTC) by evdinowork)

wait so this works on 4000 series apus now??? edit: it technically does, but "Total global mem: 512 MB" I wish I could increase this, but my laptop is rather retarded and doesn't let me increase it in the bios, so there must be another way right?

limsandy commented on 2022-04-17 16:42 (UTC)

Nope, it compiled fine for me the second time. Try again. 👍