Hi,
I tried to enable opencl on my notebook with dedicated graphic card.
In most cases this fails (yes, sometimes, very rare, it is enabled, but
after restarting the computer or even darktable, it's disabled)
It doesn't matter if running on onboard or dedicated GPU.
Debug shows a compile/build error and that's why I report to you.
Debug Info
========================================
version: darktable 2.6.3
start: 2019:11:12 22:37:52
(process:2260): GLib-GIO-WARNING **: 22:37:52.053: win32 session dbus
binary not found: c:\Program Files\darktable\bin\\gdbus.exe
(process:2260): GLib-GObject-CRITICAL **: 22:37:52.053: g_object_set:
assertion 'G_IS_OBJECT (object)' failed
[dt_pthread_create] info: bumping pthread's stacksize from 0 to 262144
[dt_pthread_create] info: bumping pthread's stacksize from 0 to 262144
[dt_pthread_create] info: bumping pthread's stacksize from 0 to 262144
[dt_pthread_create] info: bumping pthread's stacksize from 0 to 262144
[dt_pthread_create] info: bumping pthread's stacksize from 0 to 262144
[dt_pthread_create] info: bumping pthread's stacksize from 0 to 262144
0.328227 [opencl_init] opencl related configuration options:
0.328227 [opencl_init]
0.328227 [opencl_init] opencl: 1
0.328227 [opencl_init] opencl_library: ''
0.328227 [opencl_init] opencl_memory_requirement: 768
0.328227 [opencl_init] opencl_memory_headroom: 300
0.328227 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
0.328227 [opencl_init] opencl_mandatory_timeout: 200
0.328227 [opencl_init] opencl_size_roundup: 16
0.328227 [opencl_init] opencl_async_pixelpipe: 0
0.328227 [opencl_init] opencl_synch_cache: 0
0.328227 [opencl_init] opencl_number_event_handles: 25
0.328227 [opencl_init] opencl_micro_nap: 1000
0.343857 [opencl_init] opencl_use_pinned_memory: 0
0.343857 [opencl_init] opencl_use_cpu_devices: 0
0.343857 [opencl_init] opencl_avoid_atomics: 0
0.343857 [opencl_init]
0.343857 [opencl_init] found opencl runtime library 'OpenCL.dll'
0.343857 [opencl_init] opencl library 'OpenCL.dll' found on your system
and loaded
1.098966 [opencl_init] found 1 platform
1.114600 [opencl_init] found 2 devices
1.114600 [opencl_init] device 0 `gfx804' supports image sizes of 16384 x
16384
1.114600 [opencl_init] device 0 `gfx804' allows GPU memory allocations
of up to 1523MB
[opencl_init] device 0: gfx804
GLOBAL_MEM_SIZE: 2048MB
MAX_WORK_GROUP_SIZE: 256
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 1024 1024 1024 ]
DRIVER_VERSION: 2906.10
DEVICE_VERSION: OpenCL 2.0 AMD-APP (2906.10)
1.493029 [opencl_init] options for OpenCL compiler: -cl-mad-enable
-DAMD=1 -I"c:\Program Files\darktable\share\darktable\kernels"
1.495029 [opencl_init] compiling program `demosaic_ppg.cl' ..
1.497029 [opencl_load_program] loaded cached binary program from file
`C:\Users\Andreas\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_gfx804\demosaic_ppg.cl.bin'
1.499029 [opencl_load_program] successfully loaded program from
`c:\Program Files\darktable\share\darktable\kernels\demosaic_ppg.cl'
1.500029 [opencl_build_program] could not build program: -11
1.500029 [opencl_build_program] BUILD STATUS: -2
1.500029 BUILD LOG:
1.500029 Error: The binary is incorrect or incomplete. Finalization to
ISA couldn't be performed.
1.501030 [opencl_init] failed to compile program `demosaic_ppg.cl'!
1.502029 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
1.502029 [opencl_init] initial status of opencl enabled flag is OFF.
(darktable:2260): GLib-GObject-CRITICAL **: 22:40:55.676:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
end: 2019:11:12 22:40:57
========================================
Technical info:
Overview
Radeon Software Version - 19.11.1
Radeon Software Edition - Adrenalin 2019
Graphics Chipset - AMD Radeon(TM) RX Vega 10 Graphics
Memory Size - 2048 MB
Memory Type - DDR4
Core Clock - 1400 MHz
Windows Version - Windows 10 (64 bit)
System Memory - 8 GB
CPU Type - AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Software
Radeon Settings Version - 2019.1101.1619.29385
Driver Packaging Version -
19.30.31.10-191101a-348309E-RadeonSoftwareAdrenalin2019
Provider - Advanced Micro Devices, Inc.
2D Driver Version - 8.1.1.1634
Direct3D® Version - 9.14.10.01410
OpenGL® Version - 26.20.11000.13572
AMD Audio Driver Version - 10.0.1.12
Vulkan™ Driver Version - 2.0.116
Vulkan™ API Version - 1.1.125
Hardware #1
Graphics Card Manufacturer - Powered by AMD
Graphics Chipset - AMD Radeon(TM) RX Vega 10 Graphics
Device ID - 15D8
Vendor ID - 1002
SubSystem ID - 137A
SubSystem Vendor ID - 1025
Revision ID - C1
Bus Type - PCI
Current Bus Settings - PCI
BIOS Version - 016.002.000.010
BIOS Part Number - 113-PICASSO-114
BIOS Date - 2018/11/05 05:27
Memory Size - 2048 MB
Memory Type - DDR4
Memory Clock - 1200 MHz
Core Clock - 1400 MHz
Total Memory Bandwidth - 38 GByte/s
Memory Bit Rate - 2.40 Gbps
2D Driver File Path -
/REGISTRY/MACHINE/SYSTEM/CurrentControlSet/Control/Class/{4d36e968-e325-11ce-bfc1-08002be10318}/0000
OpenGL® API Version - 4.6
OpenCL™ API Version - 2.0
Hardware #2
Graphics Card Manufacturer - Powered by AMD
Graphics Chipset - AMD Radeon(TM) 540X
Device ID - 6987
Vendor ID - 1002
SubSystem ID - 137A
SubSystem Vendor ID - 1025
Revision ID - C3
Bus Type - PCI Express 3.0
Current Bus Settings - PCI Express 3.0 x8
BIOS Version - 015.050.003.000
BIOS Part Number - SWBRT45341.001
BIOS Date - 2019/05/08 01:53
Memory Size - 2048 MB
Memory Type - GDDR5
Memory Clock - 1000 MHz
Core Clock - 1095 MHz
Total Memory Bandwidth - 32 GByte/s
Memory Bit Rate - 4.00 Gbps
2D Driver File Path -
/REGISTRY/MACHINE/SYSTEM/CurrentControlSet/Control/Class/{4d36e968-e325-11ce-bfc1-08002be10318}/0001
OpenGL® API Version - 4.6
OpenCL™ API Version - 2.0
Thank you
kind regards
Andreas
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org