Hi, On Fri, 7 Feb 2020 at 23:05, Holger Wünsche <[email protected]> wrote: > I am not certain, but I belive the -6 means "CL_OUT_OF_HOST_MEMORY", > which means darktable was not able to allocate enough memory on your computer.
Thanks for the info. Interesting. As I said, in the case above, I just quit darktable and started it again. I did see that sometimes if I have a browser open, darktable displays this error; quitting darktable, closing the browser, launching darktable again often solves the problem. I now did some tests (launched Firefox, then opened GMail, Facebook and Youtube in tabs), and I also launched my Eclipse Java developer environment. I was unable to reproduce the issue until I duplicated the Facebook tab quite a few times, and then got the -6 error again. With -d memory added to the command-line: [memory] at startup [memory] max address space (vmpeak): 132400 kB [memory] cur address space (vmsize): 132400 kB [memory] max used memory (vmhwm ): 23996 kB [memory] cur used memory (vmrss ): 23984 kB [more messages showing opencl loading] 0.921104 [opencl_init] could not create context for device 0: -6 0.921138 [opencl_init] no suitable devices found. 0.921146 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system. 0.921153 [opencl_init] initial status of opencl enabled flag is OFF. [memory] after successful startup [memory] max address space (vmpeak): 13823304 kB [memory] cur address space (vmsize): 9609808 kB [memory] max used memory (vmhwm ): 104192 kB [memory] cur used memory (vmrss ): 104192 kB I closed the browser tabs, except for GMail; after that, OpenCL works, and the log reads: [memory] at startup [memory] max address space (vmpeak): 132400 kB [memory] cur address space (vmsize): 132400 kB [memory] max used memory (vmhwm ): 24368 kB [memory] cur used memory (vmrss ): 24368 kB [more messages showing opencl loading] [memory] after successful startup [memory] max address space (vmpeak): 14143912 kB [memory] cur address space (vmsize): 14143912 kB [memory] max used memory (vmhwm ): 267352 kB [memory] cur used memory (vmrss ): 267352 kB Kofa ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
