251

Re: SVP 4 Linux

> SVSmoothFps: unable to init GPU-based renderer - code 327674
This error means CL_OUT_OF_HOST_MEMORY while call clCreateCommandQueue()
I hear about this error only once two years ago. I have no information if it was fixed and how.
We do not have AMD Radeon HD 7700M Series to check. But you can google this error. Perhaps it can be fixed by drivers change.

21:51:56.743 [i): Video: 1 GPU OpenCL device(s) on Intel Gen OCL Driver [OpenCL 2.0 beignet 1.4 (git-fc5f430c)] (Intel)
21:51:56.746 [i): Video: 0 GPU OpenCL device(s) on Intel(R) OpenCL [OpenCL 1.2] (Intel(R) Corporation)
21:51:56.746 [i): Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.0.0] (Mesa)
21:51:56.746 [i): Video: 1 GPU OpenCL device(s) on AMD Accelerated Parallel Processing [OpenCL 2.1 AMD-APP (2766.4)] (Advanced Micro Devices, Inc.)

It is very strange. You have 2 GPUs but 4 OpenCL drivers. One GPU needs only one OpenCL.

252

Re: SVP 4 Linux

SVP 4 Linux, installed using the svp aur package in Arch Linux.
RX 580 gpu with mesa drivers, unable to use GPU acceleration.

15:46:31.179 [i]: Main: starting up SVP 4 Linux [4.3.0.157]... 
15:46:31.181 [i]: Main: args: none
15:46:31.182 [i]: Main: working dir is /opt/svp/
15:46:31.183 [i]: Main: data dir set to /home/michael/.local/share/SVP4/
15:46:31.191 [i]: Settings: loading reg.cfg OK
15:46:31.193 [i]: Settings: loading main.cfg OK
15:46:31.194 [i]: Settings: loading ui.cfg OK
15:46:31.195 [i]: Settings: loading frc.cfg OK
15:46:31.197 [i]: Settings: loading profiles.cfg OK
15:46:31.198 [i]: Settings: loading custom.cfg OK
15:46:31.199 [i]: Settings: loading lights.cfg OK
15:46:31.200 [i]: Main: using Qt 5.12.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.2.1 20181127)
15:46:31.200 [i]: Main: device scale is 1, user defined scale is 1
15:46:31.202 [i]: Main: system locale is [en]
15:46:31.203 [i]: Main: preferred language is [en-us]
15:46:31.209 [i]: Main: setting language file to en.qm...
15:46:31.377 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
15:46:31.381 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.155
15:46:31.460 [i]: Main: VLC filter (64 bit): 0.9.0.155
15:46:31.461 [i]: Main: running OpenCL info...
15:46:31.472 [i]: Main: collecting system information...
15:46:31.481 [i]: OS: Linux 5.0.3-zen1-2-zen #1 ZEN SMP PREEMPT Tue Mar 19 21:18:53 UTC 2019 x86_64
15:46:31.531 [i]: Desktop environment: /usr/bin/gdm / budgie-desktop / budgie:gnome
15:46:31.548 [i]: CPU: Intel Core i3-6100 [base frequency 3700 MHz, 4 threads]
15:46:31.548 [i]: Video: reading OpenCL info...
15:46:31.817 [i]: Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.0.0] (Mesa)
15:46:31.818 [i]: Video 1: device name 'Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 5.0.3-zen1-2-zen, LLVM 7.0.1)' (AMD, ver.19.0.0) [gpuID=11]: NOT SUPPORTED
15:46:31.819 [i]: Memory:  7919  MB total,  6935 MB free
15:46:31.819 [i]: System: finding network settings...
15:46:31.984 [i]: Screens: updating information, 2 screen(s) found
15:46:32.006 [i]: Screens: screen 0 (HDMI-A-0) - 1920x1080 @60.000 Hz, x1.0 [92 DPI]
15:46:32.006 [i]: Screens: screen 1 (DVI-D-0) - 1280x1024 @60.000 Hz, x1.0 [96 DPI]
15:46:32.006 [i]: Screens: primary screen is 0
15:46:32.197 [i]: Main: preparing video profiles...
15:46:32.663 [i]: Main: preparing performance graphs...
15:46:32.811 [i]: Main: preparing mpv...
15:46:32.885 [i]: Main: preparing remote control...
15:46:32.885 [i]: RemoteControl: started
15:46:32.886 [i]: Main: preparing main menu...
15:46:32.950 [i]: Main: loading extensions...
15:46:32.964 [i]: Extensions: found svpcast 1.0.0.156 ...
15:46:32.966 [i]: Settings: loading cast.cfg OK
15:46:32.974 [i]: Streaming: Web UI started at http://192.168.1.53:9900
15:46:32.975 [i]: Streaming: Avahi service is not available, AppleTVs are probably not discoverable
15:46:33.028 [i]: Extensions: found svplight 2.0.0.156 ...
15:46:33.030 [i]: Settings: loading leds.cfg OK
15:46:33.143 [i]: Main: initialization completed in 1673 ms
15:46:33.346 [i]: Updates: checking now...
15:46:36.809 [i]: Performance: quick estimation = 570 (previous value was 716)
15:47:13.719 [i]: Performance: motion vectors estimation = 1504
15:47:24.226 [i]: Performance: CPU-based frame rendering = 2263

