@redshow I haven't tried it, but I suppose yes you can. opencl-amd
installs these libraries for years, it's not something that I changed recently. And they are not too big either so it's no big deal.
Search Criteria
Package Details: opencl-amd 1:6.4.0-1
Package Actions
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.46 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-04-11 22:54 (UTC) |
Dependencies (7)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libdrm (libdrm-gitAUR)
- numactl (numactl-gitAUR)
- ocl-icd (opencl-icd-loaderAUR, khronos-ocl-icd-gitAUR)
- wget (wget-gitAUR, wurlAUR) (make)
- clinfo (clinfo-gitAUR) (optional)
- opencl-amd-devAUR (optional)
Required by (132)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-git (requires hip-runtime-amd)
- aftershotpro3 (optional)
- agisoft-metashape (optional)
- agisoft-metashape-pro (optional)
- amf-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- amf-amdgpu-pro-legacy (requires rocm-opencl-runtime) (optional)
- arrayfire-git (requires opencl-driver) (optional)
- atmi (requires hsa-rocr)
- atmi (requires comgr)
- bfgminer-git (requires opencl-driver) (optional)
- bforartists (requires hip-runtime-amd) (make)
- bforartists (requires hip-runtime-amd) (optional)
- blender-benchmark (requires rocm-hip-runtime) (optional)
- blender-benchmark-cli (requires rocm-hip-runtime) (optional)
- blender-bin (requires hip-runtime-amd) (optional)
- btop-git (requires rocm-smi-lib) (optional)
- btop-gpu-git (requires rocm-smi-lib) (optional)
- computecpp (requires opencl-driver)
- cpu-x-git (requires opencl-driver) (optional)
- Show 112 more...
Sources (38)
- https://repo.radeon.com/amdgpu/5.7.1/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_23.20-1664987.22.04_amd64.deb
- https://repo.radeon.com/amdgpu/6.4/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.124.60400-2147987.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/a/amd-smi-lib/amd-smi-lib_25.3.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/c/comgr/comgr_3.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-dev/hip-dev_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-doc/hip-doc_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-samples/hip-samples_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipcc/hipcc_1.1.1.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.15.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-rocr/hsa-rocr_1.15.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.63.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocdecode-dev/rocdecode-dev_0.10.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocdecode/rocdecode_0.10.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocjpeg-dev/rocjpeg-dev_0.8.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocjpeg/rocjpeg_0.8.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-cmake/rocm-cmake_0.14.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-core/rocm-core_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.77.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.4.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-dev/rocm-dev_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-gdb/rocm-gdb_15.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.5.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-utils/rocm-utils_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocminfo/rocminfo_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler/rocprofiler_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/roctracer-dev/roctracer-dev_4.1.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/roctracer/roctracer_4.1.60400.60400-47~24.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 30 31 32 33 34 35 36 37 38 39 40 .. 81 Next › Last »
luciddream commented on 2021-11-29 21:52 (UTC)
redshoe commented on 2021-11-26 20:42 (UTC)
@luciddream So, if we are using newer cards (probably something like Vega?) we don't need this libdrm
part at all? Can I just comment out the libdrm
part?
luciddream commented on 2021-11-23 08:23 (UTC) (edited on 2021-11-23 08:24 (UTC) by luciddream)
@Slavius You are right, I kinda missed it when cleaning up the PKGBUILD (I was actually trying to make it work with my GPU first). So I guess we need to bring the sed command back for the latest PKGBUILD. (and remove couple of files that are not needed from the current one)
In general, I haven't pushed a new version yet because I'm thinking about making this package more about rocm in the future and less about opencl. We should have a new pkgbase, a light opencl-amd
package with opencl / hip support - probably like it is now - and a opencl-amd-full
package that will include everything the ubuntu version has.
Slavius commented on 2021-11-23 07:54 (UTC)
I actually figured the libdrm changes out. As since mesa comes with libdrm_amdgpu.so as well these would clash so the PKGBUILD renames amdgpu-pro provided libdrm_amdgpu.so
--> libdrm_amdgpo.so
and then uses sed
to replace the name inside libamdocl-orca64.so
as well.
luciddream commented on 2021-11-23 07:39 (UTC)
@schnedan ROCM needs libtinfo.so library which is part of ncurses. We have to include the file somehow, using the package ncurses5-compat-libs from AUR is one way to do it. The PGP key is required by that package, more info at the package page.
@redshoe I believe this file is required for the legacy devices (orca) - but I don't have an older GPU to verify. You shouldn't get an error of the file not found since it is being created by the package.
redshoe commented on 2021-11-23 02:48 (UTC) (edited on 2021-11-23 02:49 (UTC) by redshoe)
luciddream// I am personally modifying PKGBUILD for professional driver stack, and I could not figure out why the part below is required (just as Slavius mentioned earlier).
cd ${amdgpu}
rm "libdrm_amdgpu.so.1"
mv "libdrm_amdgpu.so.1.0.0" "libdrm_amdgpo.so.1.0.0"
ln -s "libdrm_amdgpo.so.1.0.0" "libdrm_amdgpo.so.1"
It looks like you are shifting the files around to create a symbolic link, but I keep getting the following error.
cannot stat '/home/orangke/archive/opencl-amd-drivers/opencl-amd-21.20-ent2/src/libdrm/opt/amdgpu/lib/x86_64-linux-gnu/libdrm_amdgpo.so.1': No such file or directory
Could you elaborate on this? Thanks.
schnedan commented on 2021-11-23 00:05 (UTC)
can you elaborate more details to the PGP validation?
I get an unknown public key error: 702353E0F7E48EDB
What can I do about it and how can I verify this key is thrustworthy?
luciddream commented on 2021-11-22 21:59 (UTC)
@hpohl
I don't think it's related, I think it has something to do with your system. Can you disable the iGPU of your Intel processor and see if it changes anything?
hpohl commented on 2021-11-22 20:15 (UTC)
@luciddream strace: https://www.dropbox.com/s/pbkf0io41gb4583/strace.txt?dl=0
None of those solutions seems to work :(
Is this related?: https://github.com/RadeonOpenCompute/ROCm/issues/1180
hpohl commented on 2021-11-22 20:15 (UTC)
@luciddream strace: https://www.dropbox.com/s/pbkf0io41gb4583/strace.txt?dl=0
None of those solutions seems to work :(
Is this related?: https://github.com/RadeonOpenCompute/ROCm/issues/1180
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.