Re: SVP 4 Linux

Two things I've noticed over the last day testing it. First of all, secondary instances of mpv sometimes lag really badly, not sure if SVP's fault or not. The second thing is occasionally instances will flash white/background for a frame during playback, this is really inconsistent though and again not sure if it's SVP's fault or something else (like vapoursynth).

Re: SVP 4 Linux

You mean running two mpv instances at the same time?
I'm not sure how they would share the same IPC socket o_O

28 (edited by Ghosthree3 03-03-2016 08:22:49)

Re: SVP 4 Linux

Chainik wrote:

I'm not sure how they would share the same IPC socket o_O

Yes I suspected it could be a socket issue, however, it's very happy to playback despite that. Perhaps if the socket is in use it just doesn't write one. None but the first instance of mpv are affected by SVP at all it would seem (which is not unexpected and I believe windows behaves the same way). I've come up with a solution of using an alias/script wrapper to launch mpv with the needed arguments for what I REALLY want to run smooth and that way everything else loads as it did pre-SVP as they aren't in the config any more. Multiple instances are pretty common, especially when you use it in conjunction with youtube-dl etc.

I really, really wish stuff appended to mpv's playlist better (at all?) but it is what it is...

Re: SVP 4 Linux

maybe SMPlayer can handle playlists better than plain mpv...

it's possible to add some logic to SVP Manager to launch every other mpv instance with a unique socket name, but not right now
after all it can handle multiple ffdshow instances at the same time in Windows

Re: SVP 4 Linux

Chainik wrote:

maybe SMPlayer can handle playlists better than plain mpv...

Maybe, I just find it really ugly so I'll deal with instances.

Chainik wrote:

it's possible to add some logic to SVP Manager to launch every other mpv instance with a unique socket name, but not right now

This would be really cool actually but something I totally understand as not a priority, maybe one day in the future.

Re: SVP 4 Linux

> I just find it really ugly

there're different skins, one of them just like Media Player Classic big_smile

32 (edited by jarylc 11-03-2016 10:15:30)

Re: SVP 4 Linux

EDIT 2: Okay I found the real fix, I had to unplug my HDMI cable from my GPU and plug it back in every boot to get SVP to work... Maybe a daemon is not being started on boot... Hmm...

-------------------------------------------------------------------------------------------------------------

EDIT: Solved. But I am unsure what fixed it. Here are the things I tried:

1) disable iGPU intel graphics in bios
2) installed libmediainfo (mediainfo was installed)
3) ran "mediainfo" once in terminal
4) reinstalled qt-svg
5) installed hicolor-icon-theme
6) changed desktop theme to GTK+ and back to Fusion
7) updated kernel and gtk and rebooted

Likely the kernel update fixed it, so it was likely Linux-Zen kernel.

-------------------------------------------------------------------------------------------------------------

I need some help on running the SVP installer on an ArchLinux, Linux-Zen, XFCE machine.

Currently running the installer from terminal gives this direct error (running directly does nothing but produce a .lock file):

[91] Warning: A style sheet file is specified, but it does not exist.
[127] Warning: QWidget::setMinimumSize: (/QWidget) Negative sizes (0,-246065832) are not possible
[127] Warning: QWidget::setMaximumSize: (/QWidget) Negative sizes (16777215,-246065832) are not possible
Floating point exception

In dmesg:

[  978.707150] traps: svp4-preview-li[1406] trap divide error ip:ce03a3 sp:7ffe60725790 error:0 in svp4-preview-linux-64.run[400000+16e8000]

And in journalctl:

