[pr-feature][rendering][lighting][dlss][RAYTRACING][NVIDIA] F1 RAY RECONSTRUCTION: DLSS Ray Reconstruction, with the game's own ray tracing filters off (DARNER_RR=1, off by default) #431
Loading…
Reference in a new issue
No description provided.
Delete branch "paales/ray-reconstruction"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Written by 🤖:
Refs #66, Refs #109. Replaces #401 (the same denoiser switch, now with Ray Reconstruction and one F1 row; #401 can be closed).
Contributor role (optional)
What it changes
CS_TemporalResolve1_Alphais dropped on 32-lane hosts (#66) so some glass is dark (the cafe window in the police cutscene), and there is no DLSS Ray Reconstruction (#109).One F1 row, PICTURE > RAY RECONSTRUCTION (
DARNER_RR=1, off by default):DARNER_RR_HIT=1(off) adds the reflections' hit distance.darner runleaves out the game's own spatial filters for its reflections and shadows, through paths the game has itself (8 code patches inKnownBuild::denoiser_filtersanddenoiser_histories, each checked against its old bytes as the existing patches are):TemporalResolveOpaquein place ofSpatialFilter_Std,SpatialFilterandTemporalResolve2. Blur count 0: noBilateralBlur, noUpdateHistory.The histories stay with RR: without them the GI's screen probes and the reflections change every frame in patches, and the picture boils in motion, with SR and with RR.
DARNER_TITLE_DENOISERS=0leaves out both groups (for tests),1neither. The GI probe filters and the bent cones have no such path and stay.How it was tested
Tested revision:
78655edeplus the docs commit on top (no code change after the build that was played).Commands and results: see the gates line.
cargo test -p darner-gpu --lib menu -- --include-ignoredmakes the picture of the new row (DARNER_MENU_SHOT).Changes a default: no. RAY RECONSTRUCTION is off by default, and nothing changes for a player who does not turn it on.
How the off-by-default row was checked, in the game, RTX 5070 Ti, Series X profile, 3840x2160 output, DLSS Performance, hardware ray tracing:
DARNER_TITLE_DENOISERS=0, SR). With the row on the log has "DLSS Ray Reconstruction is ready" and hardware ray tracing on.DARNER_TITLE_PATCH(one run each way, static view 16 to 30 s, change between captures 500 ms apart, 0 to 255, both groups out):SpatialFilter_Std,SpatialFilter,TemporalResolve2,TemporalResolve1_Alpha,BilateralBlur,UpdateHistoryorDenoiseShadowMaskLDSPacked; none of them is among the 60 most costly pipelines (DARNER_CARD_METER_PIPELINES=1, 0.06 ms a frame each at most). RR takes 1 to 2 ms a frame more card time than SR; the frame rate does not change.Gates run on this revision: both clippy gates pass.
cargo test --workspace --lockedwas not run to the end on this revision; on the denoiser commit alone it had 2117 passed and 1 failed, a write-watch test that fails now and then onmaintoo.Shader wave sizes tested: 32 lanes.
Hardware dependence: RR needs an NVIDIA card with DLSS; the patches are in the game's own code. The dark glass needs a 32-lane host (#66).
Coverage gaps: AMD, Intel and Series S not tested. The final RR setting (filters out, histories kept) was checked by play, not by a measured run. The cafe glass result was measured with both groups out.
Pictures (cropped from 3840x2160 captures) follow in a comment.
Checklist
main.docs/asset-policy.md.Checked for overlap
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.