1 (edited by omgiafs 15-08-2018 17:31:14)

Topic: SVP не "видит" OpenCL на Win10 build 1803

День добрый, господа и дамы.
Прежде чем начинать эту тему, я честно пытался решить проблему сам. Увы, не получилось.

Дано:
SVP (Pro) 4.0.0-6
Win10 x64 build 1803 (обновление с билда 1709)
Geforce GTX970, Nvidia driver 398.82 (01 августа 2018), установлен после чистки драйверов утилитой "display driver uninstaller v17.0.9.1".
Короче, всё новое-распоследнее на текущий момент, драйверы установлены с нулейшего нуля, после установки оных сделана перезагрузка ПК, хотя инсталлятор ребута не просил.

В логе SVP при первом запуске "от имени администратора", см. тайминг 23:28:47.461:

23:28:47.400 [i]: Main: starting up SVP 4 Pro [4.2.0.140]... 
23:28:47.402 [i]: Main: args: none
23:28:47.402 [i]: Main: working dir is C:\Program Files (x86)\SVP 4\
23:28:47.402 [i]: Main: data dir set to C:\Users\omgiafs\AppData\Roaming\SVP4\
23:28:47.404 [i]: Settings: loading main.cfg OK
23:28:47.406 [i]: Settings: loading ui.cfg OK
23:28:47.407 [i]: Settings: loading frc.cfg OK
23:28:47.408 [i]: Settings: loading profiles.cfg OK
23:28:47.409 [i]: Settings: loading custom.cfg OK
23:28:47.410 [i]: Settings: loading lights.cfg OK
23:28:47.411 [i]: Main: using Qt 5.7.1 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 5.3.0)
23:28:47.411 [i]: Main: device scale is 1, user defined scale is 0
23:28:47.412 [i]: Main: system locale is [ru]
23:28:47.412 [i]: Main: preferred language is [ru-ru]
23:28:47.414 [i]: Main: setting language file to ru.qm...
23:28:47.457 [i]: Main: module 'plugins/svpflow1.dll': 4.2.0.133
23:28:47.458 [i]: Main: module 'plugins/svpflow2.dll': 4.2.0.145
23:28:47.459 [i]: Main: module 'plugins64/svpflow1.dll': 4.2.0.133
23:28:47.459 [i]: Main: module 'plugins64/svpflow2.dll': 4.2.0.145
23:28:47.459 [i]: Main: module 'plugins64/svpflow1_vs.dll': 4.2.0.138
23:28:47.460 [i]: Main: module 'plugins64/svpflow2_vs.dll': 4.2.0.147
23:28:47.460 [W]: Main: PATH doesn't contain mpv64 folder, VLC and libmpv players may not work
23:28:47.460 [W]: Main: PYTHONPATH doesn't contain mpv64 folder, VLC and libmpv players may not work
23:28:47.460 [i]: Main: VLC filter (64 bit): 0.9.0.114
23:28:47.460 [W]: Main: PYTHONPATH is EMPTY
23:28:47.461 [W]: Main: OpenCL is not available!
23:28:47.462 [i]: Main: collecting system information...
23:28:47.462 [i]: OS: Windows 10 [10.0.17134]
23:28:47.463 [i]: CPU: Intel Core i5-6600K [base frequency 3504 MHz, 4 threads]
23:28:47.464 [i]: Video: registry info - Unknown Microsoft Basic Display Adapter
23:28:47.464 [W]: Video: OpenCL subsystem isn't available, try to reinstall video drivers
23:28:47.465 [i]: Memory:  16343  MB total,  13891 MB free
23:28:47.465 [i]: System: finding network settings...
23:28:47.753 [i]: Power: AC is ON [1]
23:28:47.884 [i]: Screens: updating information, 1 screen(s) found
23:28:47.914 [i]: Main: preparing video profiles...
23:28:47.953 [i]: Main: preparing performance graphs...
23:28:47.982 [W]: Control: failed to register shortcut Meta+Ctrl+E
23:28:47.983 [W]: Control: failed to register shortcut Meta+Ctrl+N
23:28:47.983 [W]: Control: failed to register shortcut Meta+Ctrl+C
23:28:47.984 [W]: Control: failed to register shortcut Meta+Ctrl+V
23:28:47.984 [W]: Control: failed to register shortcut Meta+Ctrl+S
23:28:48.043 [i]: Main: preparing ffdshow...
23:28:48.049 [i]: FFDShow: found 32-bit version 1.3.4533.0 [C:\Program Files (x86)\ffdshow\ffdshow.ax]
23:28:48.052 [i]: FFDShow: found 64-bit version 1.3.4533.0 [C:\Program Files (x86)\K-Lite Codec Pack\Filters\ffdshow\ffdshow.ax]
23:28:48.054 [i]: Main: preparing mpv...
23:28:48.054 [i]: Main: preparing remote control...
23:28:48.055 [i]: RemoteControl: started
23:28:48.055 [i]: Main: preparing main menu...
23:28:48.165 [i]: Main: loading extensions...
23:28:48.170 [i]: Main: initialization completed in 709 ms, but still waiting for the screens measurement...
23:28:48.212 [i]: Updates: checking now...
23:28:50.617 [i]: Screens: screen 0 - 1024x768 @62.666 Hz [measured], x1.0 [96 DPI]
23:28:50.617 [i]: Screens: primary screen is 0
23:28:51.318 [i]: Performance: quick estimation = 599 (previous value was 624)
23:28:57.743 [i]: Performance: running fast multi-threaded estimation
23:29:07.166 [i]: Main: normal exit
23:29:07.169 [i]: Main: finished cleaning resources

