1

(449 replies, posted in Using SVP)

Logs now attached above.

2

(449 replies, posted in Using SVP)

Chainik wrote:

It's not using "Mesa Intel GPU" but the "Intel Gen OCL Driver".
I'd start with removing the mesa platform completely leaving beignet only.

Hi, I purged mesa openCL and left only beignet.

SVP plays using mpv, but shows an error which would seem to confirm it is using beignet. Assessing system performance still crashes. Is it a bug in the system performance testing process?

Beignet: "unable to find good values for local_work_size, please provide\n" " local_work_size[] explicitly, you can find good values with\n" " trial-and-error method."

3

(449 replies, posted in Using SVP)

A debug file shows that mpv/SVP is using my Mesa Intel GPU when playing a file (I think):
See attached SPV_mpv_debug.log

Why does SVPManager then crash when assessing system performance?
See attached SVP-assessing_system_performance_activelog.log

4

(449 replies, posted in Using SVP)

Chainik wrote:

> you yourself do not know if an HD5850 is supported by SVP 4 Linux?

This's not a question of "<some video card> is supported by SVP", but "does <some video card> supports OpenCL using given drivers".

HD5850 DO have all "hardware features" required for SVP to work.
SVP wants a "FULL_PROFILE" GPU OpenCL device supporting "cl_khr_byte_addressable_store" extension, that's all.


Hi, I can rephrase my question if it is stupid.

Basically, if my card supports "cl_khr_byte_addressable_store" (as my clinfo output says), should it support SVP, or are there a thousand other reasons why not?

Thanks.

L

5

(449 replies, posted in Using SVP)

Hi,

Is my video card suitable for GPU-based rendering? 

I'm using Ubuntu 19.10.

I get the error message below, when I try to test system performance:

18:11:04.870 [W]: Video [gpuID=11] initialization failed
18:11:04.870 [W]: Performance: GPU-based frame rendering [gpuID=11] FAILED


From reading this thread, and from my clinfo, I thought my card should be compatible. Is there a problem with this model, or the driver, or elsewhere?

Please tell me if I have missed something obvious...

Thank you very much

Note: The "I" between the brackets "[]" on the lines below has been deleted, as it seems to cause an error message when I post:

luke@luke-pc:~/$ SVPManager
18:10:12.771 []: Main: starting up SVP 4 Linux [4.3.0.180]...
18:10:12.772 []: Main: args: none
18:10:12.772 []: Main: working dir is /usr/local/bin/
18:10:12.773 []: Main: data dir set to /home/luke/.local/share/SVP4/
18:10:12.774 []: Settings: loading reg.cfg OK
18:10:12.775 []: Settings: loading main.cfg OK
18:10:12.776 []: Settings: loading ui.cfg OK
18:10:12.776 []: Settings: loading frc.cfg OK
18:10:12.777 []: Settings: loading profiles.cfg OK
18:10:12.778 []: Settings: loading custom.cfg OK
18:10:12.778 []: Settings: loading lights.cfg OK
18:10:12.778 []: Main: using Qt 5.12.4 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.1 20190909)
18:10:12.779 []: Main: device scale is 1, user defined scale is 0
18:10:12.779 []: Main: system locale is [en-gb]
18:10:12.781 []: Main: setting language file to en.qm...
18:10:12.782 [E]: Main: language file not found or corrupted
18:10:12.786 [W]: Main: module 'plugins/libsvpflow1_vs64.so': NOT FOUND
18:10:12.786 [W]: Main: module 'plugins/libsvpflow2_vs64.so': NOT FOUND
18:10:12.786 []: Main: running OpenCL info...
18:10:12.794 []: Main: collecting system information...
18:10:12.798 []: OS: Linux 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64
18:10:12.821 []: Desktop environment:  / ubuntu / ubuntu:gnome
18:10:12.826 []: CPU: Intel Core i5-3340M [base frequency 3032 MHz, 4 threads]
18:10:12.827 []: Video: reading OpenCL info...
18:10:13.244 []: Video: 1 GPU OpenCL device(s) on Intel Gen OCL Driver [OpenCL 2.0 beignet 1.3] (Intel)
18:10:13.246 []: Video 1: Intel(R) HD Graphics IvyBridge M GT2 (Intel, ver.1.3) [gpuID=11]: OK
18:10:13.246 []: Video: 0 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.3.1 - kisak-mesa PPA] (Mesa)
18:10:13.248 []: Memory:  7839  MB total,  6092 MB free
18:10:13.249 []: System: finding network settings...
18:10:13.296 []: Screens: updating information, 1 screen(s) found
18:10:13.296 []: Screens: screen 0 (LVDS-1) - 1366x768 @60.000 Hz, x1.0 [96 DPI]
18:10:13.296 []: Screens: primary screen is 0
18:10:13.362 []: Main: preparing video profiles...
18:10:13.439 []: Main: preparing performance graphs...
18:10:13.534 []: Main: preparing remote control...
18:10:13.535 []: RemoteControl: started
18:10:13.535 []: Main: preparing main menu...
18:10:13.538 []: Main: no valid language files found in /usr/local/bin/i18n
18:10:13.561 []: Main: loading extensions...
18:10:13.606 []: Main: initialization completed in 813 ms
18:10:13.674 []: Updates: checking now...
18:10:16.242 []: Performance: quick estimation = 523 (previous value was 521)
18:10:54.276 []: Performance: motion vectors estimation = 1037
18:11:04.788 []: Performance: CPU-based frame rendering = 1558
18:11:04.870 [W]: Video [gpuID=11] initialization failed
18:11:04.870 [W]: Performance: GPU-based frame rendering [gpuID=11] FAILED


clinfo

  Number of platforms                               2
  Platform Name                                   Intel Gen OCL Driver
  Platform Vendor                                 Intel
  Platform Version                                OpenCL 2.0 beignet 1.3
  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_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
  Platform Extensions function suffix             Intel

  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 19.3.1 - kisak-mesa PPA
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Intel Gen OCL Driver
Number of devices                                 1
  Device Name                                     Intel(R) HD Graphics IvyBridge M GT2
  Device Vendor                                   Intel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 beignet 1.3
  Driver Version                                  1.3
  Device OpenCL C Version                         OpenCL C 1.2 beignet 1.3
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               16
  Max clock frequency                             1000MHz
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None, None, None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             512x512x512
  Max work group size                             512
  Preferred work group size multiple              16
  Preferred / native vector sizes                 
    char                                                16 / 8       
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 0 / 8        (n/a)
    float                                                4 / 4       
    double                                               0 / 2        (n/a)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    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                                    32, Little-Endian
  Global memory size                              2147483648 (2GiB)
  Error Correction support                        No
  Max memory allocation                           1610612736 (1.5GiB)
  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                        8192 (8KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            65536 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4096 bytes
    Pitch alignment for 2D image buffers          1 pixels
    Max 2D image size                             8192x8192 pixels
    Max 3D image size                             8192x8192x2048 pixels
    Max number of read image args                 128
    Max number of write image args                8
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        134217728 (128MiB)
  Max size of kernel argument                     1024
  Queue properties                               
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      80ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                __cl_copy_region_align4;__cl_copy_region_align16;__cl_cpy_region_unalign_same_offset;__cl_copy_region_unalign_dst_offset;__cl_copy_region_unalign_src_offset;__cl_copy_buffer_rect;__cl_copy_image_1d_to_1d;__cl_copy_image_2d_to_2d;__cl_copy_image_3d_to_2d;__cl_copy_image_2d_to_3d;__cl_copy_image_3d_to_3d;__cl_copy_image_2d_to_buffer;__cl_copy_image_3d_to_buffer;__cl_copy_buffer_to_image_2d;__cl_copy_buffer_to_image_3d;__cl_fill_region_unalign;__cl_fill_region_align2;__cl_fill_region_align4;__cl_fill_region_align8_2;__cl_fill_region_align8_4;__cl_fill_region_align8_8;__cl_fill_region_align8_16;__cl_fill_region_align128;__cl_fill_image_1d;__cl_fill_image_1d_array;__cl_fill_image_2d;__cl_fill_image_2d_array;__cl_fill_image_3d;block_motion_estimate_intel;
  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_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing cl_intel_motion_estimation

  Platform Name                                   Clover
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [Intel]
  clCreateContext(NULL, ...) [default]            Success [Intel]
  clCreateContext(NULL, ...) [other]              `¿ù U
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Intel Gen OCL Driver
    Device Name                                   Intel(R) HD Graphics IvyBridge M GT2
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Intel Gen OCL Driver
    Device Name                                   Intel(R) HD Graphics IvyBridge M GT2
  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)  Success (1)
    Platform Name                                 Intel Gen OCL Driver
    Device Name                                   Intel(R) HD Graphics IvyBridge M GT2

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

dpkg -l | grep opencl

ii  beignet-opencl-icd:amd64                                    1.3.2-6                                       amd64        OpenCL library for Intel GPUs
ii  intel-opencl-icd                                            19.39.14278-0ubuntu1                          amd64        Intel graphics compute runtime for OpenCL
ii  libopencl-clang-dev                                         9.0.0-0ubuntu1                                all          thin wrapper for clang -- development files
ii  libopencl-clang9                                            9.0.0-0ubuntu1                                amd64        thin wrapper for clang
ii  mesa-opencl-icd:amd64                                       19.3.1~kisak~e                                amd64        free implementation of the OpenCL API -- ICD runtime
ii  ocl-icd-libopencl1:amd64                                    2.2.11-1ubuntu1                               amd64        Generic OpenCL ICD Loader
ii  ocl-icd-opencl-dev:amd64                                    2.2.11-1ubuntu1                               amd64        OpenCL development files
ii  opencl-c-headers                                            2.2~2019.01.17-g49f07d3-1                     all          OpenCL (Open Computing Language) C header files
ii  opencl-clhpp-headers                                        2.0.10+git26-g806646c-1                       all          C++ headers for OpenCL development
ii  opencl-headers                                              2.2~2019.01.17-g49f07d3-1                     all          OpenCL (Open Computing Language) header files