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 .. 41 42 43 44 45 46 47 48 49 50 51 .. 79 Next › Last »

luciddream commented on 2021-02-01 07:37 (UTC)

@451farenheit it's good to hear some good news - since many people have issues with this version. From what I understand AMD 5700(xt?) will soon have full rocm support so I hope most problems will be eliminated with the next version. (or maybe the package as well). Make sure to also include what GPU you own when commenting (an issue or a success)

451farenheit commented on 2021-01-31 23:13 (UTC)

Hi there!

Just posting to congratulate the person taking care of this package. I installed it months ago with no success. Something was broken either in my pc or in the package. I never found out (booting the pc with opencl-amd started would always yield a black screen. Unstalling it solved the issue).

Today I tried to install it again to check my luck. Everything works flawlessly.

Thumbs up! And thanks a lot btw.

Best

brauliobo commented on 2021-01-26 12:06 (UTC)

indeed for mining 20.45 is always segfaulting and 20.40 is working, maybe a separate package name for version 20.40 would be useful

Ashark commented on 2021-01-16 21:02 (UTC)

@sperg512 I am maintaining amdgpu-pro-installer, and I removed opencl part from it (to avoid duplicate work). So you can remove opencl-amdgpu-pro-* from conflicts and also from provides. Also, amdgpocl can be removed. It was the name of this package very very long time ago. You can see comments history. So seems only opencl-driver is needed in provides.

sperg512 commented on 2021-01-16 01:12 (UTC)

@luciddream Yep, I've tried installing and uninstalling a load of different libraries, none of which seemed to help. LibreOffice once again crashes with OpenCL enabled (like before), but GeekBench works perfectly. I could test Blender but there's a known page fault so I won't. When I feel like coding again (probably by tomorrow) I can see if openCL even works at all with some small sample programs.

luciddream commented on 2021-01-16 01:04 (UTC) (edited on 2021-01-16 01:10 (UTC) by luciddream)

@sperg512 Maybe a long shot but do you have ncurses installed ? It contains a library that might be needed.

If that also doesn't work, try to strace -f clinfo 2>strace.txt - it might reveal more things about the issue.

sperg512 commented on 2021-01-16 00:26 (UTC)

@luciddream yup, I have no idea what's happened. Absolutely every variable I can think of is exactly the same--BIOS settings/version, GPU, PCI bus layout, etc etc. It might be because of the recent GCC/glibc updates. But if it's working for you yeah I've got no clue. I haven't tested any other OpenCL applications though, so when I get on pc again I'll try a few

luciddream commented on 2021-01-15 19:43 (UTC)

@gsus so one thing that is different is gcc-libs. Arch Linux gcc-libs is version 10.x while on Manjaro is 9.x - It may be caused by that.

@sperg512 didn't the package use to work for you? It still works fine on my PC.

gsus commented on 2021-01-15 18:58 (UTC)

@luciddream Sorry about that I forgot to mention. I use Manjaro 20.2.1

The diference of size if for the base 1024 (MiB) vs 1000 (MB)

sperg512 commented on 2021-01-15 16:12 (UTC)

Speaking of distroes, I just booted into my Arch install and yeah, segfaults just like my Artix install. lddebug here: https://sperg.funny.cl/cdn/arch_lddebug_2.txt

Same message in dmesg log, same segfault at the exact same offset, during what I think is linking/binding ios_base to libamdocl64.so. --offline doesn't help, either.