Package Details: opencl-amd 19.30.934563-1

Git Clone URL: (read-only, click to copy)
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: TheGoliath
Last Packager: johnnybash
Votes: 74
Popularity: 2.05
First Submitted: 2016-12-01 03:45
Last Updated: 2019-12-10 16:43

Required by (26)

Sources (1)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

grmat commented on 2019-12-09 12:37

I'm disowning this package, as I currently don't have the time to maintain it. I'm sure someone else could adopt it and do a better job than I recently did

pierrec commented on 2019-12-03 09:23

Updated to 19.30.934563

# Maintainer: grmat <>

pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
depends=('libdrm' 'ocl-icd' 'gcc-libs')

DLAGENTS='https::/usr/bin/wget --referer -N %u'



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

package() {
    mkdir -p "${srcdir}/opencl"
    cd "${srcdir}/opencl"
    ar x "${srcdir}/${prefix}${major}-${minor}${postfix}/opencl-amdgpu-pro-icd_${major}-${minor}_amd64.deb"
    tar xJf data.tar.xz
    ar x "${srcdir}/${prefix}${major}-${minor}${postfix}/opencl-orca-amdgpu-pro-icd_${major}-${minor}_amd64.deb"
    tar xJf data.tar.xz
    cd ${shared}
    sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g"

    mkdir -p "${srcdir}/libdrm"
    cd "${srcdir}/libdrm"
    ar x "${srcdir}/${prefix}${major}-${minor}${postfix}/libdrm-amdgpu-amdgpu1_2.4.98-${minor}_amd64.deb"
    tar xJf data.tar.xz
    cd ${shared/amdgpu-pro/amdgpu}
    rm ""
    mv "" ""
    ln -s "" ""

    mv "${srcdir}/opencl/etc" "${pkgdir}/"
    mkdir -p ${pkgdir}/usr/lib
    mv "${srcdir}/opencl/${shared}/" "${pkgdir}/usr/lib/"
    mv "${srcdir}/opencl/${shared}/" "${pkgdir}/usr/lib/"
    mv "${srcdir}/opencl/${shared}/" "${pkgdir}/usr/lib/"
    mv "${srcdir}/libdrm/${shared/amdgpu-pro/amdgpu}/" "${pkgdir}/usr/lib/"
    mv "${srcdir}/libdrm/${shared/amdgpu-pro/amdgpu}/" "${pkgdir}/usr/lib/"

    mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm"
    cd "${pkgdir}/opt/amdgpu/share/libdrm"
    ln -s /usr/share/libdrm/amdgpu.ids amdgpu.ids

    rm -r "${srcdir}/opencl"
    rm -r "${srcdir}/libdrm"

tuxutku commented on 2019-11-17 21:30

I have created ubuntu version of this in bash:

ArnaudNux commented on 2019-09-25 11:36

There is a software conflict between foldingathome and the opencl-amd program. When it is installed, the program no longer works.

cruncher1 commented on 2019-08-19 13:38

I haven't had a chance to go through this latest driver. OpenCL is working on Navi in Arch after building the packages from amdgpu-pro-installer and only installing the OpenCL packages.

vanities commented on 2019-08-17 06:14

@cruncher1 Interesting, I don't know much about the internals at all, but I'm having a problem writing powerplay tables to my Vega. The changes show up in the pp tables (pp_od_clk_voltage), but not in amdgpu_pm_info. Not sure what I'm doing wrong.

cruncher1 commented on 2019-08-17 00:56

@vanities This package builds, but, at least for me, Navi GPU (5700XT) is not recognized as an OpenCL device. Works fine for Radeon VII, Vega, and Fury. Tested with Arch kernel and mainline kernel. I will debug the package, and see what else was changed, other than the libdrm folder, in the Debian package. OpenCL working on 5700XT in Ubuntu LTS using the AMD supplied driver.

vanities commented on 2019-08-16 21:05

Is there any reason we can't use 19.30? I have a patch ready for the PKGBUILD if you want to use it @grmat

Ashark commented on 2019-08-15 22:22

Now 19.30-855429 is available for all other gpus and for other distributions.

Ashark commented on 2019-07-19 18:32

@G3Xg2xV6A 19.30-838629 was not removed, it was released with this url: