Topic: SVP not starting after adding SVPCode

The console output:

./SVPManager 
17:21:12.482 [i]: Main: starting up SVP 4 Linux [4.2.0.137]... 
17:21:12.483 [i]: Main: args: none
17:21:12.483 [i]: Main: working dir is /home/gzgzone/SVP 4/
17:21:12.484 [i]: Main: data dir set to /home/gzgzone/.local/share/SVP4/
17:21:12.484 [i]: Settings: loading reg.cfg OK
17:21:12.484 [i]: Settings: loading main.cfg OK
17:21:12.485 [i]: Settings: loading ui.cfg OK
17:21:12.485 [i]: Settings: loading frc.cfg OK
17:21:12.486 [i]: Settings: loading profiles.cfg OK
17:21:12.486 [i]: Settings: loading custom.cfg OK
17:21:12.486 [i]: Settings: loading lights.cfg OK
17:21:12.486 [i]: Main: using Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.4.0 20160609)
17:21:12.487 [i]: Main: device scale is 1, user defined scale is 1
17:21:12.488 [i]: Main: system locale is [en]
17:21:12.488 [i]: Main: preferred language is [en-us]
17:21:12.491 [i]: Main: setting language file to en.qm...
17:21:12.493 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.2.0.133
17:21:12.494 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.2.0.145
17:21:12.495 [i]: Main: VLC filter (64 bit): 0.9.0.114
17:21:12.496 [i]: Main: running OpenCL info...
17:21:12.502 [i]: Main: collecting system information...
17:21:12.507 [i]: OS: Linux 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64
17:21:12.527 [i]: Desktop environment:  / cinnamon / x-cinnamon
17:21:12.552 [i]: CPU: AMD Athlon X4 860K Quad Core [base frequency 1744 MHz, 4 threads]
17:21:12.553 [i]: Video: reading OpenCL info...
17:21:12.553 [W]: Video: zero number of OpenCL platforms.
17:21:12.554 [i]: Memory:  7920  MB total,  6480 MB free
17:21:12.555 [i]: System: finding network settings...
17:21:12.589 [i]: Power: AC is ON [1]
17:21:12.599 [i]: Screens: updating information, 1 screen(s) found
17:21:12.599 [i]: Screens: screen 0 (DVI-1) - 1440x900 @60.000 Hz, x1.0 [89 DPI]
17:21:12.599 [i]: Screens: primary screen is 0
17:21:12.639 [i]: Main: preparing video profiles...
17:21:12.707 [i]: Main: preparing performance graphs...
17:21:12.773 [i]: Main: preparing mpv...
17:21:12.791 [i]: VLC: installed Vapoursynth plugin: 0.9.0.114
17:21:12.792 [i]: Main: preparing remote control...
17:21:12.792 [i]: RemoteControl: started
17:21:12.793 [i]: Main: preparing main menu...
17:21:12.814 [i]: Main: loading extensions...
17:21:12.830 [i]: Extensions: found svpcast 0.9.5.137 ...
17:21:12.831 [i]: Settings: loading cast.cfg OK
17:21:12.840 [i]: Streaming: Web UI started at [url]http://192.168.0.14:9900[/url]
17:21:12.868 [i]: Extensions: found svpcode 1.0.0.137 ...
17:21:12.869 [W]: Settings: creating code.cfg with default values
17:21:12.869 [i]: Settings: loading code.cfg OK
[1]    7937 segmentation fault  ./SVPManager

My OS is Linux Mint 18.3 x64 which is based on Ubuntu 16.04 as you can see above, and my GPU is AMD HD6850.
Do you have any idea why its not working, and how I can fix it?
Thanks in advance.

Re: SVP not starting after adding SVPCode

shitty opencl support ? pre GCN (7xxx) amd cards have some problems with it. this card is 8 years old

Re: SVP not starting after adding SVPCode

dlr5668 wrote:

shitty opencl support ? pre GCN (7xxx) amd cards have some problems with it. this card is 8 years old

Well, thats unfortunate. I guess its time for an upgrade.
Thanks for your help.

Re: SVP not starting after adding SVPCode

I don't think this's the reason.

Re: SVP not starting after adding SVPCode

Chainik wrote:

I don't think this's the reason.

I wasn't convinced either. I expected to at least get the GUI, and have the ability to choose software encoding. My CPU can somewhat handle the videos I'm playing. I'm not sure if some bug in the code is preventing it from starting due to my lackluster opencl support. I'm happy to help in any way I can.

6 (edited by Prot 19-09-2018 11:35:09)

Re: SVP not starting after adding SVPCode

Same here, after adding SVCode the SVP Manager crashed.
I have GeForce GTX 680 Driver 390.77
And try to another machine, same problem with GeForce 210 driver 340.106

Version: SVP 4 Linux [4.2.0.141]
Any advice?

Re: SVP not starting after adding SVPCode

> Any advice?

Any log?

8 (edited by Prot 19-09-2018 19:06:51)

Re: SVP not starting after adding SVPCode

