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 .. 68 69 70 71 72 73 74 75 76 77 78 79 Next › Last »

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

redshoe commented on 2018-04-19 13:19 (UTC)

If you can't get it working try this.

Download the driver directly from AMD website Ubuntu or Debian and place it with PGKBUILD.

You can check its sha256sum by ...

$ sha256sum amdgpu-pro-17.50-(version-that-you-downloaded).tar.xz

and it will give you the sha256sum, and then copy/paste it into PKGBUILD.

grmat commented on 2018-03-30 14:41 (UTC)

@graudeejs: It does work when you set the HTTP referer correctly. That's why there is a DLAGENT set in the PKGBUILD (wget with correct referer, cURL has a --referer option too, if you prefer cURL).

graudeejs commented on 2018-03-29 17:05 (UTC)

Hello! I just want to warn you that tar download doesn't work. You have to manually download tar from https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx and place it in same directory as PKGBUILD.

grmat commented on 2018-03-18 12:53 (UTC) (edited on 2018-03-18 13:02 (UTC) by grmat)

No, as Vega runs OpenCL via the ROC stack, so rock/amdkfd+roct+opencl instead of amdgpu+libdrm+opencl. You'll have to look for ROCm builds/variants. Those should work without switching to the pro stack, it's open source but not everything is upstreamed afaik, so you'll maybe need to switch kernels and llvm as well.