Updated to 18.40 and latest linux and linux-firmware package and still very buggy SI support. Or maybe I have everything misconfigured.
Search Criteria
Package Details: opencl-amd 1:6.4.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, 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: | 133 |
Popularity: | 0.52 |
First Submitted: | 2016-12-01 03:45 (UTC) |
Last Updated: | 2025-04-11 22:54 (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 (132)
- adaptivecpp (requires hip-runtime-amd)
- adaptivecpp-git (requires hip-runtime-amd)
- aftershotpro3 (optional)
- 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 hip-runtime-amd) (optional)
- btop-git (requires rocm-smi-lib) (optional)
- btop-gpu-git (requires rocm-smi-lib) (optional)
- computecpp (requires opencl-driver)
- cpu-x-git (requires opencl-driver) (optional)
- crark (requires opencl-driver) (optional)
- cytoscape (requires opencl-driver) (optional)
- darknet-hankai-git (requires rocm-opencl-runtime) (optional)
- darknet-hankai-git (requires rocm-hip-runtime) (optional)
- davinci-resolve (requires opencl-driver)
- davinci-resolve-beta (requires opencl-driver)
- davinci-resolve-studio (requires opencl-driver)
- davinci-resolve-studio-beta (requires opencl-driver)
- dewobble (requires opencl-driver)
- foldingathome (requires opencl-driver) (optional)
- fusion-render-node (requires opencl-driver)
- fusion-studio (requires opencl-driver)
- ginkgo-hpc-cuda-git (requires roctracer) (make)
- ginkgo-hpc-cuda-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-docs-git (requires roctracer) (make)
- ginkgo-hpc-docs-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-git (requires roctracer) (make)
- ginkgo-hpc-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-hip-git (requires hip-runtime-amd)
- ginkgo-hpc-hip-git (requires hip-runtime-amd) (make)
- ginkgo-hpc-hip-git (requires roctracer)
- ginkgo-hpc-hip-git (requires roctracer) (make)
- gyroflow (requires opencl-driver) (optional)
- gyroflow-bin (requires opencl-driver) (optional)
- gyroflow-dev-appimage (requires opencl-driver) (optional)
- gyroflow-git (requires opencl-driver) (optional)
- hipfort (requires hip-runtime-amd)
- hipfort (requires rocm-cmake) (make)
- hipsycl-rocm (requires hip-runtime-amd)
- hipsycl-rocm-git (requires hip-runtime-amd)
- intel-llvm-git (requires hip-runtime-amd)
- kristforge-bin (requires opencl-driver) (optional)
- kristforge-git (requires opencl-driver) (optional)
- lammps-ryzen-opencl
- lc0 (requires opencl-driver) (optional)
- leela-zero (requires opencl-driver)
- leela-zero-git (requires opencl-driver)
- llama.cpp-hip (requires rocm-hip-runtime) (make)
- llama.cpp-hip (requires hip-runtime-amd)
- llamafile (requires hip-runtime-amd) (optional)
- llamafile (requires rocminfo) (optional)
- llamafile-bin (requires hip-runtime-amd) (optional)
- llamafile-bin (requires rocminfo) (optional)
- llamafile-git (requires hip-runtime-amd) (optional)
- llamafile-git (requires rocminfo) (optional)
- local-ai-hipblas (requires rocm-hip-runtime)
- localai-git-rocm (requires rocm-hip-runtime)
- luxcorerender (requires opencl-driver) (optional)
- luxcorerender-bin (requires opencl-driver) (optional)
- luxcorerender-git (requires opencl-driver) (optional)
- luxmark (requires opencl-driver)
- mandelbulber2-opencl-git (requires opencl-driver)
- maya (requires opencl-driver) (optional)
- mfakto (requires opencl-driver)
- migraphx (requires hip)
- migraphx (requires rocm-cmake) (make)
- miopen-opencl (requires rocm-cmake) (make)
- miopengemm (requires rocm-cmake) (make)
- mivisionx (requires rocm-cmake) (make)
- mtsieve (requires opencl-driver)
- nano-vanity-git (requires rocm-opencl-runtime) (optional)
- ollama-rocm-git (requires comgr)
- ollama-rocm-git (requires hip-runtime-amd)
- ollama-rocm-git (requires hip-runtime-amd) (make)
- ollama-rocm-git (requires hsa-rocr)
- ollama-rocm-git (requires hsa-rocr) (make)
- ollama-rocm-git (requires rocm-smi-lib) (optional)
- opencl-amd-dev
- opencl-icd-loader (requires opencl-driver) (optional)
- opencl-legacy-amdgpu-pro (requires rocm-opencl-runtime) (optional)
- openmp-extras (requires hsa-rocr)
- python-gpuctypes (requires opencl-driver) (optional)
- python-gpuctypes (requires hip-runtime-amd) (optional)
- python-jax-rocm (requires rocm-hip-runtime)
- python-k2-git (requires hip) (optional)
- python-pyfai (requires opencl-driver)
- python-pytorch-cxx11abi (requires roctracer) (make)
- python-pytorch-cxx11abi-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-cuda (requires roctracer) (make)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer)
- python-pytorch-cxx11abi-opt-rocm (requires roctracer) (make)
- python-pytorch-cxx11abi-rocm (requires roctracer)
- python-pytorch-cxx11abi-rocm (requires roctracer) (make)
- python-silx (requires opencl-driver) (optional)
- python-tensorflow-opt-rocm (requires roctracer) (make)
- python-tensorflow-rocm (requires roctracer) (make)
- rocblas-gfx1010-backend (requires rocm-cmake) (make)
- rocm-bandwidth-test (requires hsa-rocr)
- rocm-debug-agent (requires hip)
- rocm-debug-agent (requires rocm-dbgapi)
- rocm-validation-suite (requires rocm-smi-lib)
- rocsparse-gfx1010 (requires hip)
- rocsparse-gfx1010 (requires rocm-cmake) (make)
- rocwmma (requires hip)
- rocwmma (requires rocm-cmake) (make)
- sempiternum (optional)
- sempiternum-git (optional)
- slopecraft (requires rocm-opencl-runtime) (optional)
- srbminer-multi (optional)
- tensorflow-opt-rocm (requires roctracer) (make)
- tensorflow-rocm (requires roctracer) (make)
- ugene-git (requires opencl-driver)
- virtualgl-git (requires opencl-driver)
- vramfs-git (requires opencl-driver)
- xkblas (requires rocm-smi-lib)
- xmr-stak-opencl-amd
- zivid (requires opencl-driver)
- zluda (requires comgr)
- zluda (requires hip-runtime-amd)
- zluda-git (requires comgr)
- zluda-git (requires hip-runtime-amd)
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.4/ubuntu/pool/main/libd/libdrm-amdgpu/libdrm-amdgpu-amdgpu1_2.4.124.60400-2147987.24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/a/amd-smi-lib/amd-smi-lib_25.3.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/c/comgr/comgr_3.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-dev/hip-dev_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-doc/hip-doc_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-runtime-amd/hip-runtime-amd_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hip-samples/hip-samples_6.4.43482.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hipcc/hipcc_1.1.1.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-amd-aqlprofile/hsa-amd-aqlprofile_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-rocr-dev/hsa-rocr-dev_1.15.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/h/hsa-rocr/hsa-rocr_1.15.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/o/openmp-extras-runtime/openmp-extras-runtime_18.63.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocdecode-dev/rocdecode-dev_0.10.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocdecode/rocdecode_0.10.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocjpeg-dev/rocjpeg-dev_0.8.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocjpeg/rocjpeg_0.8.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-cmake/rocm-cmake_0.14.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-core/rocm-core_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-dbgapi/rocm-dbgapi_0.77.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-debug-agent/rocm-debug-agent_2.0.4.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-dev/rocm-dev_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-device-libs/rocm-device-libs_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-gdb/rocm-gdb_15.2.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-hip-runtime/rocm-hip-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-language-runtime/rocm-language-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-dev/rocm-opencl-dev_2.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl-runtime/rocm-opencl-runtime_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-opencl/rocm-opencl_2.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-smi-lib/rocm-smi-lib_7.5.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocm-utils/rocm-utils_6.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocminfo/rocminfo_1.0.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-dev/rocprofiler-dev_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-plugins/rocprofiler-plugins_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler-register/rocprofiler-register_0.4.0.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/rocprofiler/rocprofiler_2.0.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/roctracer-dev/roctracer-dev_4.1.60400.60400-47~24.04_amd64.deb
- https://repo.radeon.com/rocm/apt/6.4/pool/main/r/roctracer/roctracer_4.1.60400.60400-47~24.04_amd64.deb
Latest Comments
« First ‹ Previous 1 .. 66 67 68 69 70 71 72 73 74 75 76 .. 81 Next › Last »
Olympus593 commented on 2018-11-05 15:08 (UTC) (edited on 2018-11-05 15:11 (UTC) by Olympus593)
Nightbane112 commented on 2018-10-25 10:23 (UTC) (edited on 2018-10-25 10:43 (UTC) by Nightbane112)
@urbenlegend Does this opencl works if you hold back libdrm to ver 2.4.93
with the updated package?
EDIT:
Just tested the new PKGBUILD. Updated package works as long libdrm
is at ver 2.4.93
As long AMD supplies libdrm
at ver 2.4.92
, the last backward compatible version is upstream's libdrm 2.4.93
as hinted in the following line
ar x "${srcdir}/${prefix}${major}-${minor}-${targetos}/libdrm-amdgpu-amdgpu1_2.4.92-${minor}_amd64.deb"
urbenlegend commented on 2018-10-25 02:09 (UTC)
Just tried modifying PKGBUILD to get the latest 18.40 release. Blender still crashes with this driver and the latest libdrm.
Here's the modified PKGBUILD if anyone is interested:
# Maintainer: grmat <grmat@sub.red>
pkgname=opencl-amd
pkgdesc="OpenCL userspace driver as provided in the amdgpu-pro driver stack. This package is intended to work along with the free amdgpu stack."
pkgver='18.40.676022'
pkgrel=1
arch=('x86_64')
url='http://www.amd.com'
license=('custom:AMD')
makedepends=('wget')
depends=('libdrm' 'ocl-icd')
conflicts=('amdgpocl')
provides=('opencl-driver')
DLAGENTS='https::/usr/bin/wget --referer https://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Driver-for-Linux-Release-Notes.aspx -N %u'
prefix='amdgpu-pro-'
major='18.40'
minor='676022'
shared="opt/amdgpu-pro/lib/x86_64-linux-gnu"
targetos='ubuntu-18.04'
source=("https://drivers.amd.com/drivers/linux/${prefix}${major}-${minor}-${targetos}.tar.xz")
sha256sums=('4f71f0a70d68a2d1714902855d1a5e8ccc454b1065182f904cf0f93862cac97c')
pkgver() {
echo "${major}.${minor}"
}
package() {
mkdir "${srcdir}/opencl"
cd "${srcdir}/opencl"
ar x "${srcdir}/${prefix}${major}-${minor}-${targetos}/opencl-amdgpu-pro-icd_${major}-${minor}_amd64.deb"
tar xJf data.tar.xz
ar x "${srcdir}/${prefix}${major}-${minor}-${targetos}/opencl-orca-amdgpu-pro-icd_${major}-${minor}_amd64.deb"
tar xJf data.tar.xz
cd ${shared}
sed -i "s|libdrm_amdgpu|libdrm_amdgpo|g" libamdocl-orca64.so
mkdir "${srcdir}/libdrm"
cd "${srcdir}/libdrm"
ar x "${srcdir}/${prefix}${major}-${minor}-${targetos}/libdrm-amdgpu-amdgpu1_2.4.92-${minor}_amd64.deb"
tar xJf data.tar.xz
cd ${shared/amdgpu-pro/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"
mv "${srcdir}/opencl/etc" "${pkgdir}/"
mkdir -p ${pkgdir}/usr/lib
mv "${srcdir}/opencl/${shared}/libamdocl64.so" "${pkgdir}/usr/lib/"
mv "${srcdir}/opencl/${shared}/libamdocl-orca64.so" "${pkgdir}/usr/lib/"
mv "${srcdir}/opencl/${shared}/libamdocl12cl64.so" "${pkgdir}/usr/lib/"
mv "${srcdir}/libdrm/${shared/amdgpu-pro/amdgpu}/libdrm_amdgpo.so.1.0.0" "${pkgdir}/usr/lib/"
mv "${srcdir}/libdrm/${shared/amdgpu-pro/amdgpu}/libdrm_amdgpo.so.1" "${pkgdir}/usr/lib/"
mkdir -p "${pkgdir}/opt/amdgpu/share/libdrm"
cd "${pkgdir}/opt/amdgpu/share/libdrm"
ln -s /usr/share/libdrm/amdgpu.ids amdgpu.ids
rm -r "${srcdir}/opencl"
rm -r "${srcdir}/libdrm"
}
Gemini commented on 2018-10-23 19:15 (UTC) (edited on 2018-10-23 19:33 (UTC) by Gemini)
update: Wow, it worked! at least up to par with the other setup. But it also fixed the "kernels in a row" bug! Blender OTOH still doesn't even start, segfaulting at trying to find out the device:
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-9) Writing: /tmp/blender.crash.txt
Segmentation fault (core dumped)
-- Here's the backtrace summary, a series of function calls leading to libdrm_amdgpo.so (with an O?)
Blender 2.79 (sub 0), Commit date: 2018-05-26 21:51, Hash 32432d91bbe
backtrace
blender(BLI_system_backtrace+0x34) [0x55e1e8b59b84] blender(+0xb7b8b2) [0x55e1e80e58b2] /usr/lib/libc.so.6(+0x37e00) [0x7fce6db09e00] /usr/lib/libdrm_amdgpo.so.1(amdgpu_get_marketing_name+0xc) [0x7fce485acbdf] /usr/lib/libamdocl-orca64.so(+0x8d871e) [0x7fce4908b71e] [trimmed]
-- I was getting that -9 return code on other openCL stuff too (-36 was another, related to not finding functions), it "can't find the device", notably from clBLAS (NB, no 't' at the end, clblast seem to be more forgiving with our OpenCL 1.1 hardware), but even that seem to be working now, although some results from the example code are a bit weird, like "-nan" instead of a float or too many 0.0000 which suggest rounding problems. (perhaps other constants to set on .bashrc?)
As for Blender, the only suggestion I might have is to disable cycles on compilation (there was a release note back when they finally split the kernels that openCL would only work on 2.78c[1], perhaps still true to SI, only advanced stuff like Baking would not be available, but you WOULD be stuck on that version) and use BlendLuxCore instead, which is just 'out of the oven' with a reboot, re-coded from scratch. All you have to do is download a zip addon. (Arch should have a no-cycles version? is there a cli parameter perhaps?)
Another thing I noticed was that CUDA was mentioned on the installation but I don't think this should be interfering with openCL.
[1] https://en.blender.org/index.php/OpenCL
Edit: added reference
Gemini commented on 2018-10-23 18:35 (UTC)
@ArnaudNux I get that message if the Radeon driver is loaded instead of AMDGPU. Have you passed the Kernel Parameter Flags, with your bootloader? (check out the article, linked on previous posts)
@Olympus593 Same problem here, same SI chipset. On a different distro, where I managed to run openCL kernels, clblast example code (cache.c) produces a VERY similar symptom, whereas issuing another kernel to the hardware BEFORE CLEARING (flushing?) the cache breaks the program. The only difference I see is that distro is using the mesa-ocl interface, instead of this "amdocl-orca64" (I tried changing to the amdocl64.icd here in Arch, but didn't work at all, we SHOULD be able to use different "vendor icds" though).
I'll try the recommended bashrc exports to see if Arch gets to at least that same place, past that CL_OUT_OF_HOST_MEMORY.
kenzhishi commented on 2018-10-19 07:16 (UTC)
libdrm and lib32-libdrm to 2.4.93-1
ArnaudNux commented on 2018-10-17 22:42 (UTC)
[root@AMD fah]# ./FAHClient --configure 22:40:42:INFO(1):Read GPUs.txt amdgpu_device_initialize: DRM version is 2.50.0 but this driver is only compatible with 3.x.x. No protocol specified
Olympus593 commented on 2018-10-16 04:56 (UTC) (edited on 2018-10-16 10:37 (UTC) by Olympus593)
@Nightbane112 It sort of works but very unstable. Obviously, every time I need an app to use OpenCL I must launch it from a terminal to make OpenCL "sort of work"
In blender, it takes 3 tries before it stats to render but it is ridiculously slow (like CPU is several times faster. If you try to hit render again, blender will crash.
On Resolve thumbnail previews are completely useless, playback and render does work, however when using power windows resolve crashes.
Still very buggy. I think it is because of the experimental SI support. I wish I didn't have to launch every app via terminal.
Nightbane112 commented on 2018-10-15 16:28 (UTC) (edited on 2018-10-15 16:28 (UTC) by Nightbane112)
@Olympus593 From the looks of it, I don't think its a driver problem. A bit of searching online lead me to this issue on GitHub (https://github.com/hughperkins/tf-coriander/issues/74)
How about appending this to your bashrc
file and see if it changes anything?
#!/bin/bash
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
Olympus593 commented on 2018-10-15 13:40 (UTC) (edited on 2018-10-15 15:06 (UTC) by Olympus593)
@Nightbane112 I am using the amdgpu kernel driver and I have already enabled experimental support (I already double checked to make sure that the driver does load) but every time I try to use OpenCL (for example Blender Cycles Render) it ends with Error -6 CL_OUT_OF_HOST_MEMORY. Same error with DaVinci Resolve.
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.