Package Details: opencl-amd 1:6.4.1-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: 134
Popularity: 0.61
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-05-22 15:22 (UTC)

Required by (135)

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.

Latest Comments

« First ‹ Previous 1 .. 48 49 50 51 52 53 54 55 56 57 58 .. 82 Next › Last »

coxackie commented on 2020-11-20 17:05 (UTC) (edited on 2020-11-20 18:25 (UTC) by coxackie)

I can confirm that OpenCL is up and running now (for example, hashcat works fine). There is one more error appearing at clinfo - it is

Number of P2P devices (AMD)                     0
P2P devices (AMD)                               <printDeviceInfo:147: get number of CL_DEVICE_P2P_DEVICES_AMD : error -30>

Not sure if @luciddream can see anything else missing in the debug dump I gave earlier. Anyway, this error does not seem to have an effect, at least for now.

sperg512 commented on 2020-11-20 16:31 (UTC)

Oh yeah and I went to blender, then Edit -> Preferences -> System -> Cycles Render Devices -> OpenCL. That crashed it with a segfault. Oddly enough, same with the Junk Shop scene - it also segfaults, confirming that was just a driver issue.

sperg512 commented on 2020-11-20 16:12 (UTC)

@luciddream yeah there's a Wiki page for it but cba to find it. I'll also add linux>=5.9 to depends because like I said the release notes say it requires Kernel 5.9 or newer, and of course numactl.

luciddream commented on 2020-11-20 16:08 (UTC)

Great team effort everyone ! :) It will take me a while to find out how to commit the package, so maybe @sperg512 can do it before I figure it out.

coxackie commented on 2020-11-20 16:04 (UTC)

@luciddream what do you know? after installing numactl, all of a sudden clinfo happily shows my card is detected. good work! please add to dependencies and update pkgrel, for others.

luciddream commented on 2020-11-20 15:58 (UTC) (edited on 2020-11-20 15:58 (UTC) by luciddream)

The first thing I noticed from the file, is that libnuma.so.1 is probably missing.

This is included in numactl package. I have that installed on my PC because of libvirtd/qemu.

@coxackie can you give it a try and install it? I will continue looking for more stuff in the file.

coxackie commented on 2020-11-20 15:12 (UTC)

@luciddream here. Not sure if the Manjaro comment was for me, but I am using pure Arch.

luciddream commented on 2020-11-20 15:08 (UTC)

By the way if you are using Manjaro please include that in the comment. I can see that amdgpu-pro drivers are using libdrm_amdgpu.so.1 library which is part of libdrm. This library is not updated in Manjaro as far as I can tell.

luciddream commented on 2020-11-20 14:43 (UTC)

@coxackie sorry to make you run it again but I can't use this file to compare because it's not text even if I copy paste it for some reason.

please run LD_DEBUG=all clinfo 2> lddebug.txt and upload again

sperg512 commented on 2020-11-20 14:37 (UTC)

By the way, heres some stuff I got:

Hashcat seems to work, and so does Geekbench. You can see the geekbench resutls here if needed