On samedi 13 janvier 2018 17:20:43 CET François Patte wrote: > Le 13/01/2018 à 12:55, Roman Lebedev a écrit : > > On Sat, Jan 13, 2018 at 2:45 PM, François Patte > > > > <[email protected]> wrote: > >> Le 13/01/2018 à 12:02, Roman Lebedev a écrit : > >>> On Sat, Jan 13, 2018 at 1:43 PM, François Patte > >>> > >>> <[email protected]> wrote: > >>>> Bonjour, > >>>> > >>>> I tried to compile darktable on fedora 27 (I had no problem on fedora > >>>> 25 > >>>> or 26) and it fails with this message: > >>>> > >>>> CMake Error at > >>>> /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 > >>>> (message): > >>>> Could NOT find LibXml2 (missing: LIBXML2_LIBRARY) (found suitable > >>>> version > >>>> > >>>> "2.9.4", minimum required is "2.6") > >>>> > >>>> What can do? libxml2 and libxml2-devel are installed. > >>> > >>> Purge the build dir, run cmake, and do show all the console starting > >>> with purging the build dir. > >> > >> Ok! fine! This solved the problem... > > > > As usual. > > > >> Another question: when I start darktable from cli, I get these messages: > >> > >> DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument > >> Assuming 131072kB available aperture size. > >> May lead to reduced performance or incorrect rendering. > >> get chip id failed: -1 [22] > >> param: 4, val: 0 > >> DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument > >> Assuming 131072kB available aperture size. > >> May lead to reduced performance or incorrect rendering. > >> get chip id failed: -1 [22] > >> param: 4, val: 0 > >> cl_get_gt_device(): error, unknown device: 0 > >> DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument > >> Assuming 131072kB available aperture size. > >> May lead to reduced performance or incorrect rendering. > >> get chip id failed: -1 [22] > >> param: 4, val: 0 > >> DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument > >> Assuming 131072kB available aperture size. > >> May lead to reduced performance or incorrect rendering. > >> get chip id failed: -1 [22] > >> param: 4, val: 0 > >> cl_get_gt_device(): error, unknown device: 0 > >> DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument > >> Assuming 131072kB available aperture size. > >> May lead to reduced performance or incorrect rendering. > >> get chip id failed: -1 [22] > >> param: 4, val: 0 > >> cl_get_gt_device(): error, unknown device: 0 > >> > >> What do they mean? > > > > I'm guessing I915 means you have [integrated] intel videocard. > > And you are trying to use it for opencl? Via beignet? > > Don't do that. Doesn't really work, or is slower than CPU. > > Following my last answer, I disabled the in integrated video card in the > bios, but the message is still there. > > Will it be some damage in the treatment of photos? And, if yes, what can > I do? > > Thank you.
Have a look at section 10.2.9 of the user manual: that tells you how to select which openCL device darktable will use (or /not/ use) in case you have several. You'll have to consult your system info to see which number corresponds to which device, but from what you posted, it looks like the Intel card is device 0. Note that the options referred to in that section of the manual are only accessible in the darktable configuration file (~/config/ darktable/darktablerc); it's perhaps best to read the rest of section 10.2 as well. Not using OpenCL won't damage anything, but will be slower if you have a mid- level GPU or better. Remco ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
