Martin Schitter wrote:haraldthi wrote:[0x7f5478ab7480] | Main | INFO | 2018-07-10 15:40:15,189 | Updating display GPU information...
before it gives up, while .... reports this:
OpenCL error -1001, GPUPropertiesUtilUnix.cpp:338.
terminating
that's a quite useful indicator.
the error -1001 (=CL_PLATFORM_NOT_FOUND_KHR) does indeed signify: "No valid ICDs found" in the clGetPlatform* functions.
you should perhaps try the 'clinfo' command, to get some report about the available/working OpenCL services on your system.
it maybe related to nvideo opencl installation, but it could be also very likely caused by the AMD components. mixed GPU setups are always rather error prone.
That was interesting, yes.
Running clinfo gave
Number of platforms 0
no matter if I ran it as clinfo -a, clinfo -a --offline or using sudo.
Seems there was nothing registered to run opencl, despite the whole nvidia driver repository being installed (sans some i386 packages).
I tried to install the mesa-opencl-icd package as an alternative, and when running clinfo this gave:
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 18.0.5
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA
Platform Name Clover
Number of devices 1
Device Name NVF1
Device Vendor NVIDIA
Device Vendor ID 0x10de
Device Version OpenCL 1.1 Mesa 18.0.5
Driver Version 18.0.5
Device OpenCL C Version OpenCL C 1.1
Device Type GPU
Device Profile FULL_PROFILE
Device Available Yes
Compiler Available Yes
Max compute units 12
Max clock frequency 512MHz
Max work item dimensions 3
Max work item sizes 1024x1024x64
Max work group size 1024
=== CL_PROGRAM_BUILD_LOG ===
invalid source Preferred work group size multiple <getWGsizes:675: build program : error -11>
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 1099511627776 (1024GiB)
Error Correction support No
Max memory allocation 1099511627776 (1024GiB)
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 49152 (48KiB)
Max number of constant args 15
Max constant buffer size 65536 (64KiB)
Max size of kernel argument 4096 (4KiB)
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_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 NVF1
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name Clover
Device Name NVF1
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 NVF1
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.11
ICD loader Profile OpenCL 2.1
telling me that it perhaps could work as a glue layer to the Nvidia hardware, but running /opt/resolve/bin/resolve it froze and had to be stopped by a kill -9.
rollinglog.txt gives:
[0x7f99f3d3d480] | Undefined | INFO | 2018-07-12 18:54:27,151 | --------------------------------------------------------------------------------
[0x7f99f3d3d480] | Undefined | INFO | 2018-07-12 18:54:27,162 | Loaded log config from /opt/resolve/configs/log-conf.xml
[0x7f99f3d3d480] | Undefined | INFO | 2018-07-12 18:54:27,162 | --------------------------------------------------------------------------------
[0x7f99f3d3d480] | Main | INFO | 2018-07-12 18:54:27,167 | Running DaVinci Resolve v15.0.0b.065 (Linux/Clang)
[0x7f99f3d3d480] | Main | INFO | 2018-07-12 18:54:27,442 | Updating display GPU information...
and Resolvedebug.txt gives:
[0x7f99f3d3d480] | Main | INFO | 2018-07-12 18:54:27,167 | Running DaVinci Resolve v15.0.0b.065 (Linux/Clang)
[0x7f99f3d3d480] | Main | INFO | 2018-07-12 18:54:27,442 | Updating display GPU information...
double free or corruption (out)
So I wonder what has happened here.
The package nvidia-opencl-icd-384 is a transitional package depending on nvidia-headless-390, and that's the last we've seen of that. Has the Nvidia Opencl library been lost somehow?