Re: [darktable-user] darktable 3.0.2 cannot start using opencl

2020-07-17 Thread Michael Rasmussen
On Fri, 17 Jul 2020 09:08:01 +0200
Michael Rasmussen  wrote:

> But otherwise has no difference what so ever.
Bug report here: https://github.com/darktable-org/darktable/issues/5761


-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael  rasmussen  cc
https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E
mir  datanom  net
https://pgp.key-server.io/pks/lookup?search=0xE501F51C
mir  miras  org
https://pgp.key-server.io/pks/lookup?search=0xE3E80917
--
/usr/games/fortune -es says:
Q:  Why don't lawyers go to the beach?
A:  The cats keep trying to bury them.


pgpynlGaW9QpM.pgp
Description: OpenPGP digital signature


Re: [darktable-user] darktable 3.0.2 cannot start using opencl

2020-07-17 Thread Michael Rasmussen
Hi Jack,

On Thu, 16 Jul 2020 21:23:03 -0700
Jack Bowling  wrote:

> Michael - You are getting a "dirty" tag on your compile. This can be
> fixed by doing the following before you do the build.sh:
> 
> git pull --rebase --recurse-submodules
> 
You are correct that the above line removes the dirty tag but the dirty
tag is caused by my changes to CMakeLists.txt to be able to compile
using llvm-10 and clang-10.

> Works for me.
> 
But otherwise has no difference what so ever.

Thank's anyway.

 
-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael  rasmussen  cc
https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E
mir  datanom  net
https://pgp.key-server.io/pks/lookup?search=0xE501F51C
mir  miras  org
https://pgp.key-server.io/pks/lookup?search=0xE3E80917
--
/usr/games/fortune -es says:
  I tripped over a hole that was sticking up out of the ground.


pgpeO0kaAfIky.pgp
Description: OpenPGP digital signature


Re: [darktable-user] darktable 3.0.2 cannot start using opencl

2020-07-16 Thread Jack Bowling
Michael - You are getting a "dirty" tag on your compile. This can be 
fixed by doing the following before you do the build.sh:


git pull --rebase --recurse-submodules

Works for me.

Jack

On 2020-07-16 4:56 p.m., Michael Rasmussen wrote:

On Fri, 17 Jul 2020 01:23:37 +0200
Michael Rasmussen  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




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] darktable 3.0.2 cannot start using opencl

2020-07-16 Thread Michael Rasmussen
On Fri, 17 Jul 2020 01:23:37 +0200
Michael Rasmussen  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  rasmussen  cc
https://pgp.key-server.io/pks/lookup?search=0xD3C9A00E
mir  datanom  net
https://pgp.key-server.io/pks/lookup?search=0xE501F51C
mir  miras  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>


pgpwLLMDTiwKR.pgp
Description: OpenPGP digital signature