Re: [darktable-user] OpenCL error starting dt
You don't give details on your HW setup. However, from past experience this error code looks like a NVIDIA specific one. It tends to be generated when the program is not able to access the required device special files: crw-rw+ 1 root video 195, 0 17. Aug 08:19 /dev/nvidia0 crw-rw+ 1 root video 195, 255 17. Aug 08:19 /dev/nvidiactl crw-rw+ 1 root video 195, 254 17. Aug 08:19 /dev/nvidia-modeset crw-rw+ 1 root video 239, 0 17. Aug 08:19 /dev/nvidia-uvm Either the access permissions do not fit: the user running darktable needs write access. In my case the user needs to be member of group video. Easy to fix. Or those device special files are not generated at all. This may happen if your X11 system is started on a secondary graphics system like Intel. In that case the NVIDIA drivers and device special files might not be loaded/generated by default. NVIDIA OpenCL would try to take care by calling /usr/bin/nvidia-modprobe. But as this happens in user space permissions for loading the kernel module and generating the device special files are not sufficient as long as nvidia-modprobe is not SUID root. And typically the SUID flag is not set for nvidia-modprobe in most distros. Simple test: run darktable-cltest as root. If you then can use OpenCL in darktable as a normal user the issue is confirmed. You will need to set the SUID flag on nvidia-modprobe manually. Ulrich Am 16.08.19 um 22:50 schrieb David Vincent-Jones: I am getting this error message despite all the indications that openCL is all in place. 0.231688 [opencl_init] 0.231905 [opencl_init] found opencl runtime library 'libOpenCL' 0.231929 [opencl_init] opencl library 'libOpenCL' found on your system and loaded 0.232108 [opencl_init] could not get platforms: -1001 0.232116 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system. 0.232119 [opencl_init] initial status of opencl enabled flag is OFF. darktable 2.7.0+1613~gdd7ed32b1 ... Manjaro/Arch I have tried with and without my secondary monitor in order to avoid memory conditions. darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Re: OpenCL error starting dt
Read this thread ... your question is clearly answered On 8/17/19 9:58 AM, Cecil Carpenter wrote: I have an Nvidia GeForce GTX 750 Ti, and OpenCL used to be available. Now, with 2.6.2 under Ubuntu 18.04.3, activate OpenCl support shows as "not available". Why is OpenCL not available for my system? On 8/17/19 11:41 AM, Matthias Bodenbinder wrote: darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] OpenCL error starting dt
* David Vincent-Jones [08-17-19 12:53]: > if the devs can do better with the std cpu than can be achieved with opencl > that really simplifies life on all types of systems. Incredible! > > David > > On 8/17/19 9:26 AM, I. Ivanov wrote: > > Thank you! > > > > B > > > > On 2019-08-16 18:52, Jack Bowling wrote: > > > Yes, thanks for the correction, Guillermo. > > > > > > Jack > > > > > > On 2019-08-16 6:50 p.m., Guillermo Rozas wrote: > > > > What is blacklisted is the Intel Beignet driver, which should provide > > > > OpenCL for the integrated graphics processor on Intel CPUs. This does > > > > not affect any GPU that could be installed on the system, you can have > > > > an NVidia or Radeon GPU with OpenCL enabled on an Intel CPU-based > > > > computer. > > > > Regards, > > > > Guillermo > > > > > > > > On Fri, Aug 16, 2019 at 10:30 PM I. Ivanov wrote: > > > > > Hi Jack, > > > > > > > > > > Can I ask for clarification please? openCL on Intel CPU is > > > > > black listed > > > > > *regardless of the GPU* (Nvidia / Radeon) or this affects > > > > > only the build > > > > > in Intel GPU (that is integrated on the processor)? > > > > > > > > > > Thank you, > > > > > > > > > > B > > > > > > > > > > On 2019-08-16 14:56, Jack Bowling wrote: > > > > > > I believe the devs found that the current Intel opencl > > > > > > implementation > > > > > > was simply much slower than doing the grunt work on the CPU so they > > > > > > blacklisted the Intel chips to prevent the inevitable moaning about > > > > > > slow opencl render times. Apparently, Intel is working on new opencl > > > > > > code so perhaps this will change in the future. > > > > > > > > > > > > Jack > > > > > > > > > > > > On 2019-08-16 2:14 p.m., David Vincent-Jones wrote: > > > > > > > Thanks Jack > > > > > > > > > > > > > > does that mean that that there is nothing that one can do to > > > > > > > implement opencl on an Intel machine? Is this something that will > > > > > > > be > > > > > > > fixed, or that I can fix? > > > > > > > > > > > > > > David > > > > > > > > > > > > > > On 8/16/19 1:57 PM, Jack Bowling wrote: > > > > > > > > If you are running an Intel CPU, opencl is > > > > > > > > blacklisted in darktable. > > > > > > > > > > > > > > > > Jack > > > > > > > > > > > > > > > > On 2019-08-16 1:50 p.m., David Vincent-Jones wrote: > > > > > > > > > I am getting this error message despite all the indications > > > > > > > > > that > > > > > > > > > openCL is all in place. > > > > > > > > > > > > > > > > > > 0.231688 [opencl_init] > > > > > > > > > 0.231905 [opencl_init] found opencl runtime library > > > > > > > > > 'libOpenCL' > > > > > > > > > 0.231929 [opencl_init] opencl library 'libOpenCL' found on > > > > > > > > > your > > > > > > > > > system and loaded > > > > > > > > > 0.232108 [opencl_init] could not get platforms: -1001 > > > > > > > > > 0.232116 [opencl_init] FINALLY: opencl is > > > > > > > > > NOT AVAILABLE on this system. > > > > > > > > > 0.232119 [opencl_init] initial status of > > > > > > > > > opencl enabled flag is OFF. > > > > > > > > > > > > > > > > > > darktable 2.7.0+1613~gdd7ed32b1 ... Manjaro/Arch > > > > > > > > > > > > > > > > > > I have tried with and without my secondary monitor in order to > > > > > > > > > avoid memory conditions. > > > > > > > > > > > > > > > > > > David > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > darktable user mailing list to unsubscribe send a mail to > > > > > > > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > > > > > > > > > > > > > > > > > darktable user mailing list to unsubscribe send a mail to > > > > > > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > > > > > > > > > > > > > > darktable user mailing list to unsubscribe send a mail to > > > > > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > > > > > > > > > > > darktable user mailing list to unsubscribe send a mail to > > > > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > > > > > > > > darktable user mailing list > > > > > to unsubscribe send a mail to > > > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > > > > > > > > > > darktable user mailing list > > > > to unsubscribe send a mail to > > > > darktable-user+unsubscr...@lists.darktable.org > > > > > > > > > > > > > darktable user mailing list > > > to unsubscribe send a mail to >
[darktable-user] add WB presets to existing dt installation?
Hi there, is there a way to add WB presets of a camera to darktable? I have dt 2.4.4 on Mint 18.3 on my machine and didn't have the time to update to Mint 19 - so I can't use the PPA for dt 2.6 Can I add the WB preset figures from the extract_wb script to darktable (config files or database or whatever?) to have full support for my cameras or are they hardcoded (need to compile)? -- regards Bernhard https://www.bilddateien.de darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Re: OpenCL error starting dt
I have an Nvidia GeForce GTX 750 Ti, and OpenCL used to be available. Now, with 2.6.2 under Ubuntu 18.04.3, activate OpenCl support shows as "not available". Why is OpenCL not available for my system? On 8/17/19 11:41 AM, Matthias Bodenbinder wrote: > Am 17.08.19 um 03:29 schrieb I. Ivanov: >> Hi Jack, >> >> Can I ask for clarification please? openCL on Intel CPU is black listed >> *regardless of the GPU* (Nvidia / Radeon) or this affects only the build >> in Intel GPU (that is integrated on the processor)? >> >> Thank you, >> >> B >> > There is some more clarificatio here: > https://www.darktable.org/2012/03/darktable-and-opencl/ > > > " > There also exist a few on-CPU implementations of OpenCL. These come as > drivers provided by INTEL or AMD. We observed that they do not give us > any speed gain versus our hand-optimized CPU code. Therefore we simply > discard these devices. > " > > > > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org > darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] OpenCL error starting dt
On 8/17/19 12:43 PM, David Vincent-Jones wrote: > if the devs can do better with the std cpu than can be achieved with > opencl that really simplifies life on all types of systems. > Incredible! Maybe it does, maybe not. https://www.math.dartmouth.edu/~sarunas/darktable_bench.html Šarūnas darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] OpenCL error starting dt
if the devs can do better with the std cpu than can be achieved with opencl that really simplifies life on all types of systems. Incredible! David On 8/17/19 9:26 AM, I. Ivanov wrote: Thank you! B On 2019-08-16 18:52, Jack Bowling wrote: Yes, thanks for the correction, Guillermo. Jack On 2019-08-16 6:50 p.m., Guillermo Rozas wrote: What is blacklisted is the Intel Beignet driver, which should provide OpenCL for the integrated graphics processor on Intel CPUs. This does not affect any GPU that could be installed on the system, you can have an NVidia or Radeon GPU with OpenCL enabled on an Intel CPU-based computer. Regards, Guillermo On Fri, Aug 16, 2019 at 10:30 PM I. Ivanov wrote: Hi Jack, Can I ask for clarification please? openCL on Intel CPU is black listed *regardless of the GPU* (Nvidia / Radeon) or this affects only the build in Intel GPU (that is integrated on the processor)? Thank you, B On 2019-08-16 14:56, Jack Bowling wrote: I believe the devs found that the current Intel opencl implementation was simply much slower than doing the grunt work on the CPU so they blacklisted the Intel chips to prevent the inevitable moaning about slow opencl render times. Apparently, Intel is working on new opencl code so perhaps this will change in the future. Jack On 2019-08-16 2:14 p.m., David Vincent-Jones wrote: Thanks Jack does that mean that that there is nothing that one can do to implement opencl on an Intel machine? Is this something that will be fixed, or that I can fix? David On 8/16/19 1:57 PM, Jack Bowling wrote: If you are running an Intel CPU, opencl is blacklisted in darktable. Jack On 2019-08-16 1:50 p.m., David Vincent-Jones wrote: I am getting this error message despite all the indications that openCL is all in place. 0.231688 [opencl_init] 0.231905 [opencl_init] found opencl runtime library 'libOpenCL' 0.231929 [opencl_init] opencl library 'libOpenCL' found on your system and loaded 0.232108 [opencl_init] could not get platforms: -1001 0.232116 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system. 0.232119 [opencl_init] initial status of opencl enabled flag is OFF. darktable 2.7.0+1613~gdd7ed32b1 ... Manjaro/Arch I have tried with and without my secondary monitor in order to avoid memory conditions. David darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Re: OpenCL error starting dt
On 2019-08-17 08:41, Matthias Bodenbinder wrote: Am 17.08.19 um 03:29 schrieb I. Ivanov: Hi Jack, Can I ask for clarification please? openCL on Intel CPU is black listed *regardless of the GPU* (Nvidia / Radeon) or this affects only the build in Intel GPU (that is integrated on the processor)? Thank you, B There is some more clarificatio here: https://www.darktable.org/2012/03/darktable-and-opencl/ " There also exist a few on-CPU implementations of OpenCL. These come as drivers provided by INTEL or AMD. We observed that they do not give us any speed gain versus our hand-optimized CPU code. Therefore we simply discard these devices. " This is a very good post. Thank you for pointing me to it! Regards B darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] OpenCL error starting dt
Thank you! B On 2019-08-16 18:52, Jack Bowling wrote: Yes, thanks for the correction, Guillermo. Jack On 2019-08-16 6:50 p.m., Guillermo Rozas wrote: What is blacklisted is the Intel Beignet driver, which should provide OpenCL for the integrated graphics processor on Intel CPUs. This does not affect any GPU that could be installed on the system, you can have an NVidia or Radeon GPU with OpenCL enabled on an Intel CPU-based computer. Regards, Guillermo On Fri, Aug 16, 2019 at 10:30 PM I. Ivanov wrote: Hi Jack, Can I ask for clarification please? openCL on Intel CPU is black listed *regardless of the GPU* (Nvidia / Radeon) or this affects only the build in Intel GPU (that is integrated on the processor)? Thank you, B On 2019-08-16 14:56, Jack Bowling wrote: I believe the devs found that the current Intel opencl implementation was simply much slower than doing the grunt work on the CPU so they blacklisted the Intel chips to prevent the inevitable moaning about slow opencl render times. Apparently, Intel is working on new opencl code so perhaps this will change in the future. Jack On 2019-08-16 2:14 p.m., David Vincent-Jones wrote: Thanks Jack does that mean that that there is nothing that one can do to implement opencl on an Intel machine? Is this something that will be fixed, or that I can fix? David On 8/16/19 1:57 PM, Jack Bowling wrote: If you are running an Intel CPU, opencl is blacklisted in darktable. Jack On 2019-08-16 1:50 p.m., David Vincent-Jones wrote: I am getting this error message despite all the indications that openCL is all in place. 0.231688 [opencl_init] 0.231905 [opencl_init] found opencl runtime library 'libOpenCL' 0.231929 [opencl_init] opencl library 'libOpenCL' found on your system and loaded 0.232108 [opencl_init] could not get platforms: -1001 0.232116 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system. 0.232119 [opencl_init] initial status of opencl enabled flag is OFF. darktable 2.7.0+1613~gdd7ed32b1 ... Manjaro/Arch I have tried with and without my secondary monitor in order to avoid memory conditions. David darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
[darktable-user] Re: OpenCL error starting dt
Am 17.08.19 um 03:29 schrieb I. Ivanov: > Hi Jack, > > Can I ask for clarification please? openCL on Intel CPU is black listed > *regardless of the GPU* (Nvidia / Radeon) or this affects only the build > in Intel GPU (that is integrated on the processor)? > > Thank you, > > B > There is some more clarificatio here: https://www.darktable.org/2012/03/darktable-and-opencl/ " There also exist a few on-CPU implementations of OpenCL. These come as drivers provided by INTEL or AMD. We observed that they do not give us any speed gain versus our hand-optimized CPU code. Therefore we simply discard these devices. " darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org