Hi, config parameter opencl_avoid_atomics is your friend :)
As Jo has pointed out some of our OpenCL code (bilateral filter) runs best using a specific non-standard type of atomic operation. If your hardware does not support this, a slower emulation with standard atomics is used. Some systems (namely ATI/AMD devices) run this emulation code so slowly that it's better to use the CPU as a fallback for the affected modules. That's what opencl_avoid_atomics does: if set to TRUE darktable will use the CPU for those modules that otherwise would use the slow atomic emulation on GPU. You can find more about that option here: http://www.darktable.org/usermanual/ch07s02s05.html.php Ulrich Am 16.04.2013 11:58, schrieb Dariusz Duma: > Hi, > > Since 0.xx version (1.2 now) I've problems with DT and OpenCL activated. > Everything runs smoothly on CPU (changing parameteres in modules, > preview and so on), and after I turn on OpenCL I can't smoothly operate > with sliders (changing params), preview is freezing for some seconds. > Saying straight - DT slows down. Investigate with '-d perf -d opencl' > shows, that there's something wrong with the 'splat' function/module > (??). Each plugin/function does job in few ms, except 'splat', which > tooks ~ 1.2 second - no matter what I set in preferences (bilinear, > ppg, dither, etc.). > > In log you can see what I'm talking about - the same plugins, the same > photo, first section WITHOUT OpenCL, second WITH OpenCL. > > I've no idea, what cause this... > > The problem remains the same, with different kernels, different NVIDIA > drivers (I've 313.30 just now). ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ darktable-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/darktable-devel
