You are not logged in.
I'm quite puzzled to be honest, so I've decided to ask on forum.
I've installed all needed packages (opencl-mesa, ocl-icd + clinfo).
Judging by clinfo everything is fine and should work(?):
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 20.3.4
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1
Device Name AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0)
Device Vendor AMD
Device Vendor ID 0x1002
Device Version OpenCL 1.1 Mesa 20.3.4
Driver Version 20.3.4
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 8
Max clock frequency 866MHz
Max work item dimensions 3
Max work item sizes 256x256x256
Max work group size 256
Preferred work group size multiple (kernel) 64
Preferred / native vector sizes
char 16 / 16
short 8 / 8
int 4 / 4
long 2 / 2
half 0 / 0 (n/a)
float 4 / 4
double 2 / 2 (cl_khr_fp64)
Half-precision Floating-point support (n/a)
Single-precision Floating-point support (core)
Denormals No
Infinity and NANs Yes
Round to nearest Yes
Round to zero No
Round to infinity No
IEEE754-2008 fused multiply-add No
Support is emulated in software No
Correctly-rounded divide and sqrt operations No
Double-precision Floating-point support (cl_khr_fp64)
Denormals Yes
Infinity and NANs Yes
Round to nearest Yes
Round to zero Yes
Round to infinity Yes
IEEE754-2008 fused multiply-add Yes
Support is emulated in software No
Address bits 64, Little-Endian
Global memory size 3221225472 (3GiB)
Error Correction support No
Max memory allocation 2254857830 (2.1GiB)
Unified memory for Host and Device No
Minimum alignment for any data type 128 bytes
Alignment of base address 32768 bits (4096 bytes)
Global Memory cache type None
Image support No
Local memory type Local
Local memory size 32768 (32KiB)
Max number of constant args 16
Max constant buffer size 67108864 (64MiB)
Max size of kernel argument 1024
Queue properties
Out-of-order execution No
Profiling Yes
Profiling timer resolution 0ns
Execution capabilities
Run OpenCL kernels Yes
Run native kernels No
Device Extensions cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name Clover
Device Name AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL) Success (1)
Platform Name Clover
Device Name AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0)
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.14
ICD loader Profile OpenCL 3.0clinfo --list
Platform #0: Clover
`-- Device #0: AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0)glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0) (0x130f)
Version: 20.3.4
Accelerated: yes
Video memory: 1024MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 742 MB, largest block: 742 MB
VBO free aux. memory - total: 3022 MB, largest block: 3022 MB
Texture free memory - total: 742 MB, largest block: 742 MB
Texture free aux. memory - total: 3022 MB, largest block: 3022 MB
Renderbuffer free memory - total: 742 MB, largest block: 742 MB
Renderbuffer free aux. memory - total: 3022 MB, largest block: 3022 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 1024 MB
Total available memory: 4096 MB
Currently available dedicated video memory: 742 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD KAVERI (DRM 3.40.0, 5.10.20-1-lts, LLVM 11.1.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.3.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.3.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20And yet any program that uses OpenCL complains that I don't have OpenCL (for instance, Blender is saying "No compatible GPUs found for path tracing. Cycles will render on CPU" when I chose OpenCL in settings).
Am I missing something? Is there any way to test OpenCL further?
Thanks to everybody in advance!
Last edited by quoiDraught (2021-03-09 10:34:44)
Offline
In case that matters in this case. I'm using amdgpu module, not radeon
lspci -k
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] (rev d4)
Subsystem: ASUSTeK Computer Inc. Device 85cb
Kernel driver in use: amdgpu
Kernel modules: radeon, amdgpuOffline
Blender doesn't work well with opencl opensource drivers, the others may need higher opencl versions then the 1.1 provided by clover (opencl-mesa).
Try opencl-amd from aur .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Blender doesn't work well with opencl opensource drivers, the others may need higher opencl versions then the 1.1 provided by clover (opencl-mesa).
Try opencl-amd from aur .
Thanks, it worked!
Too bad there is such a bad support of FOSS OpenCL everywhere...
Closed
Offline