systemd-coredump[603]: Process 599 (svp4-preview-li) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 599:
                                                    #0  0x0000000000ce03a3 _ZN10QXcbWindow6createEv (svp4-preview-linux-64.run)
                                                    #1  0x0000000000cd6855 _ZNK15QXcbIntegration20createPlatformWindowEP7QWindow (svp4-preview-linux-64.run)
                                                    #2  0x0000000000df387b _ZN7QWindow6createEv (svp4-preview-linux-64.run)
                                                    #3  0x0000000000902af8 _ZN14QWidgetPrivate10create_sysEybb (svp4-preview-linux-64.run)
                                                    #4  0x0000000000901f9b _ZN7QWidget6createEybb (svp4-preview-linux-64.run)
                                                    #5  0x000000000090ddca _ZN7QWidget10setVisibleEb (svp4-preview-linux-64.run)
                                                    #6  0x0000000000a67eb3 _ZN7QDialog10setVisibleEb (svp4-preview-linux-64.run)
                                                    #7  0x0000000000424e27 _ZN13TabController4initEv (svp4-preview-linux-64.run)
                                                    #8  0x00000000004222e1 _ZN13InstallerBase3runEv (svp4-preview-linux-64.run)
                                                    #9  0x000000000041c6d7 main (svp4-preview-linux-64.run)
                                                    #10 0x00007fccd7514710 __libc_start_main (libc.so.6)
                                                    #11 0x000000000041e90a _start (svp4-preview-linux-64.run)
                                                    
                                                    Stack trace of thread 601:
                                                    #0  0x00007fccd75d49dc pselect (libc.so.6)
                                                    #1  0x000000000137519c _Z14qt_safe_selectiP6fd_setS0_S0_PK8timespec (svp4-preview-linux-64.run)
                                                    #2  0x00000000013772d1 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (svp4-preview-linux-64.run)
                                                    #3  0x00000000013208f9 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (svp4-preview-linux-64.run)
                                                    #4  0x00000000011654c8 _ZN7QThread3runEv (svp4-preview-linux-64.run)
                                                    #5  0x000000000116a8df _ZN14QThreadPrivate5startEPv (svp4-preview-linux-64.run)
                                                    #6  0x00007fccd8139424 start_thread (libpthread.so.0)
                                                    #7  0x00007fccd75dbcbd __clone (libc.so.6)
                                                    
                                                    Stack trace of thread 600:
                                                    #0  0x00007fccd75d2c3d poll (libc.so.6)
                                                    #1  0x00007fccd8c64ae2 n/a (libxcb.so.1)
                                                    #2  0x00007fccd8c66757 xcb_wait_for_event (libxcb.so.1)
                                                    #3  0x0000000000cf7c19 _ZN15QXcbEventReader3runEv (svp4-preview-linux-64.run)
                                                    #4  0x000000000116a8df _ZN14QThreadPrivate5startEPv (svp4-preview-linux-64.run)
                                                    #5  0x00007fccd8139424 start_thread (libpthread.so.0)
                                                    #6  0x00007fccd75dbcbd __clone (libc.so.6)
-- Subject: Process 599 (svp4-preview-li) dumped core
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
-- 
-- Process 599 (svp4-preview-li) crashed and dumped core.
-- 
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.

Has anyone encountered this problem? How did you managed to get it to work?

33 (edited by nabildanial 24-03-2016 12:07:23)

Re: SVP 4 Linux

Hi SVP devs,

I was trying out SVPFlow in realtime using Vapoursynth and mpv on Arch Linux, but can't get it working at all.

I changed the sample script as follows

import vapoursynth as vs

core = vs.get_core(threads=36)

clip = video_in
clip = clip.resize.Bicubic(format=vs.YUV420P8)

super_params="{gpu:1}"
analyse_params="{}"
smoothfps_params="{rate:{num:5,den:2}}"

super  = core.svp1.Super(clip,super_params)
vectors= core.svp1.Analyse(super["clip"],super["data"],clip,analyse_params)
smooth = core.svp2.SmoothFps(clip,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params)
smooth = core.std.AssumeFPS(smooth,fpsnum=smooth.fps_num,fpsden=smooth.fps_den)

smooth.set_output()

but I got the following errors

