176 (edited by freezoid 16-08-2017 16:07:38)

Re: SVP 4 Linux

sudo add-apt-repository ppa:djcj/vapoursynth
sudo apt-get update
sudo apt-get install mpv libass5

purged and installed mpv (2:0.15.0+git7~trusty) again

Option vf-add: vapoursynth doesn't exist.

Re: SVP 4 Linux

please read the instructions at last
all your questions starting from the very first one are there

Re: SVP 4 Linux

ok I solved the riddle by installing proper mpv... I did not expect it will install wrong version anyway!
and another problem...

[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: SVSmoothFps: unable to init GPU-based renderer - code 65536
[vapoursynth]
[vapoursynth] Traceback (most recent call last):
[vapoursynth]   File "src/cython/vapoursynth.pyx", line 1810, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:36455)
[vapoursynth]   File "/home/bartek/.local/share/SVP4/scripts/738f1c1e.py", line 53, in <module>
[vapoursynth]     smooth =  interpolate(clip)
[vapoursynth]   File "/home/bartek/.local/share/SVP4/scripts/738f1c1e.py", line 36, in interpolate
[vapoursynth]     smooth  = core.svp2.SmoothFps(input_m,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params,src=input_um,fps=src_fps)
[vapoursynth]   File "src/cython/vapoursynth.pyx", line 1702, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:34595)
[vapoursynth] vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 65536
[vapoursynth]

will it ever end?

Re: SVP 4 Linux

> will it ever end?

(facepalm) RTFM!

6. (recommended) Proprietary video drivers including OpenCL ICD
...
For GPU acceleration support use proprietary video drivers with (probably) some additional modules - search for "OpenCL ICD". For example in case of NV cards "nvidia-modprobe" package is needed for OpenCL to work. Check the installation with utils/clinfo.

180 (edited by laichiaheng 13-09-2017 01:39:16)

Re: SVP 4 Linux

SVP can't read the framerate from a wmv video, my profile will be applied although I don't want it to.

09:29:48.864 [i]: VideoPlayer: mpv connected, waiting for the video info...
09:29:49.394 [i]: VideoPlayer: mpv 0.26.0-225-g9f0e358827
09:29:49.420 [i]: Media: video 1920x1080 [PAR 1.000] at 0.000 fps [constant]
09:29:49.420 [W]: Media: source frame rate is unknown!
09:29:49.420 [i]: Media: codec type is WMV2, 8 bits
09:29:49.434 [i]: Playback: starting up...
09:29:49.438 [i]: Playback [559f8a34]: resulting video frame 1920x1080
09:29:49.439 [i]: Playback [559f8a34]: 2 acceptible profiles, best is '啟用' [170]
09:29:49.439 [i]: Playback [559f8a34]: enabled while video is playing
09:29:49.449 [W]: Playback [559f8a34]: playing at double rate, source frame rate unknown
09:29:52.679 [i]: Playback [559f8a34]: disabled while video is playing

MPV player can read the framerate without problem

[user@user-PC 下載]$ mpv video.wmv 
Playing: video.wmv
 (+) Video --vid=1 (wmv2 1920x1080 59.940fps)
 (+) Audio --aid=1 (wmav2 2ch 44100Hz)
AO: [pulse] 44100Hz stereo 2ch float
VO: [opengl] 1920x1080 yuv420p
[auto_profiles] Applying profile FHDoff 
AV: 00:00:01 / 00:24:08 (0%) A-V: -0.013 DS: 1.000/1 Dropped: 1
[osd/libass] fontselect: Using default font family: (Source Sans Pro, 400, 0) -> /usr/share/fonts/noto/NotoSansCJK-Regular.ttc, 3, NotoSansCJKtc-Regular
[osd/libass] fontselect: Using default font family: (Source Sans Pro, 700, 0) -> /usr/share/fonts/noto/NotoSansCJK-Regular.ttc, 3, NotoSansCJKtc-Regular
AV: 00:24:08 / 00:24:08 (99%) A-V:  0.000 DS: 1.000/0


Exiting... (End of file)

Re: SVP 4 Linux

