Package Details: opencl-amd 1:6.3.2-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: 132
Popularity: 0.21
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2025-01-29 20:12 (UTC)

Required by (128)

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.

luciddream commented on 2021-12-26 15:14 (UTC) (edited on 2025-01-29 20:13 (UTC) by luciddream)

Current release is for ROCm 6.3.2 opencl-amd package includes only OpenCL / HIP runtime. You also need to use opencl-amd-dev package for ROCm LLVM compiler, OpenCL and HIP SDK. Please relog / reboot after installing so your PATH gets updated

There are now official packages available: rocm-opencl-sdk for OpenCL and rocm-hip-sdk for HIP - You might have better luck with these packages depending on your GPU.

Latest Comments

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

luciddream commented on 2020-11-20 12:48 (UTC) (edited on 2020-11-20 12:49 (UTC) by luciddream)

@coxackie can you try to install rocm-smi and see if rocm-smi -a is working for you ? Maybe we can use that to find why it's not working for some people.

Also please try to run OpenCL software like Darktable / Geekbench / Hashcat and see if it's working, even if clinfo is not.

Also it would be nice if more people that opencl-amd works fine for them comment here. I still think this package should stay with upstream so 6800xt users can benefit from using it.

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

Use this PKGBUILD. Then just makepkg -si.

Might need to remove the 20.45 package first, as I don't remember pacman liking downgrades.

jiweigert commented on 2020-11-20 12:44 (UTC)

@sperg512: Thanks, but how can I get back to 20.40 in Manjaro?

A commandline or advise for option in PKGBUILD to change would be nice :-)

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

@jiweigert Revert to 20.40 as we stated in the pins, there's clearly been a lot of issues for this driver even if people like me, @luciddream, and @apaz don't have them. OpenCL might still work, but we do know some people's cards aren't being detected and that blender causes segfaults for most of us.

I thought this wasn't a driver issue at first but now that I see so many people having issues with it I think it might actually be. I think someone's gonna contact one of the ROCm developers on Phoronix to seek some support.

jiweigert commented on 2020-11-20 12:35 (UTC)

Hi,

with the change to last version of opencl-amd (20.45) Ryzen 5 3500U Vega 8 buildin AGPU (gfx902) is not supported anymore.

No device is found on the system anymore.

This is truly a regression as the driver worked so far good before.

What kind of options do I have now?

Kind regards

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

@luciddream One more thing: output of clinfo --offline from 20.40 is here. Compare with the one of 20.45 here. I can see that 20.40 (in my system) supports the newer GPUs, but for some reason 20.45 shows no support...

coxackie commented on 2020-11-20 11:47 (UTC) (edited on 2020-11-20 11:48 (UTC) by coxackie)

@luciddream With ls /usr/lib/libamd* I get

/usr/lib/libamd_comgr.so        /usr/lib/libamdhip64.so.1          /usr/lib/libamdocl-orca64.so
/usr/lib/libamd_comgr.so.1      /usr/lib/libamdhip64.so.1.5.19245  /usr/lib/libamd.so
/usr/lib/libamd_comgr.so.1.7.0  /usr/lib/libamdocl12cl64.so        /usr/lib/libamd.so.2
/usr/lib/libamdhip64.so         /usr/lib/libamdocl64.so            /usr/lib/libamd.so.2.4.6

and ls /usr/lib/libtinfo* gives /usr/lib/libtinfo.so /usr/lib/libtinfo.so.6.

Anything unusual?

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

@coxackie can you try to list some libraries on your system

la /usr/lib/libamd* and la /usr/lib/libtinfo*?

Maybe you need to make a symlink to libtinfo.so for some reason.

cd /usr/lib/
sudo ln -s libtinfo.so libtinfo.so.5.9 

coxackie commented on 2020-11-20 11:21 (UTC) (edited on 2020-11-20 11:22 (UTC) by coxackie)

@luciddream - no idea where the extension comes from. But, as you can see from the output, opencl-mesa is not installed now (otherwise there would be 2 platforms). I did install opencl-amd with opencl-mesa uninstalled, but no difference.

EDIT: also, no ROCm here.

luciddream commented on 2020-11-20 11:16 (UTC) (edited on 2020-11-20 11:17 (UTC) by luciddream)

Also do you have another ROCm package installed that could be in conflict with opencl-amd? I see clinfo crashing is a known issue for ROCm [1] - [2]