Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-25 Thread Ulrich Pegelow
Hi Fred, there are no concrete plans. Most interesting would be an implementation of the Markestijn algorithm. However, this is tedious as there seems to be no clear mathematical description of its way of working. So one first has to deduce the algorithm from the CPU code and then convert it to

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-23 Thread Fearsome
Hi Ulrich, Do you know what the time plan is for porting X-Trans demosaic to OpenCL? /Fred On Fri, Feb 20, 2015 at 6:49 AM, Ulrich Pegelow wrote: > Hi, > > that's not an X-Trans related error. In fact the specific demosaic > algorithms for the X-Trans sensor are not (yet) ported to OpenCL and

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-23 Thread Fearsome
Thank you all for your feedback. I've reset unity and removed an indicator and now my setup occupies 250 MB with only nvidia-settings and terminal window running. And this is for a screen with a measly 1920 x 1080. But it's unity... When running DT and a few RAFs it rises to 320 MB. Exporting a R

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-23 Thread Oliver Bedford
Am Sonntag, den 22.02.2015, 12:16 +0100 schrieb Michael Below: > I see 187 MB GPU memory used when running nvidia-settings and a > terminal window (GNOME 3, resolution 2560*1440). Writing this mail usage > has climbed to 243 MB. Adding darktable and opening a 24mp image in a > small film roll incr

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-23 Thread Oliver Bedford
Am Samstag, den 21.02.2015, 21:52 +0100 schrieb Fearsome: > So out of curiosity, is there someone out there who successfully edits and > exports 18 MP images with OpenCL activated on a 2 GB Nvidia GPU? This > resolution corresponds to, e.g., a Canon 60D (5198 x 3462 px). I've encountered no pro

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-22 Thread Patrick Shanahan
* Fearsome [02-22-15 04:12]: > Ok. Thanks. I really hope my problems are due to an immature driver. After > all support for the 960 was added to the Unix drivers just a month ago. > > Patrick, Michael -- Would it be possible for you to check with Nvidia X > Server Settings (nvidia-settings) how m

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-22 Thread Michael Below
Hi, Am So 22 Feb 2015 10:10:20 CET schrieb Fearsome : > Patrick, Michael -- Would it be possible for you to check with Nvidia > X Server Settings (nvidia-settings) how much of the GPU memory is used > without any applications launched? It believe the Nvidia Settings is > installed together with t

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-22 Thread Fearsome
Ok. Thanks. I really hope my problems are due to an immature driver. After all support for the 960 was added to the Unix drivers just a month ago. Patrick, Michael -- Would it be possible for you to check with Nvidia X Server Settings (nvidia-settings) how much of the GPU memory is used without an

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-21 Thread Michael Below
Not exactly, I am working on 24mp files from a D600 using opencl with a 750ti and 2gb. Am 21. Februar 2015 21:52:16 MEZ, schrieb Fearsome : >Running only DT makes no difference. Nvidia X Server Settings tells me >that >in this case I can get the memory usage down to ~270 MB, which agrees >nicely

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-21 Thread Patrick Shanahan
* Fearsome [02-21-15 15:55]: > Running only DT makes no difference. Nvidia X Server Settings tells me that > in this case I can get the memory usage down to ~270 MB, which agrees > nicely with the default headroom parameter for DT's OpenCL settings. But I > still get the -5 error with the 60D CR2

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-21 Thread Fearsome
Running only DT makes no difference. Nvidia X Server Settings tells me that in this case I can get the memory usage down to ~270 MB, which agrees nicely with the default headroom parameter for DT's OpenCL settings. But I still get the -5 error with the 60D CR2 file. (Interestingly, launching Firef

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-21 Thread Ulrich Pegelow
Well, the main problem with OpenCL is the fact that there is no way to know what amount of GPU memory is factually available at a time. In your case I suspect that there is some other application running which reserves quite some amount even if it may not use it continuously (geeqie has been id

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-20 Thread Fearsome
Ulrich, thanks for your suggestions. I've tried various settings for the two parameters you mentioned, but to no avail. For the number of event handles I tried 15 and 5, and for the headroom I tried 500 and 30. My defaults were 25 and 300, respectively. The out of resources error is encountered fo

Re: [Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-19 Thread Ulrich Pegelow
Hi, that's not an X-Trans related error. In fact the specific demosaic algorithms for the X-Trans sensor are not (yet) ported to OpenCL and always run on the CPU. The error you see is code -5: "out of resources". Have a look into the user manual for some ideas what to do. You most likely need

[Darktable-users] Problems with OpenCL and X-Trans sensor

2015-02-19 Thread Fearsome
Hi, I'm trying to set up OpenCL and I thought I had succeeded. It works nicely for exporting Canon CR2 files but for RAF files from a X100T there are errors in the OpenCL profiling output from DT. The export seems to fall back to the CPU for some, to unknown, reason. A log of the output is attache