151 (edited by nabildanial 23-06-2017 13:38:54)

Re: SVP 4 Linux

Hi SVP team. I have a problem getting GPU acceleration working on my Arch Linux (KDE) laptop. Getting SVP working through AUR was easy and a breeze with SMPlayer. I have been using SVP for a day now but I just realized it don't use GPU acceleration like my Windows system do. It just says "No acceleration". I've already installed opencl-nvidia and ocl-icd packages.

Here some specs of my laptop: i7-4700MQ, GT 755M (Optimus/Bumblebee enabled), 8GB DD3

Any assistance will be much appreciated.

EDIT: idk if this info would help, but i just leave it here

$ ls /etc/OpenCL/vendors
nvidia.icd

Re: SVP 4 Linux

Isn't Optimus support a total PITA on Linux?  Can't help but think that might be related...

Re: SVP 4 Linux

you can check if OpenCL setup is working with clinfo tool

Re: SVP 4 Linux

I somehow got it working after installing OpenCL ICD for Intel but the performance is horrendous compared to Windows. IIRC I used to get better performance when using SVPflow in the past.

Clinfo dump:

$ clinfo
Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 1.2 LINUX
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64
  Platform Extensions function suffix             INTEL

  Platform Name                                   Intel(R) OpenCL
Number of devices                                 1
  Device Name                                     Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 (Build 25)
  Driver Version                                  1.2.0.25
  Device OpenCL C Version                         OpenCL C 1.2
  Device Type                                     CPU
  Device Available                                Yes
  Device Profile                                  FULL_PROFILE
  Max compute units                               8
  Max clock frequency                             2400MHz
  Device Partition                                (core)
    Max number of sub-devices                     8
    Supported partition types                     by counts, equally, by names (Intel)
  Max work item dimensions                        3
  Max work item sizes                             8192x8192x8192
  Max work group size                             8192
  Compiler Available                              Yes
  Linker Available                                Yes
  Preferred work group size multiple              128
  Preferred / native vector sizes                 
    char                                                 1 / 32     
    short                                                1 / 16     
    int                                                  1 / 8       
    long                                                 1 / 4       
    half                                                 0 / 0        (n/a)
    float                                                1 / 8       
    double                                               1 / 4        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Address bits                                    64, Little-Endian
  Global memory size                              8276062208 (7.708GiB)
  Error Correction support                        No
  Max memory allocation                           2069015552 (1.927GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        262144 (256KiB)
  Global Memory cache line                        64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             480
    Max size for 1D images from buffer            129313472 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 480
    Max number of write image args                480
  Local memory type                               Global
  Local memory size                               32768 (32KiB)
  Max constant buffer size                        131072 (128KiB)
  Max number of constant args                     480
  Max size of kernel argument                     3840 (3.75KiB)
  Queue properties                               
    Out-of-order execution                        Yes
    Profiling                                     Yes
    Local thread execution (Intel)                Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                               
  Device Extensions                               cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [INTEL]
  clCreateContext(NULL, ...) [default]            Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  Success (1)
    Platform Name                                 Intel(R) OpenCL
    Device Name                                   Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in 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)  Success (1)
    Platform Name                                 Intel(R) OpenCL
    Device Name                                   Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz

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

It's still only one CPU device.
> Number of devices: 1
>  Device Type: CPU

SVP needs "GPU" device.
You can use i7's IGP but you need to install "beignet" packages for it.
https://01.org/beignet

Re: SVP 4 Linux

Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

Re: SVP 4 Linux

It isn't compatible with the newer mpv-git build.

Re: SVP 4 Linux

> It isn't compatible with the newer mpv-git build.

why?

159 (edited by s9209122222 05-07-2017 16:51:33)

Re: SVP 4 Linux

Chainik wrote:

> It isn't compatible with the newer mpv-git build.

why?

It just doesn't work for some videos with mpv-git, but work perfectly with the older version of mpv player,such as mpv-vapoursynth, except the problem that I've mentioned before.

s9209122222 wrote:

>Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

Re: SVP 4 Linux

> It just doesn't work for some videos with mpv-git

Did you built it yourself? Maybe you forget about "--enable-vapoursynth" option?

> Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

I can say nothing w/o the log.

161 (edited by s9209122222 08-07-2017 07:18:11)

Re: SVP 4 Linux

Chainik wrote:

> It just doesn't work for some videos with mpv-git

Did you built it yourself? Maybe you forget about "--enable-vapoursynth" option?

> Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

I can say nothing w/o the log.

It only happens to the HEVC 10bit, but OK with AVC
It seems to be caused by this issue: https://github.com/mpv-player/mpv/commi … 8c7e00fa64

