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 .. 57 58 59 60 61 62 63 64 65 66 67 .. 79 Next › Last »

kescherAUR commented on 2020-04-30 07:19 (UTC)

@kode54 I not only ran that, but I also ran the entire Phoronix OpenCL Test Suite. Everything works fine. It seems it might be related to lack of free RAM in your system indeed (as you mentioned in your most recent comment), since I had less than 1 GB of RAM allocated to anything during my tests, leaving about 15 GB of RAM to tests, including the Blender render.

kode54 commented on 2020-04-30 02:39 (UTC)

Package updated, and I have a feeling that it has the same problem that rocm-opencl-runtime just had on my current setup: Insufficient system RAM for the huge Blender project I attempted to render. With the rocm-opencl-runtime, that scene uses over 5GB of RAM to render, and that's not counting GPU RAM. It rendered in just over 7 minutes, much slower than when I had my full 16GB dedicated to a bare metal installation. I'm going to say this will probably improve with my future plan to upgrade to 32GB of RAM, where I will have a whole 24GB dedicated to my desktop VMs instead of the current 10GB.

kode54 commented on 2020-04-30 01:02 (UTC)

I will update the package, if only because I am attempting to switch to rocm-opencl-runtime instead.

kode54 commented on 2020-04-30 00:14 (UTC)

@kescherAUR Please also try the latest Blender, and for a test, try rendering the scene from this demo file:

https://cloud.blender.org/p/gallery/5dd6d7044441651fa3decb56

My Gnome session locks up the moment it reaches the part about compiling the kernels and uploading them, before it manages to display any rendering work. I have to switch to a TTY and killall blender, after which the Gnome session starts to respond again.

kescherAUR commented on 2020-04-29 16:39 (UTC)

Package built with patch in last comment of mine applied works fine on my machine (using an RX 480). No lockups or anything.

pix3l commented on 2020-04-29 15:00 (UTC)

@kode54: I'm not sure how it is, but if official drivers are updated rarely, then it would be smart to check rocm version first, because it's in constant development over git(talking about fix for pre-vega cards)

kescherAUR commented on 2020-04-29 14:42 (UTC) (edited on 2020-04-29 14:43 (UTC) by kescherAUR)

While this discussion is ongoing, if anyone wants to update their opencl drivers with this package, here's a git diff.

diff --git a/PKGBUILD b/PKGBUILD
index ee14d4b..09cc0f2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@

 pkgname=opencl-amd
 pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
-pkgver=19.50.967956
-pkgrel=5
+pkgver=20.10.1048554
+pkgrel=1
 arch=('x86_64')
 url='http://www.amd.com'
 license=('custom:AMD')
@@ -19,13 +19,13 @@ DLAGENTS='https::/usr/bin/wget --referer https://support.amd.com/en-us/kb-articl

 prefix='amdgpu-pro-'
 postfix='-ubuntu-18.04'
-major='19.50'
-minor='967956'
-amdver='2.4.99'
+major='20.10'
+minor='1048554'
+amdver='2.4.100'
 shared="opt/amdgpu-pro/lib/x86_64-linux-gnu"

-source=("https://drivers.amd.com/drivers/linux/${major}/${prefix}${major}-${minor}${postfix}.tar.xz")
-sha256sums=('d8bb480c72b4225ad864c60335d33254ce7d442590e8dd9c05659cc868b7be2f')
+source=("https://drivers.amd.com/drivers/linux/${prefix}${major}-${minor}${postfix}.tar.xz")
+sha256sums=('7cbd666f9dd3e25a7bd8332a2693cabae2c9b05afe00d286ef7120f38d0335f4')

 pkgver() {
    echo "${major}.${minor}"

kode54 commented on 2020-04-23 04:19 (UTC)

@pix3l good that they’re reading my comments

Regarding the provided, this package provides the same files, but installs them differently. This package installs them to /usr/lib, while the amdgpu-pro-installer package installs them to /opt/amdgpu-pro/lib/* and sets system loader path configuration files to search there before the common system locations.

pix3l commented on 2020-04-23 01:16 (UTC)

@kode54: https://aur.archlinux.org/cgit/aur.git/commit/?h=hsa-rocr&id=b68e99b242b64917bc17673532a981e56dc2a219 so they are reading your comments probably. And about splitting package, it's up to maintainer of the package. It's done to save save space on HDD, because usually user needs only one of them.

@BS86: Have you changed anything than version/checksums? Ive got VII, but the machine is disassembled and M/B need solder work, so I cannot test myself for now(but I'm following discussion,and trying to prepare system for all usefull tasks ;-)

BTW, do I understand right that by installingopencl-amdgpu-pro-comgr=19.50.967956, opencl-amdgpu-pro-orca=19.50.967956, opencl-amdgpu-pro-pal=19.50.967956 I will get identical binaries installed?If so, what's the purpose/benefits of this package? Does it mean that only real alternative to install is rocm-opencl-runtime?

kode54 commented on 2020-04-22 21:32 (UTC)

@BS86 As have I, and I don't have a Vega or newer GPU to test the pal driver. I only have an RX 480, and the orca driver is broken there. Should this package be split into two packages, like amdgpu-pro-installer does?

Last I checked, the only major reason for the upgrade was to support the 5600 series Navi cards.