mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 13:59:56 -04:00
Keep the previous picture on screen instead of showing a frame that lacks draws, and show the game's own VRAM in the overlay.
A draw whose shader or pipeline is still building is left out of its frame, and the frame was shown without it: a black or unlit picture with the interface intact when it was a lighting pass, a light going out, or ground missing for a frame. In a player's session a full-screen draw was skipped after its 50 ms and the frame came out black as a boulder hit. The frame's present is now left out when draws were skipped (vk_backend.c frame_hold, NX2NAVI_FRAME_HOLD_MS, 120 by default, 0 off). The game runs on, so nothing waits. The hold comes from an allowance that fills again at an eighth of the clock's rate, so a long build or a run of them shows its frames as before and does not freeze the picture; a full-screen draw that would be skipped with the allowance spent waits on instead, 500 ms at most. Not with DLSS Frame Generation. On a first walk through a village with no pipeline recorded, 21 of the 23 frames with skipped draws were held back; in the Lost Woods, 7 of 8. The performance overlay: the VRAM line is the card's dedicated memory in use, which counts every program on it: a player read 14.5 GB as the game's while the game held 7.3 GB. The line's third cell now gives what this process holds on the device-local heaps (the driver's budget figure), in place of the GPU clock, which stays where the driver gives no budget. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -93,7 +93,9 @@ void machine_and_frames(const PerfPanel *p, float scale) {
|
||||
label(UI_MENU_OV_VRAM);
|
||||
cell(UI_MENU_OV_FMT_GB, gb(s.vram_used_mb));
|
||||
cell(UI_MENU_OV_FMT_GB_OF, gb(s.vram_total_mb));
|
||||
cell(UI_MENU_OV_FMT_MHZ, s.gpu_clock_mhz);
|
||||
// the card's figure counts every program on it: this game's own share beside it, the clock where that is unknown
|
||||
if (s.vram_game_mb >= 0) cell(UI_MENU_OV_GAME_GB, gb(s.vram_game_mb));
|
||||
else cell(UI_MENU_OV_FMT_MHZ, s.gpu_clock_mhz);
|
||||
label(UI_MENU_OV_CPU);
|
||||
cell(UI_MENU_OV_FMT_PCT, s.cpu_total_pct);
|
||||
cell(UI_MENU_OV_FMT_TEMP, s.cpu_temp_c);
|
||||
|
||||
Reference in New Issue
Block a user