mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-18 04:49:57 -04:00
Add the reflex_limit setting (NX2NAVI_REFLEX_LIMIT, default 1, live), which gives the frame limit back to the game's pacer with DLSS Frame Generation.
Reflex's hold of the frame limit with DLSS-G is unmeasured here (no RTX 40 or 50), so a player needs a way back to the pacing of 0.10.1 without an older DLL. vk_dlssg.c limit_allowed reads the setting through cfg_bool, again whenever a setting changed (cfg_version), as vk_lowlat.c reads low_latency; with 0 the presenting guest thread asks Reflex for no limit, the present thread hands Streamline 0, and the "frame rate:" line names NX2NAVI_REFLEX_LIMIT=0 as the reason the game's own limiter holds it. The row sits beside FG_MULT in metas[], beside REFLEX in known[] and beside LOW_LATENCY in sections[] (display), and nx2navi.ini.example explains it under framegen_multiplier. cfg_rows_check reports 0 problems; vk_dlssg.c and cfg.c compile clean with the dev build's flags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -334,7 +334,7 @@ keeps per-core data without locks and relies on that, so the host models it (`ru
|
||||
(`frame_rate.c` `frame_step_ceiling_ns`). Since the SDK does not say whether the driver's interval counts the frames
|
||||
the game draws or every frame on screen, the frames are checked: about the multiplier periods apart switches Reflex
|
||||
to the period over the multiplier once, and the same again or frames too soon give the limit to the pacer for the
|
||||
run.
|
||||
run. `NX2NAVI_REFLEX_LIMIT=0` (live) leaves the limit to the pacer, as before Reflex's frame limit was used.
|
||||
The device gets the drivers' extensions only in a run that starts with the setting on (`vk_device.c`
|
||||
`create_device`): turning it on takes a restart, and with it off the device is made as it was before the mode.
|
||||
- ASTC textures are uploaded as they are where the device samples ASTC, and decoded by a compute shader everywhere
|
||||
|
||||
Reference in New Issue
Block a user