Re: SVP 4 Linux

MAG79 wrote:

> SVSmoothFps: unable to init GPU-based renderer - code 327674
This error means CL_OUT_OF_HOST_MEMORY while call clCreateCommandQueue()
I hear about this error only once two years ago. I have no information if it was fixed and how.
We do not have AMD Radeon HD 7700M Series to check. But you can google this error. Perhaps it can be fixed by drivers change.

21:51:56.743 [i): Video: 1 GPU OpenCL device(s) on Intel Gen OCL Driver [OpenCL 2.0 beignet 1.4 (git-fc5f430c)] (Intel)
21:51:56.746 [i): Video: 0 GPU OpenCL device(s) on Intel(R) OpenCL [OpenCL 1.2] (Intel(R) Corporation)
21:51:56.746 [i): Video: 1 GPU OpenCL device(s) on Clover [OpenCL 1.1 Mesa 19.0.0] (Mesa)
21:51:56.746 [i): Video: 1 GPU OpenCL device(s) on AMD Accelerated Parallel Processing [OpenCL 2.1 AMD-APP (2766.4)] (Advanced Micro Devices, Inc.)

It is very strange. You have 2 GPUs but 4 OpenCL drivers. One GPU needs only one OpenCL.

It doesn't matter which OpenCL drivers I use or have installed, none are accepted for benchmarking or usage.

Re: SVP 4 Linux

