Sooo... I've been happily using the old 4.6 for a while. Is there any reason to try the newer ones? It seems like based on the last few pages, the newer models are more demanding which my 3090 ain't gonna be happy about.

Also, I did a fresh Windows install and copied over my old rife cache files... but they don't work. I notice the name is slightly different now.

Anyone know what changed?

New file name:
rife_v4.6.onnx.3840x1920_fp16_no-tf32_trt-8502_cudnn_I-fp16_O-fp16_NVIDIA-GeForce-RTX-3090_3dcbe72f.engine

Old file name:
rife_v4.6.onnx.3840x2144_fp16_trt-8502_cudnn_I-fp16_O-fp16_NVIDIA-GeForce-RTX-3090_3dcbe72f.engine

crustcate wrote:

I hope that a solution can be found. It is the real-time interpolation that I care most about. Of course it could be tomorrow, the day after tomorrow next week, whenever you have some time to find the cause.

Solution to... what? It works pretty nicely, the V2 just doesn't work well at 4k but V1 is fine.

3

(4 replies, posted in Using SVP)

Blackfyre wrote:

It takes 3 to 10 minutes for every aspect ratio change, depending on hardware. So just wait for it.

ONLY the first time of each aspect ratio.

So, what I usually do after a PC format for example is go to a movie or tv show folder, and just run randomly, one at a time, and leave them in the background while I use the internet.

PS: I wish there was ONE video that has all the aspect ratios, that one can use + combined with cut black bars from SVP together to just let all of them build. Is this something that someone can make? Run each aspect ratio for 1 minute then change. A 720p video, a 1080p video, and a 4K video, of just a white/black no audio aspect ratio changers.

We could also make a repository for the cache files maybe. I've ran pretty well everything on my 3090 and the whole folder is only 412 MB.

dawkinscm wrote:
Chainik wrote:

not sure what you guys mean...
if there's a file for given resolution in the cache folder - it reads it
if the file isn't there, it generates it, end of story hmm simple as a AK-47 big_smile

Could not read timing cache from: C:\Users\chain\AppData\Roaming\SVP4\cache\Program Files (x86)/SVP 4/rife\models\rife\rife_v4.6.onnx.1920x1088_fp16_no-tf32_trt-8502_cudnn_I-fp16_O-fp16_NVIDIA-GeForce-RTX-2060_3dcbe72f.engine.cache. A new timing cache will be generated and written.

Not for me. I can literally delete the models/rife folder and it does one of two things. It either keeps on working as if the cache is still there and nothing changes. Or it does generate  a new timing cache but the rife folder does not reappear and if the empty cache folder is there then it stays empty. The only thing I can think of is that I am using a later version of the Python wrapper script (3.15.23) and  rife v2.

When your terminal pops up during the model generation does it say it's looking in that path? To me that sounds like your RIFE install is just referencing a different folder. I'm on RIFE V1, maybe V2 has a different path?

That's weird, catshit. I just tested to confirm and mine works as one would expect, and Chainik described. Deleting the files in "AppData\Roaming\SVP4\cache\Program Files (x86)\SVP 4\rife\models\rife" causes them to regenerate next time I open a video of that resolution.

6

(3 replies, posted in Using SVP)

Normal SVP is easy to run on any modern CPU anyway. RIFE looks the best IMO, I would recommend that if you've got a high end NVIDIA GPU to match your X3D.

7

(32 replies, posted in Using SVP)

cemaydnlar wrote:

I don't know why but i can't activate shaders.

I am pasting glsl file to shaders folder in appdata-mpv. I am writing this line to mpv.conf file in the mpv folder with the executable app glsl-shader="~~/shaders/NVScaler.glsl"

Nothing happens. I click shif-i and press 2. Normally there should be the name of the glsl file but i don't see it. What am i doing wrong ?

You can try putting the whole path to the file into glsl-shader="~~/shaders/NVScaler.glsl" so it reads glsl-shader="C:\Users\yourname\AppData\Roaming\mpv\shaders\shadername.glsl"

You may also want to try copy/pasting the shaders folder and the mpv.conf into your SVP install directory: "C:\Program Files (x86)\SVP 4\mpv64"

Supposedly the %appdata% one takes precedence, but it can't hurt to manually overwrite whatever is in there as well.

If that fails, are you sure you are using a shader that activates regardless of if scaling is required? You've mentioned you're watching 1080P content on a 1080P screen, so if it works when you play lower res content but not at 1080P then the shader probably only works for scaling.

8

(32 replies, posted in Using SVP)

