Package Details: opencl-amd 1:6.0.2-1

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: 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, 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-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, roctracer, roctracer-dev
Provides: 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, 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-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, roctracer, roctracer-dev
Submitter: grmat
Maintainer: sperg512 (luciddream)
Last Packager: luciddream
Votes: 131
Popularity: 0.110219
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-02-02 22:43 (UTC)

Required by (92)

Sources (35)

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-02-02 22:44 (UTC) by luciddream)

Current release is for ROCm 6.0.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 2 3 4 5 6 7 8 .. 75 Next › Last »

trougnouf commented on 2023-12-24 04:53 (UTC)

PKGBUILD for 6.0.0 which doesn't own /opt/rocm: https://pastebin.com/raw/eFNyatHX

@luciddream please consider making this change in your release so that it updates out of the box.

L_S commented on 2023-12-21 00:28 (UTC)

@luciddream, There is a drop off of opencl-amd users compared to the "official arch package".

That said you do a great job and are always months ahead with the packaging. The issue I have with ROCM is it has never been reliable, it regularly crashes Arch when using Blender or Stable Diffusion. I don't know if packaging can help when upstream ROCM and drm/amd logs about crashes are never resolved by AMD.

trougnouf commented on 2023-12-20 21:27 (UTC) (edited on 2023-12-20 21:27 (UTC) by trougnouf)

I have been having issues for a while using a Radeon 7900 XTX and OpenCL (darktable) or PyTorch (ranging from segfault to fully glitched display). I try again periodically because I really hope that my GPU will work properly one day but I haven't gotten around to try ROCM 6 yet (and I won't be able to try it for the next 2-3 weeks). I have also been following the GitHub issue you linked.

luciddream commented on 2023-12-20 18:11 (UTC)

lts kernel did not fix it for me but I found it's an actual kernel issue: https://github.com/ROCm/ROCm/issues/2596

The lack of comments here or anywhere about ROCm / opencl-amd tells me that people have stopped using it.

luciddream commented on 2023-12-20 10:44 (UTC)

I realized that opencl-amd 5.7.1 was released (and tested by me) before kernel 6.6 did, so maybe the problems are connected with the 6.6 kernel? I will try with an lts kernel later today to see if it makes any difference.

merlock commented on 2023-12-19 16:33 (UTC)

Sounds good to me...

luciddream commented on 2023-12-19 08:00 (UTC)

I'm not sure what's wrong, my guess is that either some dependency version mismatch (maybe libstdc++ version 13?) or our GPUs are not supported any more. Without feedback from more people is not easy to understand. So I will just wait for now.

luciddream commented on 2023-12-18 07:37 (UTC)

@merlock thanks, I will check it out tonight when I get home. In hashcat I get the same error as this guy: https://github.com/hashcat/hashcat/issues/3918 - That makes me think that maybe some files are missing (probably external dependencies). But maybe someone else finds what's wrong before I do.

merlock commented on 2023-12-17 19:59 (UTC) (edited on 2023-12-18 04:03 (UTC) by merlock)

@luciddream, I could probably get a backtrace of the coredump...but that wouldn't help here would it?

Would it even make a difference upstream?

backtrace if interested: https://0x0.st/HYf2.txt

luciddream commented on 2023-12-17 18:28 (UTC) (edited on 2023-12-17 18:28 (UTC) by luciddream)

@merlock I think it's not working for me either (5700xt). I only tested Geekbench before making a release and it worked fine. But I can't make it work for hashcat / blender. Will investigate but more feedback is welcome!