On Fri, 17 Jul 2020 01:23:37 +0200
Michael Rasmussen <m...@miras.org> wrote:

> 
> If I start darktable with opencl enabled I get this error message:
> : CommandLine Error: Option 'polly' registered more than once!
> LLVM ERROR: inconsistency in registered CommandLine options
> 

Found the issue, I think:
Debian sid has transitioned to LLVM-10 are therefor opencl is also
transitioned to LLVM-10. Darktable's opencl support only works with
LLVM-3.6 to LLVM-9 since compiling darktable's opencl support with
LLVM-10 shows the same error.

-- Found LLVM 10.0.1
-- Found clang compiler - /usr/bin/clang-10
-- Found clang opencl-c.h header in
/usr/lib/llvm-10/lib/clang/10.0.1/include -- Will be able to
test-compile OpenCL programs. Nice.

darktable --version
this is darktable 3.0.2+9~g5ac2260e3-dirty
copyright (c) 2009-2020 johannes hanika
darktable-...@lists.darktable.org

compile options:
  bit depth is 64 bit
  normal build
  SSE2 optimized codepath enabled
  OpenMP support enabled
  OpenCL support enabled
  Lua support enabled, API version 5.0.2
  Colord support enabled
  gPhoto2 support enabled
  GraphicsMagick support enabled
  OpenEXR support enabled

darktable-cltest 
0.022321 [opencl_init] opencl related configuration options:
0.022335 [opencl_init] 
0.022337 [opencl_init] opencl: 1
0.022339 [opencl_init] opencl_scheduling_profile: 'default'
0.022341 [opencl_init] opencl_library: ''
0.022343 [opencl_init] opencl_memory_requirement: 768
0.022345 [opencl_init] opencl_memory_headroom: 500
0.022347 [opencl_init] opencl_device_priority: '!GeForce GTX
1050,*/!GeForce GTX 1050 Ti,*/GeForce GTX 1050 Ti,*/GeForce GTX 1050
Ti,*' 0.022349 [opencl_init] opencl_mandatory_timeout: 200 0.022351
[opencl_init] opencl_size_roundup: 16 0.022352 [opencl_init]
opencl_async_pixelpipe: 1 0.022354 [opencl_init] opencl_synch_cache:
false 0.022355 [opencl_init] opencl_number_event_handles: 100
0.022358 [opencl_init] opencl_micro_nap: 1000
0.022360 [opencl_init] opencl_use_pinned_memory: 0
0.022361 [opencl_init] opencl_use_cpu_devices: 0
0.022363 [opencl_init] opencl_avoid_atomics: 0
0.022364 [opencl_init] 
0.022518 [opencl_init] found opencl runtime library 'libOpenCL'
0.022536 [opencl_init] opencl library 'libOpenCL' found on your system
and loaded : CommandLine Error: Option 'polly' registered more than
once! LLVM ERROR: inconsistency in registered CommandLine options

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E
mir <at> datanom <dot> net
https://pgp.key-server.io/pks/lookup?search=0xE501F51C
mir <at> miras <dot> org
https://pgp.key-server.io/pks/lookup?search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Think of prototypes as a funny markup language--the interpretation is
left up to the rendering engine.
                -- Larry Wall in <199710221710.kaa24...@wall.org>

Attachment: pgpwLLMDTiwKR.pgp
Description: OpenPGP digital signature

Reply via email to