Hi,

I've recently acquired a new GPU and fail to get it to work with
darktable. Here are some infos:

System: Debian stable 5.10.0-21-amd64
GPU: NVIDIA GeForce GTX 1650

I installed the driver using

  apt install nvidia-driver

as suggested by nvidia-detect.

The modules are loaded:

  lsmod | grep nvidia
  nvidia_drm             73728  4
  drm_kms_helper        278528  1 nvidia_drm
  nvidia_modeset       1204224  8 nvidia_drm
  nvidia              35528704  367 nvidia_modeset
  drm                   626688  8 drm_kms_helper,nvidia,nvidia_drm

But darktable doesn't use the GPU:

  darktable-cltest
  0.120796 [opencl_init] opencl related configuration options:
  0.120811 [opencl_init] 
  0.120813 [opencl_init] opencl: 1
  0.120814 [opencl_init] opencl_scheduling_profile: 'default'
  0.120816 [opencl_init] opencl_library: ''
  0.120817 [opencl_init] opencl_memory_requirement: 768
  0.120819 [opencl_init] opencl_memory_headroom: 300
  0.120820 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
  0.120822 [opencl_init] opencl_mandatory_timeout: 200
  0.120823 [opencl_init] opencl_size_roundup: 16
  0.120824 [opencl_init] opencl_async_pixelpipe: 0
  0.120825 [opencl_init] opencl_synch_cache: false
  0.120827 [opencl_init] opencl_number_event_handles: 25
  0.120828 [opencl_init] opencl_micro_nap: 1000
  0.120829 [opencl_init] opencl_use_pinned_memory: 0
  0.120830 [opencl_init] opencl_use_cpu_devices: 0
  0.120831 [opencl_init] opencl_avoid_atomics: 0
  0.120832 [opencl_init] 
  0.123537 [opencl_init] could not find opencl runtime library
  'libOpenCL' 0.124051 [opencl_init] could not find opencl runtime
  library 'libOpenCL.so' 0.124963 [opencl_init] found opencl runtime
  library 'libOpenCL.so.1' 0.124978 [opencl_init] opencl library
  'libOpenCL.so.1' found on your system and loaded 0.125146
  [opencl_init] could not get platforms: -1001 0.125150 [opencl_init]
  FINALLY: opencl is NOT AVAILABLE on this system. 0.125151
  [opencl_init] initial status of opencl enabled flag is OFF.


  darktable --version
  this is darktable 3.4.1
  copyright (c) 2009-2021 johannes hanika
  darktable-...@lists.darktable.org

  compile options:
    bit depth is 64 bit
    normal build
    SSE2 optimized codepath enabled
    OpenMP support enabled
    OpenCL support enabled
    Lua support enabled, API version 6.1.0
    Colord support enabled
    gPhoto2 support enabled
    GraphicsMagick support enabled
    ImageMagick support disabled
    OpenEXR support enabled

The manual states:

  “… There is a structure of files in /etc/OpenCL on your system
  that libOpenCL.so consults to find these libraries. See if you can
  find something fishy in there and try to fix it…”

I don't have the directory /etc/OpenCL on my system. What do do? Any
pointers appreciated on how to get it working. If you need more
infos, please let me know.

Marco
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to