aoowweenn
Thanks for your response. I tried that but clinfo reports:
Number of platforms 0
I'm starting to think that VEGA does not work with this.
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) |
« First ‹ Previous 1 .. 69 70 71 72 73 74 75 76 77 78 79 Next › Last »
aoowweenn
Thanks for your response. I tried that but clinfo reports:
Number of platforms 0
I'm starting to think that VEGA does not work with this.
Thanks a lot for you answer wandinstallation, your suggestion worked to fix this error for me, but Blender do not found any GPU "Compute Device" in its preferences despite that (On a Radeon R9 290)...frustrating !
dpack and nylnook
What resolved the issue for me was to blacklist the radeon module
sudo vim /etc/modprobe.d/blacklist-radeon.conf
and add
blacklist radeon
save and restart
Atraii and arakmar
AFAIK, you have to set OCL_ICD_VENDORS in your .bashrc or .xprofile.
For directly use:
$ OCL_ICD_VENDORS=amdocl64.icd clinfo
Same issue than dpack, I'm also intersted in the solution ;)
The same as Atraii, no platform found with clinfo. Anyone manage to fix this issue ?
When I try to run the clinfo command I get this error.
amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x. Segmentation fault (core dumped)
How can I fix this? My Arch is fully up to date and I'm using kernel version 4.14.8-1-ARCH x86_64
just got time to look at the issue. In fact, some paths have changed (thanks @Noctivivans). I didn't experience regressions yet, so I pushed the update out. Sorry for the delay
@utsi: have you checked reason of segfault? I noticed that paths in 17.50 are little different which caused segfault of e.g. clinfo.
Here is my quick-ugly-fixed PKGBUILD (in my version amdgpu.ids is in /opt/amdgpu instead of /opt/amdgpu-pro, I am not sure if that's correct way to do it but at least it works; tested on xmr-stak and clinfo):
works with 4.14.8-1-ARCH kernel and amdgpu driver (without binary blob), I have no other opencl packages installed.
I'm confused on how to get the icd to load this. clinfo reports only OpenCL 1.1 Mesa 17.3.0 on Clover. I don't have the newer OpenCL 1.2. Is there a dependency I'm missing?
Edit: Looks like I'm not the only one https://bbs.archlinux.org/viewtopic.php?id=232446
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.