Package Details: opencl-amd 1:6.2.4-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, 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: 132
Popularity: 0.72
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-11-07 20:43 (UTC)

Required by (126)

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 2024-11-07 20:44 (UTC) by luciddream)

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

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.

luciddream commented on 2023-02-17 16:09 (UTC)

@keilmillerjr thanks, I don't know much about opencl-nvidia, I will make a new release later tonight so it doesn't break for you.

keilmillerjr commented on 2023-02-16 13:18 (UTC)

Preparing...
Synchronizing package databases...
Refreshing AUR...
Cloning opencl-amd build files...
Generating opencl-amd information...
Checking opencl-amd dependencies...
Resolving dependencies...
Checking inter-conflicts...
Failed to prepare transaction:
could not satisfy dependencies:
- removing opencl-nvidia breaks dependency 'opencl-nvidia' required by cuda
Transaction cancelled.

luciddream commented on 2023-02-16 10:04 (UTC) (edited on 2023-02-16 10:16 (UTC) by luciddream)

Sorry but I'm not convinced. ffmpeg has no dependency on opencl-mesa and it should be able to run with opencl-amd instead.

Indeed, several documentation I come across online suggests that both can be installed side by side

In theory, maybe, but in practice, as you can see in the comments of opencl-amd aur page, it doesn't. There are open bugs about it in multiple places (ocl-icd, rocm, freedesktop)

I'm leaning towards reverting the change anyway, not because it's better, but because most users so far with this problem have reached out here and we provided them with a solution (by asking them to uninstall opencl-mesa)