Automatic Frame Interpolation when below 60 fps: is it possible? (ie: Trumotion, etc)
Started by vlbastos




7 posts in this topic
vlbastos
Member


0
15 posts 5 threads Joined: Jul 2022
07-26-2022, 01:27 AM -
#1
Is it possible to implement some kind of fast frame interpolation technique in RPCS3? I know we will have a 1 frame lag, but that would help getting God of War 3 at a constant over-60 fps.

I know real frames are always better, but I saw this frame interpolation thing working in my LG TV from 10 years ago (it has this TruMotion thing) when playing Horizon Zero Dawn in a PS4, and it was smoooooooth, so nice. If it works in a 10 years old tv, why wouldn't it work in a 2022 laptop with a RTX 3070?

Before someone starts flaming me, check out these links and see I'm not talking too much nonsense:

LucasArts' 60FPS Force Unleashed II tech demo | Eurogamer.net

AND's | rtfrucvg (intercon.ru)
vlbastos
Member


0
15 posts 5 threads Joined: Jul 2022
08-06-2022, 07:23 AM -
#2
QCOM_frame_extrapolation

OpenGL ES Extension #333
Requires OpenGL ES 2.0

    Frame extrapolation is the process of producing a new, future frame
    based on the contents of two previously rendered frames. It may be
    used to produce high frame rate display updates without incurring the
    full cost of traditional rendering at the higher framerate.

    This extension adds support for frame extrapolation in OpenGL ES by
    adding a function which takes three textures. The first two are used
    in sequence as the source frames, from which the extrapolated frame
    is derived. The extrapolated frame is stored in the third texture.

https://registry.khronos.org/OpenGL/exte...lation.txt

Why not?
Ani
Administrator
*******


16
4,387 posts 106 threads Joined: Aug 2017
08-06-2022, 12:37 PM -
#3
We don't use OpenGL ES + this is a Qualcomm extension made for smartphone platforms.
This post was last modified: 08-06-2022, 12:38 PM by Ani.
    Desktop: Ryzen 7 5800X,   Radeon RX 6800 XT, 2x8G DDR4 3600MHz, Manjaro Linux
     Laptop: Ryzen 9 5900HX,  Radeon RX 6700M,   2x8G DDR4 3200MHz, Manjaro Linux
Old Desktop: AMD FX-8350,     Radeon R9 280X,    2x4G DDR3 1600MHz, Manjaro Linux
vlbastos
Member


0
15 posts 5 threads Joined: Jul 2022
08-06-2022, 04:28 PM -
#4
(08-06-2022, 12:37 PM)Ani Wrote: We don't use OpenGL ES + this is a Qualcomm extension made for smartphone platforms.

Got it. But it's just another idea on how to make it possible.

I'm trying to find something that doesn't involve RPCS3 itself, like a ReShade. I'm learning that even though it's a fantastic idea, an FPS upscaler instead of a resolution upscaler, no one implemented it in game rendering, only in video editing. That's sad.

It would be awesome if it was an option in Nvidia/AMD/Intel drivers though. Even better if it could be done by the iGPU at the same time the real GPU takes care of the real rendering. Something like a TruMotion co-processor.
vlbastos
Member


0
15 posts 5 threads Joined: Jul 2022
08-20-2022, 03:22 AM -
#5
"Optical Flow SDK 3.0 enables DirectX 12 applications to use the NVIDIA Optical Flow engine. The computed optical flow can be used to increase frame rate in games and videos for smoother experience or in object tracking. To increase the frame rate, Frame Rate Up Conversion (FRUC) techniques are used by inserting interpolated frames between original frames. Interpolation algorithms use the flow between frame pair(s) to generate the intermediate frame."

https://developer.nvidia.com/blog/whats-...w-sdk-3-0/


"Optical flow can also be used very effectively for interpolating or extrapolating the video frames in real-time. This can be useful in improving the smoothness of video playback, generating slow-motion videos or reducing the apparent latency in VR experience, as used by Oculus (details). Optical Flow functionality in Turing and Ampere GPUs accelerates these use-cases by offloading the intensive flow vector computation to a dedicated hardware engine on the GPU silicon, thereby freeing up GPU and CPU cycles for other tasks. This functionality in hardware is independent of CUDA cores.."

https://developer.nvidia.com/opticalflow-sdk
This post was last modified: 08-20-2022, 03:38 AM by vlbastos.
Ani
Administrator
*******


16
4,387 posts 106 threads Joined: Aug 2017
08-20-2022, 10:16 AM -
#6
We don't use DirectX + we don't implement one-vendor or one-OS features, needs to be a standard
I don't think there is a way to do what you propose
This post was last modified: 08-20-2022, 10:18 AM by Ani.
    Desktop: Ryzen 7 5800X,   Radeon RX 6800 XT, 2x8G DDR4 3600MHz, Manjaro Linux
     Laptop: Ryzen 9 5900HX,  Radeon RX 6700M,   2x8G DDR4 3200MHz, Manjaro Linux
Old Desktop: AMD FX-8350,     Radeon R9 280X,    2x4G DDR3 1600MHz, Manjaro Linux
vlbastos
Member


0
15 posts 5 threads Joined: Jul 2022
09-21-2022, 12:59 AM -
#7
Nvidia just went there and used these ideas + Optical Flow to make DLSS 3.0...

Introducing NVIDIA DLSS 3 | GeForce News | NVIDIA
This post was last modified: 09-21-2022, 01:00 AM by vlbastos.
Ani
Administrator
*******


16
4,387 posts 106 threads Joined: Aug 2017
09-21-2022, 08:52 AM -
#8
Temporal solutions like DLSS 1/2/3, FSR 2.0 and XeSS require motion vectors from the Game Engine, which are impossible to have on an emulator.
And that's not even a standard, that's a proprietary solution for one vendor.
This post was last modified: 09-21-2022, 12:00 PM by Ani.
    Desktop: Ryzen 7 5800X,   Radeon RX 6800 XT, 2x8G DDR4 3600MHz, Manjaro Linux
     Laptop: Ryzen 9 5900HX,  Radeon RX 6700M,   2x8G DDR4 3200MHz, Manjaro Linux
Old Desktop: AMD FX-8350,     Radeon R9 280X,    2x4G DDR3 1600MHz, Manjaro Linux


Forum Jump:


Users browsing this thread: 1 Guest(s)