Hello. I've recently switched over from Windows 10 to Linux Mint. I got Mpv and SMPlayer running SVP without any trouble, but VLC will not work. When I check the 'SVP in VLC' box in utilities, attempting to run a video will cause the player to crash immediately. Vapoursynth shows up in video/filters, but checked or not, the player still crashes; same is true for video/deinterlacing. I'm at a loss of what to do.

In any case, mpv and SMPlayer run beautifully. There is zero stuttering, a problem I always had with SVP in Windows 10. I don't need VLC, but would still like to know what I did wrong. Perhaps it would help someone else in the same situation.

Thanks.

Re: SVP 4 Linux

rdja27

and the VLC version is... ?

laichiaheng

thanks for reporting, hope this one can be fixed in the next release

Re: SVP 4 Linux

Versions 2.2.7 and 2.2.2 were the initial ones that I tried. After reading your post, I tried version 2.2.6. It did not crash like the others, but that's because Vapoursynth didn't appear in the filters.

184 (edited by Veux 06-10-2017 10:15:52)

Re: SVP 4 Linux

I have an XPS15 9550 with optimus graphics. I'm trying to get SVP working with optirun. I have nvidia-387, bumblebee, bumblebee-nvidia, primus, nvidia-opencl-icd-387, and nvidia-modprobe for nvidia opencl, and beignet-opencl-icd for intel opencl.

clinfo shows: Intel(R) HD Graphics Skylake Halo GT2.
optirun clinfo shows both Intel(R) HD Graphics Skylake Halo GT2 ... GeForce GTX 960M ... Device Version    OpenCL 1.2 CUDA

I have run luxmark with and without optirun, and it behaves as expceted, both igpu and dgpu show up and work with optirun, so opencl appears to be set up correctly for both GPUs.

If I run SVPManager, Intel(R) HD Graphics Skylake Halo GT2 is detected, but when I assess system performance, it fails on the intel gpu with:

20:47:26.975 [W]: Video [gpuID=11] initialization failed
20:47:26.975 [W]: Performance: GPU-based frame rendering [gpuID=11] FAILED

and videos seem to default to cpu rendering when the intel gpu is selected, because cpu use is ~75% when I select the intel gpu and when I select cpu rendering.

I had to add "alias nvidia-uvm nvidia-387-uvm" to /etc/modprobe.d/bumblebee.conf to get the 960M to show up at all in svp with "optirun SVPManager".
If i run optimus SVPManager both Intel(R) HD Graphics Skylake Halo GT2 and GeForce GTX 960M are found, and assess system performance works for the 960M, but playing videos with mpv defaults to cpu rendering yet again and the log file shows:

04:20:51.153 [i]: Playback [f8c72de1]: playing at 59.94 [23.976 *5/2] 
04:20:51.331 [E]: Playback [f8c72de1]: VS - Script evaluation failed:
04:20:51.331 [E]: Playback [f8c72de1]: VS - Python exception: SVSmoothFps: unable to init GPU-based renderer - code 65536
04:20:51.332 [E]: Playback [f8c72de1]: VS - Traceback (most recent call last):
04:20:51.332 [E]: Playback [f8c72de1]: VS - File 'src/cython/vapoursynth.pyx', line 1810, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:36455)
04:20:51.332 [E]: Playback [f8c72de1]: VS - File '/home/cake/.local/share/SVP4/scripts/f8c72de1.py', line 53, in <module>
04:20:51.332 [E]: Playback [f8c72de1]: VS - smooth = interpolate(clip)
04:20:51.332 [E]: Playback [f8c72de1]: VS - File '/home/cake/.local/share/SVP4/scripts/f8c72de1.py', line 36, in interpolate
04:20:51.332 [E]: Playback [f8c72de1]: VS - smooth = core.svp2.SmoothFps(input_m,super['clip'],super['data'],vectors['clip'],vectors['data'],smoothfps_params,src=input_um,fps=src_fps)
04:20:51.332 [E]: Playback [f8c72de1]: VS - File 'src/cython/vapoursynth.pyx', line 1702, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:34595)
04:20:51.332 [E]: Playback [f8c72de1]: VS - vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 65536
04:20:51.381 [E]: Playback [f8c72de1]: VS - Script evaluation failed:
04:20:51.381 [E]: Playback [f8c72de1]: VS - Python exception: SVSmoothFps: unable to init GPU-based renderer - code 65536
04:20:51.381 [E]: Playback [f8c72de1]: VS - Traceback (most recent call last):
04:20:51.381 [E]: Playback [f8c72de1]: VS - File 'src/cython/vapoursynth.pyx', line 1810, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:36455)
04:20:51.381 [E]: Playback [f8c72de1]: VS - File '/home/cake/.local/share/SVP4/scripts/f8c72de1.py', line 53, in <module>
04:20:51.381 [E]: Playback [f8c72de1]: VS - smooth = interpolate(clip)
04:20:51.381 [E]: Playback [f8c72de1]: VS - File '/home/cake/.local/share/SVP4/scripts/f8c72de1.py', line 36, in interpolate
04:20:51.381 [E]: Playback [f8c72de1]: VS - smooth = core.svp2.SmoothFps(input_m,super['clip'],super['data'],vectors['clip'],vectors['data'],smoothfps_params,src=input_um,fps=src_fps)
04:20:51.382 [E]: Playback [f8c72de1]: VS - File 'src/cython/vapoursynth.pyx', line 1702, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:34595)
04:20:51.382 [E]: Playback [f8c72de1]: VS - vapoursynth.Error: SVSmoothFps: unable to init GPU-based renderer - code 65536

