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 .. 45 46 47 48 49 50 51 52 53 54 55 .. 79 Next › Last »

GI_Jack commented on 2020-11-21 15:40 (UTC)

please remove linux from the depends for those who run alternate kernel packages.

tigr72 commented on 2020-11-21 10:17 (UTC)

linux>=5.9 пришлось исправить на linux-zen>=5.9 ...

macgeneral commented on 2020-11-21 00:27 (UTC)

@sperg512: regarding the kernel>=5.9 requirement: https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-45

If I interpret it correctly, you can either use the AMD provided version (supports CentOS 7.9 / Kernel 3.10.0) or you can use the upstream version (oss amdgpu kernel module) which should be equivalent with Kernel >= 5.9 (in combination with Mesa >= 20.2 and llvm >= 11.0).

Recompiler commented on 2020-11-20 19:51 (UTC)

I found this note on the repo for ROCm: "Note: The integrated GPUs of Ryzen are not officially supported targets for ROCm." Not sure if it's related or not.

Also, a Redditor suggested I try the 20.40 version of opencl-amd so I did and it works better but I still have issues with blender when I try to render using opencl on the gpu, it says "kernel split error failed to load kernel_path_init."

clinfo https://pastebin.com/9jKJVrDd blender https://pastebin.com/jfZiXSfz

coxackie commented on 2020-11-20 17:05 (UTC) (edited on 2020-11-20 18:25 (UTC) by coxackie)

I can confirm that OpenCL is up and running now (for example, hashcat works fine). There is one more error appearing at clinfo - it is

Number of P2P devices (AMD)                     0
P2P devices (AMD)                               <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30>

Not sure if @luciddream can see anything else missing in the debug dump I gave earlier. Anyway, this error does not seem to have an effect, at least for now.

sperg512 commented on 2020-11-20 16:31 (UTC)

Oh yeah and I went to blender, then Edit -> Preferences -> System -> Cycles Render Devices -> OpenCL. That crashed it with a segfault. Oddly enough, same with the Junk Shop scene - it also segfaults, confirming that was just a driver issue.

sperg512 commented on 2020-11-20 16:12 (UTC)

@luciddream yeah there's a Wiki page for it but cba to find it. I'll also add linux>=5.9 to depends because like I said the release notes say it requires Kernel 5.9 or newer, and of course numactl.

luciddream commented on 2020-11-20 16:08 (UTC)

Great team effort everyone ! :) It will take me a while to find out how to commit the package, so maybe @sperg512 can do it before I figure it out.

coxackie commented on 2020-11-20 16:04 (UTC)

@luciddream what do you know? after installing numactl, all of a sudden clinfo happily shows my card is detected. good work! please add to dependencies and update pkgrel, for others.

luciddream commented on 2020-11-20 15:58 (UTC) (edited on 2020-11-20 15:58 (UTC) by luciddream)

The first thing I noticed from the file, is that libnuma.so.1 is probably missing.

This is included in numactl package. I have that installed on my PC because of libvirtd/qemu.

@coxackie can you give it a try and install it? I will continue looking for more stuff in the file.