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 .. 20 21 22 23 24 25 26 27 28 29 30 .. 79 Next › Last »

limsandy commented on 2022-03-02 06:33 (UTC)

Can you advise me on how to properly downgrade to version 20.40 and if that doesn't work, I also want to try version 20.45? :P

limsandy commented on 2022-03-02 06:22 (UTC)

ncurses5-compat-libs 6.3-1 has been previously installed.

I just re-build the files and run clinfo again. Segmentation fault (core dumped) again.

I believe I am running into the same problem as srahman5317.

luciddream commented on 2022-03-01 18:53 (UTC)

@limsandy

ncurses5-compat-libs is a dependency of opencl-amd - you need to install it first before running clinfo.

It's very unlikely that strace returns nothing, it should create a strace.txt file with hundreds of lines.

limsandy commented on 2022-03-01 18:37 (UTC)

==> Validating source files with sha256sums... ncurses-6.3.tar.gz ... Passed ncurses-6.3.tar.gz.sig ... Skipped ==> Verifying source file signatures with gpg... ncurses-6.3.tar.gz ... FAILED (unknown public key CC2AF4472167BE03) ==> ERROR: One or more PGP signatures could not be verified! Failed to build ncurses5-compat-libs

Some warning messages popped while some dependencies were gonna build. Then somehow it was building....

I had updated my Manjaro the latest today, used kernel 5.17rc5.

After building is done, I tried running clinfo and "Segmentation fault (core dumped)". strace clinfo 2> strace.txt and errors.txt returned nothing.

luciddream commented on 2022-02-28 08:22 (UTC)

@limsandy

This is the latest stable release (5.0.1 doesn't count since it has experimental binaries), I will wait for the next AMD release (which is probably March) before I can release a new package.

If you need OpenCL and ROCm is not working for you, you can try an older release that works, probably 20.40

limsandy commented on 2022-02-28 07:51 (UTC)

@luciddream,

Not yet. To be honest, I am a little scared to try this on my own because so many users have reported problems (and those who managed to make it work, did not find the solution straight-forward).

I am trying to run a crypto farmer program where it can use OpenCL to help it sync up to the current blockchain height. And the Vega iGPU inside a Renoir is actually very powerful to do it.

I'm not in a rush to use OpenCL so I have a few more weeks. BTW, do you plan on releasing a newer stable version of opencl-amd anytime soon? ;) I know AMD is releasing a bunch of drivers in kernel 5.17 so I might wait until then. ;)

luciddream commented on 2022-02-27 21:26 (UTC) (edited on 2022-02-27 21:29 (UTC) by luciddream)

@limsandy I don't think there is a reason to make any assumptions about how the drivers work / build / etc. Did you try opencl-amd and it's not working for you? What are you trying to run and what do the logs provide any errors? example try strace clinfo 2> strace.txt

You can also use the DEBUG flags, maybe they provide more information about any errors.

@srahman5317 sorry about your laptop!

limsandy commented on 2022-02-26 18:51 (UTC)

Hello luciddream,

I am a new Manjaro user and I really would like to get my AMD 4650 PRO (Renoir) APU to work with some programs utilizing OpenCL. Now I've just read srahman5317's trouble getting his Renoir laptop to work with OpenCL and getting it to work might be tricky.

Now don't get me wrong, I know someone who has successfully get his Renoir APU to work with OpenCL but he said the process is quite painful. And here I quote him:

"I was somehow able to get OpenCL running on my AMD 4800U iGPU under Linux... it was very tricky and even then it only seemed to work when a monitor was attached and running a GUI. It would not work headless.

AMD's proprietary Linux drivers suck. They're locally compiled kernel modules. So if there's an automatic kernel update from Ubuntu that gets downloaded and if the AMD drivers won't compile with the newer kernel, you're screwed.

What tends to happen is the kernel gets updated and the AMD drivers lag, so if you try to install a fresh Ubuntu machine you have to manually download and install an older kernel, then remove the newer one (and the newer kernel headers) to get the drivers to build."

Having this information, is there anything you could help us to confidently get OpenCL to successfully work with Manjaro (or any Arch Linux distribution)? Thank you so much in advance, luciddream.

srahman5317 commented on 2022-02-18 16:54 (UTC)

@luciddream don't mean to ignore you but my laptop literally broke so I can't provide more details. Thank you for your help so far.

luciddream commented on 2022-02-16 10:29 (UTC) (edited on 2022-02-16 10:29 (UTC) by luciddream)

@srahman5317 What's the rocminfo output? Maybe it gives more info about what's wrong.