RickyAstle98 wrote:

Really why SVP developers cant develop RIFE-SVP swapchain? It will suit for everyone, any type of content, any resolution, almost everything! My general idea about this quiet simple, SVP algorithm almost 10 times less resource-sensitive, but intermediate frames quality rises at high frame rate video source, 2K 24>144fps ~40-60 watts with 8-12 px grid and 21 shader, whats the problem RIFE@4K 2x and then SVP with higher pixel grid? Its going to be really smooth!
With this swapchain, 24>96@4K easy! Double peformance for 4K sources...

it's simple to do but not a good idea. it would produce a lot of artefacts.

Output 8000 frames in 34.47 seconds (232.12 fps) 4.0
Output 8000 frames in 34.14 seconds (234.35 fps) 4.4
Output 8000 frames in 33.90 seconds (235.99 fps) 4.6
Output 8000 frames in 45.65 seconds (175.26 fps) 4.7
Output 8000 frames in 46.70 seconds (171.29 fps) 4.9
Output 8000 frames in 63.21 seconds (126.56 fps) 4.11
Output 8000 frames in 63.36 seconds (126.26 fps) 4.12
Output 8000 frames in 50.69 seconds (157.83 fps) 4.12 lite
Output 8000 frames in 63.61 seconds (125.76 fps) 4.13
Output 8000 frames in 50.31 seconds (159.01 fps) 4.13 lite
Output 8000 frames in 64.95 seconds (123.18 fps) 4.14
Output 8000 frames in 65.58 seconds (121.99 fps) 4.14 lite

4.14 lite is the most resource-heavy, dunno about the quality though.

RickyAstle98 wrote:

Sometimes force exact value prevent RIFE working, with new models too (mpv_cfr argument can also kick RIFE from workload) but I only use X factors because I have GSync monitor tech, I have smoothness all the time!
Force exact value = issues
Fixed frame rate = issues
Frame rate factor = no issues

are you using the newest vsmlrt.py?
then it won't work with fraction numbers.
https://github.com/AmusementClub/vs-mlr … 1847153063

why do you need to change it there when you can easily do it here?
https://cdn.discordapp.com/attachments/290709370600423424/1192755072694747187/image.png

TechnoStone wrote:

