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.45
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 .. 53 54 55 56 57 58 59 60 61 62 63 .. 81 Next › Last »

coxackie commented on 2020-11-19 15:31 (UTC)

@sperg512 if there is any way I can help by testing, let me know...

@apaz well, the 5700 (no XT) seems to be unhappy with this change. Is there anything else that you guys have installed that may be helpful? I also have opencl-mesa and all dependencies there (but it has other problems); but the card is not detected independently of whether I have opencl-mesa installed.

sperg512 commented on 2020-11-19 15:28 (UTC)

@coxackie that's exactly what I feared. I think the ROCr stuff is just overall lighter than pal, but there were some other files that I might add if i can find any that might be necessary

apaz commented on 2020-11-19 15:22 (UTC)

@coxackie A lot has changed: they switched to the ROCr backend, which is part of ROCm. Until now amdgpu-pro and ROCm were incompatible. Strange though, with 5700XT it works without problems both for me and luciddream.

coxackie commented on 2020-11-19 14:26 (UTC)

RX 5700 here. Latest update does not detect card (Number of devices 0), no OpenCL. Had to revert back to previous version. What happened - seems like the package lost a lot of weight upon update. Maybe something was missed?

luciddream commented on 2020-11-19 14:16 (UTC) (edited on 2020-11-19 14:18 (UTC) by luciddream)

Blender works for me too (5700xt), but if it's on the release notes must be for a reason. I made some rendering tests here: https://imgur.com/a/YzyQElw

I tried to find rocm stuff to test but I couldn't. I think Tensorflow-rocm for example requires the HIP compiler, which the runtime does not include. When I try to run it I get: ImportError: libhipsparse.so.0: cannot open shared object file: No such file or directory

Maybe I will try Hashcat which has different code for rocm and amdgpu, and compare it with previous results.

sperg512 commented on 2020-11-19 14:06 (UTC)

Also @agapito make sure you've got LLVM and its libraries installed, though you should (as it's a dependency of vulkan-radeon, clang and mesa which are basically required to do any 3d rendering). Maybe you also need opencl-mesa. If you have both of those/you install them and it still doesn't work, then I might need to also add the LLVM libs deb file.

sperg512 commented on 2020-11-19 14:02 (UTC)

Interesting. For me, it opens and renders fine, though it is a bit laggy. That might be because it's using up all my Vega's VRAM and it probably needs to borrow some strength from the weaker dGPU. It also uses anywhere from 1.8-2.1 GB of RAM according to htop, and my Vega uses that same amount of RAM as its VRAM (although it's not visible to programs). I might test some ROCm stuff later if possible. No errors in CLinfo, etc. either so I think it's safe to say this works.

No problem, by the way, luciddream.

luciddream commented on 2020-11-19 10:12 (UTC)

Hello, thanks sperg512 for the co-maintain. I'll take another look later in the day but from the AMD release notes, Blender is a known issue with the driver.

Blender 2.90.1 users may experience page faults (details in dmesg log).

My experience is that it's better to keep the new driver than revert the package. Users that need blender can still use the previous PKGBUILD to install an older driver.

apaz commented on 2020-11-19 09:07 (UTC)

Installed and everything is OK: clinfo reports no errors; Junk shop scene in Blender is OK. I have AMD RX 5700XT. Thanks!

agapito commented on 2020-11-19 08:22 (UTC)

@kode54 I downloaded that scene for testing purposes, reinstalled 20.40 driver (I had a backup on my HDD) and GPU tile never finishes his work. My card is 4GB only so that's the reason probably, but Blender doesn't crash and GPU works fine on less complex scenes like fishy cat or racing car. With 20.45 every time i try to load a "gpu project" Blenders crashes.