[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: SVSuper: invalid 'params' syntax: * Line 1, Column 2
[vapoursynth]   Missing '}' or object member name
[vapoursynth]
[vapoursynth] Traceback (most recent call last):
[vapoursynth]   File "src/cython/vapoursynth.pyx", line 1489, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:26952)
[vapoursynth]   File "/home/nabildanial/.config/mpv/sample_vs.py", line 12, in <module>
[vapoursynth]     super  = core.svp1.Super(clip,super_params)
[vapoursynth]   File "src/cython/vapoursynth.pyx", line 1381, in vapoursynth.Function.__call__ (src/cython/vapoursynth.c:25267)
[vapoursynth] vapoursynth.Error: SVSuper: invalid 'params' syntax: * Line 1, Column 2
[vapoursynth]   Missing '}' or object member name
[vapoursynth]

Am I missing something?

Re: SVP 4 Linux

Am running SVP under Arch linux, Nvidia GTX 970 with proprietary drivers.

[CBM]_Cowboy_Bebop_-_Session_06_-_Sympathy_for_the_Devil_[720p]_[EC168C9C].mkv   
I get audio desync on this file, and only this file so far. No matter whether I use mpv or smplayer, or disable frame rate conversion, as long as SVP is integrated to the player the audio immediately starts desyncing(slower than video), fixable by peeking and then it immediately starts desyncing again.

File is available from here https://kat.cr/cbm-cowboy-bebop-1-26-co … 98131.html

Re: SVP 4 Linux

> No matter whether I use mpv or smplayer, or disable frame rate conversion, as long as SVP is integrated to the player the audio immediately starts desyncing

I think I know the reason - it's a inconsistency between the actual video frame rate and the value written in the container and thus used as a base frame rate for the frc conversion.
This value is exposed by mpv to the Vapoursynth engine as a global variable called "container_fps". If the real fps doesn't match - we're probably screwed o_O

36 (edited by mashingan 31-03-2016 09:25:49)

Re: SVP 4 Linux

nabildanial wrote:

Hi SVP devs,

I was trying out SVPFlow in realtime using Vapoursynth and mpv on Arch Linux, but can't get it working at all.

I changed the sample script as follows

import vapoursynth as vs

core = vs.get_core(threads=36)

clip = video_in
clip = clip.resize.Bicubic(format=vs.YUV420P8)

super_params="{gpu:1}"
analyse_params="{}"
smoothfps_params="{rate:{num:5,den:2}}"

super  = core.svp1.Super(clip,super_params)
vectors= core.svp1.Analyse(super["clip"],super["data"],clip,analyse_params)
smooth = core.svp2.SmoothFps(clip,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params)
smooth = core.std.AssumeFPS(smooth,fpsnum=smooth.fps_num,fpsden=smooth.fps_den)

smooth.set_output()

Am I missing something?

You need to add keyword fps when calling core.svp2.SmoothFps to be fps=container_fps

smooth = core.svp2.SmoothFps(clip,super["clip"],super["data"],vectors["clip"],vectors["data"],smoothfps_params, fps=container_fps)

You don't need to add optional keyword fps to invoke SmoothFps if the clip is called with core.ffms2.Source
This is the thread that I asked about it before for reference

I think the default already container_fps though.

Re: SVP 4 Linux

Notice from one of SVP users via bug-report feature:

this is not an actual problem but just a small notice:
--input-unix-socket is going to be renamed in MPV to --input-ipc-server
https://github.com/mpv-player/mpv/commi … e85813fc4a

and...
Warning: QT_DEVICE_PIXEL_RATIO is deprecated in Qt5.6. Instead use:
    QT_AUTO_SCREEN_SCALE_FACTOR to enable platform plugin controlled per-screen factors.
    QT_SCREEN_SCALE_FACTORS to set per-screen factors.
    QT_SCALE_FACTOR to set the application global scale factor.

38 (edited by greg1292 06-04-2016 16:51:18)

Re: SVP 4 Linux

