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.54
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 .. 31 32 33 34 35 36 37 38 39 40 41 .. 81 Next › Last »

luciddream commented on 2021-11-14 21:04 (UTC) (edited on 2021-11-14 21:25 (UTC) by luciddream)

Also try strace -f clinfo 2> strace.txt I see it can provide extra info about missing files / directories.

luciddream commented on 2021-11-14 20:46 (UTC)

@hpohl I don't see anything wrong with the log.. (i'm not an expert on reading it to be honest), and can't really find the issue when it's working for me.

One assumption is that it has something to do with your Intel CPU... maybe try installing intel-compute-runtime and see if that fixes anything?

I also noticed from your log that clinfo is using more libraries than this package has at the moment, specifically libhsa-amd-aqlprofile64.so.. I will probably add this in a second version of this package.

apaz commented on 2021-11-14 20:10 (UTC)

@hpohl

Try this command:

 sudo mount -o remount,exec /dev 

References are Phoronix:

https://www.phoronix.com/forums/forum/phoronix/latest-phoronix-articles/1290547-radeon-software-21-40-1-linux-driver-unifies-rocm-uses-new-driver-distribution-model/page2

Which in turn refers to:

https://stackoverflow.com/questions/67961666/rocm-installation-on-ubuntu-20-04-says-unable-to-open-dev-kfd-read-write-bad-a/68595394

hpohl commented on 2021-11-13 14:04 (UTC)

@luciddream https://www.dropbox.com/s/ja9lhc7ap8mr3kh/lddebug.txt?dl=0

luciddream commented on 2021-11-13 13:34 (UTC)

@apaz yes, this looks to be working for OpenCL as the previous versions, but, I think it's much easier now to add ROCM support for Pytorch and Tensorflow, and see that HIP is working. However I can't test it on my PC because 5700XT is not supported I believe. I've found and added a few libraries that should be able to do that (rocrtrace / rocrand / rocblas), but I can't verify they are working and I don't want to add more size to the package (rocblas is like 600+ MB of libraries). If someone with a supported GPU can test it I can attach another PKGBUILD for that purpose.

@esistgut yes, this is a precompiled binary from the Ubuntu repository. You have to compile the other one yourself.

@hpohl Try to LD_DEBUG=all clinfo 2> lddebug.txt or strace clinfo so we can see what is missing.

fixeria commented on 2021-11-13 12:07 (UTC)

Thanks! Works fine with Radeon R7 M265. clinfo shows no errors, hashcat benchmark runs as usual.

esistgut commented on 2021-11-13 10:28 (UTC)

I see this packages uses a lot of ROCm stuff now. Is this still different than rocm-opencl-runtime?

hpohl commented on 2021-11-13 10:05 (UTC)

A little update from my RX 6700 XT, which is still not detected by clinfo. I'll stick to 20.45 for the time being.

apaz commented on 2021-11-13 09:09 (UTC) (edited on 2021-11-13 09:13 (UTC) by apaz)

Thanks for the update. Everything works for me with an RX 5700 XT (but I must say that it's been a long time since I've had any problems): "clinfo" reports no errors; "Geekbench --compute" is fine; "Blender" uses OpenCL as well "as DaVinci Resolve". I'll give you some info in case you might find it useful. Installation with an AUR Helper does not work because of the pgp key. Installing with "makepkg -si" works without problems. I had to install "ncurses5-compat-libs 6.2-1", which added itself to "ncurses 6.3-1" that I already had in the system. Trying a "pacman -Qi" I got an error that I don't understand, but it seems unimportant:

 $ LC_ALL=C pacman -Qi ncurses5-compat-libs 6.2-1
Name            : ncurses5-compat-libs
Version         : 6.2-1
Description     : System V Release 4.0 curses emulation library, ABI 5
Architecture    : x86_64
URL             : http://invisible-island.net/ncurses/ncurses.html
Licenses        : MIT
Groups          : None
Provides        : libtinfo5
Depends On      : glibc  gcc-libs  sh
Optional Deps   : None
Required By     : opencl-amd
Optional For    : None
Conflicts With  : libtinfo5
Replaces        : None
Installed Size  : 624.92 KiB
Packager        : Unknown Packager
Build Date      : Sat Nov 13 09:21:49 2021
Install Date    : Sat Nov 13 09:22:37 2021
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : None

error: package '6.2-1' was not found 

EDIT: I'm really stupid! I didn't see that I wrote a 6.2-1 too many!!! Sorry