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 .. 16 17 18 19 20 21 22 23 24 25 26 .. 79 Next › Last »

limsandy commented on 2022-04-01 11:28 (UTC)

Okay, I think I was celebrating too early. As I said, I was using OpenCL to do VDF verification for running node/farmer for a cryptocurrency program. It can use the CPU (slower) or GPU (with OpenCL) to keep in sync with the current blockchain height.

Under Win 10, with the same computer I'm consistently getting ~0.2 seconds. Under Manjaro, using the CPU, I get 2.7 - 3.0 seconds. With OpenCL, I'm getting 0.3xxx seconds, which is okay if it had been consistent. But sometimes I'm still getting 14 or 18 seconds.

ROCm OpenCL did not work for my APU. Setting the power level to 'high' really helps, but then it always reverts back to 'auto' after reboot. And sudo/root user is needed to change this setting. Can anyone tell me how to write a script that change this setting at reboot with root permission?

sudo nano /sys/class/drm/card0/device/power_dpm_force_performance_level

luciddream commented on 2022-04-01 11:16 (UTC) (edited on 2022-04-01 11:17 (UTC) by luciddream)

@limsandy

Good to hear, so ROCm OpenCL (or maybe Orca) works for your APU? Maybe you can share what you did to fix it so we can add it to Arch Wiki or something.

VDF verification times range from 0.3 all the way to 18 seconds.

What is VDF verification? I'm always looking for more tools to use and compare the performance after every release.

limsandy commented on 2022-04-01 11:04 (UTC)

@luciddream,

With the latest version 22.10, clinfo doesn't return segmentation fault anymore. So it's a good start.... I was even able to use OpenCL in the program that I wanted to use.... But the performance is sometimes a hit and a miss. VDF verification times range from 0.3 all the way to 18 seconds.

I thought this is due to the Radeon power profiles, so I've been messing with it.... Setting performance to 'high' as per instructed at https://wiki.archlinux.org/title/AMDGPU#Power_profiles

I FIXED IT! Thank you so much for updating this, luciddream!

apaz commented on 2022-03-31 21:20 (UTC)

22.10 works for me without any problems (5700xt). Geekbench gives the same results as always. I still need to do more extensive testing. Thanks!

luciddream commented on 2022-03-31 19:12 (UTC) (edited on 2022-03-31 19:35 (UTC) by luciddream)

With the new version I get about 7000 lower score in Geekbench compute, but I also did a BIOS update recently so maybe that's why.

luciddream commented on 2022-03-31 19:02 (UTC)

I have made a new release for both opencl-amd and opencl-amd-dev, I don't feel very confident about them so please send any feedback.

I want to make some extra changes but I can't really justify taking so much time for a release, so I hit the push "button". The process is straight forward, so I will try before next minor release to have a script or program ready to make updating very fast, compared to what it is now (completely manual).

luciddream commented on 2022-03-31 16:08 (UTC)

I'm preparing the new release and I noticed there is already a EULA for any proprietary component we use, since probably forever. So I guess we are already violating that. Maybe it's better to add it in the description of the package.

L_S commented on 2022-03-31 13:05 (UTC)

No issues with amdgpu-llvm, except it takes up allot of space. Even though rocm-llvm is a "depends" of the hip-runtime-amd .deb its probably best it's left in opencl-amd-dev. No idea about EULAs and the proprietary opencl-legacy-amdgpu-pro-icd sorry. Thanks for the hard work!

luciddream commented on 2022-03-31 10:21 (UTC)

In the 5.1 release notes there is a notice that the use of closed source rocm parts requires an agreement with their EULA. I wonder how other packages are dealing with this, if there is an example I can check before I make the release (if the closed source parts are necessary)

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

5.1 / 22.10 has just appeared at https://repo.radeon.com/

Nice, I will try to take a look later in the evening.

Fingers crossed the Blender HIP implementation doesn't require the rocm-llvm provided in the opencl-amd-dev.

Why do you say that? Because of disk size required? Or did you have any other issues with it