It crashes when I open the 4K HDR movie with it.
OS: Manjaro Linux
GPU: AMD RX580
vainfo: VA-API version: 1.4 (libva 2.4.1)
vainfo: Driver version: Mesa Gallium driver 19.0.4 for Radeon RX 580 Series (POLARIS10, DRM 3.30.0, 5.1.3-2-MANJARO, LLVM 8.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointEncSlice
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointEncSlice
      VAProfileHEVCMain               :    VAEntrypointVLD
      VAProfileHEVCMain               :    VAEntrypointEncSlice
      VAProfileHEVCMain10             :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc

Re: SVP 4 Linux

run mpv from console, see the output

256 (edited by s9209122222 22-05-2019 12:34:01)

Re: SVP 4 Linux

Chainik wrote:

run mpv from console, see the output

[user@user-PC 敦克爾克大行動]$ mpv --no-config --hwdec=vaapi-copy --input-ipc-server=/tmp/mpvsocket movie.mkv 
Playing: movie.mkv
 (+) Video --vid=1 (*) (hevc 3840x2160 23.976fps)
 (+) Audio --aid=1 --alang=eng (*) (dts 6ch 48000Hz)
     Subs  --sid=1 --slang=eng 'SDH' (hdmv_pgs_subtitle)
     Subs  --sid=2 --slang=fre (hdmv_pgs_subtitle)
     Subs  --sid=3 --slang=ita (hdmv_pgs_subtitle)
     Subs  --sid=4 --slang=dut (hdmv_pgs_subtitle)
     Subs  --sid=5 --slang=chi (hdmv_pgs_subtitle)
     Subs  --sid=6 --slang=chi (hdmv_pgs_subtitle)
     Subs  --sid=7 --slang=chi (hdmv_pgs_subtitle)
     Subs  --sid=8 --slang=kor (hdmv_pgs_subtitle)
     Subs  --sid=9 --slang=ara (hdmv_pgs_subtitle)
     Subs  --sid=10 --slang=hrv (hdmv_pgs_subtitle)
     Subs  --sid=11 --slang=cze (hdmv_pgs_subtitle)
     Subs  --sid=12 --slang=dan (hdmv_pgs_subtitle)
     Subs  --sid=13 --slang=fin (hdmv_pgs_subtitle)
     Subs  --sid=14 --slang=gre (hdmv_pgs_subtitle)
     Subs  --sid=15 --slang=heb (hdmv_pgs_subtitle)
     Subs  --sid=16 --slang=hun (hdmv_pgs_subtitle)
     Subs  --sid=17 --slang=nor (hdmv_pgs_subtitle)
     Subs  --sid=18 --slang=pol (hdmv_pgs_subtitle)
     Subs  --sid=19 --slang=por (hdmv_pgs_subtitle)
     Subs  --sid=20 --slang=rum (hdmv_pgs_subtitle)
     Subs  --sid=21 --slang=rus (hdmv_pgs_subtitle)
     Subs  --sid=22 --slang=swe (hdmv_pgs_subtitle)
     Subs  --sid=23 --slang=tha (hdmv_pgs_subtitle)
     Subs  --sid=24 --slang=tur (hdmv_pgs_subtitle)
Using hardware decoding (vaapi-copy).
AO: [pulse] 48000Hz 5.1(side) 6ch s16
VO: [gpu] 3840x2160 p010
AV: 00:00:02 / 01:46:38 (0%) A-V:  0.000
[autoconvert] Converting p010 -> yuv420p10
程式記憶體區段錯誤 (核心已傾印)

The last line means "Segmentation fault (core dumped)"

Re: SVP 4 Linux

Does anyone have a compiled version of MPV with vapoursynth? I tried building it myself running into a plethora of issue.  Help would very much be appriciated

258 (edited by htbd2219 03-07-2019 12:59:08)

Re: SVP 4 Linux

I installed svp just fine, nothing weird happened. I run it with vlc and it's not working. Here is the svp log.

18:54:22.689 [i]: Main: starting up SVP 4 Linux [4.3.0.165]... 
18:54:22.690 [i]: Main: args: none
18:54:22.690 [i]: Main: working dir is /home/nhtr/SVP 4/
18:54:22.691 [i]: Main: data dir set to /home/nhtr/.local/share/SVP4/
18:54:22.691 [i]: Settings: loading reg.cfg OK
18:54:22.691 [i]: Settings: loading main.cfg OK
18:54:22.692 [i]: Settings: loading ui.cfg OK
18:54:22.692 [i]: Settings: loading frc.cfg OK
18:54:22.692 [i]: Settings: loading profiles.cfg OK
18:54:22.693 [i]: Settings: loading custom.cfg OK
18:54:22.693 [i]: Settings: loading lights.cfg OK
18:54:22.693 [i]: Main: using Qt 5.12.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 8.3.0)
18:54:22.693 [i]: Main: device scale is 1, user defined scale is 1
18:54:22.694 [i]: Main: system locale is [en]
18:54:22.694 [i]: Main: preferred language is [en-us]
18:54:22.696 [i]: Main: setting language file to en.qm...
18:54:22.698 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
18:54:22.698 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.165
18:54:22.699 [i]: Main: VLC filter (64 bit): 0.9.0.155
18:54:22.699 [i]: Main: running OpenCL info...
18:54:22.704 [i]: Main: collecting system information...
18:54:22.708 [i]: OS: Linux 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:32:09 UTC 2019 x86_64
18:54:22.721 [i]: Desktop environment:  / ubuntu / ubuntu:gnome
18:54:22.739 [i]: CPU: Intel Core i5-6500 [base frequency 3382 MHz, 4 threads]
18:54:22.740 [i]: Video: reading OpenCL info...
18:54:22.744 [i]: Video: 0 GPU OpenCL device(s) on Intel Gen OCL Driver [OpenCL 2.0 beignet 1.3] (Intel)
18:54:22.746 [i]: Memory:  7935  MB total,  6111 MB free
18:54:22.746 [i]: System: finding network settings...
18:54:22.763 [i]: Screens: updating information, 1 screen(s) found
18:54:22.763 [i]: Screens: screen 0 (HDMI-A-1) - 1920x1080 @69.000 Hz, x1.0 [92 DPI]
18:54:22.763 [i]: Screens: primary screen is 0
18:54:22.786 [i]: Main: preparing video profiles...
18:54:22.825 [i]: Main: preparing performance graphs...
18:54:22.868 [i]: Main: preparing mpv...
18:54:22.877 [i]: VLC: installed Vapoursynth plugin: 0.9.0.155
18:54:22.878 [i]: Main: preparing remote control...
18:54:22.878 [i]: RemoteControl: started
18:54:22.879 [i]: Main: preparing main menu...
18:54:22.896 [i]: Main: loading extensions...
18:54:22.947 [i]: Main: initialization completed in 244 ms
18:54:22.982 [i]: Updates: checking now...
18:54:25.714 [i]: Performance: quick estimation = 668 (previous value was 659)
18:54:37.557 [i]: VideoPlayer: VLC connected, waiting for the video info...
18:54:37.567 [E]: VLC: unsupported color format, switch to software video decoder
18:54:37.567 [E]: VLC: unsupported color format, switch to software video decoder
18:54:37.587 [E]: VLC: unsupported color format, switch to software video decoder
18:54:37.587 [E]: VLC: unsupported color format, switch to software video decoder
18:54:37.688 [E]: VLC: unsupported color format, switch to software video decoder
18:54:37.749 [E]: VLC: unsupported color format, switch to software video decoder
18:54:37.780 [E]: VLC: unsupported color format, switch to software video decoder
...