So I'm unable to get either GPU working with SVP. I wonder if vapoursynth is being run somehow without being under 'optirun' and thus it can't find the nvidia opencl device? I have no idea what could be wrong with the intel gpu.

Re: SVP 4 Linux

What if run mpv manually under "optirun"?

186 (edited by Veux 06-10-2017 16:35:39)

Re: SVP 4 Linux

It makes no difference whether I try to run mpv with the SVPManager gui option, in a terminal with mpv, or in a terminal with optirun mpv, for all cases. Also, the error given when trying to use the 960M with SVP is only reported once, after the SVP settings are cleared to default.  After the first failure, SVP silently reverts to cpu rendering every time, ignoring the gpu acceleration setting. I'm not sure if that behavior is normal.

I forgot one big thing.  The 960M does not show up at all in svp with "optirun SVPManager" unless I add "alias nvidia-uvm nvidia-387-uvm" to /etc/modprobe.d/bumblebee.conf

Edit:
I finally managed to fix this. If anyone stumbles on this from google, I fixed it by installing the cuda toolkit .deb from nvidia's developer website https://developer.nvidia.com/cuda-relea … e-download rather than the cuda toolkit in the repos. This also reverted my drivers to 384. Install it with:

sudo dpkg -i cuda-repo-*.deb
sudo apt-key add /var/cuda-repo-*/7fa2af80.pub
sudo apt-get update
sudo apt-get install cuda

In /etc/modprobe.d/ add: blacklist nvidia-384-drm or whatever driver version it is you're using. Don't use the alias from my previous posts.

Before running svp, use:

sudo prime-select nvidia

I have no idea why luxmark was able to work while svp failed with my previous setup... shrug. This also fixed the intel igpu problems. Hope this helps someone.

Re: SVP 4 Linux

> The 960M does not show up at all in svp with "optirun SVPManager" unless I add "alias nvidia-uvm nvidia-387-uvm" to /etc/modprobe.d/bumblebee.conf

and this's why SVP 4 Linux is free big_smile

188 (edited by scabrera 27-11-2017 03:26:09)

Re: SVP 4 Linux

SVP was working perfect on Ubuntu 17.10 but when I downgraded to 16.04 I just get

22:19:35.433 [E]: Playback [960dd23]: VS - Could not initialize VapourSynth scripting.

Hardware Info:

CPU: Intel i7 3930k 6 Core
GPU: NVIDIA GeForce 1060 6GB

mpv info:

