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 .. 65 66 67 68 69 70 71 72 73 74 75 .. 77 Next › Last »

<deleted-account> commented on 2018-05-02 06:29 (UTC)

I installed V18.10 on 2 systems so far and they both end up with following error: error: OpenCL version 1.1 does not support the 'static' storage class specifier

Both systems use the opensource in-kernel amd module, not the DRM garbage. Installed systems had a VEGA (this is probably normal that its not working there without DRM) but also a polaris RX580 GPU.

In my eyes, this driver isn't working. reverting to V17 on the polaris GPU solves the problem.

redshoe commented on 2018-04-29 01:18 (UTC)

Cool! Thank you for the explanation! I will use the GitHub one!

Thank you, again!

grmat commented on 2018-04-28 22:36 (UTC) (edited on 2018-04-28 22:41 (UTC) by grmat)

For workstation requirements, I'd recommend to use the actual amdgpu-pro driver stack on a supported distribution.

However, if you like to do this, it should work with amdgpu-enabled FirePro/Radeon Pro cards. You are free to use the 552542 PKGBUILD from github (download the PKGBUILD file and run makepkg -si where it's located).

No, not xf86-video-amdgpu. The actual GPU driver is inside the kernel, hence already installed if you use Linux. The stack would look as follows:

mesa|xf86-video-amdgpu|opencl-amd
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
         libdrm
         ^^^^^^
          DRM

where the drm driver (amdgpu in this case) is, as already mentioned, inside the kernel. libdrm will be installed as a dependency if you install this package. mesa would provide OpenGL, Vulkan, video acceleration and is not required to run OpenCL. Neither is xf86-video-amdgpu.

redshoe commented on 2018-04-28 19:15 (UTC) (edited on 2018-04-28 19:24 (UTC) by redshoe)

Ahh... was this intended for Radeon™ R7 300, R9 295X2, R9 280X, R9 280, R9 270X, R9 270, R7 265,HD 8700 - HD 8900, and HD 7900 Series? Then 511655 is the lastest version.

Is it possible for me to use this for FirePro products (FirePro's latest driver is 552542) as well?

Regarding the driver, I am just trying to install GPU Opencl runtime and only use OpenCL with thte GPU -> would this work? What do you mean by 'I already have the GPU driver installed'? Do you mean xf86-video-amdgpu?

grmat commented on 2018-04-28 17:13 (UTC) (edited on 2018-04-28 17:14 (UTC) by grmat)

I have the PKGBUILD updated and ready on my github (https://github.com/grmat/opencl-amd/) but still haven't seen the updated version on the AMD page, they still offer me the 511655. Can you point me to which link or form input you're using? In the meantime you can use the PKGBUILD from github, but I'll keep the assumption it has been withdrawn for now.

The direct download works if (and only if) you set a valid HTTP referer, it has already been discussed below.

I'm using the Ubuntu variant to create this package.

You already have the GPU driver installed. It's in the kernel. What you don't need is a graphics-related driver or runtime, as for OpenGL (provided by radeonsi in mesa) or DDX (xf86-video-amdgpu).

redshoe commented on 2018-04-28 14:21 (UTC) (edited on 2018-04-28 14:37 (UTC) by redshoe)

Yes, AMD released new version of the driver. I'll flag the package.

Correct me if I am wrong. URL download never worked for me. So I had to download it manually from the website via following link : https://support.amd.com/en-us/download

Also there are many versions for different distros from above link, but I don't know which one to use (maybe Ubuntu ones since pkgbuild shows .deb file?).

BTW, does this package work independently for OpenCL purpose only? as in I don't have to install the GPU driver? Or do I need to install the driver as well in order for me to make OpenCL work?

grmat commented on 2018-04-28 11:38 (UTC)

@redshoe: sure, didn't notice there was a new version. In that case, you can just flag the package with the link on top of this page and I'll look for the new version.

However, while the download works, I don't find the 552542 in their download section, can you point me to that? Because it looks to me like they might have withdrawn this build.

redshoe commented on 2018-04-27 14:42 (UTC)

@grmat: Okay. But is it possible to use the lastest version (17.50-552542) of AMDGPU-PRO downloads from AMD? Not the 17.50-511655.

grmat commented on 2018-04-26 17:45 (UTC)

@faddat: Honestly, I don't know. I'm not a so called "trusted user" (https://wiki.archlinux.org/index.php/Trusted_Users) and I haven't sought to be one yet. Also, it's my only package in the AUR. Unless some other TU would like to adopt the package, it's not likely to happen soon.

@redshoe: If you are already so sure that the file is alright, you can skip the checksum test (--skipchecksums). You don't have to modify the PKGBUILD first.

faddat commented on 2018-04-26 09:32 (UTC)

Any chance we'll see this moving to community any time soon?

I use this package from inside a chroot, and have to dance around quite a bit (create a user to build it, use pacman -U to install the package) to include this in my build script. It's pretty crucial for anyone using Arch and AMD to mine.

Thanks