upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/launcher_python.sh
diff options
context:
space:
mode:
authorAlfredo Peres <alfredoperes0310@gmail.com>2026-11-29 12:32:12 -0300
committerAlfredo Peres <alfredoperes0310@gmail.com>2026-11-29 12:43:22 -0300
commit865f6c24e33bd7d1f442433d07d52c00187242fb (patch)
tree158d016fd481d57a086db4eb1455c4281e67df2e /scripts/launcher_python.sh
parentc22a0a73228cde800aff15964334e4fe9b13c889 (diff)
d3d12: FSR 3 frame generation for cards without DLSS frame generation (D3D12-FSR3-FRAMEGEN)
DLSS frame generation runs on RTX 40 and 50 cards only. LEONIDA_FSR_FRAMEGEN=1 (the launchers' -FsrFrameGen, or the F1 menu) presents through AMD FidelityFX's frame interpolation swap chain instead: one generated frame between two of the title's, on RTX 20 and 30 cards and on any other D3D12 card. - fsr.rs (new): loads amd_fidelityfx_loader_dx12.dll and amd_fidelityfx_framegeneration_dx12.dll from LEONIDA_FIDELITYFX_DIR (d3d12\amd-sdk\FidelityFX\bin by default) once WinVerifyTrust finds both signed, makes the swap chain, and before each present dispatches the prepare step with the depth, motion vectors, render size, jitter and camera range fg.rs collects for DLSS. The title's colour without the interface goes in when the frame is one composed plane. Not made while Streamline's frame generation is active. - fg.rs: the inputs are collected while either frame generation is on (collecting()), and inputs_for_present() hands them to fsr.rs. - host.rs: the swap chain comes from fsr.rs when it is on, and it is told before ResizeBuffers. - The F1 menu has FSR 3 FRAME GEN 2X; it can be turned off and on while the game runs. - play-nvidia.ps1 / play-d3d12.ps1: -FsrFrameGen and -FidelityFxDir; FSR frame generation is off with ray tracing, and LEONIDA_TEXTURE_ROOM_PERCENT defaults to 80 with it, since it holds 1.5 to 2 GB of video memory. Ported and adapted from trustno1-coder/VIctory-NVIDIA crates/victory-gpu/src/streamline/fsr.rs (29d8dbf, GPL-3.0); credited in d3d12/README.md and the module's notes. AMD's DLLs are not in the repository: the user puts them in the folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'scripts/launcher_python.sh')
0 files changed, 0 insertions, 0 deletions