Package: mpv
Status: install ok installed
Priority: optional
Section: video
Installed-Size: 21012
Maintainer: djcj <djcj@gmx.de>
Architecture: amd64
Version: 1:0.27.0-1~xenial
Depends: libasound2 (>= 1.0.27), libass5, libbluray1 (>= 1:0.2.2), libc6 (>= 2.16), libcdio-cdda1 (>= 0.83), libcdio-paranoia1 (>= 0.83), libcdio13 (>= 0.83), libdrm2 (>= 2.4.25), libegl1-mesa (>= 7.8.1) | libegl1-x11, libgl1-mesa-glx | libgl1, libgnutls30 (>= 3.4.2), libgsm1 (>= 1.0.13), libjack-jackd2-0 (>= 1.9.5~dfsg-14) | libjack-0.116, libjpeg8 (>= 8c), liblcms2-2 (>= 2.6), liblua5.2-0, libmp3lame0, libopencore-amrnb0, libopencore-amrwb0, libopus0 (>= 1.1), libpulse0 (>= 0.99.4), librubberband2v5, libsdl2-2.0-0 (>= 2.0.4), libsndio6.1 (>= 1.1.0), libspeex1 (>= 1.2~beta3-1), libtheora0 (>= 1.0), libva-drm1 (>= 1.1.0), libva-wayland1 (>= 1.3.0), libva-x11-1 (>= 1.0.3), libva1 (>= 1.4.0), libvapoursynth-script0, libvdpau1 (>= 0.2), libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), libwavpack1 (>= 4.40.0), libwayland-client0 (>= 1.9.91), libwayland-cursor0 (>= 1.0.2), libwayland-egl1-mesa (>= 10.0.2) | libwayland-egl1, libx11-6, libx264-148, libxcb-shape0, libxcb-xfixes0, libxcb1, libxext6, libxinerama1, libxkbcommon0 (>= 0.5.0), libxrandr2 (>= 2:1.2.99.2), libxss1, libxv1, libxvidcore4 (>= 1.2.2), zlib1g (>= 1:1.2.0.2), libvapoursynth

Re: SVP 4 Linux

Got SVP working perfectly on Antergos 17.11, but can't figure out how to run SVPTube for the life of me. It doesn't launch automatically with the main application, and clicking on the "Additional programs and features" menu option doesn't seem to do anything.

Re: SVP 4 Linux

check dependencies of extensions/libsvptube.so
hint: python 3.6

191 (edited by Crankshaft 27-11-2017 22:29:06)

Re: SVP 4 Linux

Had 3.63 installed. Uninstalled/reinstalled just to see what would happen, SVPtube works now.

Must've screwed up Python during some uninstall/reinstall recently.

192 (edited by labre 08-12-2017 17:49:07)

Re: SVP 4 Linux

Has anyone managed to get Intel OpenCL GPU support using beignet to work?
It is detected using ICD, but the system performance assessment always fails immediately when starting to test GPU OCL.

I have a Haswell desktop CPU with HD 4600 and a Skylake Ultrabook with a little bit more capabilities. Both do not work.

piglit tests on Skylake did work mostly. (400 fails, 11 crashes out of 12000)

Versions:
beignet-1.3.2 (tried also 1.3.1, git)
beignet is configured with experimental OpenCL2 support.
ocl-icd-2.2.11
mpv is not involved for this test, but CPU based rendering works.

SVP log:

