Project

General

Profile

Bug #10055

No support for OpenCL with Intel HD 4000 graphics

Added by Alex Alex almost 6 years ago. Updated almost 6 years ago.

Status:
Closed: invalid
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
08/13/2014
Due date:
% Done:

0%

Estimated time:
Affected Version:
1.4.2
System:
Ubuntu
bitness:
64-bit
hardware architecture:
amd64/x86

Description

After clean install Darktable can't start with activated OpenCL support

$ darktable -d opencl
[opencl_init] opencl related configuration options:
[opencl_init] 
[opencl_init] opencl: 1
[opencl_init] opencl_library: ''
[opencl_init] opencl_memory_requirement: 768
[opencl_init] opencl_memory_headroom: 300
[opencl_init] opencl_device_priority: '*/!0,*/*/*'
[opencl_init] opencl_size_roundup: 16
[opencl_init] opencl_async_pixelpipe: 0
[opencl_init] opencl_synch_cache: 0
[opencl_init] opencl_number_event_handles: 25
[opencl_init] opencl_micro_nap: 1000
[opencl_init] opencl_use_pinned_memory: 0
[opencl_init] opencl_use_cpu_devices: 0
[opencl_init] opencl_avoid_atomics: 0
[opencl_init] opencl_omit_whitebalance: 0
[opencl_init] 
[opencl_init] trying to load opencl library: '<system default>'
[opencl_init] opencl library 'libOpenCL' found on your system and loaded
[opencl_init] found 1 platform
[opencl_init] found 1 device
[opencl_init] discarding CPU device 0 `       Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz'.
[opencl_init] no suitable devices found.
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.
$ dpkg -l | grep OpenCL
ii  opencl-base                                           1.2-4.4.0.117                                       all          OpenCL* (Open Computing Language) is an open standard for general-purpose 
ii  opencl-devel                                          1.2-4.4.0.117                                       all          OpenCL* (Open Computing Language) is an open standard for general-purpose
ii  opencl-intel-cpu                                      1.2-4.4.0.117                                       all          OpenCL* (Open Computing Language) is an open standard for general-purpose 
ii  opencl-intel-devel                                    1.2-4.4.0.117                                       all          OpenCL* (Open Computing Language) is an open standard for general-purpose 
ii  opencl-intel-devel-android                            1.2-4.4.0.117                                       all          OpenCL* (Open Computing Language) is an open standard for general-purpose 

$ ./cl-demo 1000000 10
Choose platform:
[0] Intel(R) Corporation
Enter choice: 0
Choose device:
[0]        Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
Enter choice: 0
---------------------------------------------------------------------
NAME:        Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz
VENDOR: Intel(R) Corporation
PROFILE: FULL_PROFILE
VERSION: OpenCL 1.2 (Build 117)
EXTENSIONS: cl_khr_icd 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_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64 
DRIVER_VERSION: 1.2.0.117

Type: CPU 
EXECUTION_CAPABILITIES: Kernel Native 
GLOBAL_MEM_CACHE_TYPE: Read-Write (2)
CL_DEVICE_LOCAL_MEM_TYPE: Global (2)
SINGLE_FP_CONFIG: 0x7
QUEUE_PROPERTIES: 0x3

VENDOR_ID: 32902
MAX_COMPUTE_UNITS: 8
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_GROUP_SIZE: 8192
PREFERRED_VECTOR_WIDTH_CHAR: 1
PREFERRED_VECTOR_WIDTH_SHORT: 1
PREFERRED_VECTOR_WIDTH_INT: 1
PREFERRED_VECTOR_WIDTH_LONG: 1
PREFERRED_VECTOR_WIDTH_FLOAT: 1
PREFERRED_VECTOR_WIDTH_DOUBLE: 1
MAX_CLOCK_FREQUENCY: 3500
ADDRESS_BITS: 64
MAX_MEM_ALLOC_SIZE: 4128306176
IMAGE_SUPPORT: 1
MAX_READ_IMAGE_ARGS: 480
MAX_WRITE_IMAGE_ARGS: 480
IMAGE2D_MAX_WIDTH: 16384
IMAGE2D_MAX_HEIGHT: 16384
IMAGE3D_MAX_WIDTH: 2048
IMAGE3D_MAX_HEIGHT: 2048
IMAGE3D_MAX_DEPTH: 2048
MAX_SAMPLERS: 480
MAX_PARAMETER_SIZE: 3840
MEM_BASE_ADDR_ALIGN: 1024
MIN_DATA_TYPE_ALIGN_SIZE: 128
GLOBAL_MEM_CACHELINE_SIZE: 64
GLOBAL_MEM_CACHE_SIZE: 262144
GLOBAL_MEM_SIZE: 16513224704
MAX_CONSTANT_BUFFER_SIZE: 131072
MAX_CONSTANT_ARGS: 480
LOCAL_MEM_SIZE: 32768
ERROR_CORRECTION_SUPPORT: 0
PROFILING_TIMER_RESOLUTION: 1
ENDIAN_LITTLE: 1
AVAILABLE: 1
COMPILER_AVAILABLE: 1
MAX_WORK_GROUP_SIZES: 8192 8192 8192 
---------------------------------------------------------------------
*** Kernel compilation resulted in non-empty log message.
*** Set environment variable CL_HELPER_PRINT_COMPILER_OUTPUT=1 to see more.
*** NOTE: this may include compiler warnings and other important messages
***   about your code.
*** Set CL_HELPER_NO_COMPILER_OUTPUT_NAG=1 to disable this message.
0.002879 s
8.336294 GB/s
GOOD

But OpenCL works very well on my machine (Ubuntu 14.04.01). Any idea?

Thanks in advance.

History

#1 Updated by Ulrich Pegelow almost 6 years ago

  • Priority changed from High to Low
  • Status changed from New to Closed: invalid

The only device that darktable and the cl-demo program detect is your CPU (Intel(R) Core(TM) i7-3770K CPU @ 3.50GHz).

darktable discards the CPU as an OpenCL device because this would be much slower than using it directly with our non-OpenCL code. For more details see the manual.

The reason why your HD4000 is not supported by Intel's OpenCL driver is beyond our knowledge. You may contact Intel to find out.

Also available in: Atom PDF

Go to top