Re: RIFE: gpu_thread must be between 1 and 1 (inclusive)

Small PSA: updating AMD drivers from 24.6.1 to 24.7.1 broke it again. Had to revert to 24.6.1 to get the performance back. Sigh, why does AMD hate RIFE so much...

Re: RIFE: gpu_thread must be between 1 and 1 (inclusive)

Replaced SVP 4\rife\rife_vs.dll  with this:
https://github.com/styler00dollar/Vapou … n/releases
librife_windows_x86-64.dll ---> rename to rife_vs.dll and overwrite the original file.
And now its perfectly working, fast forward and everything is okay. If i use double fps, even can handle smoothly on 2160p videos.

Not necessary, and no idea what does it do smile
But also replace SVP 4\rife\rife-v4 flownet files (version 4.4) to v4.6 from https://github.com/nihui/rife-ncnn-vulk … g/20221029
and also dont know what is it for, but changed
SVP 4\rife\RIFE.dll to the latest one from https://github.com/Asd-g/AviSynthPlus-RIFE/releases

I think the Rife.dll is for the Avisynth, the rife_vs.dll is for Vapoursynth, but not sure. Flownet, if someone knows pls tell me smile

Re: RIFE: gpu_thread must be between 1 and 1 (inclusive)

Thank you gerappa, that fixed it for me!
I'm using new 24.12.1 driver and MPV player.
Although with my 7900XT I can do only 1080p (at least I can still use 2x speed when movie is boring).
Also, it's heating my room quite a lot, I forgot how power hungry this RIFE is. But the quality is so much better compared to CPU! Still, I can't believe that even 10 years old Samsung TV can do this with similar or better quality without breaking a sweat.

I wish GPU vendors would make it easier for devs here with some nice API to double frames efficiently (if even old games can use it, then why not video players?).

29 (edited by lbc.singer.98 01-02-2025 14:24:32)

Re: RIFE: gpu_thread must be between 1 and 1 (inclusive)

I have a 7900XT with latest driver. I have replaced the rife_vs.dll and RIFE is still problematic when configured 2 or more threads on the out-of-the-box MPC-HC player with Avisynth.
It turns out that, just like @gerappa mentioned, rife_vs.dll is for Vapoursynth filter. I disabled the Avisynth filter, added the Vapoursynth filter, and peformed "Utilities - Set environmental variables for Vapoursynth".
Then everything worked: 4K, HDR, RIFE, 4 threads, Blackbar Removal. Thank you all for the solutions!

Re: RIFE: gpu_thread must be between 1 and 1 (inclusive)

I've been experimenting with "Lossless Scaling" app - it actually works with video players too (especially MPV).
It's not exactly easy to use (unlike SVP), but the generated quality is similar to RIFE and with fraction of power - I can actually generate 6x24=144fps at 4K, which is mind-blowing!
Also, since it doesn't touch the video directly, I can even speedup the video (when movie is boring) and it doesn't affect performance.
But it's full of artifacts, even around subtitles, which sucks...
But still, quite impressive, there is definitely a huge room for improvement here at SVP smile.