Did you already try to install "nvidia-modprobe"?

(.... and reboot)



Am 16.12.2014, 02:45 Uhr, schrieb Bambasti <[email protected]>:

> Hi,
>
> Thank you for the hint, I tried that, just again to be sure. But
> unfortunately didn't help to solve the problem. :-/
>
> Also it's is not about failing openCL completely. It just refuses to run
> with the somewhat limited privileges of a normal user - if not started
> as root before. After this everything is fine. So it shouldn't be a
> problem with openCL implementation itself, it must be about some
> permissions, files or variables.
>
> To know what /[opencl_init] could not get platforms: -1001/ means could
> be a good start.
>
> Greetings
> Bambasti
>
>
>
>
> Am 15.12.2014 um 10:30 schrieb Michael Below:
>>
>> Hi,
>>
>> I had similar problems with Debian, first it worked, then I changed
>> something in the OpenCL setup and it stopped working. I have reported
>> my solution on this list some time ago, basically I purged all the
>> NVidia packages, rebooted, and installed them again. Try searching the
>> list archive for details. The Nvidia packages seem to be a bit flaky.
>>
>> Cheers
>>
>> Michael
>>
>> *Von:*Bambasti [mailto:[email protected]]
>> *Gesendet:* Montag, 15. Dezember 2014 09:41
>> *An:* [email protected]
>> *Betreff:* [Darktable-users] Problem with openCL
>>
>> Hello!
>>
>> I ran into a little problem, since updating to DT 1.6 (darktable
>> 1.6.0+31~g7532b94 at the moment, to be more precise) openCL doesn't
>> work anymore.
>>
>> Well, kind of.
>>
>> First I tried the usual things to bring it back to life, like
>> installing the latest Nvidia drivers plus adding or flipping some
>> packages. Without any luck, that error message kept the same:
>>
>> /
>> //darktable -d opencl
>>
>> [opencl_init] opencl related configuration options:
>> [opencl_init]
>> [opencl_init] opencl: 1
>> [opencl_init] opencl_library: ''
>> [opencl_init] opencl_memory_requirement: 768
>> [opencl_init] opencl_memory_headroom: 300
>> [opencl_init] opencl_device_priority: '*/!0,*/*/*'
>> [opencl_init] opencl_size_roundup: 16
>> [opencl_init] opencl_async_pixelpipe: 0
>> [opencl_init] opencl_synch_cache: 0
>> [opencl_init] opencl_number_event_handles: 25
>> [opencl_init] opencl_micro_nap: 1000
>> [opencl_init] opencl_use_pinned_memory: 0
>> [opencl_init] opencl_use_cpu_devices: 0
>> [opencl_init] opencl_avoid_atomics: 0
>> [opencl_init] opencl_omit_whitebalance: 0
>> [opencl_init]
>> [opencl_init] found opencl runtime library 'libOpenCL'
>> [opencl_init] opencl library 'libOpenCL' found on your system and loaded
>> [opencl_init] could not get platforms: -1001
>> [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
>> [opencl_init] initial status of opencl enabled flag is OFF.
>> //
>>
>> /At least it seems to tell me that openCL in general is functional. I
>> just don't understand where /"could not get platforms: -1001"/ does
>> come from and how to fix it.
>>
>> So I rolled back to Nvidia driver 331 and tried this:
>>
>> /
>> sudo darktable -d opencl
>>
>> WARNING: either your user id or the effective user id are 0. are you
>> running darktable as root?
>> [opencl_init] opencl related configuration options:
>> [opencl_init]
>> [opencl_init] opencl: 1
>> [opencl_init] opencl_library: ''
>> [opencl_init] opencl_memory_requirement: 768
>> [opencl_init] opencl_memory_headroom: 300
>> [opencl_init] opencl_device_priority: '*/!0,*/*/*'
>> [opencl_init] opencl_size_roundup: 16
>> [opencl_init] opencl_async_pixelpipe: 0
>> [opencl_init] opencl_synch_cache: 0
>> [opencl_init] opencl_number_event_handles: 25
>> [opencl_init] opencl_micro_nap: 1000
>> [opencl_init] opencl_use_pinned_memory: 0
>> [opencl_init] opencl_use_cpu_devices: 0
>> [opencl_init] opencl_avoid_atomics: 0
>> [opencl_init] opencl_omit_whitebalance: 0
>> [opencl_init]
>> [opencl_init] found opencl runtime library 'libOpenCL'
>> [opencl_init] opencl library 'libOpenCL' found on your system and loaded
>> [opencl_init] found 1 platform
>> [opencl_init] found 1 device
>> [opencl_init] device 0 `GeForce GTX 770' has sm_20 support.
>> [opencl_init] device 0 `GeForce GTX 770' supports image sizes of 32768
>> x 32768
>> [opencl_init] device 0 `GeForce GTX 770' allows GPU memory allocations
>> of up to 511MB
>> [opencl_init] device 0: GeForce GTX 770
>>      GLOBAL_MEM_SIZE:          2047MB
>>      MAX_WORK_GROUP_SIZE:      1024
>>      MAX_WORK_ITEM_DIMENSIONS: 3
>>      MAX_WORK_ITEM_SIZES:      [ 1024 1024 64 ]
>>      DRIVER_VERSION:           331.113
>>      DEVICE_VERSION:           OpenCL 1.1 CUDA
>> [opencl_init] compiling program `demosaic_ppg.cl' ..
>> [opencl_load_program] loaded cached binary program from file
>> `/home/bambasti/.cache/darktable/cached_kernels_for_GeForceGTX770/demosaic_ppg.cl.bin'
>> [opencl_load_program] successfully loaded program from
>> `/usr/share/darktable/kernels/demosaic_ppg.cl'
>> [opencl_build_program] successfully built program//
>>
>>
>> /As you can see running DT as root makes openCL working like a charm
>> again and it even keeps working if, what seems to be recommended, it
>> is restarted with a normal user afterwards - just only until the
>> machine is rebooted.
>>
>> Is this already some known problem with a workaround yet? For now I'm
>> really happy that it is running again at all because it is so much
>> faster and more responsive than using a CPU, no matter how fast that
>> one is.
>>
>>
>> (K)Ubuntu 14.04 (3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06
>> UTC 2014 x86_64 x86_64 x86_64 GNU/Linux) and Nvidia drivers
>> 331.113-0ubuntu0.0.4 from (again) the official repository. Newer
>> version 346 didn't work either, so I switched back to the original one.
>>
>>
>> Thank  you & best regards
>>
>> Bambasti
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>> with Interactivity, Sharing, Native Excel Exports, App Integration &  
>> more
>> Get technology previously reserved for billion-dollar corporations, FREE
>> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
>>
>>
>> _______________________________________________
>> Darktable-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/darktable-users

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Darktable-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to