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.181310
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-09-22 11:12 (UTC)

Required by (118)

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

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 18 19 .. 77 Next › Last »

luciddream commented on 2022-10-03 09:48 (UTC)

@AndyRTR If I'm not wrong RX460 is using the legacy driver which is broken in this release. So either revert to the previous release or wait for an AMD fix.

@wsippel no, I just forgot to comment it out, I actually had to spend a lot of time with opencl-amd-dev because of the changes in the archive files, and I was too tired after. I don't think it's a problem though.

wsippel commented on 2022-10-03 08:39 (UTC)

@luciddream I don't know if it's really hurting anything, but is there a reason you create amdocl-orca64.icd, considering it's not actually included in this release?

AndyRTR commented on 2022-10-03 08:35 (UTC)

I can confirm the darktable segfault with latest opencl driver. My card is a RX460.

luciddream commented on 2022-10-03 07:38 (UTC)

@magicgoose what GPU do you have? I didn't try darktable to be honest with latest opencl-amd. I will try to do it this tonight. It doesn't always mean it's a driver problem though, sometimes the applications need to change some code in order to be compatible. AMD also forgot to upload legacy proprietary drivers for opencl, so if you have an older GPU you will have to wait for a new release I'm afraid. I usually don't upgrade to versions that are "broken" like this, but with these slow updates that AMD is providing it's better to have something than nothing.

magicgoose commented on 2022-10-03 07:10 (UTC) (edited on 2022-10-03 07:17 (UTC) by magicgoose)

darktable (which uses OpenCL) fails to start after the latest update of opencl-amd, with an error related to OpenCL.

I was interested to try opencl-amd-polaris, but seems like it was deleted, there's no such AUR page at the moment.

Then I tried downgrading package opencl-amd (22.40.0.50300-1 => 22.20.3.50203-1) and it helped.

wsippel commented on 2022-10-02 09:02 (UTC) (edited on 2022-10-02 09:55 (UTC) by wsippel)

@apaz no, both luciddream's and my PKGBUILD should be basically the same (arch4edu's are definitely different, they are based on rocm-arch AFAIK). Do you use the Arch Blender package? Because that one doesn't work for me, either. The official binary from blender.org works fine with luciddream's package, I switched over yesterday and just tested it.

EDIT: Just checked, Arch's Blender package has HIP support enabled, but doesn't include any kernels (or at least no kernels for RDNA1), so HIP tries to compile them at runtime, which doesn't work with opencl-amd because the compiler isn't included in this package - it's in opencl-amd-dev. The official Blender binary comes with all kernels for supported GPUs and works fine with just opencl-amd, if you want to save a few gigabytes of disk space.

luciddream commented on 2022-10-02 08:11 (UTC)

@apaz Blender cycles works for me with latest opencl-amd and a Sapphire 5700xt Nitro+. I've only tested one scene though.

apaz commented on 2022-10-02 07:36 (UTC)

@wsippel I have a RDNA1 (RX5700XT); Blender's Cycles does not work for me with either opencl-amd(-dev) or ROCm installed from the Arch4edu repository. Does your PKGBUILD do different things with these 2 packages?

luciddream commented on 2022-10-01 23:29 (UTC)

@wsippel yes but it's probably a mistake, I bet they are going to fix it or make another release soon.

wsippel commented on 2022-10-01 22:34 (UTC)

@luciddream I meant AMD doesn't seem to provide opencl-legacy-amdgpu-pro-icd anymore, which used to contain the legacy OpenCL driver, no?