Did anybody already succeeded to make darktable running on ARM64 with
OpenCL? If so, could the winning route be shared?

I installed darktable in the chrooted Linux running on my phone with the
Snapdragon 870 CPU and Adreno 650 GPU. I did just a few tests, but was
really surprised how fine and fast it works. Well, at least in
comparison with my old PC with 6 core AMD CPU and OpenCL GPU support which
I still use for darktable. But for the real live developing at least of the
RAWs coming from the phone camera the OpenCL GPU support would help in
terms of speed.

Unfortunately I didn't manage to make OpenCL GPU support available in the
chrooted system on ARM64. Only the OpenCL support for CPU, which is useless
for darktable. Was anybody already more successful than me?

After installing the clinfo the libOpenCL library is available and detected
by darktable. But it still doesn't work:

$ darktable-cltest
[dt_detect_cpu_features] Not implemented for this architecture.
[dt_detect_cpu_features] Please contribute a patch.
[dt_init] SSE2 instruction set is unavailable.
[dt_init] expect a LOT of functionality to be broken. you have been warned.
[dt_detect_cpu_features] Not implemented for this architecture.
[dt_detect_cpu_features] Please contribute a patch.
[dt_codepaths_init] will be using HIGHLY EXPERIMENTAL plain OpenMP SIMD
codepath.
[dt_codepaths_init] SSE2-optimized codepath is disabled or unavailable.
[dt_codepaths_init] expect a LOT of functionality to be broken. you have
been warned.
0.019889 [opencl_init] opencl related configuration options:
0.019973 [opencl_init]
0.019977 [opencl_init] opencl: 1
0.019988 [opencl_init] opencl_library: ''
0.019991 [opencl_init] opencl_memory_requirement: 768
0.019994 [opencl_init] opencl_memory_headroom: 300
0.019996 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
0.019998 [opencl_init] opencl_mandatory_timeout: 200
0.020005 [opencl_init] opencl_size_roundup: 16
0.020020 [opencl_init] opencl_async_pixelpipe: 0
0.020022 [opencl_init] opencl_synch_cache: 0
0.020024 [opencl_init] opencl_number_event_handles: 25
0.020025 [opencl_init] opencl_micro_nap: 1000
0.020027 [opencl_init] opencl_use_pinned_memory: 0
0.020028 [opencl_init] opencl_use_cpu_devices: 0
0.020030 [opencl_init] opencl_avoid_atomics: 0
0.020031 [opencl_init]
0.020328 [opencl_init] could not find opencl runtime library 'libOpenCL'
0.020416 [opencl_init] could not find opencl runtime library 'libOpenCL.so'
0.020760 [opencl_init] found opencl runtime library 'libOpenCL.so.1'
0.020952 [opencl_init] opencl library 'libOpenCL.so.1' found on your system
and loaded
0.108504 [opencl_init] found 2 platforms
0.108538 [opencl_init] could not get device id size: -1
0.108542 [opencl_init] found 1 device
0.108569 [opencl_init] discarding CPU device 0 `pthread-0x805'.
0.108571 [opencl_init] no suitable devices found.
0.108572 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
0.108574 [opencl_init] initial status of opencl enabled flag is OFF.

My guess is that the problem is the graphics driver which is probably
missing at all as the desktop is available via vnc only. I don't have any
experience in making the OpenCL working in such kind of setup.

I will be glad for any kicking me in the right direction.

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to