Package Details: opencl-amd 1:6.2.4-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.72
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-11-07 20:43 (UTC)

Required by (126)

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-11-07 20:44 (UTC) by luciddream)

Current release is for ROCm 6.2.4 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 .. 77 Next › Last »

luciddream commented on 2024-04-03 15:27 (UTC) (edited on 2024-04-03 15:32 (UTC) by luciddream)

I just noticed 6.0.3 has been recently released. I can't flag the package because it was already flagged a week before. I will try to make a release as soon as possible (hopefully tonight)

edit: However, no changelog is provided so I don't promise anything. The xz fiasco made me 100x more paranoid about everything.

luciddream commented on 2024-03-27 15:57 (UTC)

Hi @demurgos, thanks for the feedback. It's good to know it's working with more recent GPUs.

demurgos commented on 2024-03-27 15:34 (UTC) (edited on 2024-03-27 15:34 (UTC) by demurgos)

I have an AMD Radeon 7900XTX, and this package allowed me to use it for Stable Diffusion (vladmandic/automatic). Important: hipconfig --version did not work initially, I had to reboot my computer to complete the installation (logging out may be enough).

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.