Package Details: opencl-amd 19.10.785425-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: 65
Popularity: 3.582393
First Submitted: 2016-12-01 03:45
Last Updated: 2019-05-12 12:40

Required by (22)

Sources (1)

Latest Comments

« First ‹ Previous ... 5 6 7 8 9 10 11 12 Next › Last »

darkbasic commented on 2017-09-27 23:44

Is it supposed to work on SI?

pouar commented on 2017-08-27 14:51

probably a dumb question, but I can't get OpenCL to work without root. I tried adding myself to the video group, but it's still not working.

cgx commented on 2017-08-14 15:24

New build 465504 available

ctouze commented on 2017-08-02 20:01

Works with libdrm 2.4.82-1

grmat commented on 2017-08-01 17:19

Thanks for reporting. The file is located under '/usr/share/libdrm' with the upstream libdrm package and I've just linked it accordingly.

However, Alex Deucher also started pushing the libdrm changes by AMD which are required for their hybrid stack publicly[1].

It should now be possible to stop this approach for the OpenCL driver and replace libdrm with libdrm-amd[2]. The hybrid branch at [3] is intended to work with that (also includes Vulkan), but I've had no time to test things yet. I've set the linux-amd-mainline-git kernel as a dependency, which can be found in the AUR[4] and is also pushed out publicly now.


HappyGirl commented on 2017-08-01 17:15

I believe the source directory has changed in the package, as a quick workaround I just made the directory and created a symlink to the copy on my system and it seems to be working fine. I didn't have a copy of the file in /opt where it was expected, in fact the directory didn't exist on my system.

Not a great solution but it's a quick workaround

sudo find /usr/ -iname "amdgpu.ids" -exec stat -c "%a %n %y" {} \;
644 /usr/share/libdrm/amdgpu.ids 2017-07-19 10:52:24.000000000 -0400

mkdir -p /opt/amdgpu-pro/share/libdrm/
sudo ln -s /usr/share/libdrm/amdgpu.ids /opt/amdgpu-pro/share/libdrm/amdgpu.ids

Checking on my Ubunutu 16.04 box that I updated the driver yesterday /usr/share/libdrm/amdgpu.ids does seem to be the last one updated as well so I'd assume they decided to move it but forgot to update some dependencies, but that is just a guess

stat /usr/share/libdrm/amdgpu.ids /opt/amdgpu-pro/share/libdrm/amdgpu.ids
File: '/usr/share/libdrm/amdgpu.ids'
Size: 5488 Blocks: 16 IO Block: 4096 regular file
Device: 805h/2053d Inode: 130985 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-01 03:53:30.000000000 -0400
Modify: 2017-07-31 12:56:08.000000000 -0400
Change: 2017-08-01 03:53:31.717442199 -0400
Birth: -
File: '/opt/amdgpu-pro/share/libdrm/amdgpu.ids'
Size: 6110 Blocks: 16 IO Block: 4096 regular file
Device: 805h/2053d Inode: 270675 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-01 10:57:11.952749332 -0400
Modify: 2017-07-12 10:49:18.000000000 -0400
Change: 2017-07-30 14:35:09.701521015 -0400
Birth: -

maxammann commented on 2017-08-01 13:11

@p4block can confirm, damn worst moment to try this :D

p4block commented on 2017-08-01 13:08

With the latest upgrade, openCL apps are complaining about

/opt/amdgpu-pro/share/libdrm/amdgpu.ids: No such file or directory

And segfault

pgeorgiadis commented on 2017-07-18 07:16

I have a fresh system install which I did 2-3 days ago to test this with an AMD RX550.

"lspci -k" shows that the device is recognized and using the amdgpu driver:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Polaris12 (rev c7)
Subsystem: Device 1da2:e367
Kernel driver in use: amdgpu
Kernel modules: amdgpu

But "clinfo" shows the platform with name "AMD Accelerated Parallel Processing" with only 1 device, which is the CPU of the system.

What am I doing wrong?

BTW, AMD seems to have a slightly newer version of the driver here:

marmistrz commented on 2017-07-17 19:33

I was trying to set this up on a friend's computer running Manjaro and I get an error while running clinfo:

amdgpu_device_initialize: DRM version is 2.49.0 but this driver is only compatible with 3.x.x.