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 .. 60 61 62 63 64 65 66 67 68 69 70 .. 79 Next › Last »

kode54 commented on 2020-02-18 03:06 (UTC) (edited on 2020-02-18 03:07 (UTC) by kode54)

Criminy cripesakes. I'll just fix that. I thought I missed something. Does that warrant a new patch version, if the old version doesn't even download properly?

superherointj commented on 2020-02-18 02:55 (UTC) (edited on 2020-02-18 11:18 (UTC) by superherointj)

Downloading the driver is broken for me.

The correct URL is: https://drivers.amd.com/drivers/linux/19.50/amdgpu-pro-19.50-967956-ubuntu-18.04.tar.xz

But source URL is: source=("https://drivers.amd.com/drivers/linux//${prefix}${major}-${minor}${postfix}.tar.xz")

Note the two backslashes (//), it should contain 19.50 but it doesn't. This package needs to be fixed. It misses having "${major}" inside the //.

The working version is: source=("https://drivers.amd.com/drivers/linux/${major}/${prefix}${major}-${minor}${postfix}.tar.xz")

Please fix it. Thank you for maintaining the package.

Edit: It is now fixed. Thanks.

kode54 commented on 2020-02-18 02:07 (UTC)

Ah. The release notes for the 19.50 drivers do list RX 5500 and 5700 cards, maybe they don't support the 5600 yet? Or the mobile variants, for that matter.

I'll push an updated PKGBUILD momentarily.

apaz commented on 2020-02-17 10:20 (UTC) (edited on 2020-02-17 10:21 (UTC) by apaz)

I think it's my Navi 10 card that's still not well supported. From the "clinfo" I posted you can see that it does not recognize any openCL device. The only message I can get is:

"No compatible path tracking GPUs found. Cycles are rendered on the CPU"

I think I'll have to wait for Ubuntu LTS to be released and then the amdgpu-pro driver adaptation by AMD and then in AUR, before getting compatibility with my card. Thank you for the link.

kode54 commented on 2020-02-17 07:57 (UTC)

It works with Blender here. Are you sure you have a whitelisted GPU? I have an RX 480 8GB, specifically the Asus ROG Strix O8G. Blender whitelists GPUs and OpenCL drivers that they know will work properly, and blacklist all the rest. You need to start it with an environment variable to make it ignore the blacklist, at the peril of causing it to possibly crash, or even crash your GPU.

Refinement of the PKGBUILD patch here. I decided to make the AMD GPU driver version a variable, so it can easily be edited when changing the major/minor version numbers as well.

https://gist.github.com/kode54/3038ddc986ea20042daf998c69dd979e

apaz commented on 2020-02-04 21:06 (UTC)

(I'm a newbie) I tried to modify the PKGBUILD locally to use the recent OpenCL 19.50 from amdgpu-pro. Clinfo reports:

https://pastebin.com/rfQ6iLWd

If you want to try it, the modified pkgbuild is at:

https://pastebin.com/1w5WSbp1

Anyway, Blender still doesn't recognize the opencl. So for me it's useless.

veger commented on 2020-01-23 23:17 (UTC)

@Nisc3d He is using the proprietary binaries from AMD (read carefully and you see he build and installed amdgpu-pro-installer, and not this package)

Nisc3d commented on 2020-01-23 22:16 (UTC) (edited on 2020-01-23 22:21 (UTC) by Nisc3d)

I am also unable to get OpenCL working with Navi (5700 XT) by only installing this package. @cruncher1 Can you share exactly what you did?