Package Details: opencl-amd 1:6.1.0-2

Git Clone URL: https://aur.archlinux.org/opencl-amd.git (read-only, click to copy)
Package Base: opencl-amd
Description: ROCr OpenCL stack, supports Vega 10 and later products - Legacy OpenCL stack (Proprietary), supports legacy products older than Vega 10 - 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, hsakmt-roct, hsakmt-roct-dev, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocm-clang-ocl, 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, hsakmt-roct, hsakmt-roct-dev, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocm-clang-ocl, 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: 131
Popularity: 1.01
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-04-19 20:50 (UTC)

Required by (114)

Sources (39)

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 2024-04-18 21:02 (UTC) by luciddream)

Current release is for ROCm 6.1.0 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 .. 4 5 6 7 8 9 10 11 12 13 14 .. 77 Next › Last »

BishopWolf commented on 2023-03-17 15:01 (UTC) (edited on 2023-03-17 15:02 (UTC) by BishopWolf)

@ReaperOne I am using it in my RX580 desktop version, so far it is good. But I don't know if there is any difference with laptop version.

ReaperOne commented on 2023-03-17 13:54 (UTC)

Hello, i want to ask, is ROCm 5.4.3 support Polaris 21 ?...I have RX560 laptop version

luciddream commented on 2023-03-15 22:09 (UTC) (edited on 2023-03-15 22:16 (UTC) by luciddream)

@blueman Good catch. I think it's not needed any more, but it's not easy to say without testing everything. I tested some stuff (clinfo, Geekbench, rocgdb) and only ncurses is required as far as I can tell which should be already installed I guess. I will make some more tests in the weekend and if it's not needed any more I will remove it on the next ROCm release. Thanks

edit: note to self: rocgdb seems to need babeltrace package.

blueman commented on 2023-03-15 21:06 (UTC)

I just noticed that the package 'ncurses5-compat-libs' is orphaned now. Is it still required for proper function of opencl-amd?

merlock commented on 2023-03-14 23:01 (UTC)

@luciddream: 5.4.3-3 seems to be working for my RX560.

luciddream commented on 2023-03-14 17:37 (UTC)

@Garfonso

AMD makes broken releases every once in a while. I just noticed they silently updated the repository about 10 days after I made the last release, so I might be able to fix it tonight with a quick release. But usually the files are just missing so there is nothing we can do about it.

Garfonso commented on 2023-03-14 17:14 (UTC)

With version 1:5.4.3-2 I get the message dlerror: libamdocl-orca64.so: cannot open shared object file: No such file or directory from any command that tries to use OpenCL.

Today I did some investigations and there is the file /etc/OpenCL/vendors/amdocl-orca64.icd which contains the filename to that library.

But in /opt/rocm there is no such file. pacman says that the icd file indeed is part of the opencl-amd package. Why is it there? Or is something missing?

I currently experience some issues with opencl (with Libreoffice if opencl is enabled and sometimes even clinfo hangs... not sure why that is... my main use case is BOINC, which currently claims to not fine a usable GPU and only prints that error message... :-( )

In any case.. maybe the icl file should be removed in future versions if the library is no there at all?

maboleth commented on 2023-02-24 10:37 (UTC)

@apaz commented. I also get that error in clinfo and darktable (starting from terminal)

dlerror: libamdocl-orca64.so: cannot open shared object file: No such file or directory arch

However, darktable works fine.

RAMChYLD commented on 2023-02-18 14:29 (UTC) (edited on 2023-02-18 14:33 (UTC) by RAMChYLD)

@luciddream: Looking through Arch Linux's packages website, ffmpeg required a package called opencl-headers which I believe is associated with opencl-mesa. I believe I tried to remove that package as well because I thought it was associated with opencl-mesa (since opencl-amd is self-contained) and couldn't without also removing ffmpeg. That's when I concluded that ffmpeg is linked to opencl-mesa.

In any case, the latest update that solves the issue for @keilmillerjr has also solved my problem so I'm satisfied.