18:13:57.045 [i]: Main: starting up SVP 4 Linux [4.2.0.122]... 
18:13:57.046 [i]: Main: args: none
18:13:57.046 [i]: Main: working dir is /home/manu/SVP 4/
18:13:57.046 [i]: Main: data dir set to /home/manu/.local/share/SVP4/
18:13:57.046 [i]: Settings: loading reg.cfg OK
18:13:57.047 [i]: Settings: loading main.cfg OK
18:13:57.047 [i]: Settings: loading ui.cfg OK
18:13:57.047 [i]: Settings: loading frc.cfg OK
18:13:57.047 [i]: Settings: loading profiles.cfg OK
18:13:57.047 [i]: Settings: loading custom.cfg OK
18:13:57.048 [i]: Settings: loading lights.cfg OK
18:13:57.048 [i]: Main: using Qt 5.7.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.4.0)
18:13:57.048 [i]: Main: device scale is 1, user defined scale is 1
18:13:57.048 [i]: Main: system locale is [de]
18:13:57.048 [i]: Main: preferred language is [de-de]
18:13:57.050 [i]: Main: setting language file to de.qm...
18:13:57.051 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.2.0.133
18:13:57.052 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.2.0.142
18:13:57.053 [i]: Main: VLC filter (64 bit): 0.9.0.114
18:13:57.053 [i]: Main: running OpenCL info...
18:13:57.055 [i]: D-Bus system tray: no
18:13:57.056 [i]: Main: collecting system information...
18:13:57.058 [i]: OS: Linux 4.12.12-gentoo #2 SMP PREEMPT Sun Sep 17 21:00:03 CEST 2017 x86_64
18:13:57.067 [i]: Desktop environment: /usr/bin/slim / 
18:13:57.069 [i]: CPU: Intel Core i5-4570 [base frequency 3539 MHz, 4 threads]
18:13:57.069 [i]: Video: reading OpenCL info...
18:13:57.169 [i]: Video: 1 GPU OpenCL device(s) on Intel Gen OCL Driver [OpenCL 2.0 beignet 1.3] (Intel)
18:13:57.170 [i]: Video 1: device name 'Intel(R) HD Graphics Haswell GT2 Desktop' (Intel, ver.1.3) [gpuID=11]: OK
18:13:57.171 [i]: Memory:  6983  MB total,  5301 MB free
18:13:57.172 [i]: System: finding network settings...
18:13:57.197 [i]: Power: AC is ON [1]
18:13:57.205 [i]: Screens: updating information, 1 screen(s) found
18:13:57.205 [i]: Screens: screen 0 (DP-1) - 1920x1200 @60.000 Hz, x1.7 [84 DPI]
18:13:57.205 [i]: Screens: primary screen is 0
18:13:57.217 [i]: Main: preparing FRC profiles...
18:13:57.254 [i]: Main: preparing performance graphs...
18:13:57.291 [i]: Main: preparing mpv...
18:13:57.303 [i]: Main: preparing remote control...
18:13:57.303 [i]: RemoteControl: started
18:13:57.304 [i]: Main: preparing main menu...
18:13:57.325 [i]: Main: loading extensions...
18:13:57.328 [i]: Extensions: found svpcode 0.9.0.122 ...
18:13:57.329 [i]: Settings: loading code.cfg OK
18:13:57.346 [i]: Extensions: found svplight 2.0.0.115 ...
18:13:57.347 [i]: Settings: loading leds.cfg OK
18:13:57.389 [i]: Main: initialization completed in 334 ms
18:13:57.627 [i]: Updates: checking now...
18:14:00.258 [i]: Performance: quick estimation = 575 (previous value was 597)
18:14:24.901 [i]: Performance: motion vectors estimation = 2277
18:14:35.411 [i]: Performance: CPU-based frame rendering = 3105
18:14:35.479 [W]: Video [gpuID=11] initialization failed
18:14:35.484 [W]: Performance: GPU-based frame rendering [gpuID=11] FAILED

clinfo:

Number of platforms                               1
  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                                   Intel Gen OCL Driver
Number of devices                                 1
  Device Name                                     Intel(R) HD Graphics Haswell GT2 Desktop
  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
  Max compute units                               20
  Max clock frequency                             1000MHz
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None, None, None
  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
  Global Memory cache line                        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 bytes
    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 constant buffer size                        134217728 (128MiB)
  Max number of constant args                     8
  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;
  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_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

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]
  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 Haswell GT2 Desktop
  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 Haswell GT2 Desktop

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

Re: SVP 4 Linux

if you run mpv with SVP enabled it will give an error code

194 (edited by labre 08-12-2017 20:40:44)

Re: SVP 4 Linux

Can’t seem to find one. So the error with the performance test is a false alarm? I didn’t test beignet-1.3.2 for so long and was using git version before. After ca. 30 seconds beignet messes up and freezes the whole computer including the reset button. Fun fact: The mainboard was manufactured by Intel, so it is messing up simultaneously on several levels.
Anyway, the git version seems to work. The main reason for the post was, that the performance on my Ultrabook was low, but I guess the CPU, which throttles at a temperature threshold, is the bottleneck there. Would you agree?

mpv.log: Shortened a bit to spare you from the duplicate lines. Searched for “code” before truncating it.

