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.63
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-05-22 15:22 (UTC)

Required by (133)

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 .. 53 54 55 56 57 58 59 60 61 62 63 .. 82 Next › Last »

Recompiler commented on 2020-11-20 00:25 (UTC) (edited on 2020-11-20 00:27 (UTC) by Recompiler)

@sperg512

I got your message from the other aur package thread.

Almost right after I wrote that I switched to this package and unfortunatly I'm still getting the same problem, Blender is seg faulting any time I set my Vega 10 to be used with OpenCL in the renderer.

I can provide any information you need to try to narrow the issue down.

Specs: Lenovo Flex 14-API 81SS000BUS Ryzen 7 3700U Zen+ Radeon RX Vega 10 Picasso GCN 5 Arch

EDIT Also wanted to say that in my case the Vega 10 is a iGPU, It's on the same die as the CPU.

sperg512 commented on 2020-11-19 23:52 (UTC) (edited on 2020-11-20 00:02 (UTC) by sperg512)

Well this is weird. I unarchived and then decompressed all the deb files and checked the libraries it produced. None of the remaining ones not already included here are related to OpenCL or ROC*.

However, @coxackie I might have an idea. The release notes say it requires kernel 5.9 - do you have that?

Also, I noticed there's a clinfo-providing deb file in there, would it be a good idea to provide and conflict clinfo? Thought it would be helpful since it's good for debugging CL issues.

If everyone's okay with it, I'll add it, but either way I'm also gonna add linux>=5.9 to the requires list because that's what I believe to be the source of @coxackie.

In addition, the rocm-device-libs doesnt seem to get its files copied over, I'll fix that too. (though I don't know where to actually put the files--doing /opt/amdgpu for now)

sperg512 commented on 2020-11-19 17:42 (UTC)

What I was thinking is that it maybe has its own version of LLVM specific for Radeons but I don't know. I'll be home in about 2-2.5 hours, so like I said I'll check the data for those deb files, to see if it has its own libraries

coxackie commented on 2020-11-19 16:55 (UTC)

@sperg512 @luciddream as I mentioned, I will be happy to test combinations to see what could potentially work. I do have installed the llvm and clang arch packages - in fact, they are required by opencl-mesa.

luciddream commented on 2020-11-19 16:31 (UTC)

Most of these files are provided by other packages though. Specifically llvm-libs and clang - Even after I deleted clang, clinfo continues to work.

sperg512 commented on 2020-11-19 16:04 (UTC)

There are 2 .deb files that were not extracted: llvm-amdgpu-pro-rocm_11.0-1164792_amd64.deb and libllvm-amdgpu-pro-rocm_11.0-1164792_amd64.deb (not counting the dev ones). Maybe those have necessary files as they are LLVM things. In a bit I'll make a PKGBUILD that uses those as well and see if it works.

luciddream commented on 2020-11-19 15:43 (UTC) (edited on 2020-11-19 15:54 (UTC) by luciddream)

Like @sperg512 said there are some extra files that I haven't used in my PKGBUILD. This is the complete list of the files in the lib directory on Ubuntu after a headless OpenCL installation.

AMDGPU:

libdrm_amdgpu.so.1 libdrm.so.2 libhsakmt.so.1 libkms.so.1 libdrm_amdgpu.so.1.0.0 libdrm.so.2.4.0 libhsakmt.so.1.0.6 libkms.so.1.0.0

AMDGPU-PRO:

libamd_comgr.so.1 libamdhip64.so.1 libhsa-runtime64.so.1 libOpenCL.so.1.2 libamd_comgr.so.1.7.0 libamdhip64.so.1.5.19245 libhsa-runtime64.so.1.2.0 libamdhip64.so libamdocl64.so libOpenCL.so.1

edit: tbh I don't see something missing. Maybe libOpenCL but this is provided by ocl-icd and it was working with 20.40

coxackie commented on 2020-11-19 15:31 (UTC)

@sperg512 if there is any way I can help by testing, let me know...

@apaz well, the 5700 (no XT) seems to be unhappy with this change. Is there anything else that you guys have installed that may be helpful? I also have opencl-mesa and all dependencies there (but it has other problems); but the card is not detected independently of whether I have opencl-mesa installed.

sperg512 commented on 2020-11-19 15:28 (UTC)

@coxackie that's exactly what I feared. I think the ROCr stuff is just overall lighter than pal, but there were some other files that I might add if i can find any that might be necessary

apaz commented on 2020-11-19 15:22 (UTC)

@coxackie A lot has changed: they switched to the ROCr backend, which is part of ROCm. Until now amdgpu-pro and ROCm were incompatible. Strange though, with 5700XT it works without problems both for me and luciddream.