Do I need to downgrade Xorg or do some configuration because mine always ends up with Error -6 in any app trying to use OpenCL. I have a GCN 1 card with support provided by the AMDGPU driver.
Search Criteria
Package Details: opencl-amd 1:6.3.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, 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, 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.61 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2024-12-05 18:41 (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 hsa-rocr)
- atmi (requires comgr)
- 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)
- Show 106 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/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.123.60300-2084815.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/a/amd-smi-lib/amd-smi-lib_24.7.1.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/c/comgr/comgr_2.8.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hip-dev/hip-dev_6.3.42131.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hip-doc/hip-doc_6.3.42131.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.3.42131.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hip-samples/hip-samples_6.3.42131.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hipcc/hipcc_1.1.1.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.14.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/h/hsa-rocr/hsa-rocr_1.14.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.63.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocdecode-dev/rocdecode-dev_0.8.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocdecode/rocdecode_0.8.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocjpeg-dev/rocjpeg-dev_0.6.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocjpeg/rocjpeg_0.6.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-cmake/rocm-cmake_0.14.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-core/rocm-core_6.3.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.77.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.3.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-dev/rocm-dev_6.3.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-gdb/rocm-gdb_15.2.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.3.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.3.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.3.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.4.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocm-utils/rocm-utils_6.3.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocminfo/rocminfo_1.0.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60300.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60300.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/rocprofiler/rocprofiler_2.0.60300.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/roctracer-dev/roctracer-dev_4.1.60300.60300-39~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.3/pool/main/r/roctracer/roctracer_4.1.60300.60300-39~24.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 65 66 67 68 69 70 71 72 73 74 75 .. 79 Next › Last »
Olympus593 commented on 2018-10-14 14:51 (UTC) (edited on 2018-10-14 14:54 (UTC) by Olympus593)
Nightbane112 commented on 2018-09-29 04:57 (UTC) (edited on 2018-10-15 01:42 (UTC) by Nightbane112)
PSA : I remove my previous comment to avoid confusion as now that this package works with the current version (opencl-amd 18.3.641594
).
@stoostranger Haha, seems like this package finally works although still needs the libdrm
downgrade shenanigans. Thanks!
stoostranger commented on 2018-09-28 20:16 (UTC)
I tried downgrading without libdrm and lib32-libdrm downgrade but blender still segfault. then I downgrade libdrm to 2.4.93-1, then install opencl-amd 18.3.641594 again, then now Blender Circle renderer works perfectly. Hope this help
Rextuz commented on 2018-09-19 07:46 (UTC)
As some of you noticed 18.30.641594-1 does not seem to work with blender. Manual downgrading worked for me. Edit PKGBUILD to match the following values:
major='18.20'
minor='606296'
source=("https://www2.ati.com/drivers/linux/ubuntu/18.04/amdgpu-pro-18.20-606296.tar.xz")
sha256sums=('2a0716993e8efb1fadcb92d82e9328e344bdbc78769f5ff95298b82f49ff76f9')
also change amdgpu1_2.4.92
to amdgpu1_2.4.91
and as @Nightbane112 mentioned downgrade libdrm
and lib32-libdrm
to 2.4.93-1
Shylon commented on 2018-09-19 05:44 (UTC)
I have same error too on Blender (portable, Manjaro), the only temporary solution I found is, in Blender folder run "blender-softwaregl" file, it uses software and is very slow depend on your system. then I can render with Opencl. I hope it gets sooner fixed.
urbenlegend commented on 2018-09-17 22:26 (UTC)
@IMBJR I am getting roughly the same issue as you when this package is installed.
# Blender 2.79 (sub 0), Commit date: 2018-05-26 21:51, Hash 32432d91bbe
# backtrace
blender(BLI_system_backtrace+0x34) [0x55d95ecf13f4]
blender(+0xb7b562) [0x55d95e27d562]
/usr/lib/libc.so.6(+0x37e00) [0x7fd541b02e00]
/usr/lib/libdrm_amdgpo.so.1(amdgpu_get_marketing_name+0xc) [0x7fd4f8e5dbdf]
/usr/lib/libamdocl-orca64.so(+0x8d871e) [0x7fd4f993c71e]
/usr/lib/libamdocl-orca64.so(+0x8d8cbf) [0x7fd4f993ccbf]
/usr/lib/libamdocl-orca64.so(+0x8dbc71) [0x7fd4f993fc71]
/usr/lib/libamdocl-orca64.so(+0x8f5488) [0x7fd4f9959488]
/usr/lib/libamdocl-orca64.so(+0xc4bc7d) [0x7fd4f9cafc7d]
/usr/lib/libamdocl-orca64.so(+0x8cb799) [0x7fd4f992f799]
/usr/lib/libamdocl-orca64.so(+0x8cb80f) [0x7fd4f992f80f]
/usr/lib/libamdocl-orca64.so(+0x8cc597) [0x7fd4f9930597]
/usr/lib/libamdocl-orca64.so(+0xcf772e) [0x7fd4f9d5b72e]
/usr/lib/libamdocl-orca64.so(+0xcf8c9a) [0x7fd4f9d5cc9a]
/usr/lib/libamdocl-orca64.so(+0xcf8eb6) [0x7fd4f9d5ceb6]
/usr/lib/libamdocl-orca64.so(+0x8a9787) [0x7fd4f990d787]
/usr/lib/libamdocl-orca64.so(clIcdGetPlatformIDsKHR+0x8a) [0x7fd4f98f068a]
/usr/lib/libOpenCL.so(+0x5d1e) [0x7fd5010add1e]
/usr/lib/libOpenCL.so(clGetPlatformIDs+0x115) [0x7fd5010afc15]
blender(_ZN3ccl10OpenCLInfo17get_num_platformsEPjPi+0x1c) [0x55d95f2412dc]
blender(_ZN3ccl10OpenCLInfo13get_platformsEPNS_6vectorIP15_cl_platform_idNS_16GuardedAllocatorIS3_EEEEPi+0x39) [0x55d95f242389]
blender(_ZN3ccl10OpenCLInfo18get_usable_devicesEPNS_6vectorINS_20OpenCLPlatformDeviceENS_16GuardedAllocatorIS2_EEEEb+0x19b) [0x55d95f246fab]
blender(_ZN3ccl18device_opencl_infoERNS_6vectorINS_10DeviceInfoENS_16GuardedAllocatorIS1_EEEE+0x56) [0x55d95f233cd6]
blender(_ZN3ccl6Device17available_devicesEv+0xe2) [0x55d95f208852]
blender(+0x1a0216a) [0x55d95f10416a]
/usr/lib/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x148) [0x7fd548a42a88]
/usr/lib/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x21) [0x7fd548a42d21]
/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x522c) [0x7fd548aba89c]
/usr/lib/libpython3.7m.so.1.0(_PyFunction_FastCallDict+0x11b) [0x7fd5489fbf3b]
blender(+0xfac373) [0x55d95e6ae373]
blender(RNA_property_enum_items_ex+0x61) [0x55d95eb5ea71]
blender(RNA_property_enum_items+0x14) [0x55d95eb5eb14]
blender(RNA_property_enum_value+0x33) [0x55d95eb5eeb3]
blender(+0xf9bf9a) [0x55d95e69df9a]
blender(+0xf9cc24) [0x55d95e69ec24]
/usr/lib/libpython3.7m.so.1.0(PyObject_SetAttr+0x88) [0x7fd548aaecf8]
/usr/lib/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0xd7d) [0x7fd548ab63ed]
/usr/lib/libpython3.7m.so.1.0(_PyFunction_FastCallDict+0x11b) [0x7fd5489fbf3b]
blender(bpy_app_generic_callback+0xd5) [0x55d95e6a99d5]
blender(BLI_callback_exec+0x2d) [0x55d95ecb360d]
blender(WM_init+0x28a) [0x55d95e28dfda]
blender(main+0x3d1) [0x55d95e264841]
/usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7fd541aef223]
blender(_start+0x2e) [0x55d95e27a01e]
Nightbane112 commented on 2018-09-05 23:25 (UTC) (edited on 2018-09-19 11:42 (UTC) by Nightbane112)
@IMBJR
Have you tried downgrading libdrm
& lib32-libdrm
from ver. 2.4.94
to ver. 2.4.93
? AFAIK, that's the only workaround I found that works on my system.
EDIT: Seems like the workaround only worked for the previous version of this package (amdgpu-pro-18.30-633530). The current version (18.30-641594) needs to be downgraded to the previous version in order for opencl apps to work again.
IMBJR commented on 2018-09-05 17:11 (UTC)
Version 18.30.641594-1 is making blender segault:
Sep 05 18:05:35 pc audit[28523]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=2 pid=28523 comm="blender" exe="/usr/bin/blender" sig=11 res=1 Sep 05 18:05:35 pc kernel: audit: type=1701 audit(1536167135.181:15): auid=1000 uid=1000 gid=1000 ses=2 pid=28523 comm="blender" exe="/usr/bin/blender" sig=11 res=1 Sep 05 18:05:35 pc systemd[1]: Started Process Core Dump (PID 28578/UID 0). Sep 05 18:05:36 pc systemd-coredump[28579]: Process 28523 (blender) of user 1000 dumped core.
Stack trace of thread 28523:
#0 0x00007f1eea241bdf amdgpu_get_marketing_name (libdrm_amdgpo.so.1)
#1 0x00007f1eead2071e n/a (libamdocl-orca64.so)
#2 0x00007f1eead20cbf n/a (libamdocl-orca64.so)
#3 0x00007f1eead23c71 n/a (libamdocl-orca64.so)
#4 0x00007f1eead3d488 n/a (libamdocl-orca64.so)
#5 0x00007f1eeb093c7d n/a (libamdocl-orca64.so)
#6 0x00007f1eead13799 n/a (libamdocl-orca64.so)
#7 0x00007f1eead1380f n/a (libamdocl-orca64.so)
#8 0x00007f1eead14597 n/a (libamdocl-orca64.so)
#9 0x00007f1eeb13f72e n/a (libamdocl-orca64.so)
#10 0x00007f1eeb140c9a n/a (libamdocl-orca64.so)
#11 0x00007f1eeb140eb6 n/a (libamdocl-orca64.so)
#12 0x00007f1eeacf1787 n/a (libamdocl-orca64.so)
#13 0x00007f1eeacd468a clIcdGetPlatformIDsKHR (libamdocl-orca64.so)
#14 0x00007f1ef3c23d1e n/a (libOpenCL.so)
#15 0x00007f1ef3c25c15 clGetPlatformIDs (libOpenCL.so)
#16 0x00005607619272fc _ZN3ccl10OpenCLInfo17get_num_platformsEPjPi (blender)
#17 0x63c4f0885a279521 n/a (n/a)
devone2 commented on 2018-07-05 20:19 (UTC) (edited on 2018-07-05 20:20 (UTC) by devone2)
Lopo, I had similar problem with invalid sha256sums. Problem is how hostname www2.ati.com is resolved. If I use dns provided by my ISP: I get resolution to ip: 92.123.37.188 and I dont get valid tarball.
But if I use dns server 1.1.1.1 for example then it is resolved to: 23.4.251.103 and I will get correct tarball.
It looks like they don't have properly sync mirros (CDN). Hope it helps.
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-12-05 18:42 (UTC) by luciddream)
Current release is for ROCm 6.3.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.