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

Required by (97)

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

1 2 3 4 5 6 .. 75 Next › Last »

katsuja commented on 2024-03-13 18:05 (UTC) (edited on 2024-03-13 18:06 (UTC) by katsuja)

Having a Polaris rx580 I solved the problem with the advice of @nho1ix downgrading. Thank you

fernandoac commented on 2024-02-16 19:34 (UTC)

@nho1ix thank you so much!

luciddream commented on 2024-02-08 09:54 (UTC)

@dreieck I'm not sure it's possible since that would also conflict with opencl-amd-dev package. I will check it out when I have more time available. Maybe we can move all conflicts from opencl-amd-dev in this package and let that array empty.

dreieck commented on 2024-02-08 09:41 (UTC)

Some more conflicts:

composable-kernel: /opt/rocm exists in filesystem (owned by opencl-amd)
hipblas: /opt/rocm exists in filesystem (owned by opencl-amd)
hipcub: /opt/rocm exists in filesystem (owned by opencl-amd)
hipfft: /opt/rocm exists in filesystem (owned by opencl-amd)
hiprand: /opt/rocm exists in filesystem (owned by opencl-amd)
hipsolver: /opt/rocm exists in filesystem (owned by opencl-amd)
hipsparse: /opt/rocm exists in filesystem (owned by opencl-amd)
magma-hip: /opt/rocm exists in filesystem (owned by opencl-amd)
miopen-hip: /opt/rocm exists in filesystem (owned by opencl-amd)
ocblas: /opt/rocm exists in filesystem (owned by opencl-amd)
rccl: /opt/rocm exists in filesystem (owned by opencl-amd)
rocalution: /opt/rocm exists in filesystem (owned by opencl-amd)
rocblas: /opt/rocm exists in filesystem (owned by opencl-amd)
rocfft: /opt/rocm exists in filesystem (owned by opencl-amd)
rocm-llvm: /opt/rocm exists in filesystem (owned by opencl-amd)
rocprim: /opt/rocm exists in filesystem (owned by opencl-amd)
rocrand: /opt/rocm exists in filesystem (owned by opencl-amd)
rocsolver: /opt/rocm exists in filesystem (owned by opencl-amd)
rocsparse: /opt/rocm exists in filesystem (owned by opencl-amd)
rocthrust: /opt/rocm exists in filesystem (owned by opencl-amd)

Please fix.

Regards and thanks for maintaining!

dreieck commented on 2024-02-07 13:35 (UTC)

Please add the following to the conflicts (and maybe provides? — please check) array:

  • rocm-bandwidth-test
  • rocblas
  • rocm-validation-suite
  • rocrand
error: failed to commit transaction (conflicting files)
/opt/rocm exists in both 'opencl-amd' and 'rocm-bandwidth-test'
/opt/rocm exists in both 'opencl-amd' and 'rocblas'
/opt/rocm exists in both 'opencl-amd' and 'rocm-validation-suite'
/opt/rocm exists in both 'opencl-amd' and 'rocrand'
opencl-amd: /opt/rocm exists in filesystem

Regards and thanks for maintaining!

luciddream commented on 2024-02-05 08:40 (UTC)

@nho1ix I've pinned your comment just in case other people have the same problem.

nho1ix commented on 2024-02-05 03:48 (UTC) (edited on 2024-02-05 03:49 (UTC) by nho1ix)

@luciddream sorry, I wasn't able to figure out how to display the segfault for DVR. I can tell you that the latest versions of opencl-amd & amdgpu-pro-oglp still do not work with DVR for Polaris GPUs specifically (in my case). Thus I left the note in case anyone else ran into the same issue as me.

Edit: Running latest Linux Kernel 6.7.3-arch1-2 + headers.

merlock commented on 2024-02-04 22:30 (UTC)

Well, no joy for me. :(

luciddream commented on 2024-02-02 22:46 (UTC) (edited on 2024-02-02 22:46 (UTC) by luciddream)

I've updated to 6.0.2 in a bit of a hurry, so hopefully everything is OK. Blender works fine (finally since latest kernel update), Geekbench works fine as well.

luciddream commented on 2023-12-29 09:17 (UTC)

@nho1ix it would be helpful to post the segfault here just in case it helps with packaging issues. However, I think this time it's probably just a linux kernel bug: https://github.com/ROCm/ROCm/issues/2596