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
Git Clone URL: | https://aur.archlinux.org/opencl-amd.git (read-only, click to copy) |
---|---|
Package Base: | opencl-amd |
Description: | 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. |
Upstream URL: | http://www.amd.com |
Keywords: | amd amdgpu computing gpgpu opencl radeon |
Licenses: | custom:AMD |
Conflicts: | 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, 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-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, roctracer, roctracer-dev |
Provides: | 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, 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-runtime, rocm-smi-lib, rocm-utils, rocminfo, rocprofiler, rocprofiler-dev, rocprofiler-plugins, roctracer, roctracer-dev |
Submitter: | grmat |
Maintainer: | sperg512 (luciddream) |
Last Packager: | luciddream |
Votes: | 131 |
Popularity: | 0.074877 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2024-02-02 22:43 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 12 .. 76 Next › Last »
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
@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.
Here's an updated legacy PKGBUILD for minor 50405 release: https://pastebin.com/YxSwvvtn
@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.
amdocl-orca64.icd
is present but amdocl-orca64.so
is nowhere to be found. I think you missed this also.
Thanks @wsippel, I didn't have time when I made the release to check for any missing packages. I've now added rocprofiler and roctracer but I think I will wait for next ROCm release (or a silent update to the proprietary repo)
Thanks for the quick update. I think you forgot to include roctracer though: https://repo.radeon.com/rocm/apt/5.5/pool/main/r/roctracer5.5.0/
https://pastebin.com/xfjqLNRq - this one shouldn't expire.
@AndyRTR your link doesn't work: "Could not get paste data: Paste does not exist, has expired or has been deleted." Could you please share again?
Just for completeness, as long as this is not solved I must stay with this package
installing rocm-opencl-sdk fails as
could not satisfy dependencies:
- removing opencl-amd-dev breaks dependency 'hipblas' required by magma-hip
- removing opencl-amd-dev breaks dependency 'hipsparse' required by magma-hip
- removing opencl-amd-dev breaks dependency 'rocm-hip-sdk' required by python-cupy-rocm
installing rocm-hip-sdk fails as
could not satisfy dependencies:
- unable to satisfy dependency 'rocm-hip-libraries' required by rocm-hip-sdk
- unable to satisfy dependency 'rocm-llvm' required by rocm-hip-sdk
- unable to satisfy dependency 'hipblas' required by rocm-hip-sdk
- unable to satisfy dependency 'hipcub' required by rocm-hip-sdk
- unable to satisfy dependency 'hipfft' required by rocm-hip-sdk
- unable to satisfy dependency 'hipsparse' required by rocm-hip-sdk
- unable to satisfy dependency 'hipsolver' required by rocm-hip-sdk
- unable to satisfy dependency 'miopen-hip' required by rocm-hip-sdk
- unable to satisfy dependency 'rccl' required by rocm-hip-sdk
- unable to satisfy dependency 'rocalution' required by rocm-hip-sdk
- unable to satisfy dependency 'rocblas' required by rocm-hip-sdk
- unable to satisfy dependency 'rocfft' required by rocm-hip-sdk
- unable to satisfy dependency 'rocprim' required by rocm-hip-sdk
- unable to satisfy dependency 'rocrand' required by rocm-hip-sdk
- unable to satisfy dependency 'rocsolver' required by rocm-hip-sdk
- unable to satisfy dependency 'rocsparse' required by rocm-hip-sdk
- unable to satisfy dependency 'rocthrust' required by rocm-hip-sdk
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-02-02 22:44 (UTC) by luciddream)
Current release is for ROCm 6.0.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.