Opening video filter: [vapoursynth file=/home/user/.local/share/SVP4/scripts/a0f4bbcf.py buffered-frames=4 concurrent-frames=7]
Using conversion filter.
[vapoursynth] Unsupported output format.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown
  [scale] 1920x1080 yuv420p16 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown [a]
  [vapoursynth] "vapoursynth.00" ???   <---
  [out] ???

162 (edited by s9209122222 23-07-2017 15:04:29)

Re: SVP 4 Linux

Chainik wrote:

> It just doesn't work for some videos with mpv-git

Did you built it yourself? Maybe you forget about "--enable-vapoursynth" option?

> Why did it set the framerate to X2 when I was playing a 1920*1080 23.976fps video, even I had set the target framerate to 60?

I can say nothing w/o the log.

Unsupported output format by vapoursynth with the new version mpv
It happens when playing 10bit video and allowing the output in 10bit color depth.

21:45:13.282 [i]: VideoPlayer: mpv connected, waiting for the video info...
VO: [opengl] 1920x1080 yuv420p10
21:45:13.818 [i]: VideoPlayer: mpv 0.26.0-15-gbbfd9b5a29
21:45:13.852 [i]: Media: video 1920x1080 [PAR 1.000] at 23.976 fps [constant]
21:45:13.852 [i]: Media: codec type is HEVC, YUV/4:2:0/10 bits
21:45:13.862 [i]: Playback: starting up...
21:45:13.871 [i]: Playback [669bd95b]: resulting video frame 1920x1080
21:45:13.871 [i]: Playback [669bd95b]: 3 acceptible profiles, best is '啟用' [100]
21:45:13.877 [i]: Playback [669bd95b]: enabled while video is playing
21:45:13.892 [i]: Playback [669bd95b]: playing at 59.94 [23.976 *5/2] /10 bit
Opening video filter: [vapoursynth file=/home/laichiaheng/.local/share/SVP4/scripts/669bd95b.py buffered-frames=4 concurrent-frames=7]
Using conversion filter.
[vapoursynth] Unsupported output format.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1080 yuv420p10 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown
  [scale] 1920x1080 yuv420p16 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=unknown [a]
  [vapoursynth] "vapoursynth.00" ???   <---
  [out] ???
21:45:14.464 [E]: Playback [669bd95b]: VS - Unsupported output format.
VO: [opengl] 1920x1036 yuv420p10
21:49:41.643 [i]: VideoPlayer: mpv connected, waiting for the video info...
21:49:42.172 [i]: VideoPlayer: mpv 0.26.0-15-gbbfd9b5a29
21:49:42.214 [i]: Media: video 1920x1036 [PAR 1.000] at 23.976 fps [constant]
21:49:42.214 [i]: Media: codec type is AVC, YUV/4:2:0/10 bits
21:49:42.233 [i]: Playback: starting up...
21:49:42.242 [i]: Playback [52f329f2]: resulting video frame 1920x1036
21:49:42.242 [i]: Playback [52f329f2]: 3 acceptible profiles, best is '啟用' [99]
21:49:42.249 [i]: Playback [52f329f2]: enabled while video is playing
21:49:42.263 [i]: Playback [52f329f2]: playing at 59.94 [23.976 *5/2] /10 bit
Opening video filter: [vapoursynth file=/home/laichiaheng/.local/share/SVP4/scripts/52f329f2.py buffered-frames=4 concurrent-frames=7]
Using conversion filter.
[vapoursynth] Unsupported output format.
Image formats incompatible or invalid.
Video filter chain:
  [in] 1920x1036 yuv420p10 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
  [scale] 1920x1036 yuv420p16 bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264 [a]
  [vapoursynth] "vapoursynth.00" ???   <---
  [out] ???
21:49:42.845 [E]: Playback [52f329f2]: VS - Unsupported output format.

10bit is no longer supported by SVP4, help!!!
They are all that I can give you.

Here is the information for the X2 problem, it says that source frame rate is unknown.

23:01:27.984 [i]: VideoPlayer: mpv 0.26.0-15-gbbfd9b5a29
23:01:28.014 [i]: Media: video 1920x1080 [PAR 1.000] at 0.000 fps [variable]
23:01:28.014 [W]: Media: source frame rate is unknown!
23:01:28.014 [i]: Media: codec type is HEVC
23:01:28.024 [i]: Playback: starting up...
23:01:28.033 [i]: Playback [e388e555]: resulting video frame 1920x1080
23:01:28.033 [i]: Playback [e388e555]: 3 acceptible profiles, best is '啟用' [100]
23:01:28.040 [i]: Playback [e388e555]: enabled while video is playing
23:01:28.051 [W]: Playback [e388e555]: playing at double rate, source frame rate unknown
Opening video filter: [vapoursynth file=/home/laichiaheng/.local/share/SVP4/scripts/e388e555.py buffered-frames=4 concurrent-frames=5]
Using conversion filter.
[Thread 0x7fffd5e1b700 (LWP 6096) exited]
VO: [opengl] 1920x1080 yuv420p
[vo/opengl] after creating framebuffer texture: OpenGL error INVALID_VALUE.

