Package Details: opencl-amd 1:6.2.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, 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.94
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-09-22 11:12 (UTC)

Required by (119)

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-09-22 11:13 (UTC) by luciddream)

Current release is for ROCm 6.2.1 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

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

luciddream commented on 2024-09-02 07:45 (UTC)

@harre It doesn't surprise me, opencl-amd is basically the Ubuntu build which has different dependencies. But it somehow works so there is a point to keep maintaining it. Plus the official arch packages either don't work or are out of date most of the time (unfortunately).

I didn't know about the checkrebuild utility, I will start using it after every release to identify these issues myself - and maybe document them.

harre commented on 2024-09-02 00:35 (UTC)

There seem to be some mixup with the dependancies.

% checkrebuild -v                                        
foreign opencl-amd

ldd /opt/rocm-6.2.0/lib/llvm/share/gdb/python/ompd/ompdModule.so

    libclang-cpp.so.18git => not found

I can fix it by just doing:

sudo ln -s /lib/libclang-cpp.so.18.1 /lib/libclang-cpp.so.18git

but I have no idea of what might get borked, or if it is needed at all.

luciddream commented on 2024-06-22 12:20 (UTC)

I usually ignore binaries with no release logs, but I made an exception this time.

zion commented on 2024-04-21 07:10 (UTC)

Thanks for the updated package, that fixed the pytorch issue.

luciddream commented on 2024-04-19 06:45 (UTC) (edited on 2024-04-19 06:47 (UTC) by luciddream)

@zion thanks, I will make a new release tonight to fix it. rocm-smi will be deprecated but it should not be missing in this version. I didn't know it's used as a library.

zion commented on 2024-04-19 05:28 (UTC)

looks like this breaks the python-pytorch-opt-rocm package. i get the following error when i try to import torch: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.11/site-packages/torch/init.py", line 237, in <module> from torch._C import * # noqa: F403 ^^^^^^^^^^^^^^^^^^^^^^ ImportError: librocm_smi64.so.7: cannot open shared object file: No such file or directory

merlock commented on 2024-04-19 02:11 (UTC)

I don't think I'm even going to try this any further...I don't want/need a newer GPU, so I'm locking at 1:5.7.1-1.

@luciddream, thanks for all your past help, and for all your efforts going forward!

luciddream commented on 2024-04-18 21:29 (UTC) (edited on 2024-04-18 21:29 (UTC) by luciddream)

I've also included rocdecode which is missing from the Ubuntu installation, and removed rocm-smi completely. I'm not sure if ffmpeg6 is compatible with the rocdecode samples.. but I had no luck making it work so far. ROCm is huge and it will be helpful if multiple people can test different functionalities.

luciddream commented on 2024-04-18 21:07 (UTC)

I've pushed a new version. It seems that most of these libraries are part of gcc-libs, suitesparse and blas. I already had these packages installed on my system, and my packaging process is a mess at the moment, so please report if something is not working.