Package Details: opencl-amd 1:6.1.0-2

Git Clone URL: https://aur.archlinux.org/opencl-amd.git (read-only, click to copy)
Package Base: opencl-amd
Description: ROCr OpenCL stack, supports Vega 10 and later products - Legacy OpenCL stack (Proprietary), supports legacy products older than Vega 10 - 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.063613
First Submitted: 2016-12-01 03:45 (UTC)
Last Updated: 2024-04-19 20:50 (UTC)

Required by (109)

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-04-18 21:02 (UTC) by luciddream)

Current release is for ROCm 6.1.0 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 2 3 4 5 6 7 8 9 10 11 .. 77 Next › Last »

trougnouf commented on 2023-09-19 20:27 (UTC) (edited on 2023-09-19 20:29 (UTC) by trougnouf)

I replaced ln -s "/opt/rocm-5.7.0" "$pkgdir/opt/rocm" with mv "${pkgdir}/opt/rocm-5.7.0" "$pkgdir/opt/rocm" (and replaced the /opt/rocm paths that follow and made the same mv in opencl-amd-dev) and everything works well with PyTorch.

(I also replaced mv "${srcdir}/opt/" "${pkgdir}/" with cp -r "${srcdir}/opt/" "${pkgdir}/" so that subsequent builds don't fail, I guess that doesn't matter, and it's probably done to save space but that makes no difference on copy-on-write filesystems.)

luciddream commented on 2023-09-19 16:47 (UTC) (edited on 2023-09-19 21:08 (UTC) by luciddream)

@tougnouf I'm not an expert with packaging but I don't believe magma-hip needs to be installed in /opt/rocm directory. I would contact magma-hip maintainer.

edit: I also compiled magma-hip from the PKGBUILD into a different directory and I ran a couple examples it works fine for me, so I can confirm it doesn't need to be inside rocm directory.

pc@home /opt/magma-hip/share/magma/example> ./example_sparse_operator 
iterations: 350 residual: 7.7600e-15
values:
-1050.0000
-2097.0000
-3141.0000
-4182.0000
-5220.0000
...

luciddream commented on 2023-09-19 15:25 (UTC)

@trougnouf I'll check it out and see what can be done.

trougnouf commented on 2023-09-19 13:34 (UTC) (edited on 2023-09-19 13:35 (UTC) by trougnouf)

I'm having issues upgrading with pacman -Syu: magma-hip: /opt/rocm exists in filesystem (owned by opencl-amd).

removing magma-hip breaks dependency 'magma-hip' required by python-pytorch-opt-rocm.

luciddream commented on 2023-09-16 10:21 (UTC) (edited on 2023-09-16 10:23 (UTC) by luciddream)

I have updated the package to 5.7.0. It's obvious the package is becoming larger, and the next version (6.0) will change the structure completely. I will keep monitoring to see the best options to split the files (and add missing dependencies)

I believe this might also be the last version that legacy OpenCL is supported, judging from the warning I get:

WARNING: legacy OpenCL is deprecated and will be removed soon.

luciddream commented on 2023-08-31 19:28 (UTC) (edited on 2023-08-31 19:28 (UTC) by luciddream)

It seems there are some (probably optional) dependencies that I hadn't noticed until now, I will try to find a way to take care of it for rocm 5.7 release. (for example Python 3.10, babeltrace). Until then you can try to install them manually if you need to run rocgdb for example. I made a symlink for python3.11 and rocgdb runs so probably only a fake python310 is required. There are 193 lines of dependencies so I will have to create a script to verify them for the next releases.

trougnouf commented on 2023-08-31 18:08 (UTC)

Thanks!

luciddream commented on 2023-08-31 18:04 (UTC)

Hi all, I made a release for 5.6.1

@Ashark, @trougnouf I've added the missing provides and conflicts.

@drws I will take another look in a bit I think there are some dependencies still missing.

p.s I try to be thorough every time but it doesn't help being tired from work and real life :)

magicgoose commented on 2023-08-21 07:54 (UTC) (edited on 2023-08-21 07:54 (UTC) by magicgoose)

5.6.0-2 is working on RX590 with darktable without needing any extra steps.

Although I might have forgotten some steps I did a while ago when trying to get another version to run. Feel free to ask anything if needed for testing.

yudipungal commented on 2023-08-18 14:16 (UTC) (edited on 2023-09-01 04:29 (UTC) by yudipungal)

Working on my RX580 if you want to use DaVinci Resolve. after install this you need to install

this package https://aur.archlinux.org/packages/amdgpu-pro-oglp/

then set this to your environment file in the root folder ROC_ENABLE_PRE_VEGA=1

then edit your DR desktop file to Exec=progl /opt/resolve/bin/resolve %u

I use Reborn OS there is a libxcrypt.so dependency error. just do "yay libxcrypt" then choose libxcrypt-compat

then it is ok.

For other Distro, there is a libpango depency error. So i do prefer RebornOs.