Package Details: opencl-amd 1:6.4.0-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: 133
Popularity: 0.30
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-04-11 22:54 (UTC)

Required by (132)

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 .. 47 48 49 50 51 52 53 54 55 56 57 .. 81 Next › Last »

Recompiler commented on 2020-11-27 22:53 (UTC) (edited on 2020-12-07 21:34 (UTC) by Recompiler)

Just wanted to update everyone on my findings. I switched to gentoo over the past week and tried out proprietary opencl for my vega 10 and well, it crashed blender as soon as i opened the properties menu, and clinfo still seg faulted.

Step 2 was obviously to test opencl in windows to see if it ever worked to begin with. To my surprise it worked, but it was really slow. Switching back to the cpu greatly improved the speed by over 10x. I don't know why it's like that but maybe the gpu just wasn't optimized enough for it, it is a low-end igpu after all.

Interestingly even cpu rendering in blender on windows proved to be 25% faster than cpu rendering was in linux.

My final thoughts: opencl can work if you're willing to jump through a bunch of hoops but expect low-end iGPUs to be outperformed by the CPU. Also for serious rendering/encoding just get a Nvidia GPU, cuda is way better and a whole lot easier to get working. I plan to send my large renders to my server to use my cuda cores to render with. But at least I have a okayish setup on my laptop for light renders by using opencl with my cpu.

I hope anyone else with a Ryzen 7 3700U and a Vega 10 iGPU can find this helpful. If you have questions feel free to contact me at vectorflaredesigns@gmail.com

sperg512 commented on 2020-11-21 17:21 (UTC)

@macgeneral oh, I thought it meant for the entire thing. will remove from depends

GI_Jack commented on 2020-11-21 15:40 (UTC)

please remove linux from the depends for those who run alternate kernel packages.

tigr72 commented on 2020-11-21 10:17 (UTC)

linux>=5.9 пришлось исправить на linux-zen>=5.9 ...

macgeneral commented on 2020-11-21 00:27 (UTC)

@sperg512: regarding the kernel>=5.9 requirement: https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-45

If I interpret it correctly, you can either use the AMD provided version (supports CentOS 7.9 / Kernel 3.10.0) or you can use the upstream version (oss amdgpu kernel module) which should be equivalent with Kernel >= 5.9 (in combination with Mesa >= 20.2 and llvm >= 11.0).

Recompiler commented on 2020-11-20 19:51 (UTC)

I found this note on the repo for ROCm: "Note: The integrated GPUs of Ryzen are not officially supported targets for ROCm." Not sure if it's related or not.

Also, a Redditor suggested I try the 20.40 version of opencl-amd so I did and it works better but I still have issues with blender when I try to render using opencl on the gpu, it says "kernel split error failed to load kernel_path_init."

clinfo https://pastebin.com/9jKJVrDd blender https://pastebin.com/jfZiXSfz

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.