163 (edited by s9209122222 01-08-2017 14:38:59)

Re: SVP 4 Linux

Can't open SVP4 after update opencl-amd

/opt/amdgpu-pro/share/libdrm/amdgpu.ids: no such file or directory

They've changed the location of amdgpu.ids, it is at "/usr/share/libdrm" now

error from gdb:

#0  0x00007fc92d1b2d41 in amdgpu_query_gpu_info () at /usr/lib/libdrm_amdgpo.so.1
#1  0x00007fc92de1217e in  () at /usr/lib/libamdocl64.so
#2  0x00007fc92de1273f in  () at /usr/lib/libamdocl64.so
#3  0x00007fc92de15059 in  () at /usr/lib/libamdocl64.so
#4  0x00007fc92ddf0018 in  () at /usr/lib/libamdocl64.so
#5  0x00007fc92da78f58 in  () at /usr/lib/libamdocl64.so
#6  0x00007fc92de362e9 in  () at /usr/lib/libamdocl64.so
#7  0x00007fc92de3635f in  () at /usr/lib/libamdocl64.so
#8  0x00007fc92de370e7 in  () at /usr/lib/libamdocl64.so
#9  0x00007fc92da32f1a in  () at /usr/lib/libamdocl64.so
#10 0x00007fc92da34427 in  () at /usr/lib/libamdocl64.so
#11 0x00007fc92da345b6 in  () at /usr/lib/libamdocl64.so
#12 0x00007fc92da19457 in  () at /usr/lib/libamdocl64.so
#13 0x00007fc92d9e6522 in clIcdGetPlatformIDsKHR () at /usr/lib/libamdocl64.so
#14 0x00007fc946dfa022 in  () at /opt/cuda/lib64/libOpenCL.so.1
#15 0x00007fc946dfbd42 in  () at /opt/cuda/lib64/libOpenCL.so.1
#16 0x00007fc946dfb4d0 in clGetPlatformIDs () at /opt/cuda/lib64/libOpenCL.so.1
#17 0x00000000004d74b4 in _init ()
#18 0x00000000012ee02e in  ()
#19 0x000000000047f3ab in _init ()
#20 0x00000000012eba80 in  ()
#21 0x00000000012e82f3 in  ()
#22 0x00007fc965a5f4ca in __libc_start_main () at /usr/lib/libc.so.6
#23 0x00000000012e98e5 in  ()

Re: SVP 4 Linux

Hello,

My SVP opens perfectly fine but it's not converting any video to 60fps. When I play any video, the monitor shows "High Frame Rate Index N/A".

I play 720p MP4 videos only. I'm running Linux Mint 18.2 with Nvidia driver 384, mpv 0.26 and SVP 4.1.0.114.

I can't seem to figure out the problem. Please help.

Re: SVP 4 Linux

> I can't seem to figure out the problem. Please help.

SVP's and mpv's logs may help wink

Re: SVP 4 Linux

Chainik wrote:

> I can't seem to figure out the problem. Please help.

SVP's and mpv's logs may help wink

SVP Log:

