Topic: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

Hello all, I have been working to figure out a RIFE performance issue I've had. I have a 7800x3D and a 4090. Because the guide stated a 4090 should be capable of 10-bit HDR at 60fps, that was my goal - however, no matter what I did, I could not hit that target. I kept experimenting though, and here's what I learned: the setup I have can do up to Movie 2x at 10 bit 4K HDR with RIFE. At Movie 2x, my CPU is sitting comfortably at a steady 19-21% usage and my GPU is steady at 70% usage. With these results, I was hoping to be able to hit 60fps by increasing the framerate. Increasing to Movie 2.5x (or any setting higher than Movie 2x - 10 bit or not, no matter the thread count, no matter the AI model) causes everything to slow to a choppy mess where the GPU and CPU load both increase and drop incrementally. The attached photo shows the performance graphs - the smooth one is Movie 2x, and the choppy spike one is Movie 2.5x. I'd like to know if this is appears to be normal behavior when RIFE is maxed out or perhaps a problem/bug with the RIFE implementation. If it is normal behavior, I'd also like to know if there is a way to pick a specific framerate (50, for example) to try and squeeze out some more performance, since every frame counts below 60fps. Switching the number of threads, AI model, or turning 10 bit HDR off makes no meaningful difference. I am happy to provide logs/test further if someone is willing to take the time to walk me through it. Thank you for your time, and I hope this helps anyone who has been experiencing similar issues with RIFE.

Post's attachments

RIFE Performance (Movie x2).png 139.2 kb, 10 downloads since 2024-03-13 

RIFE Performance (Movie x2.5).png 170.77 kb, 8 downloads since 2024-03-13 

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

x2.5 needs TWO times more GPU power than x2

3 (edited by SHTH34D 14-03-2024 17:20:12)

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

Chainik wrote:

x2.5 needs TWO times more GPU power than x2

Ah, so it is normal behavior. Good to know, thanks. It may be worth updating the wiki to state the 4090 is only capable of Movie 2x/48fps with RIFE. Additionally, is it possible to select specific framerates to gain more performance? Id like to reach the highest I can within 49-59fps since I'm only using 70% of my GPU, and Movie x2.5 is too demanding.

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

You can use x2 and switch your Display to 50 Hz mode.
To avoid dropped frames I use mpv player and ReClock replacement.
So, I open 24 fps videos, use RIFE x2 interpolation to get 48 fps. And mpv make it slightly faster to get 50 fps to match my screen refresh rate of 50 Hz.

To enable ReClock replacement in mpv you need to uncomment these lines: Information > Additional information > mpv configuration file

#video-sync=display-resample
#video-sync-max-video-change=5

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

it's not your GPU fault, the cause is the DDRAM's BW bottleneck (this was confirmed) or even the Vapoursynth bottleneck, we don't know for sure.

instead of x3 you can try a better quality model like Rife 4.9 or 4.15 x2

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

aloola wrote:

it's not your GPU fault, the cause is the DDRAM's BW bottleneck (this was confirmed) or even the Vapoursynth bottleneck, we don't know for sure.

instead of x3 you can try a better quality model like Rife 4.9 or 4.15 x2

Ahhh, ok. That makes much more sense to me. I was having the stuttering performance at 50fps, but only 70% GPU usage at x2 (48fps). I have been using 4.9 but will look into 4.15. Thank you guys! Doing the lord's work. Let me know if I can assist in any way by testing!

7 (edited by flowreen91 15-03-2024 20:30:34)

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

SHTH34D wrote:

I was having the stuttering performance at 50fps, but only 70% GPU usage at x2 (48fps). I have been using 4.9 but will look into 4.15.

I'm getting smooth 300 fps with these settings.
https://gyazo.com/a457e8297485eba27e2596f21d08c399
Try to play around with resize maybe?
https://www.svp-team.com/wiki/Manual:All_settings

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

flowreen91 wrote:
SHTH34D wrote:

I was having the stuttering performance at 50fps, but only 70% GPU usage at x2 (48fps). I have been using 4.9 but will look into 4.15.

I'm getting smooth 300 fps with these settings.
https://gyazo.com/a457e8297485eba27e2596f21d08c399
Try to play around with resize maybe?
https://www.svp-team.com/wiki/Manual:All_settings

I'm going for Dolby Vision at 60fps, so I probably won't get close to those settings. I don't want to sacrifice visual quality for framerate. Since my GPU is at 70% usage, I will more likely need to try 4.15 to get to 60fps, but when I went to download it my virus software told me it is a trojan, and I'd rather not have to edit the registry just for this.

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

SHTH34D wrote:

I'm going for Dolby Vision at 60fps

RIFE + Dolby Vision do not work together from the last time I tested. Did something change?

Depending on the mpv configuration, you either get weird flickering, or inaccurate colours.

10 (edited by SHTH34D 16-03-2024 17:00:38)

Re: RIFE Performance Spikes Above Movie 2x Setting with 7800x3D/RTX 4090

I'm using MPC-HC with Vapousynth as that is what was recommended on the SVP instructions and by Chanik to me here in the forum for DV at 4k HDR. Whether DV is working or not I will not be getting 300fps at 4K HDR with RIFE either way, and that's not what I'm going for. While my main monitor is 4K HDR 160fps, the tv I watch movies on is 4k 60fps, so I'm going for maximum visual quality at that resolution and framerate.