An optional dependency babeltrace
is missing for /opt/rocm-5.6.0/bin/rocgdb
.
Search Criteria
Package Details: opencl-amd 1:6.2.4-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, 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: | 132 |
Popularity: | 0.72 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2024-11-07 20:43 (UTC) |
Dependencies (7)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- libdrm (libdrm-gitAUR)
- numactl (numactl-gitAUR)
- ocl-icd (khronos-ocl-icd-gitAUR, khronos-ocl-icdAUR)
- wget (wget-gitAUR, wurlAUR) (make)
- clinfo (clinfo-gitAUR) (optional)
- opencl-amd-devAUR (optional)
Required by (126)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-common-git (requires hip-runtime-amd) (make)
- adaptivecpp-cpu-git (requires hip-runtime-amd) (make)
- adaptivecpp-git (requires hip-runtime-amd)
- adaptivecpp-opencl-git (requires hip-runtime-amd) (make)
- adaptivecpp-rocm-git (requires hip-runtime-amd)
- adaptivecpp-rocm-git (requires hip-runtime-amd) (make)
- 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 comgr)
- atmi (requires hsa-rocr)
- blender-benchmark (requires rocm-hip-runtime) (optional)
- blender-benchmark-cli (requires rocm-hip-runtime) (optional)
- blender-bin (requires rocm-hip-runtime) (optional)
- btop-git (requires rocm-smi-lib) (optional)
- btop-gpu-git (requires rocm-smi-lib) (optional)
- computecpp (requires opencl-driver)
- cpu-x-opencl (requires opencl-driver) (optional)
- cytoscape (requires opencl-driver) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- davinci-resolve-studio (requires opencl-driver)
- davinci-resolve-studio-beta (requires opencl-driver)
- dewobble (requires opencl-driver)
- dsnote (requires rocm-opencl-runtime) (optional, x86_64)
- foldingathome (requires opencl-driver) (optional)
- fusion-render-node (requires opencl-driver)
- fusion-studio (requires opencl-driver)
- ginkgo-hpc-cuda-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-cuda-git (requires roctracer) (make)
- ginkgo-hpc-docs-git (requires roctracer) (make)
- ginkgo-hpc-docs-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-git (requires roctracer) (make)
- ginkgo-hpc-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-hip-git (requires hip-runtime-amd)
- ginkgo-hpc-hip-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-hip-git (requires roctracer)
- ginkgo-hpc-hip-git (requires roctracer) (make)
- gyroflow (requires opencl-driver) (optional)
- gyroflow-bin (requires opencl-driver) (optional)
- gyroflow-git (requires opencl-driver) (optional)
- hipfort (requires rocm-cmake) (make)
- hipfort (requires hip-runtime-amd)
- hipsycl-rocm (requires hip-runtime-amd)
- hipsycl-rocm-git (requires hip-runtime-amd)
- intel-llvm-git (requires hip-runtime-amd)
- khronos-ocl-icd (requires opencl-driver)
- kristforge-bin (requires opencl-driver) (optional)
- kristforge-git (requires opencl-driver) (optional)
- lammps-ryzen-opencl
- lc0 (requires opencl-driver) (optional)
- leela-zero (requires opencl-driver)
- leela-zero-git (requires opencl-driver)
- llama.cpp-hip (requires rocm-hip-runtime) (make)
- llama.cpp-hip (requires hip-runtime-amd)
- llamafile (requires rocminfo) (optional)
- llamafile (requires hip-runtime-amd) (optional)
- llamafile-bin (requires rocminfo) (optional)
- llamafile-bin (requires hip-runtime-amd) (optional)
- llamafile-git (requires rocminfo) (optional)
- llamafile-git (requires hip-runtime-amd) (optional)
- local-ai-hipblas (requires rocm-hip-runtime)
- localai-git-rocm (requires rocm-hip-runtime)
- luxcorerender (requires opencl-driver) (optional)
- luxcorerender-bin (requires opencl-driver) (optional)
- luxcorerender-git (requires opencl-driver) (optional)
- luxmark (requires opencl-driver)
- maya (requires opencl-driver) (optional)
- mfakto (requires opencl-driver)
- migraphx (requires rocm-cmake) (make)
- migraphx (requires hip)
- miopen-opencl (requires rocm-cmake) (make)
- miopengemm (requires rocm-cmake) (make)
- mivisionx (requires rocm-cmake) (make)
- mtsieve (requires opencl-driver)
- nano-vanity-git (requires rocm-opencl-runtime) (optional)
- ollama-rocm-git (requires hsa-rocr)
- ollama-rocm-git (requires hsa-rocr) (make)
- ollama-rocm-git (requires rocm-smi-lib) (optional)
- ollama-rocm-git (requires hip-runtime-amd)
- ollama-rocm-git (requires hip-runtime-amd) (make)
- ollama-rocm-git (requires comgr)
- opencl-amd-dev
- opencl-legacy-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- openmp-extras (requires hsa-rocr)
- python-gpuctypes (requires opencl-driver) (optional)
- python-gpuctypes (requires hip-runtime-amd) (optional)
- python-jax-rocm (requires rocm-hip-runtime)
- python-k2-git (requires hip) (optional)
- python-pyfai (requires opencl-driver)
- python-pytorch-cxx11abi (requires roctracer) (make)
- python-pytorch-cxx11abi-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer) (make)
- python-pytorch-cxx11abi-rocm (requires roctracer)
- python-pytorch-cxx11abi-rocm (requires roctracer) (make)
- python-silx (requires opencl-driver) (optional)
- python-tensorflow-opt-rocm (requires roctracer) (make)
- python-tensorflow-rocm (requires roctracer) (make)
- rocblas-gfx1010-backend (requires rocm-cmake) (make)
- rocm-bandwidth-test (requires hsa-rocr)
- rocm-debug-agent (requires rocm-dbgapi)
- rocm-debug-agent (requires hip)
- rocm-validation-suite (requires rocm-smi-lib)
- rocsparse-gfx1010 (requires hip)
- rocsparse-gfx1010 (requires rocm-cmake) (make)
- rocwmma (requires hip)
- rocwmma (requires rocm-cmake) (make)
- sempiternum (optional)
- sempiternum-git (optional)
- slopecraft (requires rocm-opencl-runtime) (optional)
- srbminer-multi (optional)
- stable-diffusion.cpp-hipblas-git (requires rocm-hip-runtime)
- tensorflow-opt-rocm (requires roctracer) (make)
- tensorflow-rocm (requires roctracer) (make)
- ugene-git (requires opencl-driver)
- virtualgl-git (requires opencl-driver)
- vramfs-git (requires opencl-driver)
- xkblas (requires rocm-smi-lib)
- xmr-stak-opencl-amd
- zivid (requires opencl-driver)
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.2.4/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.120.60204-2070768.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/a/amd-smi-lib/amd-smi-lib_24.6.3.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/c/comgr/comgr_2.8.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-dev/hip-dev_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-doc/hip-doc_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hip-samples/hip-samples_6.2.41134.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hipcc/hipcc_1.1.1.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.14.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsa-rocr/hsa-rocr_1.14.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20240607.5.7.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.62.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocdecode-dev/rocdecode-dev_0.6.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocdecode/rocdecode_0.6.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-cmake/rocm-cmake_0.13.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-core/rocm-core_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.76.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-dev/rocm-dev_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-gdb/rocm-gdb_14.2.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl-icd-loader/rocm-opencl-icd-loader_1.2.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.3.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocm-utils/rocm-utils_6.2.4.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocminfo/rocminfo_1.0.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/rocprofiler/rocprofiler_2.0.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/roctracer-dev/roctracer-dev_4.1.60204.60204-139~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.2.4/pool/main/r/roctracer/roctracer_4.1.60204.60204-139~24.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 77 Next › Last »
drws commented on 2023-08-05 10:27 (UTC)
Ashark commented on 2023-07-10 22:16 (UTC)
When installing this after having normal rocm packages, I got the error opencl-amd: '/opt/rocm' exists in file system
. I was able to remove it by uninstalling packages comgr and hsakmt-roct. @sperg512/@luciddream Can you add them to conflicts?
luciddream commented on 2023-06-29 22:46 (UTC)
@merlock thanks for the feedback. I just had to make a second release because of missing hipcc
binaries so you might have to upgrade if you need hipcc to work. sorry about that everyone.
merlock commented on 2023-06-29 22:27 (UTC)
5.6.0 is working on my RX560.
luciddream commented on 2023-06-29 22:11 (UTC) (edited on 2023-06-29 22:13 (UTC) by luciddream)
update: I got tired of waiting AMD to fix their legacy packaging. So I'm now including the proprietary / legacy drivers from whatever version is available. (for the moment that is 5.5.2). Please comment if this creates problems for your system.
p.s Either Geekbench is now more optimized or the drivers are getting better, 5.6.0 gives 81k compute score (for my little 5700xt)
wsippel commented on 2023-06-29 08:46 (UTC) (edited on 2023-06-29 09:19 (UTC) by wsippel)
5.6 PKGBUILD:
# Maintainer: Carson Rueter <roachh at proton mail dot com>
# Co-Maintainer: George Sofianos
# Release notes https://docs.amd.com/bundle/ROCm-Release-Notes-v5.6/page/About_This_Document.html
amdgpu_repo='https://repo.radeon.com/amdgpu/5.6/ubuntu'
rocm_repo='https://repo.radeon.com/rocm/apt/5.6'
opencl_lib='opt/rocm-5.6.0/opencl/lib'
rocm_lib='opt/rocm-5.6.0/lib'
hip_lib='opt/rocm-5.6.0/hip/lib/'
amdgpu="opt/amdgpu/lib/x86_64-linux-gnu"
amdgpu_pro="opt/amdgpu-pro/lib/x86_64-linux-gnu/"
pkgname=opencl-amd
pkgdesc="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."
pkgver=5.6.0
pkgrel=1
epoch=1
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
depends=('libdrm' 'ocl-icd' 'gcc-libs' 'numactl')
provides=('opencl-driver' 'rocm-core' 'hip' 'hip-dev' 'hip-doc' 'hip-samples' 'hsakmt-roct-dev' 'hsa-rocr' 'hsa-rocr-dev' 'rocminfo' 'hip-runtime-amd' 'rocm-device-libs' 'rocm-language-runtime'
'rocm-hip-runtime' 'rocm-ocl-icd' 'rocm-opencl' 'rocm-opencl-dev' 'rocm-opencl-runtime' 'rocm-clang-ocl' 'rocm-dbgapi' 'rocm-debug-agent' 'rocm-gdb' 'rocprofiler' 'rocprofiler-dev' 'roctracer' 'roctracer-dev' 'hsa-amd-aqlprofile' 'openmp-extras-runtime' 'rocm-cmake' 'rocm-utils' 'rocm-smi-lib')
conflicts=('rocm-opencl-runtime' 'rocm-core' 'hip' 'hip-dev' 'hip-doc' 'hip-samples' 'hsakmt-roct-dev' 'hsa-rocr' 'hsa-rocr-dev' 'rocminfo' 'hip-runtime-amd' 'rocm-device-libs' 'rocm-language-runtime'
'rocm-hip-runtime' 'rocm-ocl-icd' 'rocm-opencl' 'rocm-opencl-dev' 'rocm-opencl-runtime' 'rocm-clang-ocl' 'rocm-dbgapi' 'rocm-debug-agent' 'rocm-gdb' 'rocprofiler' 'rocprofiler-dev' 'roctracer' 'roctracer-dev' 'hsa-amd-aqlprofile' 'openmp-extras-runtime' 'rocm-cmake' 'rocm-utils' 'rocm-smi-lib')
optdepends=('clinfo' 'opencl-amd-dev')
source=(
# LIBDRM
"https://repo.radeon.com/amdgpu/5.6/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.115.50600-1609671.22.04_amd64.deb"
# ROCM
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-core/rocm-core_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/c/comgr/comgr_2.5.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hip-dev/hip-dev_5.6.31061.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hip-doc/hip-doc_5.6.31061.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hip-samples/hip-samples_5.6.31061.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20230421.1.8.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hsa-rocr/hsa-rocr_1.9.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.9.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocminfo/rocminfo_1.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hip-runtime-amd/hip-runtime-amd_5.6.31061.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-language-runtime/rocm-language-runtime_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-ocl-icd/rocm-ocl-icd_2.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_5.6.0.50600-67~22.04_amd64.deb"
# ROCM DEV
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.5.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_16.56.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-smi-lib/rocm-smi-lib_5.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-cmake/rocm-cmake_0.9.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.70.1.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-gdb/rocm-gdb_13.1.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-utils/rocm-utils_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocprofiler/rocprofiler_2.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/roctracer/roctracer_4.1.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/roctracer-dev/roctracer-dev_4.1.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/r/rocm-dev/rocm-dev_5.6.0.50600-67~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.6/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.50600-67~22.04_amd64.deb"
# Proprietary
#"https://repo.radeon.com/amdgpu/5.6/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_22.40-1538781.22.04_amd64.deb"
#"https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/proprietary/c/clinfo-amdgpu-pro/clinfo-amdgpu-pro_22.10-1462318~22.04_amd64.deb"
#"https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/proprietary/o/ocl-icd-amdgpu-pro/ocl-icd-libopencl1-amdgpu-pro_22.10-1462318~22.04_amd64.deb"
#"https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/proprietary/a/amf-amdgpu-pro/amf-amdgpu-pro_1.4.24-1462318~22.04_amd64.deb"
)
sha256sums=(
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP"
# Proprietary
#"ecd6fc900fe8d8b1c57e57c6e141230d9ea0584fe9a41234595c1eff850bfd14"
#"d9d0182d372345a9e0b7df1e18da29aed6420edc9f948e7ffc2e8e66200db513"
)
#Extract .xz files
exz() {
#echo $1
ar x $1 data.tar.xz
tar xJf data.tar.xz
rm data.tar.xz
}
#Extract .gz files
egz() {
#echo $1
ar x $1 data.tar.gz
tar xfx data.tar.gz
rm data.tar.gz
}
package() {
egz "${srcdir}/rocm-core_5.6.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/comgr_2.5.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/hip-dev_5.6.31061.50600-67~22.04_amd64.deb"
egz "${srcdir}/hip-doc_5.6.31061.50600-67~22.04_amd64.deb"
egz "${srcdir}/hip-samples_5.6.31061.50600-67~22.04_amd64.deb"
egz "${srcdir}/hsakmt-roct-dev_20230421.1.8.50600-67~22.04_amd64.deb"
egz "${srcdir}/hsa-rocr_1.9.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/hsa-rocr-dev_1.9.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocminfo_1.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/hip-runtime-amd_5.6.31061.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-device-libs_1.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-language-runtime_5.6.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-hip-runtime_5.6.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-ocl-icd_2.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-opencl_2.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-opencl-dev_2.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-opencl-runtime_5.6.0.50600-67~22.04_amd64.deb"
exz "${srcdir}/rocm-clang-ocl_0.5.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-smi-lib_5.0.0.50600-67~22.04_amd64.deb"
exz "${srcdir}/rocm-cmake_0.9.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-dbgapi_0.70.1.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-debug-agent_2.0.3.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-utils_5.6.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocprofiler_2.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocprofiler-dev_2.0.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/roctracer_4.1.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/roctracer-dev_4.1.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-dev_5.6.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/hsa-amd-aqlprofile_1.0.0.50600-67~22.04_amd64.deb"
exz "${srcdir}/libdrm-amdgpu-amdgpu1_2.4.115.50600-1609671.22.04_amd64.deb"
egz "${srcdir}/openmp-extras-runtime_16.56.0.50600-67~22.04_amd64.deb"
egz "${srcdir}/rocm-gdb_13.1.50600-67~22.04_amd64.deb"
#exz "${srcdir}/opencl-legacy-amdgpu-pro-icd_22.40-1538781.22.04_amd64.deb"
#cd ${srcdir}/${amdgpu_pro}
#sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so
cd ${srcdir}/${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"
# legacy
mkdir -p ${pkgdir}/usr/lib
#mv "${srcdir}/${amdgpu_pro}/libamdocl-orca64.so" "${pkgdir}/usr/lib/"
mv "${srcdir}/${amdgpu}/libdrm_amdgpo.so.1.0.0" "${pkgdir}/usr/lib/"
mv "${srcdir}/${amdgpu}/libdrm_amdgpo.so.1" "${pkgdir}/usr/lib/"
mv "${srcdir}/opt/" "${pkgdir}/"
ln -s "/opt/rocm-5.6.0" "$pkgdir/opt/rocm"
#ln -s "/opt/rocm-5.6.0/hip/bin/.hipVersion" "$pkgdir/opt/rocm-5.6.0/bin/.hipVersion"
mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm"
cd "${pkgdir}/opt/amdgpu/share/libdrm"
ln -s /usr/share/libdrm/amdgpu.ids amdgpu.ids
mkdir -p ${pkgdir}/etc/OpenCL/vendors
echo libamdocl64.so > "${pkgdir}/etc/OpenCL/vendors/amdocl64.icd"
mkdir -p ${pkgdir}/etc/ld.so.conf.d
echo /opt/rocm-5.6.0/opencl/lib > "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
echo /opt/rocm-5.6.0/lib >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
echo /opt/rocm-5.6.0/hip/lib >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
mkdir -p ${pkgdir}/etc/profile.d
echo export PATH="\${PATH}:/opt/rocm-5.6.0/bin:/opt/rocm-5.6.0/hip/bin" > "$pkgdir/etc/profile.d/opencl-amd.sh"
}
I removed the checksums. If a file is corrupted, it should throw an error during decompression, and we're downloading from AMD's official repos anyway.
piratenpanda commented on 2023-06-23 13:39 (UTC)
I installed this for my RX580 and with running "sudo echo 'ROC_ENABLE_PRE_VEGA=1' >> /etc/environment" it shows the card fine as opencl card.
Taken from https://github.com/RadeonOpenCompute/ROCm/issues/1659
fromtheeast710 commented on 2023-05-18 02:42 (UTC)
@luciddream Thank you for your response. I just tried commenting out all reference to amdocl-orca64.so
and that removed the missing library error that clinfo was saying but I don't know if it will break other things.
@AndyRTR Thank you, I tried the PKGBUILD but it's missing a lot of other packages and ended up not working.
For now the packages from community repo work.
AndyRTR commented on 2023-05-17 17:58 (UTC)
Here's an updated legacy PKGBUILD for minor 50405 release: https://pastebin.com/YxSwvvtn
luciddream commented on 2023-05-17 16:41 (UTC)
@fromtheeast710
Hi, ROCm 5.5 does not include legacy support. AMD makes broken releases like this all the time. I think their plan is to update legacy support only when necessary. But until they fix their releases you can stay on the previous opencl-amd
version, if you need legacy support.
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-11-07 20:44 (UTC) by luciddream)
Current release is for ROCm 6.2.4
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 updatedThere 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.