Package Details: opencl-amd 1:6.1.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, hsakmt-roct, hsakmt-roct-dev, libdrm-amdgpu-amdgpu1, openmp-extras-runtime, rocdecode, rocdecode-dev, rocm-clang-ocl, 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, hsakmt-roct, hsakmt-roct-dev, libdrm-amdgpu-amdgpu1, opencl-driver, openmp-extras-runtime, rocdecode, rocdecode-dev, rocm-clang-ocl, 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: 131
Popularity: 0.65
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-05-09 21:58 (UTC)

Required by (114)

Sources (39)

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 2024-05-09 22:00 (UTC) by luciddream)

Current release is for ROCm 6.1.1 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 .. 12 13 14 15 16 17 18 19 20 21 22 .. 77 Next › Last »

luciddream commented on 2022-05-06 10:16 (UTC)

@melvyn2

There is no way to do that unless AMD includes the change in AMDGPU stack. One advantage of opencl-amd is that it uses the packages from AMD, so people can be somewhat certain that it's safe to use this. I think the best alternative now is to use a previous version of opencl-amd that works with your GPU.

As an alternative to opencl-amd people can use binaries from rocm-opencl-runtime if they are provided and they feel comfortable using them. The current ones are outdated and personally I don't consider them safe when I can't verify their build process. I think we can all hope that opencl-amd will not be needed in the future and a better package will be provided by AMD for Arch Linux, but currently that's all we have.

p.s I have a new AMD 5900x CPU for my PC, I need a new RAM now, then I think I can start testing rocm-arch as well and be able to compare with opencl-amd when necessary.

melvyn2 commented on 2022-05-06 00:23 (UTC)

The https://aur.archlinux.org/packages/rocm-opencl-runtime package now includes a patch to enable the new (ROCm) OpenCL driver to work on GFX8/Polaris 10 GPUs. I realize that this package pulls the binaries from AMD, but I'd like for this package to enable ROCm CL support for polaris GPUs too, if possible.

evdinowork commented on 2022-04-26 23:30 (UTC) (edited on 2022-04-26 23:43 (UTC) by evdinowork)

wait so this works on 4000 series apus now??? edit: it technically does, but "Total global mem: 512 MB" I wish I could increase this, but my laptop is rather retarded and doesn't let me increase it in the bios, so there must be another way right?

limsandy commented on 2022-04-17 16:42 (UTC)

Nope, it compiled fine for me the second time. Try again. 👍

br_shadow commented on 2022-04-16 10:26 (UTC)

I get the same problem as @limsandy in Manjaro Linux


==> 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 ... cat: write error: Broken pipe
FAILED
==> ERROR: One or more PGP signatures could not be verified!
Finished with result: exit-code
Main processes terminated with: code=exited/status=1
Service runtime: 14.754s
CPU time consumed: 1.946s
Error: Failed to build ncurses5-compat-libs

luciddream commented on 2022-04-14 21:19 (UTC) (edited on 2022-04-14 21:23 (UTC) by luciddream)

I tried Hashcat with HIP support which was added today and for some reason benchmark took 5 minutes to complete, and GPU fans were silent while it was running. So I guess that's similar to what @limsandy is saying. But the benchmark numbers are fine so I'm not sure why it took so long. The only thing I noticed in the first run is that gnome tracker indexing was using the CPU (about 8%) and Hashcat was also using the CPU (about 7%).

After a couple of hours I run Hashcat OpenCL benchmark and it took 2 minutes to complete. Then ran Hashcat HIP benchmark for a second time and it also took 2 minutes to complete, while fans were spinning a lot and GPU usage was 99%

The benchmark results are the same in all 3 runs, for some reason. At least I have a software I can use now to make tests with HIP and ROCm 5.1 :)

limsandy commented on 2022-04-10 17:15 (UTC)

Yeah, I don't understand why opencl performance under Manjaro is slower than in Windows 10. Even slower than Ubuntu 20.04. I had been able to change the Radeon profile to "profile_peak" which will make the GPU clock stay at max, but will throttle once a certain temperature is reached.

It doesn't make any sense, but I benchmarked VDF times both in Manjaro and Ubuntu, and Ubuntu sets the record fastest VDF time and consistently lower VDF times.

luciddream commented on 2022-04-09 12:37 (UTC)

I updated the packages to 22.10.1 and 5.1.1 - I don't see any release notes or any significant changes (blender hip still crashes, AMF still not working, opencl performance is still a bit lower than 5.0)

limsandy commented on 2022-04-01 16:52 (UTC)

So I'm starting to understand how this works.... Linux will try to read every file with the extension .rules in the folder /etc/udev/rules.d/

You can rename it with whatever you want, just put the extension .rules afterwards. Mine is obviously renamed to radeon-vega-7.rules

luciddream commented on 2022-04-01 16:28 (UTC)

Cool stuff @limsandy, I will give it a try later and see if it affects the scores on my PC.