kofa
(István Kovács)
January 31, 2024, 7:43pm
33
There was an NVidia brochure linked above. There seem to be two variants, one with 2, the other with 4 GB.
Maybe the NVidia driver is not the problem. The i7-13700 also has a GPU, the UHD Graphics 770.
It’d be nice to know if the broken Microsoft ‘OpenCL Compatibility’ thingy is installed. @charentejohn , can you provide info on that?
This compatibility pack allows more of your favorite OpenCL™, OpenGL®, and Vulkan® apps to run on a Windows 10 or Windows 11 PC that doesn't have these hardware drivers installed by default. If a DirectX 12 driver is installed, supported apps will...
Could you also provide the output of darktable-cltest, as shown here?
opened 10:30PM - 19 Jun 23 UTC
closed 02:53AM - 21 Jun 23 UTC
bug: upstream
scope: windows support
### Describe the bug
I have installed darktable on windows 11 but when I try to… run it it crash at startup.
it seems an issue with opencl becasue the program correctly run when i run directly the darktable.exe file from the cmd with the option --disable-opencl.
The output of the darktable-cltest.exe is the belowe one:
can you please help me in understand how to solve my issue?
Thanks in advance
```
C:\Program Files\darktable\bin>darktable-cltest.exe
[dt_get_sysresource_level] switched to 1 as `default'
total mem: 32614MB
mipmap cache: 4076MB
available mem: 16307MB
singlebuff: 254MB
OpenCL tune mem: OFF
OpenCL pinned: OFF
[opencl_init] opencl related configuration options:
[opencl_init] opencl: OFF
[opencl_init] opencl_scheduling_profile: 'default'
[opencl_init] opencl_library: 'default path'
[opencl_init] opencl_device_priority: '*/!0,*/*/*/!0,*'
[opencl_init] opencl_mandatory_timeout: 400
[opencl_init] opencl library 'OpenCL.dll' found on your system and loaded
[opencl_init] found 3 platforms
[opencl_init] found 5 devices
[dt_opencl_device_init]
DEVICE: 0: 'NVIDIA GeForce GTX 1660 Ti'
CANONICAL NAME: nvidiageforcegtx1660ti
PLATFORM NAME & VENDOR: NVIDIA CUDA, NVIDIA Corporation
DRIVER VERSION: 535.98
DEVICE VERSION: OpenCL 3.0 CUDA, SM_20 SUPPORT
DEVICE_TYPE: GPU
GLOBAL MEM SIZE: 6144 MB
MAX MEM ALLOC: 1536 MB
MAX IMAGE SIZE: 32768 x 32768
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 64 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
MEMORY TUNING: NO
FORCED HEADROOM: 400
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH: 16
ROUNDUP HEIGHT: 16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
KERNEL DIRECTORY: C:\Program Files\darktable\share\darktable\kernels
CL COMPILER OPTION: -cl-fast-relaxed-math
KERNEL LOADING TIME: 0.0438 sec
[dt_opencl_device_init]
DEVICE: 1: 'Intel(R) UHD Graphics 630', NEW
CANONICAL NAME: intelruhdgraphics630
PLATFORM NAME & VENDOR: Intel(R) OpenCL HD Graphics, Intel(R) Corporation
DRIVER VERSION: 31.0.101.2111
DEVICE VERSION: OpenCL 3.0 NEO
DEVICE_TYPE: GPU
*** new device is blacklisted ***
[dt_opencl_device_init]
DEVICE: 2: 'Intel(R) UHD Graphics 630'
CANONICAL NAME: intelruhdgraphics630
PLATFORM NAME & VENDOR: OpenCLOn12, Microsoft
DRIVER VERSION: 1.1.0
DEVICE VERSION: OpenCL 1.2 D3D12 Implementation
DEVICE_TYPE: GPU
GLOBAL MEM SIZE: 16307 MB
MAX MEM ALLOC: 1024 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 64 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
MEMORY TUNING: NO
FORCED HEADROOM: 400
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH: 16
ROUNDUP HEIGHT: 16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
*** marked as disabled ***
[dt_opencl_device_init]
DEVICE: 3: 'NVIDIA GeForce GTX 1660 Ti'
CANONICAL NAME: nvidiageforcegtx1660ti
PLATFORM NAME & VENDOR: OpenCLOn12, Microsoft
DRIVER VERSION: 1.1.0
DEVICE VERSION: OpenCL 1.2 D3D12 Implementation
DEVICE_TYPE: GPU
GLOBAL MEM SIZE: 5979 MB
MAX MEM ALLOC: 1024 MB
MAX IMAGE SIZE: 16384 x 16384
MAX WORK GROUP SIZE: 1024
MAX WORK ITEM DIMENSIONS: 3
MAX WORK ITEM SIZES: [ 1024 1024 64 ]
ASYNC PIXELPIPE: NO
PINNED MEMORY TRANSFER: NO
MEMORY TUNING: NO
FORCED HEADROOM: 400
AVOID ATOMICS: NO
MICRO NAP: 250
ROUNDUP WIDTH: 16
ROUNDUP HEIGHT: 16
CHECK EVENT HANDLES: 128
TILING ADVANTAGE: 0.000
DEFAULT DEVICE: NO
KERNEL DIRECTORY: C:\Program Files\darktable\share\darktable\kernels
CL COMPILER OPTION: -cl-fast-relaxed-math
3.369635 [opencl_fopen_stat] could not open file `C:\Users\della\AppData\Local\Microsoft\Windows\INetCache\darktable\cached_kernels_for_NVIDIAGeForceGTX1660Ti_110\blendop.cl.bin.2b7e5266aa3a85724bf666e26fd07e41'!
3.370027 [opencl_load_program] could not load cached binary program, trying to compile source
```
### Steps to reproduce
the issue happens every time I run darktable in my pc with windows 11
### Expected behavior
_No response_
### Logfile | Screenshot | Screencast
[darktable-log.txt](https://github.com/darktable-org/darktable/files/11793552/darktable-log.txt)
### Commit
_No response_
### Where did you install darktable from?
darktable.org
### darktable version
4.2.1
### What OS are you using?
Windows
### What is the version of your OS?
Windows 11 Pro
### Describe your system?
_No response_
### Are you using OpenCL GPU in darktable?
None
### If yes, what is the GPU card and driver?
_No response_
### Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
_No response_