I am running Mint 17.03 with the 364.21 drivers and have great playback with MPV
that is tear free. My concern is paying for a pro license to see if this works. I have
no problem paying for all the features if I can make it work on my HTPC. I know enough
to basic commands. Is there a test version I can try to see if I can make it work?
Or is it best to wait till it is all sorted out?

Thanks Greg

Re: SVP 4 Linux

sorry, no test version right now...

Re: SVP 4 Linux

greg1292 wrote:

My concern is paying for a pro license to see if this works...
Is there a test version I can try to see if I can make it work?
Or is it best to wait till it is all sorted out?

Thanks Greg

Perhaps you could ask devs via email about paying for it and then refund if ask in X hours. But this depends solely on them if they agree or not.

Re: SVP 4 Linux

Just purchased pro version. Which linux distro will be easiest to configure? I use Mint right now

Re: SVP 4 Linux

> Which linux distro will be easiest to configure?

The one that you know better...

Re: SVP 4 Linux

Chainik wrote:

> Which linux distro will be easiest to configure?

The one that you know better...

The only thing keeping me from using linux is there is no 1080p 71.928 for crt to push out raster ringing
on the projector. I prefer it over Windows pq wise.

Is there a way to enable this resolution in Linux? And all the timings that works so well with windows.

Thanks Greg

Re: SVP 4 Linux

greg1292 wrote:
Chainik wrote:

> Which linux distro will be easiest to configure?

The one that you know better...

The only thing keeping me from using linux is there is no 1080p 71.928 for crt to push out raster ringing
on the projector. I prefer it over Windows pq wise.

Is there a way to enable this resolution in Linux? And all the timings that works so well with windows.

Thanks Greg

Have a look at the xrandr utility, more specifically the --addmode argument: https://wiki.ubuntu.com/X/Config/Resolution

Re: SVP 4 Linux

Hi. i have a problem Ubuntu 16.04. i installed SVP normally but i want to activate it, i got this error "Registration: server error 6 - SSL handshake failed"

How can i solve this prob?

Re: SVP 4 Linux

The new 4.0.0.80 build is out introducing VLC support and other improvements.

Now it's free and doesn't require neither license key nor activation!
Enjoy wink

47 (edited by RoboTube 27-05-2016 07:58:49)

Re: SVP 4 Linux

Somehow my client gets stuck on updating the app before I can use it.

It also won't stop being in -tray even with -notray

00:44:49.033 : Main: starting up SVP 4 Linux [4.0.0.80]...
~
00:44:49.328 [E]: RemoteControl: listening error - QAbstractSocket::UnknownSocketError
00:44:49.328 []: Main: preparing main menu...
00:44:49.342 []: Main: loading extensions...
00:44:49.343 []: Extensions: found svplight 4.0.0.76 ...
00:44:49.343 [E]: Settings: loading leds.cfg FAILED: read-only file
00:44:49.364 []: Main: initialization completed in 323 ms
00:44:49.374 []: Updates: checking now...



I got this error log, I don't know what to do







Also will there be updates to include "LD_LIBRARY_PATH=/opt/qt55/lib ./SVPManager -tray" in the add-menuitem script?

Re: SVP 4 Linux

> Settings: loading leds.cfg FAILED: read-only file

the Manager doesn't have write access to the config dir for some reason
which is usually somewhere near ~/.local/SVP 4

> Also will there be updates to include "LD_LIBRARY_PATH=/opt/qt55/lib ./SVPManager -tray" in the add-menuitem script?

nope

Re: SVP 4 Linux

> my client gets stuck on updating the app before I can use it.

yeah, and this one was on the server side... fixed now big_smile

Re: SVP 4 Linux

Arch Linux, up to date system.  All required dependencies met, plus proprietary video and OpenCL as well as VLC. 

My issue is twofold:

One: VLC is not being detected as an active playback source.  Reinstalling VLC nor SVP doesn't make a difference.  Not sure where to go with this.

