Le 13/01/2018 à 18:11, Remco Viëtor a écrit : > 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.
Thank you for these suggestions. I could enable openCL using the nvidia driver for it seems that the nouveau driver does not support openCL (yet?). I had to fix the opencl_memory_requirement to 500 (it was set by default at 768 !?) for my card is a GeForce 8800 GT with 512M memory. Thank you. -- François Patte UFR de mathématiques et informatique Laboratoire CNRS MAP5, UMR 8145 Université Paris Descartes 45, rue des Saints Pères F-75270 Paris Cedex 06 Tél. +33 (0)6 7892 5822 http://www.math-info.univ-paris5.fr/~patte
signature.asc
Description: OpenPGP digital signature
