Topic: SVP4 won't start

Svp4 won't start. active.log is like:

20:23:38.703 [i]: Main: starting up SVP 4 Pro [4.5.0.213]... 
20:23:38.706 [i]: Main: args: none
20:23:38.706 [i]: Main: working dir is C:\Program Files (x86)\SVP 4\
20:23:38.707 [i]: Main: data dir set to C:\Users\sxyzy\AppData\Roaming\SVP4\
20:23:38.709 [i]: Settings: loading main.cfg OK
20:23:38.710 [i]: Settings: loading ui.cfg OK
20:23:38.710 [W]: Settings: creating frc.cfg with default values
20:23:38.712 [i]: Settings: loading frc.cfg OK
20:23:38.712 [W]: Settings: creating profiles.cfg with default values
20:23:38.713 [i]: Settings: loading profiles.cfg OK
20:23:38.714 [i]: Settings: loading custom.cfg OK
20:23:38.714 [W]: Settings: creating lights.cfg with default values
20:23:38.715 [i]: Settings: loading lights.cfg OK
20:23:38.716 [i]: Main: using Qt 5.15.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2019)
20:23:38.716 [i]: Main: device scale is 1.50002, user defined scale is 0
20:23:38.717 [i]: Main: using Fusion style
20:23:38.718 [i]: Main: system locale is [zh]
20:23:38.719 [i]: Main: preferred language is [zh-cn]
20:23:38.721 [i]: Main: setting language file to zh-cn.qm...
20:23:38.723 [W]: Main: using Chinese server for all network requests
20:23:38.739 [i]: Main: collecting system information...
20:23:38.739 [W]: Main: module 'plugins/svpflow1.dll': NOT FOUND
20:23:38.739 [W]: Main: module 'plugins/svpflow2.dll': NOT FOUND
20:23:38.741 [i]: Main: module 'plugins64/svpflow1.dll': 4.5.0.200
20:23:38.742 [i]: Main: module 'plugins64/svpflow2.dll': 4.5.0.212
20:23:38.744 [i]: Main: module 'plugins64/svpflow1_vs.dll': 4.5.0.200
20:23:38.745 [i]: Main: module 'plugins64/svpflow2_vs.dll': 4.5.0.211
20:23:38.745 [W]: Main: PATH doesn't contain mpv64 folder, VLC and libmpv players may not work
20:23:38.745 [W]: Main: PYTHONPATH doesn't contain mpv64 folder, VLC and libmpv players may not work
20:23:38.746 [i]: Main: VLC filter (64 bit): 1.0.0.190
20:23:38.746 [W]: Main: PYTHONPATH is EMPTY
20:23:38.753 [i]: OS: Windows 11 [10.0.22000]
20:23:38.755 [i]: CPU: Intel Core i7-8750H [base frequency 2208 MHz, 12 threads]
20:23:38.756 [i]: Video: registry info - NVIDIA GeForce GTX 1070
20:23:38.757 [i]: Video: reading OpenCL info...

I tried uninstall/reinstall Nvidia driver, reinstall SVP4, reboot, run as administrator, but still the same. And my machine doesn't have a Intel graphic card and Intel driver.

Any suggestions?

Re: SVP4 won't start

The last line in your log is OpenCL initialization:

20:23:38.757 [i]: Video: reading OpenCL info...

Looks like you have corrupted OpenCL. OpenCL is a part of GPU drivers.
You need to uninstall all GPU drivers and install it again from official site.
I recommend to use DDU to completely unistall GPU drivers:
https://www.guru3d.com/files-details/di … nload.html

If nothing helps you, you can launch C:\Program Files (x86)\SVP 4\utils\clinfo64 form command line and post the output here.

3 (edited by sxyzy1016 15-02-2022 05:39:35)

Re: SVP4 won't start

MAG79 wrote:

The last line in your log is OpenCL initialization:

20:23:38.757 [i]: Video: reading OpenCL info...

Looks like you have corrupted OpenCL. OpenCL is a part of GPU drivers.
You need to uninstall all GPU drivers and install it again from official site.
I recommend to use DDU to completely unistall GPU drivers:
https://www.guru3d.com/files-details/di … nload.html

If nothing helps you, you can launch C:\Program Files (x86)\SVP 4\utils\clinfo64 form command line and post the output here.

I tried reinstall my NVIDIA driver several times, but it didn't work.

Here is the output of clinfo64:

Number of platforms                               4
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 3.0 CUDA 11.6.99
  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_3d_image_writes 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 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32
  Platform Extensions function suffix             NV

  Platform Name                                   Intel(R) OpenCL
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 3.0 WINDOWS
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_spirv_linkonce_odr cl_khr_icd 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_khr_il_program cl_intel_unified_shared_memory_preview cl_intel_subgroups cl_intel_subgroups_char cl_intel_subgroups_short cl_intel_subgroups_long cl_intel_spirv_subgroups cl_intel_required_subgroup_size cl_intel_exec_by_local_thread cl_intel_vec_len_hint cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer 
  Platform Extensions function suffix             INTEL

  Platform Name                                   Intel(R) FPGA Emulation Platform for OpenCL(TM)
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
  Platform Profile                                EMBEDDED_PROFILE
  Platform Extensions                             cl_khr_spirv_linkonce_odr cl_khr_icd cl_khr_byte_addressable_store cl_intel_fpga_host_pipe cles_khr_int64 cl_khr_il_program cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 
  Platform Extensions function suffix             IntelFPGA

  Platform Name                                   Intel(R) FPGA SDK for OpenCL(TM)
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 1.0 Intel(R) FPGA SDK for OpenCL(TM), Version 2022.1
  Platform Profile                                EMBEDDED_PROFILE
  Platform Extensions                             cl_khr_byte_addressable_store cles_khr_int64 cl_khr_icd cl_intel_create_buffer_with_properties cl_intel_mem_channel_property
  Platform Extensions function suffix             IntelFPGA

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     NVIDIA GeForce GTX 1070
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 3.0 CUDA
  Driver Version                                  511.65
  Device OpenCL C Version                         OpenCL C 1.2 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Topology (NV)                            PCI-E, 01:00.0
  Max compute units                               16
  Max clock frequency                             1645MHz
  Compute Capability (NV)                         6.1
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
  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
    Correctly-rounded divide and sqrt operations  No
  Address bits                                    64, Little-Endian
  Global memory size                              8589737984 (8GiB)
  Error Correction support                        No
  Max memory allocation                           2147434496 (2GiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Preferred alignment for atomics                 
    SVM                                           0 bytes
    Global                                        0 bytes
    Local                                         0 bytes
  Max size for global variable                    0
  Preferred total size of global vars             0
  Global Memory cache type                        Read/Write
  Global Memory cache size                        786432
  Global Memory cache line                        128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            268435456 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x32768 pixels
    Max 3D image size                             16384x16384x16384 pixels
    Max number of read image args                 256
    Max number of write image args                16
    Max number of read/write image args           0
  Max number of pipe args                         0
  Max active pipe reservations                    0
  Max pipe packet size                            0
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max constant buffer size                        65536 (64KiB)
  Max number of constant args                     9
  Max size of kernel argument                     4352 (4.25KiB)
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Queue properties (on device)                    
    Out-of-order execution                        No
    Profiling                                     No
    Preferred size                                0
    Max size                                      0
  Max queues on device                            0
  Max events on device                            0
  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                  1
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  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_3d_image_writes 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 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_win32 cl_khr_external_memory_win32

  Platform Name                                   Intel(R) OpenCL
Number of devices                                 1
  Device Name                                     Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 3.0 (Build 0)
  Driver Version                                  2021.13.11.0.23_160000
  Device OpenCL C Version                         OpenCL C 3.0 
  Device Type                                     CPU
  Device Profile                                  FULL_PROFILE
  Max compute units                               12
  Max clock frequency                             2200MHz
  Device Partition                                (core)
    Max number of sub-devices                     12
    Supported partition types                     by counts, equally, by names (Intel)
  Max work item dimensions                        3
  Max work item sizes                             8192x8192x8192
  Max work group size                             8192
  Preferred work group size multiple              <getWGsizes:415: create context : error -6>
  Preferred / native vector sizes                 
    char                                                 1 / 32      
    short                                                1 / 16      
    int                                                  1 / 8       
    long                                                 1 / 4       
    half                                                 0 / 0        (n/a)
    float                                                1 / 8       
    double                                               1 / 4        (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                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  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
    Correctly-rounded divide and sqrt operations  No
  Address bits                                    64, Little-Endian
  Global memory size                              68551622656 (63.84GiB)
  Error Correction support                        No
  Max memory allocation                           17137905664 (15.96GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   Yes
    Fine-grained system sharing                   Yes
    Atomics                                       Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         0 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars             65536 (64KiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        262144
  Global Memory cache line                        64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             480
    Max size for 1D images from buffer            1071119104 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   64 bytes
    Pitch alignment for 2D image buffers          64 bytes
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 480
    Max number of write image args                480
    Max number of read/write image args           480
  Max number of pipe args                         16
  Max active pipe reservations                    21845
  Max pipe packet size                            1024
  Local memory type                               Global
  Local memory size                               32768 (32KiB)
  Max constant buffer size                        131072 (128KiB)
  Max number of constant args                     480
  Max size of kernel argument                     3840 (3.75KiB)
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Local thread execution (Intel)                Yes
  Queue properties (on device)                    
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Preferred size                                4294967295 (4GiB)
    Max size                                      4294967295 (4GiB)
  Max queues on device                            4294967295
  Max events on device                            4294967295
  Prefer user sync for interop                    No
  Profiling timer resolution                      100ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Device Extensions                               cl_khr_spirv_linkonce_odr cl_khr_icd 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_khr_il_program cl_intel_unified_shared_memory_preview cl_intel_subgroups cl_intel_subgroups_char cl_intel_subgroups_short cl_intel_subgroups_long cl_intel_spirv_subgroups cl_intel_required_subgroup_size cl_intel_exec_by_local_thread cl_intel_vec_len_hint cl_khr_spir cl_khr_fp64 cl_khr_image2d_from_buffer 

  Platform Name                                   Intel(R) FPGA Emulation Platform for OpenCL(TM)
Number of devices                                 1
  Device Name                                     Intel(R) FPGA Emulation Device
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x1172
  Device Version                                  OpenCL 1.2 
  Driver Version                                  2021.13.11.0.23_160000
  Device OpenCL C Version                         OpenCL C 1.2 
  Device Type                                     Accelerator
  Device Profile                                  EMBEDDED_PROFILE
  Max compute units                               12
  Max clock frequency                             2200MHz
  Device Partition                                (core)
    Max number of sub-devices                     12
    Supported partition types                     by counts, equally, by names (Intel)
  Max work item dimensions                        3
  Max work item sizes                             67108864x67108864x67108864
  Max work group size                             67108864
  Preferred work group size multiple              <getWGsizes:415: create context : error -6>
  Preferred / native vector sizes                 
    char                                                 1 / 32      
    short                                                1 / 16      
    int                                                  1 / 8       
    long                                                 1 / 4       
    half                                                 0 / 0        (n/a)
    float                                                1 / 8       
    double                                               1 / 4        (n/a)
  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                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (n/a)
  Address bits                                    64, Little-Endian
  Global memory size                              68551622656 (63.84GiB)
  Error Correction support                        No
  Max memory allocation                           17137905664 (15.96GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        262144
  Global Memory cache line                        64 bytes
  Image support                                   No
  Local memory type                               Global
  Local memory size                               262144 (256KiB)
  Max constant buffer size                        131072 (128KiB)
  Max number of constant args                     480
  Max size of kernel argument                     3840 (3.75KiB)
  Queue properties                                
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      100ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Device Extensions                               cl_khr_spirv_linkonce_odr cl_khr_icd cl_khr_byte_addressable_store cl_intel_fpga_host_pipe cles_khr_int64 cl_khr_il_program cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics 

  Platform Name                                   Intel(R) FPGA SDK for OpenCL(TM)
Number of devices                                 0

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_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)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

And clinfo (NOT clinfo64) crashed. EDIT: Maybe it doesn't crash and just output nothing?

Re: SVP4 won't start

Finally found the "solution" in Intel's forum:https://community.intel.com/t5/OpenCL-f … 9711#M5258

I'll post it here:

If you're comfortable mucking with the registry, the easiest thing to do is to modify:

HKLM\SOFTWARE\Khronos\OpenCL\Vendors (for 64-bit applications)
or

HKLM\SOFTWARE\Wow6432Node\Khronos\OpenCL\Vendors (for 32-bit applications)
These registry keys should contain one REG_DWORD value for each OpenCL platform.  If you change the REG_DWORD value for a platform from 0 to 1 then that platform will no longer enumerate.  The nice thing about this method is that if you change your mind, you can re-enable the platform by simply changing the value from 1 back to 0.

Everything works fine for me now.

It seems that SVP4 won't start if there are more than 1 opencl installed. Will there be any fix to it?

Re: SVP4 won't start

> It seems that SVP4 won't start if there are more than 1 opencl installed.

SVP won't start if OpenCL driver crashes due to misconfiguration.

6 (edited by psisis 19-06-2023 19:32:12)

Re: SVP4 won't start

Chainik wrote:

> It seems that SVP4 won't start if there are more than 1 opencl installed.

SVP won't start if OpenCL driver crashes due to misconfiguration.

I don’t think it’s that simple. I recently installed Intel oneAPI with oneDNN, OpenCL, OpenMP etc. to compile Pytorch from source. Since then I can’t start SVP 4. At the very least SVP4 should provide better messages.

Anyway, that registry the previous commenter hinted to had entries for “C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x86\intelocl32.dll” and “C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x86\intelocl32_emu.dll”, I disabled the emu and SVP now starts.