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 =====

Re: SVP 4 Linux

it's between you, your video card and mpv big_smile

Re: SVP 4 Linux

I don't understand what you mean. I have managed to get the GPU acceleration working with SVP Manager so it's GPU aware and I have ROCM installed and working.

Re: SVP 4 Linux

New version coredumps upon trying to activate against the chinese server

% /opt/svp/SVPManager                    
Failed to initialize instances shared memory:  "QSharedMemory::handle: doesn't exist"
18:42:26.912 [i]: Main: starting up SVP 4 Pro [4.7.0.305]... 
18:42:26.913 [i]: Main: args: none
18:42:26.913 [i]: Main: working dir is /opt/svp/
18:42:26.913 [i]: Main: data dir set to /home/user/.local/share/SVP4/
18:42:26.913 [i]: Settings: loading reg.cfg OK
18:42:26.913 [i]: Settings: loading main.cfg OK
18:42:26.913 [i]: Settings: loading ui.cfg OK
18:42:26.913 [W]: Settings: creating frc.cfg with default values
18:42:26.914 [i]: Settings: loading frc.cfg OK
18:42:26.914 [W]: Settings: creating profiles.cfg with default values
18:42:26.914 [i]: Settings: loading profiles.cfg OK
18:42:26.914 [W]: Settings: creating lights.cfg with default values
18:42:26.914 [i]: Settings: loading lights.cfg OK
18:42:26.914 [i]: Main: using Qt 6.10.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.2.1 20250813)
18:42:26.914 [i]: Main: device scale is 1
18:42:27.181 [i]: Main: system locale is [en-gb]
18:42:27.181 [i]: Main: preferred language is [en-latn-gb]
18:42:27.183 [i]: Main: setting language file to en.qm...
18:42:27.184 [W]: Main: using Chinese server for all network requests
[1]    21751 illegal hardware instruction (core dumped)  /opt/svp/SVPManager

Trying it from a clean data dir:

% SVPManager         
18:43:41.079 [i]: Main: starting up SVP 4 Pro [4.7.0.305]... 
18:43:41.079 [i]: Main: args: none
18:43:41.079 [i]: Main: working dir is /opt/svp/
18:43:41.080 [i]: Main: data dir set to /home/user/.local/share/SVP4/
18:43:41.080 [W]: Settings: creating reg.cfg with default values
18:43:41.080 [i]: Settings: loading reg.cfg OK
18:43:41.080 [W]: Settings: creating main.cfg with default values
18:43:41.080 [i]: Settings: loading main.cfg OK
18:43:41.080 [W]: Settings: creating ui.cfg with default values
18:43:41.080 [i]: Settings: loading ui.cfg OK
18:43:41.080 [W]: Settings: creating frc.cfg with default values
18:43:41.080 [i]: Settings: loading frc.cfg OK
18:43:41.080 [W]: Settings: creating profiles.cfg with default values
18:43:41.080 [i]: Settings: loading profiles.cfg OK
18:43:41.081 [W]: Settings: creating lights.cfg with default values
18:43:41.081 [i]: Settings: loading lights.cfg OK
18:43:41.081 [i]: Main: using Qt 6.10.0 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 15.2.1 20250813)
18:43:41.081 [i]: Main: device scale is 1
18:43:41.342 [i]: Main: system locale is [en-gb]
18:43:41.343 [i]: Main: preferred language is [en-latn-gb]
18:43:41.344 [i]: Main: setting language file to en.qm...
18:43:41.347 [i]: Main: collecting system information...
18:43:41.347 [i]: Main: module 'plugins/libsvpflow1.so': 4.5.0.205
18:43:41.347 [i]: Main: module 'plugins/libsvpflow2.so': 4.7.0.300
18:43:41.347 [i]: Main: VLC filter (64 bit): 1.1.0.300
18:43:41.348 [i]: Main: running OpenCL info...
18:43:41.349 [i]: OS: Linux 6.17.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 23 Oct 2025 18:49:03 +0000 x86_64
18:43:41.383 [i]: Desktop environment: /usr/bin/sddm  / plasma / kde
18:43:41.386 [i]: CPU: AMD Ryzen 5 7600X 6-Core [base frequency 5142 MHz, 12 threads]
18:43:41.386 [i]: Video: reading OpenCL info...
18:43:41.394 [i]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 3.0 CUDA 13.0.94] (NVIDIA Corporation)
18:43:41.395 [i]: Video 1: NVIDIA GeForce RTX 4090 (NVIDIA Corporation, ver.580.95.05) [gpuID=11]: OK
18:43:41.395 [i]: Video 1: may support NV Optical Flow and RIFE/TensorRT (Compute capability: 8.9)
18:43:41.395 [i]: Video: reading Vulkan info...
18:43:41.506 [i]: Vulkan 0: NVIDIA GeForce RTX 4090 (+)
18:43:41.507 [i]: Memory:  63400  MB total,  49637 MB free
18:43:41.507 [i]: System: finding network settings...
18:43:41.514 [W]: Settings: creating custom.cfg with default values
18:43:41.514 [i]: Settings: loading custom.cfg OK
18:43:41.515 [i]: Screens: updating information, 3 screen(s) found
18:43:41.515 [i]: Screens: screen 1 (HDMI-A-1) - 2560x1440 @119.998 Hz, x1.0 [45 DPI]
18:43:41.515 [i]: Screens: screen 2 (DP-1) - 2560x1440 @240.000 Hz, x1.0 [109 DPI]
18:43:41.515 [i]: Screens: screen 3 (DP-2) - 2560x1440 @143.856 Hz, x1.0 [108 DPI]
18:43:41.515 [i]: Screens: primary screen is 1
18:44:01.043 [E]: Registration: error -4
[1]    22219 trace trap (core dumped)  SVPManager

Also I thought the Linux version was supposed to be freeware?

Re: SVP 4 Linux

C0rn3j wrote:

Also I thought the Linux version was supposed to be freeware?

It shocked me too. And it's not even working, without any error in logs. Just closes after the license window.