cemaydnlar wrote:

realEsgran seems to be a bit of a pain so i tried madvr with mpc but the quality is far behind from anime4k. If you guys have a solution to that or at least some setting recommendations that is maybe close to anime4k i would appreciate the effort.

Anime works so well because of the simple lines and lack of motion blur. I don't think anything really exists for film/generic content that produces results as good as Anime4K does for Anime (in real time). You could try NVIDIA's new Video Super Resolution. It's only compatible with MPC right now though as far as I know, and the quality is pretty similar to MadVR with artifact removal, debanding, denoising, etc enabled. https://github.com/emoose/VideoRenderer … ag/rtx-1.1

9

(32 replies, posted in Using SVP)

cemaydnlar wrote:
DragonicPrime wrote:
cemaydnlar wrote:

Is there a way to get a better quality without upscaling. I am using a 1080p monitor. I watch 1080p anime but can i make it look better with some sort of glsl ? Does anime4k work like this or do i need a 4k monitor ?

I used to use anime4k on my 1080p monitor and it still worked even in 1080p videos

Can u give me a fast guide for anime4k and how to use it ?

The guide on GitHub is pretty dead on.

https://github.com/bloc97/Anime4K/blob/ … uctions.md

Download the files, put them in the folder, make a input.conf file, add the block of text from that page, save it.

Play a video. Press Ctrl+1 or 2 or 3 or 4 or 5 or 6 to activate and switch modes.

10

(32 replies, posted in Using SVP)

DragonicPrime wrote:

I just use Anime4k. Might not be as good as full upscalers, but it gets the job done for me and makes anime looks significantly better imo. here's the link in case anyone wants it. https://github.com/bloc97/Anime4K

Oh yeah. That works pretty damn well and seems to have not much of a performance impact, at least for soft-but-still-HD modern anime. I thought it was going to be harder to install.

11

(32 replies, posted in Using SVP)

This would be really cool. I don't know how to do it either but seeing as most Anime is 1080P or 720P we could possibly do RIFE x2 and Anime_Janai SuperUltraCompact at the same time on something like a 3080+.

AutoClickers wrote:
aloola wrote:
AutoClickers wrote:

I tried using 8 threads but it the same performance as Auto so it looks like the Auto option is working correctly. Could you please link to where I can find the downscaling options just to check?


https://www.svp-team.com/wiki/Manual:Resizing


I couldn't find a way to set a specific resolution, only change it to HD. I think the big issue I have compared to other people is that one of my ram sticks broke so I'm running my PC with a single stick of ram and what I understood from the thread is that ram matters a lot. I'm currently running a single 6000mhz ram module with a 7700x, and getting 0.95 from the graph. I'll update when I decide to go into my pc and either fix the stick I have or add another stick.

That could be the problem, although DDR5 kind of has 2 channels built in so it was a much bigger deal with DDR4.

I haven't really tried it but this is how you would set a custom resolution to downscale to:

Open the advanced settings, where it says -12800720 put -25601440 or whatever. Personally that seems silly to me though and I'd rather do x2 at 4K than x3 at 1440p, especially if your screen is 60hz.

https://i.imgur.com/l4c6qmH.jpg

AutoClickers wrote:

I do have a 4090 but I'm using the Plex HTPC (which is a modified MPV player) app maybe it's chugging up resources on its own? (The SVP Control panel shows that its performance is 0.91 instead of 1.0 so I guess I'm quite close.

Edit: NVM I used basic MPV included in the install and it was showing the same performance. The App is surprisingly not the issue.


Setting the GPU to prefer maximum performance did nothing. I'm also using essentially default settings.

Maybe I should change something there or maybe install different a different interpolation algorithm, Im using the default one. I currently have this

You could try using the 4.4 model instead of 4.6. It is supposed to be a little lighter so you might be able to make up that 0.09. You could also try disabling HAGS (hw accelerated gpu scheduling) which has been reported to help by some people, though I think DLSS Frame Generation requires it so that would be a tradeoff.

Otherwise I'm not too sure unfortunately. The SVP community isn't that big and the number of people with your setup is possibly single digits so you might be the trail blazer here. In the big thread it also sounded like memory speed might play a role. That could be the difference if you're on a DDR4 platform. Not everyone with a 4090 in the thread reported being able to do 3x at 4K.

Unless it's a 4080/4090, 4K48 is about the best you can expect to get. With my 3090 I can do 4KHDR/24 x2 but not x3.

If you are living life to the fullest and DO have a 4090 in your HTPC, then maybe it is underperforming. Make sure you're not using up all your GPU power on MadVR or other expensive upscaling, try setting your media player to "maximum performance" power mode in Nvidia Control Panel, and possibly try MPV if you're currently using MPC. Those seem to be the general tips from the 31 page long RIFE thread.

cemaydnlar wrote:

Does decrease to hd setting have an effect on smoothness or is it just lowering the video quality ? I fell like original video feels smoother than the one with decrease to hd setting.

That button reduces the video to 720P. I can't imagine any situation where it would make sense to use it. It may be that the resolution of the video plays a role in how well the algorithms work, but as far as I know it just uses some kind of cheap scaler to resize the video to 1280x720 before SVP interpolates it.

Fortune424 wrote:

The annoying thing about the performance boost for me has been movies that use multiple aspect ratios / resolutions. For example I'm watching Resident Evil (2002) BluRay right now and there's a 16:9 camera, an almost 16:9 camera, a 21:9 camera, 4:3 CGI for the computer vision/security camera stuff, etc. It has stopped to generate the training info a few times. For anime/web content it's not so bad - you've basically just got 21:9 and 16:9 versions of 480P through 4K and then the occasional portrait/4:3 video.

As an aside, I just realized that this is because of SVP's black bar detection. If you disable black bar detection, the number of possible resolutions you need to pre-cache the RIFE info for will decrease... but apparently the reason that exists in the first place is because SVP thinks the bars are part of the video to interpolate if they're NOT removed, so it sounds like you'd be giving up some quality there if you choose to leave it off.

Also, it seems like by default SVP decreases videos to your screen resolution before interpolating. Makes sense, and doesn't matter if you're on a 4K screen (unless you're doing 8K videos I guess), but it means that anyone with a 1440P screen trying to test 4K interpolation speed isn't REALLY testing 4K interpolation speed unless they turn that setting off:

https://i.imgur.com/Ie4xg3R.png

zxcvbnm821 wrote:
Fortune424 wrote:

To anyone confused, these are the full instructions to get the best setup going right now as far as I am aware. Please correct me if I'm wrong. With all due respect to Chainik, I think they're too smart and could benefit from giving a little more detail in the instructions for us non-developers.

1. Install SVP - select whatever player you want, I'm using MPV because back in the previous pages people claimed it was faster than MPC-HC/BE.
2. Go to Utilities -> Additional Programs and Features
3. Install the RIFE AI thing and the Tensor RT thing at the bottom. I also chose MPV Shared Libraries, not sure if it matters.
4. Restart the program.
5. Download the V2 model folder from here. https://github.com/AmusementClub/vs-mlr … e_v2_v1.7z SEE FOOTNOTE - MAYBE STOP HERE FOR NOW
6. Extract the "rife_V2" folder into your models folder (SVP 4\rife\models) so it sits beside the "rife" folder.
7. You should have a path like "C:\Program Files (x86)\SVP 4\rife\models\rife_v2\rife_v4.6.onnx" when this is done.
8. Download the updated vsmlsrt.py from here: https://www.svp-team.com/forum/misc.php … download=1
9. Replace "SVP 4\rife\vsmlrt.py"
10. Restart SVP 4.
11. Now you can select your settings as before. This seems optimal for me:
https://i.imgur.com/5UpwsF7.png
12. The thing here that confused me is that you don't have to select the V2 model specifically. It seems like SVP chooses the V2 model automatically if the folder structure exists like that. So you'll be using the non-ensemble V2 rife 4.6 model by default if you have your thing set up like mine.
13. I'm doing x3 for 21:9 1080P and below, and x2 for 4K and 16:9 1080P. Seems to work okay with a 3090 though I've only tested a couple videos, I'll report back.
14. The threads doesn't seem to make much of a difference.

Thank you to Chainik and the SVP team (IS there a team?) for making a great program, and thanks to UHD and everyone else who has contributed to this thread. The RIFE interpolation looks so good. I look forward to seeing it progress, and eagerly await the theoretical RTX 5090. Told myself I'd sit out this current generation now that GPUs cost more than my first car.

---



NOTE: If you read further down, we've determined V2 may be substantially reducing visual quality (at least at 4K). Recommend sticking with the out of the box RIFE model configuration for now. (V1 4.6 + TensorRT + performance boost).



---

Do I need replace the updated vsmlsrt.py if I don't use V2?

No, that's only necessary if you're using V2.

Although now that you mention it, I never recovered the original vsmlsrt.py when I downgraded to V1... so maybe someone can chime in on what exactly the change IS. Because apparently the new vsmlsrt.py works with the V1 model as well.

dawkinscm wrote:
Fortune424 wrote:

I think I can confirm. It really is painfully obvious when you do a side by side comparison. I bet V2 looks worse than the 1080P BluRay would. I guess the free performance boost was too good to be true, for now.

Here's from the opening of the 4K BluRay of Avatar 2:

MPV with stock SVP settings, RIFE 4.6 w/ TensorRT on a 3090.

I don't think it does look worse than a 1080 BluRay. I use VR to watch 3D and as far as I can tell, I don't get the same issues. Maybe there's a resolution issue, but I checked and all the detail is there when compared to the original Blu-ray when using Rife v2 with no quality difference to Rife v1. I also checked a number of difficult scenes from other movies and the same applies there too. So maybe it's a 4K resolution issue but I'm not interested in 4K playback using SVP so I haven't tried that. Stock MPV settings uses gpu and I do notice a marked improvement in quality when using gpu-next with proper configuration so you may wish to try that as well.

You can see in our screenshots that SOMETHING is wrong. It looks a lot more jagged and low res with V2 enabled. It is entirely possible it's only at 4K though. I didn't notice a problem at 1080P, though there is less detail there to begin with so who knows. At this point I'm just going to stick with V1 personally, until the cause is revealed or it is fixed.

I think I can confirm. It really is painfully obvious when you do a side by side comparison. I bet V2 looks worse than the 1080P BluRay would. I guess the free performance boost was too good to be true, for now.

Here's from the opening of the 4K BluRay of Avatar 2:

https://i.imgur.com/gqoKFqP.png

MPV with stock SVP settings, RIFE 4.6 w/ TensorRT on a 3090.

dlr5668 wrote:

v2 doesnt work with performance boost = disabled. Buts aside from this its fine

The annoying thing about the performance boost for me has been movies that use multiple aspect ratios / resolutions. For example I'm watching Resident Evil (2002) BluRay right now and there's a 16:9 camera, an almost 16:9 camera, a 21:9 camera, 4:3 CGI for the computer vision/security camera stuff, etc. It has stopped to generate the training info a few times. For anime/web content it's not so bad - you've basically just got 21:9 and 16:9 versions of 480P through 4K and then the occasional portrait/4:3 video.

I wonder if we can create a repository for the training info per GPU. It seems anyone interested in this sort of thing, at least for now, is going to gravitate around the last couple generations of high end NVIDIA cards. In this thread for example, every other person is on a 3090 or 4090.

@BlackFyre I think I see what you're talking about with the quality reduction. I also tried Avatar Way of Water (like a 34GB 4K file) and it looked kind of lower res than it should. I'll have to test back and forth.

dawkinscm wrote:

I could have done with this info a few weeks ago smile But at least it made me go deeper and look into the code itself which has helped.

Fortune424 wrote:

12. The thing here that confused me is that you don't have to select the V2 model specifically. It seems like SVP chooses the V2 model automatically if the folder structure exists like that. So you'll be using the non-ensemble V2 rife 4.6 model by default if you have your thing set up like mine.

Yes I did comment on this a few weeks ago but I got not reply and in general I haven't been getting any replies from the devs. There is a single piece of "wrapper" code for all models. I'm not a Python person but it looks like it defaults to Rife V2  for the Tensor backend if the Rife v2 folder and onnyx models exist. Otherwise it defaults back to Rife V1.

I don't need it to be any better for smoothness and as I said before, it is mostly way better for artefacts. But I just wish there was some way to adjust for artefacts because it does sometimes introduce it's own kind of artefacts.

Yeah, me too. Took me a couple days to figure it out. I had a slow few hours on top of a mountain yesterday at work and read through this whole thread and it started to make sense. Now that I've used it some more it's not perfect. I notice anything with text whether it's part of the show or hardcoded subtitles/information looks funky and there is occasionally issues during scene changes and stuff. In typical motion though I think it's better looking than anything else still.

To anyone confused, these are the full instructions to get the best setup going right now as far as I am aware. Please correct me if I'm wrong. With all due respect to Chainik, I think they're too smart and could benefit from giving a little more detail in the instructions for us non-developers.

1. Install SVP - select whatever player you want, I'm using MPV because back in the previous pages people claimed it was faster than MPC-HC/BE.
2. Go to Utilities -> Additional Programs and Features
3. Install the RIFE AI thing and the Tensor RT thing at the bottom. I also chose MPV Shared Libraries, not sure if it matters.
4. Restart the program.
5. Download the V2 model folder from here. https://github.com/AmusementClub/vs-mlr … e_v2_v1.7z SEE FOOTNOTE - MAYBE STOP HERE FOR NOW
6. Extract the "rife_V2" folder into your models folder (SVP 4\rife\models) so it sits beside the "rife" folder.
7. You should have a path like "C:\Program Files (x86)\SVP 4\rife\models\rife_v2\rife_v4.6.onnx" when this is done.
8. Download the updated vsmlsrt.py from here: https://www.svp-team.com/forum/misc.php … download=1
9. Replace "SVP 4\rife\vsmlrt.py"
10. Restart SVP 4.
11. Now you can select your settings as before. This seems optimal for me:
https://i.imgur.com/5UpwsF7.png
12. The thing here that confused me is that you don't have to select the V2 model specifically. It seems like SVP chooses the V2 model automatically if the folder structure exists like that. So you'll be using the non-ensemble V2 rife 4.6 model by default if you have your thing set up like mine.
13. I'm doing x3 for 21:9 1080P and below, and x2 for 4K and 16:9 1080P. Seems to work okay with a 3090 though I've only tested a couple videos, I'll report back.
14. The threads doesn't seem to make much of a difference.

Thank you to Chainik and the SVP team (IS there a team?) for making a great program, and thanks to UHD and everyone else who has contributed to this thread. The RIFE interpolation looks so good. I look forward to seeing it progress, and eagerly await the theoretical RTX 5090. Told myself I'd sit out this current generation now that GPUs cost more than my first car.

---



NOTE: If you read further down, we've determined V2 may be substantially reducing visual quality (at least at 4K). Recommend sticking with the out of the box RIFE model configuration for now. (V1 4.6 + TensorRT + performance boost).



---

23

(10 replies, posted in Using SVP)

I have been using the included RIFE 4.6 on my 3090 using the Tensor-RT engine with performance boost enabled.

It works great at 1080P and below, but is too slow at 4K.

I have heard that RIFE-V2 is fast enough to work at 4K on a 3090.

How do you install it?

I see this:

https://github.com/styler00dollar/Vapou … ter/models

But the content of those model folders there don't appear to match what is currently in my \SVP 4\rife\models folder. If I put them in there and switch to the non-TensorRT engine, they show up in the list of models but MPC crashes when I try to open a video.

Any help? I tried searching through the last few pages of the big RIFE thread but didn't see anything.

Thanks!

EDIT: Secondary question - in that Github repository there are also RIFE V3, V4, etc. Why is V2 all that anyone talks about?

Blackfyre wrote:
Kaminominaaa wrote:

I have a OC'd 3060ti, do i just go into the manual settings and switch accuracy to 1 and check for artifacts? also what profile and shader do you want me to use? i can put together a little video if you'd like

Frame Interpolation Mode: Uniform (Max Fluidity)

SVP Shader: Standard

Artifact Masking: Strong

Motion Vectors Options (NVIDIA Optical Flow)

Accuracy: High

Motion Vectors Grid

Go to ALL SETTINGS by right clicking the SVP Icon, Application Settings, Additional Options, All Settings...

Scroll all the way down in the settings until you find the PROFILE that you're using, your own Manual Profiles (which I am sure you have named), the name would be under title for that section.

Change only nvof_grid for that profile to 1

Exit All Settings.

Motion Vectors Grid: This should now say Custom: 1 for your profile in SVP Control Panel.

This is all assuming that when you use 4px your CPU can handle it already, so trying 2px and 1px will be even harder for the CPU, your video might start dropping frames. But if it doesn't and your CPU handles it, let us know if you see less artifacts now and better smoothness.

Why do you use standard shader instead of complicated? I was under the assumption complicated was better than standard, just heavier on the system.

Are those the settings you would recommend for the best looking SVP possible? I have a R9 3900X and 2080Ti and am looking for the best 1080P/4K experience. Right now my settings are this: https://i.imgur.com/j0QtZp9.png

If I use 4px at 4K it just freezes. Not sure what the issue is there, with 8px at 4K it's only like 20% CPU usage and I have 32GB of RAM.

Thank you!

25

(4 replies, posted in Using SVP)

AutumQueen92 wrote:

Got an R5 3600 + 2060S.
Use the auto settings for anime/movies, make a copy of the profile and fine tune from there. For SVP and MadVR, highest settings don't necessarily mean best. I'll try to share my settings after I get off work.

Thanks, I’d be interested in that. All the guides seem to be aimed at really low end/old hardware or people not using MadVR as well. I am pretty happy with the setup now but I’d be curious to see someone else’s.