Playing: https://www.youtube.com/watch?v=*
 (+) Video --vid=1 (*) (h264 1280x720 59.940fps)
 (+) Audio --aid=1 --alang=und (*) 'DASH audio' (aac 2ch 44100Hz) (external)
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
libva info: VA-API version 0.39.4
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
AO: [alsa] 48000Hz stereo 2ch float
Using hardware decoding (vaapi-copy).
VO: [opengl] 1280x720 nv12
AV: 00:00:00 / 00:02:49 (0%) A-V:  0.000 DS: 1.000/0 Cache:  9s+6KB
AV: 00:00:00 / 00:02:49 (0%) A-V: -0.011 DS: 0.667/0 Cache: 10s+54KB
(Paused) AV: 00:00:00 / 00:02:49 (0%) A-V:  0.003 DS: 0.778/0 Dropped: 2 Cache: 10s+670KB
Opening video filter: [vapoursynth file=/home/user/.local/share/SVP4/scripts/2f2a596b.py buffered-frames=4 concurrent-frames=23]
[ffmpeg] tls: The TLS connection was non-properly terminated.
Using conversion filter.
(Paused) AV: 00:00:00 / 00:02:49 (0%) A-V:  0.000 Cache:  0s+2MB
VO: [opengl] 1280x720 yuv420p
(Paused) AV: 00:00:00 / 00:02:49 (0%) A-V:  0.000 DS: 1.000/0 Cache: 10s+3MB
[ffmpeg] tls: The TLS connection was non-properly terminated.
AV: 00:00:33 / 00:02:49 (19%) A-V:  0.017 DS: 0.980/18 Dropped: 22 Cache: 10s+26MB
[vapoursynth] Filter error at frame 2040: EOF or filter reinit/uninit
AV: 00:00:33 / 00:02:49 (19%) A-V:  0.017 DS: 0.980/18 Dropped: 22 Cache: 10s+26MB
Opening video filter: [vapoursynth file=/home/manu/.local/share/SVP4/scripts/2f2a596b.py buffered-frames=4 concurrent-frames=23]
Using conversion filter.
AV: 00:00:33 / 00:02:49 (19%) A-V:  0.017 DS: 1.240/18 Dropped: 22 Cache: 10s+26MB
VO: [opengl] 1280x720 nv12
AV: 00:00:33 / 00:02:49 (19%) A-V:  0.036 DS: 1.240/0 Cache: 10s+26MB
VO: [opengl] 1080x720 yuv420p
AV: 00:00:34 / 00:02:49 (20%) A-V:  0.027 DS: 1.230/0 Cache: 10s+26MB
AV: 00:02:11 / 00:02:49 (77%) A-V:  0.013 DS: 1.000/45 Dropped: 60 Cache: 10s+10MB
[vapoursynth] Filter error at frame 5876: EOF or filter reinit/uninit
AV: 00:02:11 / 00:02:49 (77%) A-V:  0.012 DS: 1.000/45 Dropped: 60 Cache: 10s+10MB
Opening video filter: [vapoursynth file=/home/user/.local/share/SVP4/scripts/2f2a596b.py buffered-frames=4 concurrent-frames=23]
Using conversion filter.
AV: 00:02:11 / 00:02:49 (77%) A-V:  0.013 DS: 1.260/45 Dropped: 60 Cache: 10s+10MB
VO: [opengl] 1280x720 nv12
AV: 00:02:11 / 00:02:49 (77%) A-V:  0.014 DS: 1.260/0 Cache: 10s+10MB
VO: [opengl] 1280x720 yuv420p
AV: 00:02:12 / 00:02:49 (77%) A-V:  0.027 DS: 1.260/0 Cache: 10s+10MB
AV: 00:02:49 / 00:02:49 (99%) A-V:  0.000 DS: 0.970/16 Dropped: 22 Cache:  0s+0KB
[vapoursynth] Filter error at frame 2254: EOF or filter reinit/uninit
[vapoursynth] Error filtering frame.
[vapoursynth] Filter error at frame 2272: EOF or filter reinit/uninit
[vapoursynth] Error filtering frame.
[vapoursynth] Filter error at frame 2259: EOF or filter reinit/uninit
AV: 00:02:49 / 00:02:49 (99%) A-V:  0.000 DS: 0.970/16 Dropped: 22 Cache:  0s+0KB
[vapoursynth] Filter error at frame 2261: EOF or filter reinit/uninit
[vapoursynth] Error filtering frame.
[vapoursynth] Filter error at frame 2263: EOF or filter reinit/uninit
AV: 00:02:49 / 00:02:49 (99%) A-V:  0.000 DS: 0.970/16 Dropped: 22 Cache:  0s+0KB
[vapoursynth] Filter error at frame 2260: EOF or filter reinit/uninit
(Paused) AV: 00:02:49 / 00:02:49 (99%) A-V:  0.000 DS: 0.970/16 Dropped: 22 Cache:  0s+0KB