Re: SVP 4 Linux

the last line repeated 7 times should give you a hint

Re: SVP 4 Linux

clx_ wrote:
...
15:46:31.818 : Video 1: device name 'Radeon RX 580 Series (POLARIS10, DRM 3.27.0, 5.0.3-zen1-2-zen, LLVM 7.0.1)' (AMD, ver.19.0.0) [gpuID=11]: NOT SUPPORTED
...

I also have this problem, any fixes for it coming soon...?

Re: SVP 4 Linux

https://github.com/RadeonOpenCompute/RO … /issues/59

Image support is supplied by a closed-source component of the ROCr runtime (libhsa-ext-image64.so) that is part of the hsa-ext-rocr-dev package

Re: SVP 4 Linux

I got a problem building Vapoursynth on a clean Ubuntu 18.04.

The guide said

# Cython for Python3. !!! Vapoursynth requires Cython >= 0.28 !!!
sudo apt-get install cython3

But when I did cython3 -V it says 0.26????

Vapoursynth now won't compile because of that error

Re: SVP 4 Linux

I did so:

$ pip install Cython

...
Successfully installed Cython-0.29.14

264 (edited by AutumQueen92 26-12-2019 13:34:38)

Re: SVP 4 Linux

avebox wrote:

I did so:

$ pip install Cython

...
Successfully installed Cython-0.29.14


Thanks, I redid everything and it built. Now I've got a new problem.
MPV built with vapoursynth works, but no audio output. Logs are below.

Forgot to add, this happens even if SVP is disabled.

Post's attachments

SVP.zip 8.18 kb, 256 downloads since 2019-12-26 

Re: SVP 4 Linux

> no audio output

https://www.svp-team.com/forum/viewtopic.php?id=5532

Re: SVP 4 Linux


Thanks! All is well with the 60fps world again.

267 (edited by lukesamuel 02-01-2020 10:41:52)

Re: SVP 4 Linux

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

268 (edited by lukesamuel 03-01-2020 13:36:18)

Re: SVP 4 Linux

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

Re: SVP 4 Linux

It should work, at least it works on Windows...
If you run actual video in mpv with SVP it'll give more verbose error code.

270 (edited by lukesamuel 24-01-2020 17:46:15)

Re: SVP 4 Linux

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

Post's attachments

SVP-assessing_system_performance_activelog.log 6.3 kb, 249 downloads since 2020-01-24 

SVP_mpv_debug.log 156.99 kb, 266 downloads since 2020-01-24 

Re: SVP 4 Linux

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.

