Commit Graph

  • e70cbb6a39 Destroy finalized pools in vk_mem_collect outside every lock, not in the completion callback or under the upload lock. chrg6 2026-11-13 17:13:50 -05:00
  • b146ee716c Copy untouched lazy-heap pages as zeros in mem_copy_readable instead of faulting on them under frz_lock. chrg6 2026-11-13 17:12:00 -05:00
  • 350c8b2111 Finish a new VRAM mirror's state under the pool lock hold that puts it on the mirrored list. chrg6 2026-11-13 17:08:38 -05:00
  • 688b250673 Let held_resume ask whether held work can go on from a published copy, not from a continuation another thread frees. chrg6 2026-11-13 17:07:34 -05:00
  • b755cdc536 Make the ASTC scratch trim only try the upload lock, so it can no longer deadlock with an upload. chrg6 2026-11-13 17:05:51 -05:00
  • a473e763b2 Tie the stutter map's cause count to perf.c's at compile time, and rewrap the comment that lists the causes. chrg6 2026-11-13 17:54:22 -05:00
  • 93be3e0665 Say in timed_alloc's comment that failed device memory allocations count in the mark. chrg6 2026-11-13 17:53:30 -05:00
  • 2d02ea664f Take only the render thread's own pacing out of the perf window's "render busy", and say that the pacing share counts other threads' waits. chrg6 2026-11-13 17:53:09 -05:00
  • ec967d4daa Say in perf_census.h that the census charge assumes the walk held the replay up, and say in the ini when the walk line is left out. chrg6 2026-11-13 17:51:58 -05:00
  • 28f420bf03 Take a census walk seen running for over 2 s as a torn read and charge nothing to it. chrg6 2026-11-13 17:50:59 -05:00
  • b7c678540e Give the frames presented at the start and end of a census walk on the "mem: process" line, not seconds since boot. chrg6 2026-11-13 17:49:15 -05:00
  • a2255cfc5a Drop the false reason from present_main's single read of the trace flags. chrg6 2026-11-13 17:48:39 -05:00
  • 9d8f698b46 Read the trace flags once per present in the present thread, so a switched trace cannot mix timed and untimed stamps. chrg6 2026-11-13 17:30:18 -05:00
  • 48ea624389 Bring the stutter map's ini text, the checks in docs/building.md and the released-textures bound line in step with the code. chrg6 2026-11-13 17:27:35 -05:00
  • 395f57a2fa Count the hitch in the run's last frames in the stutter map's exit report. chrg6 2026-11-13 17:26:43 -05:00
  • 110c1b24f9 Make the stutter map's report copy the map under its lock and sort and log the copy without it. chrg6 2026-11-13 17:25:03 -05:00
  • 7684734b47 Log once per switch when rt_knob reads a value other than 0, 1 or ab as on. chrg6 2026-11-13 17:23:30 -05:00
  • 74b9687a8f Time VMA's device memory allocations in the trace's work marks. chrg6 2026-11-13 17:22:18 -05:00
  • f687ede724 Leave waits for value 0 out of the count of game waits that returned with event-ordered work held. chrg6 2026-11-13 17:20:50 -05:00
  • af8e2a323b Charge the frames a memory-census walk overlapped to census, the memory report's time to a report part, and walk once at frame 3600N. chrg6 2026-11-13 17:20:25 -05:00
  • 0472734008 Time the hand-off to the present thread, the present call and other threads' acquire waits, and count the acquire's GPU wait once. chrg6 2026-11-13 17:17:19 -05:00
  • 26b7cfd658 Put the process's OS handle count on the sizes line and add a handle census by kind behind NX2NAVI_HANDLE_CENSUS. chrg6 2026-11-13 17:11:52 -05:00
  • baf83fda6a Make a stutter-map episode end at its last frame that stood out once the frames after it settle into a pace. chrg6 2026-11-13 17:08:08 -05:00
  • c9c61e726f Wrap the lines the review's fixes left long in the RTSS docs, code and checks. chrg6 2026-11-13 17:55:18 -05:00
  • fb648acef9 Say where frame generation's acquire queue comes from when the graphics family has one queue. chrg6 2026-11-13 17:53:38 -05:00
  • 2150458a01 Pass the unlimited frame rate's RivaTuner Statistics Server want as it is. chrg6 2026-11-13 17:53:23 -05:00
  • 130fa90590 Drop the closed input that rtss_decide.h had and the worker never set. chrg6 2026-11-13 17:52:46 -05:00
  • 55e03cf792 Log RivaTuner Statistics Server's hold only while its want is still the current one. chrg6 2026-11-13 17:52:08 -05:00
  • 4c919882fa Tell of two limiters also where RivaTuner Statistics Server is out of the limit because its profile is read-only or its library did not load. chrg6 2026-11-13 17:51:27 -05:00
  • fa229f94f8 Say that a later limit loads RivaTuner Statistics Server's hooks library in a run kept out at its start. chrg6 2026-11-13 17:49:29 -05:00
  • 9c32d3bca9 Number RivaTuner Statistics Server's profile created and removed lines, so a play-test can count the churn. chrg6 2026-11-13 17:48:51 -05:00
  • 3b250adffd Describe the frame pacer, the one-limiter rule and RivaTuner Statistics Server as they behave now. chrg6 2026-11-13 17:30:52 -05:00
  • 8e8d6a2f51 Move RivaTuner Statistics Server's decisions into a function of their own, and pin them with a check that needs no RTSS. chrg6 2026-11-13 17:28:46 -05:00
  • 7613b7ade6 Bring the comments on frame generation, its restarts and RivaTuner Statistics Server's exit up to date. chrg6 2026-11-13 17:20:56 -05:00
  • ecbd49441b Log RivaTuner Statistics Server's own settings for the game while it lists the game. chrg6 2026-11-13 17:19:31 -05:00
  • 6be25cc978 Look for RivaTuner Statistics Server on its own thread, so the first present no longer reads the registry and files. chrg6 2026-11-13 17:18:06 -05:00
  • b2b37a3e5d Log the limit RivaTuner Statistics Server's profile holds, not the one the game asked for, when RTSS rounded it. chrg6 2026-11-13 17:16:23 -05:00
  • 07aca0170c Tie RivaTuner Statistics Server's hold to the want it was decided for, so a stale store no longer keeps the pacer aside. chrg6 2026-11-13 17:15:35 -05:00
  • b0488796a1 Tell in the log and the menu when RivaTuner Statistics Server's own limit holds the game beside another limiter. chrg6 2026-11-13 17:13:34 -05:00
  • a1153aa079 Keep RivaTuner Statistics Server's profile as the exit put it back, so the game's limit no longer returns to it. chrg6 2026-11-13 17:07:41 -05:00
  • 2f640fb8ed Make the stutter map count runs of long frames as one hitch and the texture pool's area loads as loads. chrg6 2026-11-13 12:54:05 -05:00
  • 7b3edac140 Log the GPU's timed parts of a frame whose render thread waited 20 ms or more for fences. chrg6 2026-11-13 12:49:24 -05:00
  • 67cef75920 Make the memory report's system line name the write-combined views, the recording copies and the handles. chrg6 2026-11-13 12:48:00 -05:00
  • cacb1318fc Count the NVN recording copies no submission used for 5 minutes, without walking them. chrg6 2026-11-13 12:46:57 -05:00
  • 5354aecdc5 Name the term that set the released textures' size bound in its log line. chrg6 2026-11-13 12:44:51 -05:00
  • 1fa8b61b87 Give back the ASTC decoder's grown scratch 5 s after its last large texture, not at the next upload. chrg6 2026-11-13 12:44:24 -05:00
  • b81a9561ca Log how long the memory report took on the presenting thread. chrg6 2026-11-13 12:42:19 -05:00
  • 7b0dbeb18d Write the session's reports when the window loses the focus in play, more often in play, and log every end of the game in the launcher. chrg6 2026-11-13 12:41:44 -05:00
  • 00081be563 Split the released textures' take-backs and remakes by kind and size, and say what keeps them past their bound with room. chrg6 2026-11-13 12:37:20 -05:00
  • 2969005edc Past the hard count of released textures, drop the cheapest ones first, in one walk per batch. chrg6 2026-11-13 12:35:40 -05:00
  • 7aa29ff12a Record a pipeline in pipeline-keys.bin at its fast link, not only when its optimised build ends. chrg6 2026-11-13 12:31:04 -05:00
  • 0e0cfe0827 Keep the freezes of idle regions back after slow ones and around area loads. chrg6 2026-11-13 12:29:51 -05:00
  • f7487ceee5 Make the memory census walk once and fire on the process's own commit, not on its private bytes. chrg6 2026-11-13 12:25:33 -05:00
  • f1a2a64e83 Refuse to package a shader translator that was not built from the checkout's own sources: make_launcher prepares the translator's sources in a temporary folder, hashes them as tools/build_xlate.py does, and stops when the --xlate folder's nx2navi_xlate.id differs. 0.10.0 and 0.10.1 shipped the 0.9.2 translator, whose translations still clamp texture pool handles to slot 32767, so the ground could go see-through (issues #569 and #824). chrg6 2026-11-13 15:20:28 -05:00
  • 7e74c9efd9 Say in the architecture notes when mesh_fallback = auto takes the fallback, and that a count the GPU wrote is cut to the fallback's buffers. chrg6 2026-11-13 12:34:38 -05:00
  • c99e9a94f8 Start every pass and dispatch mark with no mesh draws counted, where the mark is made. chrg6 2026-11-13 12:34:10 -05:00
  • bac47d2edb Order the write-back merge's writes after earlier writes of the imported buffers it writes. chrg6 2026-11-13 12:32:14 -05:00
  • edd5d04e8c Cut a mesh fallback draw's workgroup count that the GPU wrote to what the fallback's buffers hold before a dispatch reads it. chrg6 2026-11-13 12:32:02 -05:00
  • 46d71da8aa Draw task and mesh programs through the mesh fallback by default on AMD's Windows driver for RDNA 1 and 2, where native mesh pipelines lost the device in play; mesh_fallback = 0 draws them natively again. chrg6 2026-11-13 12:30:42 -05:00
  • 1f4818fb6b Name in a lost device's report the mesh draws of each marked pass, a group of draws the replay workers recorded between two marks, and in the fatal line how mesh draws are drawn. chrg6 2026-11-13 12:28:27 -05:00
  • 8df4311723 End the run as a lost device when a timeline reads above every value its signals carry, and log the submissions' state with the first occlusion query left unwritten. chrg6 2026-11-13 12:27:05 -05:00
  • 5ae55db41c Keep CPU helper threads on Automatic and Start next frame early on by default in 0.10.1, as in 0.10.0, and give 0.10.1's notes the video memory fix. v0.10.1 release-0.10.1 epicmeme546 2026-11-13 11:57:11 -05:00
  • 1dbecd464f Hand an overwritten render target's image on after 8 presents while the card is past its pressure share, and free the ones no texture took after 32. epicmeme546 2026-11-13 11:34:19 -05:00
  • 217fb32f6b Let a render target that was drawn over give its image to the next target of its size, so video memory no longer fills up while the camera moves. epicmeme546 2026-11-13 11:19:09 -05:00
  • a84a3ab12d Make the release 0.10.1: every setting under the Game tab's Testing heading is off by default again, CPU helper threads (replay_workers = 0) and Start next frame early (tail_early = 0) among them. chrg6 2026-11-13 10:49:01 -05:00
  • 5190f8e932 Make the release 0.10.0, with its notes; the notes of the unreleased 0.9.3 are folded into them. v0.10.0 release-0.10.0 chrg6 2026-11-13 09:53:26 -05:00
  • 26d26babe5 Bring public main's bug capture on F8 and its removal of the Steam co-op into the 0.10.0 line. chrg6 2026-11-13 09:52:43 -05:00
  • 8a99af1080 Give back the graphics pipelines no draw has used in this run while video memory is short: over tex_vram_pressure percent of the budget, the autosave thread takes up to 256 of them out of the table every 5 seconds and destroys them once the GPU is past the submission being recorded; a draw that needs one later builds it again from the pipeline cache. Mesh pipelines, entries building or linking and compute pipelines stay, and the next pass logs the video memory in use before and after. pipe_release = 0 keeps them all. chrg6 2026-11-13 09:19:50 -05:00
  • f5da269add Remove the experimental co-op through Steam. epicmeme546 2026-11-13 09:08:40 -05:00
  • e4df494048 Turn the early tail on by default (tail_early = 1): the game starts its next frame while the graphics card runs the last one's upscaler and interface, and a frame whose end hands the game anything else runs as before; tail_early = 0 turns it off. chrg6 2026-11-13 08:58:03 -05:00
  • 482f7fdfb5 Stop logging a replay worker's deferred render target lookup as a target left out, and say why a target that is left out could not be rendered. chrg6 2026-11-13 08:33:53 -05:00
  • 5faa1687f4 Add quad_index, which draws an indexed quad list as two triangles per quad and closes an indexed line loop, from the game's own indices, and log the first such draw either way. chrg6 2026-11-13 08:33:47 -05:00
  • 9d5f16bda4 Add oq_hold, which makes a samples-passed report whose draws the full occlusion query ring left uncounted repeat its record's last complete count, and log how often such reports happen. chrg6 2026-11-13 08:33:35 -05:00
  • cc5c8f87ad Add shadow_pcf, which makes every depth-compare sampler filter linearly so each shadow test blends the 2x2 shadow map texels around it, and log the filters of the compare samplers made. chrg6 2026-11-13 08:33:09 -05:00
  • fadd4a6d5e Copy large textures out of the game's memory on several threads at once: a level of 1 MiB or more goes to a small worker pool as bands of rows (par_jobs.c, tex_deswizzle.c tex_bl_copy_mt), and so does a large block copy for the GPU's ASTC decoder, so the upload's storage copy no longer runs on the drawing thread alone. The bytes are those of the one-thread copy; par_jobs = 0 turns it off. chrg6 2026-11-13 08:35:42 -05:00
  • 346f10019c Give the bug capture page the size and time of a capture at full window size. epicmeme546 2026-11-13 08:25:02 -05:00
  • e7c2fc6a6b Make the stutter map name the areas without the perf trace, and count a hitch only when the frames after it are shorter: a hitch is now measured against the median of the last 32 frames, so a steady change of pace (the game drawing at 60 fps after 200) is no longer counted as a run of hitches. chrg6 2026-11-13 08:23:11 -05:00
  • cd0e87dd8c Say in the bug capture page what a replay does when a conversation holds Link, and what was measured. epicmeme546 2026-11-13 08:20:11 -05:00
  • d499a828b7 Compress idle shader SPIR-V after 5 seconds while the system memory is tight, and after 1 second while it is critical. chrg6 2026-11-13 07:53:47 -05:00
  • 0c153c124e Add mem_budget: one place that says how much room the card and the system have. chrg6 2026-11-13 07:53:47 -05:00
  • 3573a96f46 Keep the SPIR-V of shaders nobody read for 30 seconds compressed in memory. chrg6 2026-11-13 07:48:06 -05:00
  • 71e52159f9 Add spv_store.h, which keeps a shader's SPIR-V zstd-compressed while nobody reads it, and its check. chrg6 2026-11-13 07:47:56 -05:00
  • 97671e8ea7 Add the stutter map: each hitch of a play session with its area, what the frame waited for and the pipelines and shaders its draws met missing, and every 10 minutes and at exit the areas ranked by their hitches and the pipelines that cost the most (stutter_map = 1, off by default). tools/stutter_map.py turns a log into a report and counts what a game folder recorded that a pipeline list lacks. chrg6 2026-11-13 07:31:57 -05:00
  • cae09a2bcd Add floor_watch: hardware watchpoints on the floor the scan finds log which game code reads and writes it, at 60 fps and again at 120 fps or more. chrg6 2026-11-13 07:08:09 -05:00
  • c84724da2c Make a moving floor carry Link above 100 fps as it does at 60 (set ofollow, floor_carry = 1). chrg6 2026-11-13 07:07:34 -05:00
  • d9429b0c00 Break the memory report down past VMA, by owner in system memory, and by growth over a session. chrg6 2026-11-13 06:46:00 -05:00
  • a74503cd86 Add physics_steps = 2: at least a 60 fps frame's solver steps in every update on 1.1.1. chrg6 2026-11-13 06:26:39 -05:00
  • b912d72b87 Remove the Video memory use row; its low behaviour is the only one now. chrg6 2026-11-13 06:23:01 -05:00
  • 4fd70e398f Make F8 write a bug capture and add a test run that starts from one. epicmeme546 2026-11-13 06:22:18 -05:00
  • 75ae5b0221 Read co-op's switch by its new name, coop_steam, in the launcher too. chrg6 2026-11-13 06:07:26 -05:00
  • b399d8f15c Keep a late HD rumble report from opening a Joy-Con pair again after the stop. chrg6 2026-11-13 06:02:58 -05:00
  • d59488d308 Claim the anti-aliasing setting's frame with a compare-and-swap, so SMAA's idle images are freed once. chrg6 2026-11-13 06:01:52 -05:00
  • 721da64866 Put Steam's library file beside the game only with co-op on, and look for it off the window's thread. chrg6 2026-11-13 06:01:44 -05:00
  • 0e76baad36 Limit replay_small to 0..63, where it can match a group. chrg6 2026-11-13 05:58:10 -05:00
  • e7dead8663 Take the low-latency lock around AMD's anti-lag calls, so the switch-off is the driver's last word. chrg6 2026-11-13 05:56:51 -05:00
  • c656532cd3 Warn in the log when replay workers are set by number on AMD's driver for RX 6000 and older. chrg6 2026-11-13 05:55:05 -05:00
  • 5c5b1914d5 Keep the sizes frame generation still uses when the upscaler's idle sizes are freed. chrg6 2026-11-13 05:54:37 -05:00
  • e682934bd0 Write the log file before stderr, and keep a blocked console from stopping the log and the exit. chrg6 2026-11-13 05:53:29 -05:00
  • 175033d49a Merge main's co-op switch name into the 0.10.0 line. chrg6 2026-11-13 05:58:46 -05:00
  • 97f1caa9b4 Of one GPU listed by two installed drivers, take the newer driver's listing. chrg6 2026-11-13 05:52:26 -05:00