V2 models for some reason have jiggling, the more to the right and down, the worse the effect. Almost unnoticeable for 1080p, but very annoying for 1440p and 4K (both native and downscaled to 1440p, here's the example - https://cdn.discordapp.com/attachments/ … WGll8w.mp4). For this one, I'm running Game of Thrones S1 E1 at 4K on 3440x1440 (so SVP downscales to 2560x1440) at x2 framerate on 2080 Ti with 4.4v2, 4.6v2, 4.9v2 and 4.13_litev2. There's no such effect on V1 models (tried all same versions)

have you updated to the newest SVP version? the bug should be fixed with the newest version.

https://github.com/AmusementClub/vs-mlr … 1791986979

hvs wrote:

I hope someone can guide me in getting Soap Opera effect using RIFE in SVP.

currently, the best quality that almost gets rid of the soap effect is models 4.12 and 4.13.

4.0->4.6: about the same quality and same performance
4.7->4.9: about the same quality and same performance, the performance cost +20% than 4.0->4.6
4.10->4.13: about the same quality and same performance, the performance cost +20% than 4.7->4.9
4.12lite, 4.13lite: performance between 4.7->4.9 and 4.10->4.13

my recommended models are: 4.6, 4.9 and 4.13

V2: faster, should use this as default if you not encountering any problems. model V2 47+ has a bug preventing you from using performance boost off.(It means it will run trt command on every video with a different resolution.)
4.13v1lite: lite is just a name, you may think of it as 4.135 which runs faster than 4.13
ensemble: this one will cost half the performance of the normal model. I couldn't see much difference from this, just use a better model instead.

try to use model in performance order: 4.6 > 4.9 > 4.13 lite > 4.13 and decide which one you like the most

4.9 is a sweet pot for me which has low artifact and runs faster than 4.13 20%

flowreen91 wrote:
aloola wrote:
Chainik wrote:

sounds like a bad advice that others will follow blindly and get a worse results (as usual when you're following some advices w/o understanding them)

In my case it's improvement.

Is there any simple way to test the difference between any two configurations?
How can we confirm if any change is improvement or not?
Can you give us a basic example on a test that you do where we can see consistent results of numbers/data going up/down on multiple attempts?
Thanks!

simplest way to test is to use MSI Afterburner, and see the GPU power consumption graph.

in my case: 1080p24 + RIFE x3 + DXVA = 200W
1080p24 + RIFE x3 = 150W
lower GPU power consumption means it has more room for RIFE.

if anyone has a better way to test, let me know. smile

Chainik wrote:

sounds like a bad advice that others will follow blindly and get a worse results (as usual when you're following some advices w/o understanding them)

I agree, they need to test it themself first if they see performance improvement or not.

In my case it's improvement.

But in some cases, if the CPU is so weak, the performance would drop a lot.

well, it costs you nothing to try, and can easily roll back.

Insindro wrote:

How exactly would I be able to turn off gpu decoder, and use the software decoder if I'm using mpv?

if you're using default mpv, then no need to edit anything. The default is off.


if you're using SVP's mpv then go to C:\Program Files (x86)\SVP 4\mpv64
and edit the file mpv.conf

hwdec=auto-copy change to #hwdec=auto-copy. Just remove the "#" if you want to use it again.

dawkinscm wrote:
aloola wrote:

Turn off GPU decoder, and only use software decoder in player

Interesting that you say that. I don't know if you mean with mpv player but for SVP this player does work better with hardware decoding off.

with GPU hw decoder it will copy back frames from GPU/VRAM to CPU/RAM, making your RAM bandwidth exhausted.

in general, just turn off GPU hw decoder if you using Vapoursynth with 4K video.

RAGEdemon wrote:

Hi guys,

I am trying to get 4k content to run at 60fps. Sometimes I manage it, but most times, the best I can do is double the movie FPS. Ideally, 4k120fps would be awesome.

How can I try to do that? I have tried 4.4,4.6,4.9,4.12. 3/4 threads.

I am on a 4090.

I'd appreciate help, thank you smile

Turn off GPU decoder, and only use software decoder in player
Turn off HAGS
use model 4.6 v2

or pre-resize your video to 1440p

Ideally, 4k120fps would be awesome.

not possible for now, based on people's benchmarks here most you can do with 4090 is 24fps x3

cemaydnlar wrote:

Tried everything seems like v2 does not work on 3070 plus i am having frame drops on 4.13. They should somehow start to find a solution to make it use less gpu.

v2 4.7+ doesn't work with performance boost Disabled, it will crash trt if you combine these options.

aostang wrote:

The seek hanging has annoyed me for ages.

Using model V2 should fix the seeking.

it looks like TRT 9.2 fixed the crashed issues when seeking

TRT 9.2 has build-up time faster than TRT 8.xx
https://github.com/AmusementClub/vs-mlrt/discussions/65

need more testing though

reconhell wrote:

Why does my SVP screen does not show "engine" or "performance boost"?
Also I tried this and i have the files on location like in screenshots. but the dropdown box in SVP doesnt show any new option...

because you haven't installed RIFE trt. there are 2 RIFE versions in SVP

1. RIFE NCNN or generic, which can run on AMD/NVIDIA card but slow

2. RIFE TRT (most of ppl here using it) only run on NVIDIA cards and is faster a lot than RIFE NCNN

https://www.svp-team.com/wiki/RIFE_AI_interpolation





Blackfyre wrote:

@Chainik regarding "Scene Change Threshold", it's interesting how it works like artifact masking in the past. 15% provides the smoothest panning shots and the most artifacts. 6% shows the least artifacts, but less smoothness. 1% (set manually from all settings) has ZERO artifacts, but LEAST smoothness.

It depends on the content actually, animation should pick a high number while the real scenes should pick a lower number.

in my case, I disabled the scene change threshold and picked the RIFE version that has fewer artifacts.

try to add
Expert: add scores = 10
higher numbers = higher priority

dawkinscm wrote:
aloola wrote:

can anyone run model 4.7+ V2 with "performance boost" Disabled?

I can run model v2 4.7>4.11 with "performance boost" enabled but not when disabled

also, 4.12 lite is out.

my benchmark on blank clip 1080p, all model v1

Output 8000 frames in 34.47 seconds (232.12 fps) 4.0
Output 8000 frames in 34.14 seconds (234.35 fps) 4.4
Output 8000 frames in 33.90 seconds (235.99 fps) 4.6
Output 8000 frames in 45.65 seconds (175.26 fps) 4.7
Output 8000 frames in 46.70 seconds (171.29 fps) 4.9
Output 8000 frames in 63.21 seconds (126.56 fps) 4.11
Output 8000 frames in 63.36 seconds (126.26 fps) 4.12
Output 8000 frames in 50.69 seconds (157.83 fps) 4.12 lite


    4.0: 98.36%
    4.4: 99.30%
    4.6: 100.00%
    4.7: 74.31%
    4.9: 72.58%
    4.11: 53.64%
    4.12: 53.48%
    4.12 lite: 66.88%

The aim of the 4.12 Lite version is to make it less GPU intensive of 4.9. So it should arguably be called 4.9 Lite. But I'm just glad they are releasing updates and trying things.

have you tested with SVP? The SVP script needs to be updated to work with 4.12 lite.
you can easily check this by going to the cache folder to see if there is any model cache name 4.12_lite

can anyone run model 4.7+ V2 with "performance boost" Disabled?

I can run model v2 4.7>4.11 with "performance boost" enabled but not when disabled

also, 4.12 lite is out.

my benchmark on blank clip 1080p, all model v1

Output 8000 frames in 34.47 seconds (232.12 fps) 4.0
Output 8000 frames in 34.14 seconds (234.35 fps) 4.4
Output 8000 frames in 33.90 seconds (235.99 fps) 4.6
Output 8000 frames in 45.65 seconds (175.26 fps) 4.7
Output 8000 frames in 46.70 seconds (171.29 fps) 4.9
Output 8000 frames in 63.21 seconds (126.56 fps) 4.11
Output 8000 frames in 63.36 seconds (126.26 fps) 4.12
Output 8000 frames in 50.69 seconds (157.83 fps) 4.12 lite


    4.0: 98.36%
    4.4: 99.30%
    4.6: 100.00%
    4.7: 74.31%
    4.9: 72.58%
    4.11: 53.64%
    4.12: 53.48%
    4.12 lite: 66.88%

donnieyeen wrote:
aloola wrote:
donnieyeen wrote:

@Chainik @aloola did any of you try the new TensorRT 9.1.0?

v14.test2 pre-release uses trt 9.1.0 + cuda 12.2.2 + cudnn 8.9.5, which can only run on driver >= 525 and 10 series and later gpus, with improved support for self-attentions found in transformer models.

It does much faster compilation of cache. It used to work with previous version of SVP4, but now I can't get it to work anymore. I am going to buy the SVP4 licence today, really like this program and smooth playback.

9.1 just won't work and it won't boost RIFE performance. so well let's wait for trt 10
https://github.com/AmusementClub/vs-mlrt/discussions/65

I've had 9.1.0 working fine on previous version before this last update of SVP. And I was talking about the time it takes before it generated  the engine cache files, its faster then 8.6.

I know it works but it has a critical bug, crashed on seek or crashed when entering fullscreen. at least I tested with mpv. haven't tested with mpc yet.

donnieyeen wrote:

@Chainik @aloola did any of you try the new TensorRT 9.1.0?

v14.test2 pre-release uses trt 9.1.0 + cuda 12.2.2 + cudnn 8.9.5, which can only run on driver >= 525 and 10 series and later gpus, with improved support for self-attentions found in transformer models.

It does much faster compilation of cache. It used to work with previous version of SVP4, but now I can't get it to work anymore. I am going to buy the SVP4 licence today, really like this program and smooth playback.

9.1 just won't work and it won't boost RIFE performance. so well let's wait for trt 10
https://github.com/AmusementClub/vs-mlrt/discussions/65

Chainik wrote:

This log is with an old helpers.py

OK v2 4.6 works now! thanks!

damn, I'm pretty sure I updated the file before...

also, V2 doesn't need add/crop border, I think tweaking this will give us more performance boost.

EDIT: V2 4.9 doesn't work due to not enough GPU memory, hmm weird??
https://cdn.discordapp.com/attachments/ … 175352.log

edit2: with performance boost enabled it works.
edit3: would be nice if we have an option for workspace, the default value None might cause some GPUs to run out of memory, I would like 1024, 2048, 4096 value options wink

I still got the error after updating helpers, tried with mpv/mpc. also, everything runs without admin. here are my logs

https://cdn.discordapp.com/attachments/ … 1d44b96.py
https://cdn.discordapp.com/attachments/ … 165337.log

https://cdn.discordapp.com/attachments/290709370600423424/1173924675663966278/image.png

V1 runs fine for me.

V2 doesn't work for me either

rife_mnum = '4.6_v2'
trt_backend = Backend.TRT(force_fp16=True,device_id=0,num_streams=2,output_format=1,use_cuda_graph=True,workspace=None,static_shape=False,min_shapes=[64,64],opt_shapes=[1920,1088],max_shapes=[2560,1440])

        else:
                smooth = RIFE_imp(input_m,multi=rife_num,model=rife_mnum,backend=trt_backend)
               
I checked the code, "force_fp16=True" won't work with v2, should be replaced with "fp16=True"

also missing implementation = 2

I saw implementation = 2 before, but after the newest update, this was missing.

also, V1's caches stored in appdata
while V2's stored in C:\Program Files (x86)\SVP 4\rife\models\rife_v2

I freshly installed SVP and didn't modify anything.

subtitles issue you mentioned

I never mentioned this.

I don't know why you try to use the newest model, just pick the one you like the most. newer doesn't mean better.

also, I checked v2 4.6, and the antialias bug was gone.