272

Re: SVP 4 Linux

mpv on Arch (svp installed from AUR; both mpv-full and mpv-full-git tested) seems to crash with

free(): invalid pointer

on all video files I have tested.

mpv command line:

mpv --no-config --input-ipc-server=/tmp/mpvsocket --hwdec=no --resume-playback=no ~/Downloads/A.Certain.Scientific.Railgun.S01E09.1080p-Hi10p.BluRay.FLAC5.1.x264-CTR.\[0225EA9C\].mkv

The crash also happens if I replace

input-ipc-server

with

--vf-add=vapoursynth=$HOME/.local/share/SVP4/scripts/ca386e69.py:4:25

.

Stack trace using gdb is as follows.

(gdb) bt
#0  0x00007ffff49f7f25 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff49e1897 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff4a3b258 in __libc_message () at /usr/lib/libc.so.6
#3  0x00007ffff4a4277a in  () at /usr/lib/libc.so.6
#4  0x00007ffff4a4414c in _int_free () at /usr/lib/libc.so.6
#5  0x00007fff3b28e91f in Json::Reader::~Reader() () at /opt/svp/plugins/libsvpflow1_vs64.so
#6  0x00007fff3b28e121 in MVSuper_VS::create(VSMap const*, VSMap*, void*, VSCore*, VSAPI const*) () at /opt/svp/plugins/libsvpflow1_vs64.so
#7  0x00007ffff4d03a3e in  () at /usr/lib/libvapoursynth.so
#8  0x00007ffff4cf5e49 in  () at /usr/lib/libvapoursynth.so
#9  0x00007fff487ab32e in  () at /usr/lib/python3.8/site-packages/vapoursynth.so
#10 0x00007fffd3722ad2 in _PyObject_MakeTpCall () at /usr/lib/libpython3.8.so.1.0
#11 0x00007fffd37df7f4 in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#12 0x00007fffd37c906d in _PyFunction_Vectorcall () at /usr/lib/libpython3.8.so.1.0
#13 0x00007fffd37dac8c in _PyEval_EvalFrameDefault () at /usr/lib/libpython3.8.so.1.0
#14 0x00007fffd37c7e3b in _PyEval_EvalCodeWithName () at /usr/lib/libpython3.8.so.1.0
#15 0x00007fffd38513d3 in PyEval_EvalCode () at /usr/lib/libpython3.8.so.1.0
#16 0x00007fff48794d04 in vpy_evaluateScript () at /usr/lib/python3.8/site-packages/vapoursynth.so
#17 0x00007fff487980bc in vpy_evaluateFile () at /usr/lib/python3.8/site-packages/vapoursynth.so
#18 0x00007ffff4db8998 in vsscript_evaluateFile () at /usr/lib/libvapoursynth-script.so.0
#19 0x000055555564a154 in  ()
#20 0x000055555564955f in  ()
#21 0x00005555555de372 in  ()
#22 0x00005555555de3c9 in  ()
#23 0x00005555555de5ca in  ()
#24 0x00005555555de64d in  ()
#25 0x0000555555600538 in  ()
#26 0x0000555555624f05 in  ()
#27 0x000055555561c049 in  ()
#28 0x000055555561c4aa in  ()
#29 0x0000555555620409 in  ()
#30 0x00007ffff49e3153 in __libc_start_main () at /usr/lib/libc.so.6
#31 0x000055555559729e in  ()

Running mpv with

MALLOC_CHECK_=0

did not help.

On the other hand, VLC works just fine.

DId I miss anything?

273 (edited by lukesamuel 28-01-2020 22:05:11)

Re: SVP 4 Linux

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."

Post's attachments

MPV_debug.log 164.82 kb, 243 downloads since 2020-01-28 

274 (edited by lukesamuel 28-01-2020 22:05:20)

Re: SVP 4 Linux

Logs now attached above.

275 (edited by TheWP 29-01-2020 07:43:23)

Re: SVP 4 Linux

TheWP wrote:

mpv on Arch (svp installed from AUR; both mpv-full and mpv-full-git tested) seems to crash with

free(): invalid pointer

on all video files I have tested.
...

Turns out this was fixed after switching from ffmpeg-full-git to ffmpeg for whatever reason.