I think there's a bug, but I'm not quite sure what the cause is. Neither ethminer nor Claymore will launch unless there's an active X session running. They will both say that no OpenCL devices were found.
Search Criteria
Package Details: opencl-amd 1:6.1.0-2
Package Actions
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: | 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: | 131 |
Popularity: | 0.84 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2024-04-19 20:50 (UTC) |
Dependencies (7)
- gcc-libs (gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-gitAUR, gcc-libs-snapshotAUR)
- libdrm (libdrm-gitAUR)
- numactl (numactl-gitAUR)
- ocl-icd (khronos-ocl-icd-gitAUR, khronos-ocl-icdAUR)
- wget (wget-gitAUR) (make)
- clinfo (clinfo-gitAUR) (optional)
- opencl-amd-devAUR (optional)
Required by (114)
- adaptivecpp-common-git (requires hip-runtime-amd) (make)
- adaptivecpp-cpu-git (requires hip-runtime-amd) (make)
- 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)
- arrayfire-git (requires opencl-driver) (optional)
- atmi (requires comgr)
- atmi (requires hsa-rocr)
- 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)
- Show 94 more...
Sources (39)
- 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.1/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.120.60100-1756574.22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/a/amd-smi-lib/amd-smi-lib_24.4.1.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/c/comgr/comgr_2.7.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hip-dev/hip-dev_6.1.40091.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hip-doc/hip-doc_6.1.40091.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.1.40091.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hip-samples/hip-samples_6.1.40091.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hipcc/hipcc_1.0.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60100.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.13.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hsa-rocr/hsa-rocr_1.13.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/h/hsakmt-roct-dev/hsakmt-roct-dev_20240125.3.30.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_17.60.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocdecode-dev/rocdecode-dev_0.5.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocdecode/rocdecode_0.5.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-clang-ocl/rocm-clang-ocl_0.5.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-cmake/rocm-cmake_0.12.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-core/rocm-core_6.1.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.71.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-dev/rocm-dev_6.1.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-gdb/rocm-gdb_14.1.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.1.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.1.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-opencl-icd-loader/rocm-opencl-icd-loader_1.2.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.1.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.0.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocm-utils/rocm-utils_6.1.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocminfo/rocminfo_1.0.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60100.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60100.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocprofiler-register/rocprofiler-register_0.3.0.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/rocprofiler/rocprofiler_2.0.60100.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/roctracer-dev/roctracer-dev_4.1.60100.60100-82~22.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.1/pool/main/r/roctracer/roctracer_4.1.60100.60100-82~22.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 69 70 71 72 73 74 75 76 77 Next › Last »
ywecur commented on 2017-10-23 21:36 (UTC)
darkbasic commented on 2017-10-21 13:23 (UTC)
GPU_FORCE_64BIT_PTR=1 was enough for me (HD7950)
difron commented on 2017-10-21 13:13 (UTC)
It works on SI if set
export GPU_FORCE_64BIT_PTR=1
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100
export GPU_MAX_HEAP_SIZE=100
found here https://github.com/fireice-uk/xmr-stak-amd/issues/59
grmat commented on 2017-09-28 23:14 (UTC)
@darkbasic: I don't think so. SI was not initially planned for AMDGPU. You can try the AMD mainline kernel as suggested in the thread, but I'm not sure if it will work.
darkbasic commented on 2017-09-27 23:44 (UTC)
https://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/979848-amdgpu-pro-s-opencl-stack-crashes-the-whole-system-down-to-its-knees-on-si
Is it supposed to work on SI?
pouar commented on 2017-08-27 14:51 (UTC)
probably a dumb question, but I can't get OpenCL to work without root. I tried adding myself to the video group, but it's still not working.
cgx commented on 2017-08-14 15:24 (UTC)
New build 465504 available
https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-17.30-465504.tar.xz
http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx
ctouze commented on 2017-08-02 20:01 (UTC)
Works with libdrm 2.4.82-1
https://www.archlinux.org/packages/extra/x86_64/libdrm/download/
grmat commented on 2017-08-01 17:19 (UTC) (edited on 2017-08-01 17:20 (UTC) by grmat)
Thanks for reporting. The file is located under '/usr/share/libdrm' with the upstream libdrm package and I've just linked it accordingly.
However, Alex Deucher also started pushing the libdrm changes by AMD which are required for their hybrid stack publicly[1].
It should now be possible to stop this approach for the OpenCL driver and replace libdrm with libdrm-amd[2]. The hybrid branch at [3] is intended to work with that (also includes Vulkan), but I've had no time to test things yet. I've set the linux-amd-mainline-git kernel as a dependency, which can be found in the AUR[4] and is also pushed out publicly now.
[1]: https://cgit.freedesktop.org/~agd5f/drm
[2]: https://github.com/grmat/libdrm-amd/blob/master/PKGBUILD
[3]: https://github.com/grmat/opencl-amd/blob/hybrid/PKGBUILD
[4]: https://aur.archlinux.org/packages/linux-amd-mainline-git
HappyGirl commented on 2017-08-01 17:15 (UTC)
I believe the source directory has changed in the package, as a quick workaround I just made the directory and created a symlink to the copy on my system and it seems to be working fine. I didn't have a copy of the file in /opt where it was expected, in fact the directory didn't exist on my system.
Not a great solution but it's a quick workaround
sudo find /usr/ -iname "amdgpu.ids" -exec stat -c "%a %n %y" {} \;
644 /usr/share/libdrm/amdgpu.ids 2017-07-19 10:52:24.000000000 -0400
mkdir -p /opt/amdgpu-pro/share/libdrm/
sudo ln -s /usr/share/libdrm/amdgpu.ids /opt/amdgpu-pro/share/libdrm/amdgpu.ids
Checking on my Ubunutu 16.04 box that I updated the driver yesterday /usr/share/libdrm/amdgpu.ids does seem to be the last one updated as well so I'd assume they decided to move it but forgot to update some dependencies, but that is just a guess
stat /usr/share/libdrm/amdgpu.ids /opt/amdgpu-pro/share/libdrm/amdgpu.ids
File: '/usr/share/libdrm/amdgpu.ids'
Size: 5488 Blocks: 16 IO Block: 4096 regular file
Device: 805h/2053d Inode: 130985 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-01 03:53:30.000000000 -0400
Modify: 2017-07-31 12:56:08.000000000 -0400
Change: 2017-08-01 03:53:31.717442199 -0400
Birth: -
File: '/opt/amdgpu-pro/share/libdrm/amdgpu.ids'
Size: 6110 Blocks: 16 IO Block: 4096 regular file
Device: 805h/2053d Inode: 270675 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2017-08-01 10:57:11.952749332 -0400
Modify: 2017-07-12 10:49:18.000000000 -0400
Change: 2017-07-30 14:35:09.701521015 -0400
Birth: -
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-04-18 21:02 (UTC) by luciddream)
Current release is for ROCm 6.1.0
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.