Package Details: opencl-amd 19.30.838629-1

Git Clone URL: (read-only)
Package Base: opencl-amd
Description: OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack.
Upstream URL:
Keywords: amd amdgpu computing gpgpu opencl radeon
Licenses: custom:AMD
Conflicts: amdgpocl
Provides: opencl-driver
Submitter: grmat
Maintainer: grmat
Last Packager: grmat
Votes: 66
Popularity: 2.119723
First Submitted: 2016-12-01 03:45
Last Updated: 2019-07-09 15:12

Required by (21)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 ... Next › Last »

aufkrawall commented on 2018-05-20 13:47

PAL-based driver also works fine here with RX 560, great work as always. :)

grmat commented on 2018-05-20 12:40

Thanks for your test and comment. Vega users will be glad to hear that. I've just updated the package here as well to include the PAL-based driver.

Blazin commented on 2018-05-20 06:00

I tested your PAL+ORCA branch, and it works well with my Vega 64!

I did some experimenting on kernel 4.16 and found out that the PAL OpenCL drivers work fine without the extra step of installing libdrm.

I made a fork of your GitHub project and created a minimal PAL-only branch in it as a proof of concept.

grmat commented on 2018-05-11 10:21

@eggz: thanks for your comment. Every recent Linux graphics driver uses DRM, that also includes the upstream amdgpu driver.

I have pushed two newer versions to GitHub. One is the updated 18.20 PKGBUILD (in branch 18.20) and the other includes the newer PAL-based OpenCL driver (in branch PAL+ORCA), which I have never tested because I don't have recent hardware. Are you willing to try this one out?

eggz commented on 2018-05-02 06:29

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

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

Thank you, again!

grmat commented on 2018-04-28 22:36

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:


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

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

I have the PKGBUILD updated and ready on my github ( 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

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 :

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?