@wsippel yes but it's probably a mistake, I bet they are going to fix it or make another release soon.
Search Criteria
Package Details: opencl-amd 1:6.3.2-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: | 132 |
Popularity: | 0.21 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-01-29 20:12 (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 (128)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-git (requires hip-runtime-amd)
- 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)
- 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 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)
- Show 108 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.3.2/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.123.60302-2109964.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/a/amd-smi-lib/amd-smi-lib_24.7.1.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/c/comgr/comgr_2.8.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-dev/hip-dev_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-doc/hip-doc_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hip-samples/hip-samples_6.3.42134.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hipcc/hipcc_1.1.1.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.14.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/h/hsa-rocr/hsa-rocr_1.14.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.63.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocdecode-dev/rocdecode-dev_0.8.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocdecode/rocdecode_0.8.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocjpeg-dev/rocjpeg-dev_0.6.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocjpeg/rocjpeg_0.6.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-cmake/rocm-cmake_0.14.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-core/rocm-core_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.77.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-dev/rocm-dev_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-gdb/rocm-gdb_15.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.4.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocm-utils/rocm-utils_6.3.2.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocminfo/rocminfo_1.0.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/rocprofiler/rocprofiler_2.0.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/roctracer-dev/roctracer-dev_4.1.60302.60302-66~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3.2/pool/main/r/roctracer/roctracer_4.1.60302.60302-66~24.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 12 13 14 15 16 17 18 19 20 21 22 .. 79 Next › Last »
luciddream commented on 2022-10-01 23:29 (UTC)
wsippel commented on 2022-10-01 22:34 (UTC)
@luciddream I meant AMD doesn't seem to provide opencl-legacy-amdgpu-pro-icd anymore, which used to contain the legacy OpenCL driver, no?
luciddream commented on 2022-10-01 21:25 (UTC)
@wsippel I don't think they removed legacy support. It's just broken, as it has been before for other releases. I will update the comment so people know to revert back to the previous driver if they need legacy support.
I will also keep the naming scheme for now, I don't want to rush things when it's obvious there are issues with AMD's releases.
p.s updating opencl-amd-dev
was a pain, I hope in the future they will decide to use zstd
instead of xz
/ gzip
wsippel commented on 2022-10-01 08:52 (UTC) (edited on 2022-10-01 09:31 (UTC) by wsippel)
PKGBUILD for ROCm 5.3. Not sure if it's correct, but the filenames and hashes are, at least. I don't know why, but going by the way AMD names the directories, they apparently dropped the 'year.release' naming scheme, so this would be just version 5.3, not 22.xx.0.50300. Also, the Orca legacy OpenCL driver seems to be gone, and openmp-extras was split in two (openmp-extras-runtime and openmp-extras-dev), I included both. Successfully tested with Blender 3.3, HIP acceleration in Cycles finally works on RDNA1 (and hopefully Vega), PyTorch-ROCm also works fine, but Hashcat is broken.
# Maintainer: Carson Rueter <roachh at proton mail dot com>
# Co-Maintainer: George Sofianos
# Release notes https://docs.amd.com/bundle/ROCm-Release-Notes-v5.2/page/About_This_Document.html
amdgpu_install='5.3'
amdgpu_version='5.3'
rocm_version='50300'
amdgpu_build_id='1483871~22.04'
rocm_build_id='63~22.04'
amdgpu_repo='https://repo.radeon.com/amdgpu/5.3/ubuntu'
rocm_repo='https://repo.radeon.com/rocm/apt/5.3'
opencl_lib='opt/rocm-5.3.0/opencl/lib'
rocm_lib='opt/rocm-5.3.0/lib'
hip_lib='opt/rocm-5.3.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=${amdgpu_install}
pkgrel=1
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
depends=('libdrm' 'ocl-icd' 'gcc-libs' 'numactl' 'ncurses5-compat-libs')
conflicts=('rocm-opencl-runtime')
provides=('opencl-driver' 'rocm-core' 'rocm-cmake' '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')
optdepends=('clinfo' 'opencl-amd-dev')
source=(
# LIBDRM
"https://repo.radeon.com/amdgpu/5.3/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.112.50300-1483871.22.04_amd64.deb"
# ROCM
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-core/rocm-core_5.3.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/c/comgr/comgr_2.4.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hip-dev/hip-dev_5.3.22061.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hip-doc/hip-doc_5.3.22061.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hip-samples/hip-samples_5.3.22061.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20220803.1.8.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hsa-rocr/hsa-rocr_1.7.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.7.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocminfo/rocminfo_1.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hip-runtime-amd/hip-runtime-amd_5.3.22061.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-language-runtime/rocm-language-runtime_5.3.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_5.3.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-ocl-icd/rocm-ocl-icd_2.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_5.3.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_15.53.0.50300-63~22.04_amd64.deb"
# ROCM DEV
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.5.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/o/openmp-extras-dev/openmp-extras-dev_15.53.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-smi-lib/rocm-smi-lib_5.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-cmake/rocm-cmake_0.8.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.67.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-gdb/rocm-gdb_12.1.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-utils/rocm-utils_5.3.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocprofiler-dev/rocprofiler-dev_1.0.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/roctracer-dev/roctracer-dev_4.1.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/r/rocm-dev/rocm-dev_5.3.0.50300-63~22.04_amd64.deb"
"https://repo.radeon.com/rocm/apt/5.3/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.50300-63~22.04_amd64.deb"
# Proprietary
#"https://repo.radeon.com/amdgpu/22.20.3/ubuntu/pool/proprietary/o/opencl-legacy-amdgpu-pro/opencl-legacy-amdgpu-pro-icd_22.20-1462318~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=(
"3248b09dda58dd9a03bb0d00052af46648e76f7874c86c522f72e2db9bc2d762"
"9755a7a06f29529c675bdf516b79d52c8b46c1cb7b5a3749221a2de379f594ef"
"2f319ea328850c4c764ac2caf11974ea2cd6833c5dad279df60251f9b49d11fc"
"4bf9c0ad3dde077bb69d821a1b67ef7224120a80b8db71b0c4ee092a32f57b2a"
"982c91201cbe91ed88c442d462bd062009155406bc54681db41dd4c992168cc9"
"8fb9424b1b9fedd050d549c942332bcae0ac9c785a59ffeb44cbb9ffcfe08dc8"
"3cca7470ab22aa9263cffe54080719c8faf672070126c28ae638e57ec6c8d548"
"7806b9fee2de2635788db0922294aeeaa5f6589b954c2485fdac9b19e7b6170b"
"c7df12afb386c66548789ee840421da10b5a76e03ba381a91d9544f29ea9f188"
"6fbf312bdde68a67e645dc24fdedb7df006846ccb26b466b4f70fbfad07c794f"
"21b3b0fe687ff2c5795288a9473ed77c596bdceb26ba42e24f87fbfabda9d4ea"
"eb5ef2ebc8c41c4838b79952c1facf635eed85294b83e26c15e0162183754295"
"ec3014c3a5c246415db11323d9744d147a905f127e354f39856ee6dfb6c132c6"
"69cef8d550af582666af0cec2e3315da9d7704b46cacca55b5adf087bf7d7cb8"
"1937022c82a9c66e901ba79326b5e021d606ee29ba00f7e6cfb83833640359f5"
"7adcb5dfaf5b802b6cbc038b603a3c0cf5201a63d9044b20c7c31aa62f943f0d"
"8226e6a3bbe2b49d0ce3e06cf66fb1417cd5cb72d493f3e672f45bca4bdfdd8c"
"aff2698fa346a622efda1e488e7ea678b6aec95211f6ae45b31a959677c88fe7"
"f862bb14cbba8a463dde71bf0ba69fef095b335a127ef6aeafba33d849c67e54"
"84469921e2c235846d02244f15c61929661bd3fc6b9f9cc833252882df06c799"
"d3bf5fda899e83d2f8b3f30103cc008fbce3abe008a4c47a812218d40aacf3cf"
"7e13a9215f7f47b7945725ca407a7a8a2040e80a4662b77a4c9586f8986ee6b8"
"e37d188c1cdeb565d1beb65f1641c37b04f07d5cba89afeff93eae82096bfec2"
"212d162eba0481950aa0a527472d1ad6f171b13d860463cea01bd45e6c93fb4e"
"5076d51a2dbfca1d3562e91a297715550db408acaf0fe0e8a756e75b4445f975"
"91b5125fc041b29bc68f53134441fd97874ed3568f90f28cf808d8b27c33b6db"
"82c29972a86103b4b8df3edd41f9b71b883b220257ecd98d04c7353a17e96a81"
"44978ff0331ae1362ef49d114a00e6cce098213b5eaf77858af1ed2023e00291"
"af62c042aeba930971e4182d4c7edb3544378a540fcec93d8b375724e8b2e2ba"
"77d986836cc0e9058749807076733a1825502e0883bec06f52af56d2fa5ae145"
"46635f4f019aba1c3a53665430b0de70b992700e852f08b36f54ff33ca7e3ec7"
)
#Extract .xz files
exz() {
ar x $1
tar xJf data.tar.xz
rm data.tar.xz
}
#Extract .gz files
egz() {
ar x $1
tar xfx data.tar.gz
rm data.tar.gz
}
package() {
egz "${srcdir}/rocm-core_5.3.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/comgr_2.4.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/hip-dev_5.3.22061.50300-63~22.04_amd64.deb"
egz "${srcdir}/hip-doc_5.3.22061.50300-63~22.04_amd64.deb"
egz "${srcdir}/hip-samples_5.3.22061.50300-63~22.04_amd64.deb"
egz "${srcdir}/hsakmt-roct-dev_20220803.1.8.50300-63~22.04_amd64.deb"
egz "${srcdir}/hsa-rocr_1.7.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/hsa-rocr-dev_1.7.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocminfo_1.0.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/hip-runtime-amd_5.3.22061.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-device-libs_1.0.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-language-runtime_5.3.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-hip-runtime_5.3.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-ocl-icd_2.0.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-opencl_2.0.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-opencl-dev_2.0.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-opencl-runtime_5.3.0.50300-63~22.04_amd64.deb"
exz "${srcdir}/rocm-clang-ocl_0.5.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-smi-lib_5.0.0.50300-63~22.04_amd64.deb"
exz "${srcdir}/rocm-cmake_0.8.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-dbgapi_0.67.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-debug-agent_2.0.3.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-utils_5.3.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocprofiler-dev_1.0.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/roctracer-dev_4.1.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-dev_5.3.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/hsa-amd-aqlprofile_1.0.0.50300-63~22.04_amd64.deb"
exz "${srcdir}/libdrm-amdgpu-amdgpu1_2.4.112.50300-1483871.22.04_amd64.deb"
egz "${srcdir}/openmp-extras-runtime_15.53.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/openmp-extras-dev_15.53.0.50300-63~22.04_amd64.deb"
egz "${srcdir}/rocm-gdb_12.1.50300-63~22.04_amd64.deb"
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}/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.3.0" "$pkgdir/opt/rocm"
#ln -s "/opt/rocm-5.3/hip/bin/.hipVersion" "$pkgdir/opt/rocm-5.3/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.3.0/opencl/lib > "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
echo /opt/rocm-5.3.0/lib >> "$pkgdir/etc/ld.so.conf.d/opencl-amd.conf"
echo /opt/rocm-5.3.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.3.0/bin:/opt/rocm-5.3.0/hip/bin" > "$pkgdir/etc/profile.d/opencl-amd.sh"
}
ajb139 commented on 2022-09-15 02:57 (UTC)
hi. I was wondering if you had any guidance for installing on steam deck so blender will recognize its rdna2 gpu. Will will these drivers help? Thanks.
ezra commented on 2022-09-12 23:57 (UTC)
My bad, forgot to install the dev package + was using an out of date version for this one (chaotic moment).
luciddream commented on 2022-09-12 20:41 (UTC) (edited on 2022-09-12 20:42 (UTC) by luciddream)
For some reason I only just received the last AUR emails.
@ezra I doubt Blender needs rocm-5.0.0 path. Can you check /etc/profile.d/opencl-amd.sh
? and echo $PATH
? It should only include 5.2.3 rocm path.
@sperg512 It depends on what you want to automate. I think it's possible but not that simple. I personally check on every release if new libraries are added/removed, then add/remove fixes for each release. For example the last version includes paths from Ubuntu 22.04 version, which is something I had to change manually and I only did it because I verified it installs fine in Ubuntu 22.04. And a couple of versions before, I had to remove the library path fix #ln -s "/opt/rocm-5.2.3/hip/bin/.hipVersion" "$pkgdir/opt/rocm-5.2.3/bin/.hipVersion"
because it was fixed upstream.
In any case, it's simple for me to update and not taking much of my time, but I somewhat refuse to update minor versions that have no changelog by AMD. I also completely lost interest in using ROCm with my GPU (5700XT), since it will never work. I will probably upgrade my GPU before it is finally supported.
ezra commented on 2022-09-12 19:32 (UTC) (edited on 2022-09-12 19:34 (UTC) by ezra)
Blender seems to expect /opt/rocm-5.0.0/llvm/bin/clang, which isn't in my filesystem and giving me a no such file error from the console upon rendering. Is that supposed to be included in this package?
sperg512 commented on 2022-09-10 18:22 (UTC)
I wonder if it'd be possible to create an auto-update script for this
Eirikr commented on 2022-07-23 00:05 (UTC)
TL;DR -- AMD GFX6xx cards are completely unusable. AMD GFX7xx cards SHOULD work with rocmhsa, but apparently are not for some reason.
Unable to utilize mixed-system of Intel i9-9900K CPU with Gen9 16EU Intel Graphics ++ AMD Vega 64 ++ AMD Radeon R9 290X ++ AMD Radeon R9 280X
The goal here was to have multiple compute devices (Gen9 Intel Graphics ++ GFX90x AMD ++ GFX 701 AMD ++ GFX 600 AMD working together for OpenCL renders, OpenMP (for DistCC) etc.
However, the GFX 600 card does not seem to be recognized at all. There seems to be -0- way to get it working, even though apparently llvm supports this card still.
Even with removing the card and Having the GFX701 + GFX9xx from AMD cards together, clinfo and rocminfo freeze. rocminfo freezes with "loading ROCk"
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 2025-01-29 20:13 (UTC) by luciddream)
Current release is for ROCm 6.3.2
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.