01:42:00.407 [i]: Main: starting up SVP 4 Linux [4.1.0.114]... 
01:42:00.408 [i]: Main: args: none
01:42:00.408 [i]: Main: working dir is /home/kartik/SVP 4/
01:42:00.408 [i]: Main: data dir set to /home/kartik/.local/share/SVP4/
01:42:00.409 [i]: Settings: loading reg.cfg OK
01:42:00.409 [i]: Settings: loading main.cfg OK
01:42:00.409 [i]: Settings: loading ui.cfg OK
01:42:00.410 [i]: Settings: loading frc.cfg OK
01:42:00.410 [i]: Settings: loading profiles.cfg OK
01:42:00.410 [i]: Settings: loading custom.cfg OK
01:42:00.411 [i]: Settings: loading lights.cfg OK
01:42:00.411 [i]: Main: using Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.4.0 20160609)
01:42:00.411 [i]: Main: device scale is 1, user defined scale is 1
01:42:00.412 [i]: Main: system locale is [en-in]
01:42:00.414 [i]: Main: setting language file to en.qm...
01:42:00.416 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.0.0.132
01:42:00.417 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.0.0.141
01:42:00.418 [i]: Main: VLC filter (64 bit): 0.9.0.114
01:42:00.418 [i]: Main: running OpenCL info...
01:42:00.423 [i]: Main: collecting system information...
01:42:00.425 [i]: OS: Linux 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64
01:42:00.449 [i]: Desktop environment: /usr/sbin/lightdm / cinnamon / x-cinnamon
01:42:00.455 [i]: CPU: Intel Core i5-4200M [base frequency 2999 MHz, 4 threads]
01:42:00.470 [i]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 1.2 CUDA 9.0.130] (NVIDIA Corporation)
01:42:00.470 [i]: Video 1: device name 'GeForce GT 740M' (NVIDIA Corporation, ver.384.59) [gpuID=11]: OK
01:42:00.473 [i]: Memory:  7915  MB total,  3989 MB free
01:42:00.516 [i]: Power: AC is ON [1]
01:42:00.527 [i]: Screens: updating information, 1 screen(s) found
01:42:00.527 [i]: Screens: screen 0 (eDP-1-1) - 1366x768 @60.000 Hz, x1.0 [100 DPI]
01:42:00.527 [i]: Screens: primary screen is 0
01:42:00.597 [i]: Main: preparing FRC profiles...
01:42:00.698 [i]: Main: preparing performance graphs...
01:42:00.745 [i]: Main: preparing mpv...
01:42:00.755 [i]: Main: preparing remote control...
01:42:00.755 [i]: RemoteControl: started
01:42:00.756 [i]: Main: preparing main menu...
01:42:00.774 [i]: Main: loading extensions...
01:42:00.784 [i]: Extensions: found svptube 2.0.0.114 ...
01:42:00.784 [i]: Settings: loading tube.cfg OK
01:42:00.788 [i]: Tube: initializing youtube_dl...
01:42:00.820 [i]: Main: initialization completed in 398 ms
01:42:01.057 [i]: Updates: checking now...
01:42:01.107 [i]: Tube: youtube_dl ready
01:42:03.484 [i]: Performance: quick estimation = 526 (previous value was 490)

Excuse my lack of knowledge but, how do I see mpv's log?

I have also attached a screenshot of SVP's monitor.

Post's attachments

Screenshot from 2017-08-07 01-46-49.png, 43.08 kb, 501 x 573
Screenshot from 2017-08-07 01-46-49.png 43.08 kb, 559 downloads since 2017-08-06 

167

Re: SVP 4 Linux

Repeat the SVP log just after 'High Frame Rate Index N/A' message appears please.

Re: SVP 4 Linux

s9209122222 wrote:

10bit is no longer supported by SVP4, help!!!

not our bug, fixed there


kartik0025

there's no sign of mpv running in your log
most likely you're using "default" build of mpv - i.e. built w/o "--enable-vapoursynth" option

Re: SVP 4 Linux

Hi I used SVP on windows 7 and i loved it!

Recently I moved to linux Mint 17.3 and I have a problem installing it.
I did install all packages needed but it gets this error anyway:

'/home/bartek/Pobrane/svp4-linux-64.run'
[54] Warning: A style sheet file is specified, but it does not exist.
[11807] Warning: /home/bartek/SVP 4/SVPManager: symbol lookup error: /home/bartek/SVP 4/SVPManager: undefined symbol: _ZN7QString17simplified_helperERS_

Execution failed (Unexpected exit code: 127)

I would appreciate some help smile

Re: SVP 4 Linux

Wrong Qt version

Re: SVP 4 Linux

installed newest qt and no luck
then i tried qt-opensource-linux-x64-5.5.0-2.run
still the same problem sad

Re: SVP 4 Linux

"installed" doesn't mean it's in use
check actual libraries in use with ldconfig

http://www.svp-team.com/forum/viewtopic.php?id=3672

Re: SVP 4 Linux

sudo sh -c "echo /home/bartek/Qt5.5.0/5.5/gcc_64/lib > /etc/ld.so.conf.d/qt5.conf"
sudo ldconfig -v

fixed it
thanks for hints

Re: SVP 4 Linux

hello again...
another problem, tried pretty much everything

when I open a video with mpv I'm getting this

Option vf-add: vapoursynth doesn't exist.

strange thing is I had to create config file in /.config/mpv/ couse it was empty

I really wanted to fix it by myself but after hours I'm really close to giving up

Re: SVP 4 Linux

mpv 0.17 or later built with Vapoursynth support