Exiting... (Quit)

Re: SVP 4 Linux

Hi im new and I can seem to understand why SVP wont even open. It seems to crash and when i do ldd SVPmanager, it returns as "not a dynamic executable"

On Ubuntu 16.4 , i5 with Quadro card


Help

Re: SVP 4 Linux

> On Ubuntu 16.4

is it 64-bit version?

197 (edited by labre 18-12-2017 11:51:42)

Re: SVP 4 Linux

Chainik wrote:

> On Ubuntu 16.4

is it 64-bit version?

In fact I get the same from ldd and SVP works. No idea, why ldd
fails. As chainik pointed out, a quick search reveals, that ldd
typically fails, when 32 bit support is missing on a 64 bit
operating system.  SVP is 64 bit though, so if you have that version and your OS is 64 bit, everything is fine. In a comment on stackoverflow it was however
mentioned, that readelf is more reliable in some cases. Also file
reports SVPManager as dynamically linked.

readelf -d gives:

 0x0000000000000001 (NEEDED)             Shared library: [libmediainfo.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Widgets.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Gui.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Qml.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Network.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Concurrent.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libQt5Core.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libstdc++.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x000000000000000f (RPATH)              Library rpath: [/opt/Qt5/5.5/gcc_64:/opt/Qt5/5.5/gcc_64/lib]

Do you have those dependencies installed?
Just do a quick search. Assuming "$HOME/SVP 4" as your installation directory.

cd ~/SVP\ 4
for lib in $(readelf -d SVPManager | grep NEEDED | sed -rne 's/^.*\[([^]]+)\]$/\1/p' | xargs -d '\n'); do find /usr/lib/x86_64-linux-gnu/ -name "*${lib}*" -printf "${lib}: %p\n"; done

Re: SVP 4 Linux

"[vapoursynth] Python exception: name 'video_in' is not defined"

any clue?

Re: SVP 4 Linux

this's a good question
have no idea hmm

Re: SVP 4 Linux

The whole thing is

apoursynth.Error: Internal environment id not set. Was get_core() called from a filter callback?
[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: name 'video_in' is not defined
[vapoursynth] 
[vapoursynth] Traceback (most recent call last):
[vapoursynth]   File "vapoursynth.pyx", line 1841, in vapoursynth.vpy_evaluateScript
[vapoursynth]   File "/home/xxxxx/.local/share/SVP4/scripts/f3a29ddc.py", line 10, in <module>
[vapoursynth]     clip = video_in
[vapoursynth] NameError: name 'video_in' is not defined
[vapoursynth] 
Video filter chain:
  [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
  [vapoursynth] "vapoursynth.00" 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264   <---
  [out] ???
AV: 00:00:04 / 00:21:33 (0%) A-V:  0.000 Cache: 10s+73MB

and on svp

mesa: for the -simplifycfg-sink-common option: may only occur zero or one times!
10:35:12.905 [E]: Playback [f3a29ddc]: VS - Script evaluation failed:
10:35:12.905 [E]: Playback [f3a29ddc]: VS - Python exception: name 'video_in' is not defined
10:35:12.905 [E]: Playback [f3a29ddc]: VS - Traceback (most recent call last):
10:35:12.905 [E]: Playback [f3a29ddc]: VS - File 'vapoursynth.pyx', line 1841, in vapoursynth.vpy_evaluateScript
10:35:12.905 [E]: Playback [f3a29ddc]: VS - File '/home/xxxxx/.local/share/SVP4/scripts/f3a29ddc.py', line 10, in <module>
10:35:12.905 [E]: Playback [f3a29ddc]: VS - clip = video_in
10:35:12.905 [E]: Playback [f3a29ddc]: VS - NameError: name 'video_in' is not defined