Update: I've gone through all the modules, moving the .cl source files
for failing modules so darktable would get through the startup
process. The following needed to be moved (these are the ones that
fail to compile):
atrous.cl  basic.cl  blendop.cl  bloom.cl  colorreconstruction.cl
demosaic_markesteijn.cl  demosaic_other.cl  demosaic_vng.cl
denoiseprofile.cl  extended.cl  liquify.cl  nlmeans.cl  sharpen.cl
soften.cl


@Bob: Thanks for the quick check!
The idea of needing
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1 comes from the
workaround mentioned by Pascal.

That's very interesting. Without
/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1, darktable is
complaining:
(This is after issuing rm -rf
.cache/darktable/cached_kernels_for_GeForceGTX650/ - a command that
removes compiled versions of the GPU-accelerated modules.)

[opencl_init] compiling program `demosaic_ppg.cl' ..
[opencl_fopen_stat] could not open file
`/home/kofa/.cache/darktable/cached_kernels_for_GeForceGTX650/demosaic_ppg.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to
compile source
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/demosaic_ppg.cl'
[opencl_build_program] successfully built program
[opencl_build_program] BUILD STATUS: 0
BUILD LOG:


[opencl_build_program] saving binary
[opencl_init] compiling program `atrous.cl' ..
[opencl_fopen_stat] could not open file
`/home/kofa/.cache/darktable/cached_kernels_for_GeForceGTX650/atrous.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to
compile source
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/atrous.cl'
[opencl_build_program] could not build program: -9999
[opencl_build_program] BUILD STATUS: -2
BUILD LOG:
error   : Unable to load library 'libnvidia-ptxjitcompiler.so.1'

[opencl_init] failed to compile program `atrous.cl'!
[opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
[opencl_init] initial status of opencl enabled flag is OFF.

If I run ldconfig after removing the symlink, I get no such error,
just the usual compilation problem for atrous.cl:
[opencl_init] compiling program `atrous.cl' ..
[opencl_fopen_stat] could not open file
`/home/kofa/.cache/darktable/cached_kernels_for_GeForceGTX650/atrous.cl.bin'!
[opencl_load_program] could not load cached binary program, trying to
compile source
[opencl_load_program] successfully loaded program from
`/usr/share/darktable/kernels/atrous.cl'
[opencl_build_program] could not build program: -5
[opencl_build_program] BUILD STATUS: -2
BUILD LOG:

[opencl_init] failed to compile program `atrous.cl'!

Kofa

On 19 December 2017 at 07:09, Bob Tregilus <v2g...@gmail.com> wrote:
>
>
> On Mon, Dec 18, 2017 at 10:06 PM, KOVÁCS István <k...@kovacs-telekes.org>
> wrote:
>>
>> On 19 December 2017 at 07:05, KOVÁCS István <k...@kovacs-telekes.org>
>> wrote:
>> > Could you please try one more thing for me? Run the command
>> > ls -l /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1
>> > and paste its output here.
>> >
>> > (I did not have that file; I needed to link it from
>> > /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1, as suggested
>> > by Pascal.)
>>
>> Again, too early. I had to link the file *from*
>> /usr/lib/nvidia-384/libnvidia-ptxjitcompiler.so.1 *to*
>> /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1
>>
>> K.
>
>
> Whatever the case:
>
> ~ $ ls -l /usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1
> ls: cannot access '/usr/lib/x86_64-linux-gnu/libnvidia-ptxjitcompiler.so.1':
> No such file or directory
>
> Bob
>
>
> ___________________________________________________________________________
> darktable developer mailing list to unsubscribe send a mail to
> darktable-dev+unsubscr...@lists.darktable.org
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to