~/.local/share/SVP4/logs/active.log and stdout the same:

prot@powerman:~/Progs/SVP4$ ./SVPManager 
23:06:23.929 [i]: Main: starting up SVP 4 Linux [4.2.0.141]... 
23:06:23.930 [i]: Main: args: none
23:06:23.930 [i]: Main: working dir is /home/prot/Progs/SVP4/
23:06:23.930 [i]: Main: data dir set to /home/prot/.local/share/SVP4/
23:06:23.931 [i]: Settings: loading reg.cfg OK
23:06:23.931 [i]: Settings: loading main.cfg OK
23:06:23.931 [i]: Settings: loading ui.cfg OK
23:06:23.932 [i]: Settings: loading frc.cfg OK
23:06:23.932 [i]: Settings: loading profiles.cfg OK
23:06:23.932 [i]: Settings: loading custom.cfg OK
23:06:23.932 [i]: Settings: loading lights.cfg OK
23:06:23.933 [i]: Main: using Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.3.0 20170124)
23:06:23.933 [i]: Main: device scale is 1, user defined scale is 1
23:06:23.933 [i]: Main: system locale is [ru]
23:06:23.934 [i]: Main: preferred language is [ru-ru]
23:06:23.935 [i]: Main: setting language file to ru.qm...
23:06:23.939 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.2.0.138
23:06:23.939 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.2.0.147
23:06:23.940 [i]: Main: VLC filter (64 bit): 0.9.0.114
23:06:23.940 [i]: Main: running OpenCL info...
23:06:23.947 [i]: Main: collecting system information...
23:06:23.953 [i]: OS: Linux 4.18.3 #1 SMP Tue Aug 21 16:38:41 +04 2018 x86_64
23:06:23.983 [i]: Desktop environment: /usr/sbin/lightdm / lightdm-xsession / xfce
23:06:23.986 [i]: CPU: AMD FX-8150 Eight-Core [base frequency 2699 MHz, 8 threads]
23:06:23.987 [i]: Video: reading OpenCL info...
23:06:23.995 [i]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 1.2 CUDA 9.1.84] (NVIDIA Corporation)
23:06:23.995 [i]: Video 1: device name 'GeForce GTX 680' (NVIDIA Corporation, ver.390.77) [gpuID=11]: OK
23:06:23.996 [i]: Memory:  15996  MB total,  14494 MB free
23:06:23.997 [i]: System: finding network settings...
23:06:24.006 [i]: Power: AC is ON [1]
23:06:24.019 [i]: Screens: updating information, 3 screen(s) found
23:06:24.019 [i]: Screens: screen 0 (DP-0) - 1920x1080 @60.000 Hz, x1.0 [95 DPI]
23:06:24.019 [i]: Screens: screen 1 (DVI-I-0) - 1280x1024 @60.000 Hz, x1.0 [96 DPI]
23:06:24.019 [i]: Screens: screen 2 (HDMI-0) - 4096x2160 @60.000 Hz, x1.0 [406 DPI]
23:06:24.019 [i]: Screens: primary screen is 0
23:06:24.052 [i]: Main: preparing video profiles...
23:06:24.114 [i]: Main: preparing performance graphs...
23:06:24.169 [i]: Main: preparing mpv...
23:06:24.194 [i]: Main: preparing remote control...
23:06:24.195 [i]: RemoteControl: started
23:06:24.196 [i]: Main: preparing main menu...
23:06:24.221 [i]: Main: loading extensions...
23:06:24.223 [i]: Extensions: found svpcode 1.0.0.141 ...
23:06:24.224 [W]: Settings: creating code.cfg with default values
23:06:24.225 [i]: Settings: loading code.cfg OK
Ошибка сегментирования

~/.local/share/SVP4/logs/opencl.log

Number of platforms                               1
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 9.1.84
  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_copy_opts cl_nv_create_buffer
  Platform Extensions function suffix             NV

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     GeForce GTX 680
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.2 CUDA
  Driver Version                                  390.77
  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                               8
  Max clock frequency                             1137MHz
  Compute Capability (NV)                         3.0
  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                              2096693248 (1.953GiB)
  Error Correction support                        No
  Max memory allocation                           524173312 (499.9MiB)
  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                        131072
  Global Memory cache line                        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 constant buffer size                        65536 (64KiB)
  Max number of constant args                     9
  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                  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_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_copy_opts cl_nv_create_buffer

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  NVIDIA CUDA
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [NV]
  clCreateContext(NULL, ...) [default]            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

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.11
  ICD loader Profile                              OpenCL 2.1

If u need any extra information just say where and how i can obtain it.

Re: SVP not starting after adding SVPCode

Just get new update of SVP, but bug still present.. Any news?

Re: SVP not starting after adding SVPCode

Prot
If you'd like to help us find it I could prepare a test build.

Re: SVP not starting after adding SVPCode

Yeah, let's fix this

Chainik wrote:

Prot
If you'd like to help us find it I could prepare a test build.