Если запускать от имени пользователя, то лог такой:

23:38:42.271 [i]: Main: starting up SVP 4 Pro [4.2.0.140]... 
23:38:42.272 [W]: Main: running as Administrator
23:38:42.273 [i]: Main: args: none
23:38:42.273 [i]: Main: working dir is C:\Program Files (x86)\SVP 4\
23:38:42.274 [i]: Main: data dir set to C:\Users\omgiafs\AppData\Roaming\SVP4\
23:38:42.275 [i]: Settings: loading main.cfg OK
23:38:42.276 [i]: Settings: loading ui.cfg OK
23:38:42.277 [i]: Settings: loading frc.cfg OK
23:38:42.277 [i]: Settings: loading profiles.cfg OK
23:38:42.278 [i]: Settings: loading custom.cfg OK
23:38:42.278 [i]: Settings: loading lights.cfg OK
23:38:42.279 [i]: Main: using Qt 5.7.1 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 5.3.0)
23:38:42.279 [i]: Main: device scale is 1, user defined scale is 0
23:38:42.279 [i]: Main: system locale is [ru]
23:38:42.280 [i]: Main: preferred language is [ru-ru]
23:38:42.281 [i]: Main: setting language file to ru.qm...
23:38:42.326 [i]: Main: module 'plugins/svpflow1.dll': 4.2.0.133
23:38:42.327 [i]: Main: module 'plugins/svpflow2.dll': 4.2.0.145
23:38:42.328 [i]: Main: module 'plugins64/svpflow1.dll': 4.2.0.133
23:38:42.328 [i]: Main: module 'plugins64/svpflow2.dll': 4.2.0.145
23:38:42.328 [i]: Main: module 'plugins64/svpflow1_vs.dll': 4.2.0.138
23:38:42.328 [i]: Main: module 'plugins64/svpflow2_vs.dll': 4.2.0.147
23:38:42.329 [W]: Main: PATH doesn't contain mpv64 folder, VLC and libmpv players may not work
23:38:42.329 [W]: Main: PYTHONPATH doesn't contain mpv64 folder, VLC and libmpv players may not work
23:38:42.329 [i]: Main: VLC filter (64 bit): 0.9.0.114
23:38:42.329 [W]: Main: PYTHONPATH is EMPTY
23:38:42.330 [i]: Main: running OpenCL info...
23:38:42.336 [i]: Main: collecting system information...
23:38:42.336 [i]: OS: Windows 10 [10.0.17134]
23:38:42.338 [i]: CPU: Intel Core i5-6600K [base frequency 3504 MHz, 4 threads]
23:38:42.338 [i]: Video: registry info - NVIDIA GeForce GTX 970
23:38:42.339 [i]: Video: reading OpenCL info...

