FidelityFX-CLI icon indicating copy to clipboard operation
FidelityFX-CLI copied to clipboard

support FSR 2.0

Open dncpax opened this issue 2 years ago • 5 comments

Would be very good to use FSR 2 now that it's available.

dncpax avatar May 19 '22 17:05 dncpax

FSR 2 code is not available publicly yet. Some technical details have been disclosed though. The effect will need not only color texture on input, but also depth and motion vectors, so it is not directly applicable to just screenshots from games. It doesn't make much sense to use it outside of a full game engine. In such engine, it will be easier to just integrate FSR 2 as the library/source code (when it becomes available publicly) rather than export the textures and launch a command line tool. So adding support for FSR 2 to this application is likely not a good idea.

adam-sawicki-a avatar May 20 '22 08:05 adam-sawicki-a

Hi. Did not know that. Thanks for clarifying. For context, I was looking into applying this method to satellite imagery. It crashes. I'm suspecting it's the size of the images (over 10000x10000 pixels). But if I'll try opening a new issue if you feel it's interesting.

dncpax avatar May 20 '22 13:05 dncpax

Sure, you can open an issue. It would be useful if you also try to debug it by compiling the project from source and checking if it is not something internal to WIC, which is a Microsoft Windows API and external to this project.

adam-sawicki-a avatar May 20 '22 13:05 adam-sawicki-a

That may well be over my abilities...

dncpax avatar May 20 '22 13:05 dncpax

@dncpax do you use source images above 10000x10000 or try to generate output with this sizes? Asking because i upscaled one 720x515 to 14400x10300 and it was okay so it is ok with 20x, tried with 25x but failed with

FidelityFX_CLI.cpp(657): FAILED( dev->CreateTexture2D(&dstTextureDesc, nullptr, &dstTexture) )

not sure if it is not hardware related as my GPU is with only 4GB VRAM (RX560)

but if your source images are 10k it is a bit diff ^^ :-P

kizmo avatar Oct 26 '22 11:10 kizmo