Am 02.12.18 um 12:32 schrieb Michael Kefeder:
Normally you should restart "darktable -d opencl" many times until the
output looks like this, no errors compiling the kernels:
...
2,535671 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_accu' (175) for device 0
2,535708 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_finish' (176) for device 0
2,535748 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_backtransform' (177) for device 0
2,535783 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_decompose' (178) for device 0
2,535820 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_synthesize' (179) for device 0
2,535858 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_reduce_first' (180) for device 0
2,535891 [opencl_create_kernel] successfully loaded kernel
`denoiseprofile_reduce_second' (181) for device 0
after that you can enable OpenCL in the settings (otherwise this is not
available)
I run Darktable on Mojave fine using opencl, even with the blackmagic
eGPU. If you cannot enable opencl in the settings, redo the "multiple
runs until all opencl kernels are compiled" stuff (can happen after
darktable or macOS upgrades).
hth
mike
Am So., 2. Dez. 2018 um 12:19 Uhr schrieb Volker Lenhardt
<[email protected] <mailto:[email protected]>>:
Am 01.12.18 um 22:59 schrieb Volker Lenhardt:
>
> /Applications/darktable.app/Contents/MacOS/darktable -d opencl
>
> There's a lot of output. OpenCL seems to be enabled. But for all the
> rest it's too late tonight. I'll come to that the next days and will
> report. For the time being my thanks to Archie and Ulrich. So long.
First I started DL from the terminal without any option:
macspinne:~ volker$ /Applications/darktable.app/Contents/MacOS/darktable
The output:
(process:501): GLib-GObject-CRITICAL **: 11:25:06.904: g_object_set:
assertion 'G_IS_OBJECT (object)' failed
(darktable-bin:501): GLib-GObject-WARNING **: 11:25:07.665: invalid
cast
from 'GtkMenuBar' to 'GtkWindow'
(darktable-bin:501): Gtk-CRITICAL **: 11:25:07.665:
gtk_window_add_accel_group: assertion 'GTK_IS_WINDOW (window)' failed
After closing DT:
(darktable-bin:501): GLib-GObject-CRITICAL **: 11:26:44.700:
g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Are these errors relevant within the Apple environment?
When I start DT with the "-d opencl" option these errors are still
there. But all output concerning openCL shows no errors. If requested I
can post the lines.
My output looks much the same as yours and Michael's. So I am now
convinced that I was wrong putting the blame for my DT's shortcomings to
openCL.
There seems to be some flaw in the graphics. But the output concerning
the graphics card looks ok:
0.069794 [opencl_init] found opencl runtime library
'/System/Library/Frameworks/OpenCL.framework/Versions/Current/OpenCL'
0.069829 [opencl_init] opencl library
'/System/Library/Frameworks/OpenCL.framework/Versions/Current/OpenCL'
found on your system and loaded
0.069832 [opencl_init] found 1 platform
0.077176 [opencl_init] found 2 devices
0.077218 [opencl_init] discarding CPU device 0 `Intel(R) Core(TM)
i5-7500 CPU @ 3.40GHz'.
0.077246 [opencl_init] device 1 `AMD Radeon Pro 570 Compute Engine'
supports image sizes of 16384 x 16384
0.077250 [opencl_init] device 1 `AMD Radeon Pro 570 Compute Engine'
allows GPU memory allocations of up to 1024MB
[opencl_init] device 1: AMD Radeon Pro 570 Compute Engine
GLOBAL_MEM_SIZE: 4096MB
MAX_WORK_GROUP_SIZE: 256
MAX_WORK_ITEM_DIMENSIONS: 3
MAX_WORK_ITEM_SIZES: [ 256 256 256 ]
DRIVER_VERSION: 1.2 (Oct 16 2018 21:18:14)
DEVICE_VERSION: OpenCL 1.2
0.077944 [opencl_init] options for OpenCL compiler:
-cl-fast-relaxed-math -DUNKNOWN=1
-I/Applications/darktable.app/Contents/Resources/share/darktable/kernels
...
0.085891 [opencl_init] kernel loading time: 0.0078
0.085897 [opencl_init] OpenCL successfully initialized.
0.085899 [opencl_init] here are the internal numbers and names of OpenCL
devices available to darktable:
0.085901 [opencl_init] 0 'AMD Radeon Pro 570 Compute Engine'
0.085904 [opencl_init] FINALLY: opencl is AVAILABLE on this system.
0.085906 [opencl_init] initial status of opencl enabled flag is ON.
I think I should either reinstall DT or start a new subject request. Or
do you have an idea?
Volker
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to [email protected]