,
и рядом с логами создается пустой файл opencl.log.

Драйверы OpenCL в системе установлены, судя по списку драйверов видеокарты:
https://habrastorage.org/webt/h0/op/sl/h0opslm0ygmwf1plscfjzsugzkc.png

Пробовал несколько раз - результат один и тот же.
Пробовал тесты OpenCL Luxmark 3.x - не запускаются. Выскакивает стартовое окно и сразу закрывается :(

Сейчас попробую установить более старые драйверы видеокарты, вдруг поможет. А пока оставлю это здесь.

PS Едем далее. Драйверы 397.31 - то же самое.

Вывода команды clinfo (бинарник отсюда) в консоли нет вообще, ни при этих драйверах, ни при последних.
Наткнулся на тему в английской ветке, но там тоже всё неоднозначно.
Как вариант, надо как-то удалить драйверы IGD, которого нету даже в диспетчере устройств :)

Re: SVP не "видит" OpenCL на Win10 build 1803

ну, можно только констатировать что что-то в системе сломано
никакого другого решения, кроме Display Driver Uninstaller, не известно

3 (edited by omgiafs 15-08-2018 17:49:32)

Re: SVP не "видит" OpenCL на Win10 build 1803

Азаза, нашел решение.

В настройках BIOS IGD был отключен (а нафиг оно, раз не используется?).
Включил его, он обнаружился как устройство, я тут же снёс драйверы Intel при помощи DDU и после ребута вывод clinfo сразу стал таким:

Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 9.2.81
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer
  Platform Extensions function suffix             NV

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     GeForce GTX 970
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.2 CUDA
  Driver Version                                  397.31
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     GPU
  Device Topology (NV)                            PCI-E, 01:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               13
  Max clock frequency                             1253MHz
  Compute Capability (NV)                         5.2
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x64
  Max work group size                             1024
  Preferred work group size multiple              32
  Warp size (NV)                                  32
  Preferred / native vector sizes
    char                                                 1 / 1
    short                                                1 / 1
    int                                                  1 / 1
    long                                                 1 / 1
    half                                                 0 / 0        (n/a)
    float                                                1 / 1
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              4294967296 (4GiB)
  Error Correction support                        No
  Max memory allocation                           1073741824 (1024MiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        212992 (208KiB)
  Global Memory cache line size                   128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             4096x4096x4096 pixels
    Max number of read image args                 256
    Max number of write image args                16
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max number of constant args                     9
  Max constant buffer size                        65536 (64KiB)
  Max size of kernel argument                     4352 (4.25KiB)
  Queue properties
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1000ns
  Execution capabilities
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Kernel execution timeout (NV)                 Yes
  Concurrent copy and kernel execution (NV)       Yes
    Number of async copy engines                  2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_d3d10_sharing cl_khr_d3d10_sharing cl_nv_d3d11_sharing cl_nv_copy_opts cl_nv_create_buffer

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              Success [NV]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Invalid device type for platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

SVP, само собой, стартанул.
Я фигею, дорогая редакция. Раньше всё и так работало...

Re: SVP не "видит" OpenCL на Win10 build 1803

1803, 398.11, GTX 1070 - всё ровно
т.ч. дело не в версиях Windows / драйверов

Re: SVP не "видит" OpenCL на Win10 build 1803

возможно надо через Display Driver Uninstaller так же драйверы Intel снести

Re: SVP не "видит" OpenCL на Win10 build 1803

Chainik wrote:

возможно надо через Display Driver Uninstaller так же драйверы Intel снести

Именно это и помогло. Только у меня IGD был "железно" отключен и даже в системе ни разу не показывался.
Ну да фиг с ним, главное - SVP работает, и опыта набрались.

7 (edited by James D 16-08-2018 10:12:33)

Re: SVP не "видит" OpenCL на Win10 build 1803

DDU предоставляет очиску драйверов бренда видеокарты даже если такового бренда нет в Диспетчере устройств. Нужно только вручную выбрать.
У меня, к стати, после очистки Нвидии потерялось OpenCL устройство Интел, но мне оно и не нужно, так что пускай...