Two: RESOLVED.  I figured I'd include this anyways since I already typed it up and in case anyone else is having issues as well.  Reinstalling the package opencl-nvidia and then restarting my system completely fixed the following paragraph's issue.

My GPU (NVIDIA MSI 780 Ti with proprietary drivers and OpenCL) is not detected as a rendering device.  I'm thinking this is related to how Steam is unable to check for updates as well, though it does recognize my system correctly when the hardware survey comes around.  Might be an issue related to the fact that I have both 32 and 64 bit drivers installed, as Steam on Linux is pretty stupid like that.  I also noticed that SVP doesn't notice that I have OpenCL installed. 

I can post whatever is relevant.  All I see so far is the following.

19:17:39.644 [i]: Main: starting up SVP 4 Linux [4.0.0.80]... 
19:17:39.644 [i]: Main: args: none
19:17:39.644 [i]: Main: working dir is /home/bugattikid2012/SVP 4/
19:17:39.644 [i]: Main: data dir set to /home/bugattikid2012/.local/share/SVP4/
19:17:39.653 [i]: Settings: loading reg.cfg OK
19:17:39.654 [i]: Settings: loading main.cfg OK
19:17:39.660 [i]: Settings: loading ui.cfg OK
19:17:39.660 [i]: Settings: loading frc.cfg OK
19:17:39.669 [i]: Settings: loading profiles.cfg OK
19:17:39.677 [i]: Settings: loading custom.cfg OK
19:17:39.686 [i]: Settings: loading lights.cfg OK
19:17:39.686 [i]: Main: using Qt 5.6.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 6.1.1 20160501)
19:17:39.686 [i]: Main: device scale is 1, user defined scale is 0
19:17:39.686 [i]: Main: system locale is [en]
19:17:39.693 [i]: Main: setting language file to en.qm...
19:17:39.722 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.0.0.132
19:17:39.727 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.0.0.132
19:17:39.735 [i]: Main: VLC filter: 0.9.0.77
19:17:39.736 [i]: Main: running OpenCL info...
19:17:39.736 [i]: Main: collecting system information...
19:17:39.737 [i]: OS: Linux 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64
19:17:39.749 [i]: Display manager: /usr/bin/sddm / /usr/share/xsessions/plasma
19:17:39.749 [i]: CPU: Intel Core i7-4770K [base frequency 3899 MHz, 8 threads]
19:17:39.775 [i]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 1.2 CUDA 8.0.0] (NVIDIA Corporation)
19:17:39.775 [i]: Video 1: device name 'GeForce GTX 780 Ti' (NVIDIA Corporation, ver.364.19) [gpuID=11]: OK
19:17:39.775 [i]: Memory:  15993  MB total,  14518 MB free
19:17:39.775 [i]: System: initializing network...
19:17:39.792 [i]: Screens: updating information, 1 screen(s) found
19:17:39.792 [i]: Screens: screen 0 (DVI-I-1) - 1920x1080 @144.000 Hz, x0.9 [91 DPI]
19:17:39.792 [i]: Screens: primary screen is 0
19:17:39.792 [i]: Power: AC is ON [1]
19:17:40.184 [i]: Main: preparing FRC profiles...
19:17:40.225 [i]: Main: preparing performance graphs...
19:17:40.259 [i]: Main: preparing mpv...
19:17:40.294 [i]: Main: preparing remote control...
19:17:40.294 [i]: RemoteControl: started
19:17:40.294 [i]: Main: preparing main menu...
19:17:40.302 [i]: Main: loading extensions...
19:17:40.305 [i]: Main: initialization completed in 569 ms
19:17:40.311 [i]: Updates: checking now...
19:17:42.756 [i]: Performance: quick estimation = 665 (previous value was 678)
19:20:11.395 [i]: Report: collecting information...

I'm sure I've done something stupid or overlooked something obvious, but as of now I don't see it.  Let me know what I need to post/run.  Thanks all for your help!