Package Details: opencl-amd 1:6.1.0-2

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: 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: 131
Popularity: 0.84
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-04-19 20:50 (UTC)

Required by (114)

Sources (39)

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-04-18 21:02 (UTC) by luciddream)

Current release is for ROCm 6.1.0 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 .. 67 68 69 70 71 72 73 74 75 76 77 Next › Last »

nylnook commented on 2018-01-16 15:35 (UTC)

Thanks a lot for you answer wandinstallation, your suggestion worked to fix this error for me, but Blender do not found any GPU "Compute Device" in its preferences despite that (On a Radeon R9 290)...frustrating !

wandinstallation commented on 2018-01-15 22:03 (UTC) (edited on 2018-01-15 22:04 (UTC) by wandinstallation)

dpack and nylnook

What resolved the issue for me was to blacklist the radeon module

sudo vim /etc/modprobe.d/blacklist-radeon.conf

and add

blacklist radeon

save and restart

aoowweenn commented on 2018-01-12 10:38 (UTC) (edited on 2018-01-13 02:34 (UTC) by aoowweenn)

Atraii and arakmar

AFAIK, you have to set OCL_ICD_VENDORS in your .bashrc or .xprofile.

For directly use:

$ OCL_ICD_VENDORS=amdocl64.icd clinfo

nylnook commented on 2018-01-10 15:14 (UTC) (edited on 2018-01-10 15:15 (UTC) by nylnook)

Same issue than dpack, I'm also intersted in the solution ;)

arakmar commented on 2018-01-06 12:53 (UTC)

The same as Atraii, no platform found with clinfo. Anyone manage to fix this issue ?

dpack commented on 2017-12-28 16:21 (UTC)

When I try to run the clinfo command I get this error.

amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x. Segmentation fault (core dumped)

How can I fix this? My Arch is fully up to date and I'm using kernel version 4.14.8-1-ARCH x86_64

grmat commented on 2017-12-24 13:03 (UTC)

just got time to look at the issue. In fact, some paths have changed (thanks @Noctivivans). I didn't experience regressions yet, so I pushed the update out. Sorry for the delay

Noctivivans commented on 2017-12-23 01:47 (UTC) (edited on 2017-12-23 01:48 (UTC) by Noctivivans)

@utsi: have you checked reason of segfault? I noticed that paths in 17.50 are little different which caused segfault of e.g. clinfo.

Here is my quick-ugly-fixed PKGBUILD (in my version amdgpu.ids is in /opt/amdgpu instead of /opt/amdgpu-pro, I am not sure if that's correct way to do it but at least it works; tested on xmr-stak and clinfo):

https://pastebin.com/QvdgvFqm

works with 4.14.8-1-ARCH kernel and amdgpu driver (without binary blob), I have no other opencl packages installed.

Atraii commented on 2017-12-20 17:18 (UTC) (edited on 2017-12-21 18:16 (UTC) by Atraii)

I'm confused on how to get the icd to load this. clinfo reports only OpenCL 1.1 Mesa 17.3.0 on Clover. I don't have the newer OpenCL 1.2. Is there a dependency I'm missing?

Edit: Looks like I'm not the only one https://bbs.archlinux.org/viewtopic.php?id=232446

utsi commented on 2017-12-18 22:22 (UTC)

I tried modifying the package to get 17.50 to work but sadly OpenCL apps segfault when you start them, so it is not just you :\