451

Re: SVP 4 Linux

attemtping to install onOpenSuse leap 15.6 ,
however, even after installing Python38, svptube2 is not loading /missing;

what could be needed? it is with KDE Plasma;
on Ubuntu 24.04, no such issue; there "Extensions: found svptube 2.2.0.262 ...
17: Settings: loading tube.cfg OK"

452

Re: SVP 4 Linux

Chainik, any news on getting RIFE working for linux or am I just wasting my time asking?

Re: SVP 4 Linux

kapqa wrote:

attemtping to install onOpenSuse leap 15.6 ,
however, even after installing Python38, svptube2 is not loading /missing;

what could be needed? it is with KDE Plasma;
on Ubuntu 24.04, no such issue; there "Extensions: found svptube 2.2.0.262 ...
17: Settings: loading tube.cfg OK"

Did you try use in streaming like twitch channels or youtube live channel, not a video?

for me only streamings can run, videos with V+A i can`t run

454 (edited by dec05eba 10-03-2025 18:33:45)

Re: SVP 4 Linux

svp suddenly started to segfault when playing a video (tested with mpv) on arch linux using the latest linux version (4.6.0.263). Im not sure exactly what broke it, but it's possible a qt update or something is no longer compatible with svp. I tested with both gpu acceleration enabled and disabled. Gdb crashes when I try to open the coredump so I cant see the exact dependency (if any) it crashes in.

Edit: it was fixed now in arch when the libmediainfo dependency was updated from 24.12-1 to 24.12-3.

455 (edited by Santr 23-05-2025 16:08:24)

Re: SVP 4 Linux

I probably should've posted in this topic from the start, but I'm getting this error on the last step of mpv build on Ubuntu 25.04 (everything before went without a hitch):

user@comp:~/mpv-build$ sudo ./install
Install data not found. Run this command in build directory root.

https://i.postimg.cc/WznGvy7R/2025-05-23-21-02-51.png

Re: SVP 4 Linux

bluetail wrote:

Can you please add RIFE on SVP for Linux? I think the packages are there, right?
I am already a paying customer.
SVP works great on archlinux. No issues whatsoever.
But the claim is that RIFE makes it better. Does it really?

I got 5800x3D and AMD 7900XTX.


bluetail wrote:

Yes Chainik please update linux repos.
I have some futile attempts in getting RIFE working.

Before you inspect the logs, I did symlink all the .so files of `vapoursynth-plugin-vsrife-git` and even touched the name to match up SVP's expectation.
Because it is `librife.so` from the libs and NOT `libRIFE.so`
Maybe look at the most recent parts of my log posted.

models       libfmtconv.so       librife.so      libsvpflow2.so
libbm3d.so   libframeblender.so  libRIFE.so
libffms2.so  libmvtools.so       libsvpflow1.so

models

rife-anime

/opt/svp/rife/models/rife-anime
% ls
contextnet.bin    flownet.bin    fusionnet.bin
contextnet.param  flownet.param  fusionnet.param

https://0x0.st/XE_O.txt

I was excited enough to see that I could get some RIFE models show up but unfortunately not yet working.


seal wrote:

Chainik, any news on getting RIFE working for linux or am I just wasting my time asking?

Hi, guys.
I've managed to run rife on linux, and it's kinda complicated.

Archlinux + rx7900xtx

There are some steps and problems should be solved:
1. Install ncnn of latest version. In Archlinux it is old now in repos (sic!) (20241226-8 and newest is 20250503). You have to rebuild it manually. It is needed for RX7XXX because of https://github.com/styler00dollar/Vapou … /issues/67
2. Install vapoursynth vapoursynth-plugin-rife-ncnn-vulkan
3. create symlink ln -s /usr/lib/vapoursynth/ /opt/svp/rife
4. Linux version of scripts are different from windows. There is no RIFE in them. You will need to extract script dir from windows version and copy into linux /opt/svp/script/ . This will fix rife_model = undefined
5. But after this, generated script will look for svpflow libraries with wrong names. You can do one of the:
  a) install aur/vapoursynth-plugin-svpflow , which extract libraries to the vapoursynth autoimport dir;
  b) create symlinks in /opt/svp/plugins/
ln -s libsvpflow1.so libsvpflow1_vs64.so
ln -s libsvpflow2.so libsvpflow2_vs64.so
  c) edit generate.js for libraries names
6. Linux version of the library svpflow2 function SmoothFps_RIFE is different.
So you should replace in /opt/svp/script/base.py
core.svp2.SmoothFps_RIFE(input_m,smoothfps_params,rife_out=smooth,vec_src=vec_src,vdata=vdata,src=input_um,fps=src_fps)
with
core.svp2.SmoothFps_RIFE(smooth,smoothfps_params,src=input_um,multi=rife_num/rife_den,fps=src_fps)

Optionally, if you get into main rife function ( core.rife.RIFE  https://github.com/styler00dollar/Vapou … cnn-Vulkan ), you can enable some options, but I swear you NOT TO ENABLE
skip: Skip interpolating static frames. Requires VMAF plugin.
Because of broken VMAF https://github.com/styler00dollar/Vapou … /issues/10  . It costs me some hours and nerves trying to find why rewind and fast forward not working.

...Someday, I'll publish complete guide for this....

Re: SVP 4 Linux

Trying to transcode with VAAPI and getting this error. Tumbleweed, AMD 6700XT card

23:42:00.395: ===== Starting mpv ======
23:42:00.395: Command line: /usr/bin/mpv /home/baconcatbug/a.mp4 --o=/home/baconcatbug/a.SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=/tmp/mpvencodesocket --input-media-keys=no --no-msg-color --video-crop=0x0+0+0 --vf=lavfi=[format=nv12,hwupload],vapoursynth:/home/baconcatbug/.local/share/SVP4/scripts/ffff.py:4:16 --of=matroska --ovc=h264_vaapi --ovcopts=b=10000000,crf=0,threads=16
23:42:00.533: ● Video --vid=1 (h264 1920x1080 24.0361 fps) [default]
23:42:00.533: ○ Audio --aid=1 (aac 2ch 44100 Hz 283 kbps) [default]
23:42:00.623: [ffmpeg] hwupload: A hardware device reference is required to upload frames to.
23:42:00.623: [ffmpeg] Parsed_hwupload_1: Query format failed for 'Parsed_hwupload_1': Invalid argument
23:42:00.623: [lavfi] failed to configure the filter graph
23:42:00.623: Disabling filter lavfi.00 because it has failed.
23:42:00.670: [hwupload] no hw context
23:42:00.670: [hwupload] hardware format not supported
23:42:00.670: [autoconvert] Failed to create HW uploader for format yuv420p
23:42:00.670: [autoconvert] can't find video conversion for yuv420p
23:42:00.670: Cannot convert decoder/filter output to any format supported by the output.
23:42:00.684: Could not initialize video chain.
23:42:00.744: [vo/lavc] error encoding at EOF
23:42:00.744: Video: no video
23:42:00.744: : 00:00:00 / 00:00:16 (0%) {0.0min 0.0MB}
23:42:00.744: [encode] no data written to target file
23:42:00.744: Exiting... (Interrupted by error)
23:42:00.777: (!!!) Intermediate file may be broken: /home/baconcatbug/a.SVP.temporary.mkv
23:42:00.777: ===== mpv exited with code 2 =====