Long frames: one line naming what a frame over 100 ms waited for, and paging on the memory line (release builds) #3703

Closed
github-bot wants to merge 2 commits from github-bot/gh-3703 into main AGit
Owner

@⁠Lyrnc on GitHub · 2026-11-30 04:21 UTC · original
Lyrnc:diag/long-frame-line → main · +622 −6 · 6 files · 2 commits · closed without merging

Problem

G1. Release builds do not say what a long frame waited for. The frame times line only counts frames over 50 and 100 ms. Every other per-second line (the submitting thread's split, settles by why, resident waits, the texture pass) spreads a 500 ms frame over its second. The per-part timers (copystat, timeline) are in diagnostics builds only. So the perf30 cause table (CAUSES.md) had to be built by coincidence per second (tools/classify.py):

  • the once-a-second sweep: one frame over 100 ms in 79-100 % of sweep seconds;
  • pipelines made at first use: single frames of 380-620 ms.

Tonight's A/B needs the per-frame cause.

G4. Nothing logs paging, although the bench PC runs with 0.1-1.3 GB of physical memory free and the process has about 5.5 GB paged out (26310 MB private ... (20844 MB in memory)). A hard fault stalls whichever thread takes it, and no line can show that.

Fix

Two commits on main:

  1. 87f9814a, author Wtry (wtry-gta, #1925): #1925's longframe.rs module as it is at 1a4eefb2, with its call in the frame-rate meter. #1925 is on f9dfb76f and conflicts on main, so only the module and that one call come over. The places that feed its stages are in #1925's other changes and are not ported.
  2. ccc22ecc: the module gets the parts G1 lists, a default and a rate limit. memory_now gets paging (G4).

G1: crate::longframe, on by default.

  • At every present the meter swaps a set of AtomicU64 counters back to 0 (µs and span counts per part).

  • When the present came more than VICTORY_LONG_FRAME_MS after the one before (default 100; 0 turns it off), one line at info, target victory_gpu::longframe. At most 4 lines a second; the next line says how many long frames had none. Example (from the unit test):

    long frame 512 ms (frame 18200), ms on all threads: pipeline waits 480 (graphics 480; 3 threads), sweep 0, settles 6 (sync 6), lock 0, resident 12 (mapped 1), texture pass 3, translated 0, pipelines made 2 (1260 ms)

  • What feeds each part. Every feed is a relaxed fetch_add, placed where the code already reads a clock:

    Part Where
    pipeline waits, graphics / compute / screen passes pipeline/make.rs: wait() (by waits_as_screen and graphics.is_none()), and the inline compute make in ready() (where compute_spent is fed). Threads: each thread counts once per present (a thread-local present number)
    sweep host.rs::sweep(), from past its once-a-second gate to its end. This part adds its own clock read, once a second
    settles by why relay_wait() and Host::settle(), next to LATE_WAITED[why]. The line shows the total, then each why of at least 0.5 ms (always the largest), named after host's WHY_ places. A const assert in host.rs keeps those places in line with the names
    lock Host::submit, the same nanoseconds as SPLIT[11] ("waiting for the submission lock")
    resident host::resident() (MakeResident) plus host::mapped() (until mapped), the counters behind the "new memory waited for" lines; the mapped part is shown when it is 0.5 ms or more
    texture pass draw.rs heap_textures(): the loop's took plus what came before the loop (HEAP_TEXTURE_REST[7]), from the clocks it already reads
    translated pipeline.rs Shader::translated(): ms and shaders
    pipelines made make.rs Pending::make(): every HostPipeline::new (driver compile or library load), with its ms
  • A span counts whole in the frame it ended in. Parts on other threads overlap the submitting thread and each other, so the parts need not add up to the frame (the line says "on all threads").

  • The steady-state cost is relaxed atomics on paths that already wait or take a clock, an OnceLock read per feed, and 43 atomic swaps per present. The gate's mutex is taken only for frames over the threshold.

G4: memory_now() (once a second, from the sweep). The memory now: line keeps its text and gets a ; ... tail:

  • the PC's memory free (residency::physical_free);
  • our page faults a second: the delta of PageFaultCount, which counts soft and hard faults, from the K32GetProcessMemoryInfo call the line already makes;
  • the pages all processes read from disk a second, and the reads that brought them (hard faults). These are SYSTEM_PERFORMANCE_INFORMATION's PageReadCount (0x50, behind \Memory\Pages Input/sec) and PageReadIoCount (0x54, \Memory\Page Reads/sec), from NtQuerySystemInformation(SystemPerformanceInformation) (ntdll raw-dylib, as host.rs does for NtWriteVirtualMemory).

All are wrapping u32 counters. Rates are per second of the actual time between lines (the sweep can come later than a second). The first line says the rates come from the next line on. If Windows does not answer, the line says the page reads are not known.

memory now: committed 26310 MB, ...; the PC's memory free 640 MB, page faults of ours 4000 a second, pages read from disk by all processes 1000 a second in 50 reads (hard faults)

Verification

Windows 11, rustc 1.98.1 (the pinned toolchain), Ryzen 7 9800X3D. On ccc22ecc's tree, before it was committed:

  • cargo check -p victory-gpu --locked: passes. None of the crate's 18 warnings is in the lines this touches; they are existing dead code elsewhere (pipeline.rs 841-898, make.rs 1328 Queue::pop, host.rs 3160/12825/12966, shadow.rs, watch.rs and others).
  • cargo test -p victory-gpu --lib --locked -- longframe paging_tests: 10 passed, 0 failed.
    • longframe::tests:
      • threshold_defaults_to_100_ms_and_0_turns_it_off: unset, empty or not a number gives 100; 0, a negative or inf turns it off.
      • only_frames_over_the_threshold_are_long.
      • each_present_takes_the_parts_and_starts_again: the reset.
      • a_thread_counts_once_a_present_among_pipeline_waiters.
      • at_most_four_lines_a_second_and_the_next_says_how_many_had_none: the rate limit and its window.
      • the_line_names_each_part: the exact text, rounding, the settle why shown, the skipped tail.
    • host::paging_tests:
      • page_counters_are_taken_a_second_and_across_a_wrap.
      • the_paging_text_has_rates_from_the_second_line_on.
      • performance_words_are_read_little_end_first.
      • system_performance_information_is_read_where_windows_puts_it: this calls NtQuerySystemInformation for real. AvailablePages at 0x2c times 4 KiB matched GlobalMemoryStatusEx's free memory, which checks the offsets. Page reads came back no lower than the IOs that brought them.
  • cargo clippy -p victory-gpu --all-targets --locked -j 6 on ccc22ecc (2026-11-30, target directory C:\it, built from C:\i-long): finishes with warnings only (victory-gpu lib 25, lib test 24, victory-shader 3). None is on a line this branch adds (checked against git diff -U0 716a0c99 ccc22ecc: all of longframe.rs, paging_tests and memory_now's helpers, the feeds in host.rs, draw.rs, pipeline.rs and pipeline/make.rs).
  • cargo clippy ... --all-features on ccc22ecc itself does not compile, for a reason that is main's: its base 716a0c99 has the diagnostics build errors that main's 41adb551 fixed (mb missing in copystat.rs's windows-cut line, timing() shadowed in Host::submit; 9 errors, none in this branch's lines). The branch merges cleanly with main 41adb551, so it was run on that merge (dd105afc, a scratch commit, not pushed; the PR's CI checks the same merge): finishes with warnings only (lib 27, lib test 30, victory-shader 3). None is on a line this branch adds, and its 37 warnings are the same, file by file and kind by kind, as an --all-features clippy of main 41adb551 (with only pipeline/library.rs changed, which adds none).

NOT tested

  • No game run: no long frame line or paging tail has been seen in a real log. Whether the line's causes match classify.py on R1/R2 is for the benchmark agent.
  • Not measured: the steady-state cost (expected to be in the noise; no A/B was run).
  • Not checked: whether NtQuerySystemInformation answers under Wine/Proton. If it does not, the line says the page reads are not known.
  • cargo clippy --all-features on the branch as it is (base 716a0c99): it stops at main's old diagnostics errors; it was run on the branch merged with main (see Verification). Not rebased: it merges cleanly.
  • Settles that take the relay's other paths (settle_now, settle_unlocked) are counted only where they reach relay_wait or Host::settle. The submission lock taken outside Host::submit (settle_now, the present's order lock) is not in "lock".

Overlap

  • gh pr list --state open --search for "long frame", "frame breakdown", "page fault", "hard fault", "longframe", "PageFaultCount", "paging", "Pages Input", "memory now", "free physical", "per frame breakdown", "spike".
  • #1925 (wtry-gta, open): longframe.rs, VICTORY_LONG_FRAME=<ms>, off by default, with other stages (title waits at present/room/drain, the submit thread, landings, texback, refreshes, remap and read locks, DirectStorage, map calls) and a 10 s summary. It is on f9dfb76f and conflicts on main. Built on: commit 1 is its module with Wtry as author. The stages here are G1's; its stages could come back as more parts once its feeding hunks are rebased. Its 10 s summary was not kept: the skipped count covers the rate limit.
  • #2334 (Castyan, draft): procmem.rs adds "process memory beside the census", with our page faults a second (soft and hard) and the PC's free physical memory, on the census's own schedule. It has no system hard-fault rate and does not touch memory_now. No conflict; if both land, the process fault rate is logged twice.
  • #3074 (Adriwin06): loading lines, a PSO budget watch, a memory-by-kind line; no per-frame breakdown, no paging. #3271 (B0tis): drop causes and refresh census; no per-frame line.
  • palmlight #34 only counts ≥ 150 ms intervals (per GAPS.md).

AI use

Claude Code (Claude Opus 5.5) ported #1925's module (with its author kept), wrote the second commit and its unit tests, ran the checks listed above, and wrote this note. Nothing was run in game.

🤖 Generated with Claude Code

**@⁠Lyrnc** on GitHub · 2026-11-30 04:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3703) `Lyrnc:diag/long-frame-line` → `main` · +622 −6 · 6 files · 2 commits · closed without merging ## Problem **G1.** Release builds do not say what a long frame waited for. The `frame times` line only counts frames over 50 and 100 ms. Every other per-second line (the submitting thread's split, settles by why, resident waits, the texture pass) spreads a 500 ms frame over its second. The per-part timers (copystat, timeline) are in diagnostics builds only. So the perf30 cause table (`CAUSES.md`) had to be built by coincidence per second (`tools/classify.py`): - the once-a-second sweep: one frame over 100 ms in 79-100 % of sweep seconds; - pipelines made at first use: single frames of 380-620 ms. Tonight's A/B needs the per-frame cause. **G4.** Nothing logs paging, although the bench PC runs with 0.1-1.3 GB of physical memory free and the process has about 5.5 GB paged out (`26310 MB private ... (20844 MB in memory)`). A hard fault stalls whichever thread takes it, and no line can show that. ## Fix Two commits on main: 1. `87f9814a`, author **Wtry** (wtry-gta, #1925): #1925's `longframe.rs` module as it is at 1a4eefb2, with its call in the frame-rate meter. #1925 is on f9dfb76f and conflicts on main, so only the module and that one call come over. The places that feed its stages are in #1925's other changes and are not ported. 2. `ccc22ecc`: the module gets the parts G1 lists, a default and a rate limit. `memory_now` gets paging (G4). **G1: `crate::longframe`, on by default.** - At every present the meter swaps a set of `AtomicU64` counters back to 0 (µs and span counts per part). - When the present came more than `VICTORY_LONG_FRAME_MS` after the one before (default 100; `0` turns it off), one line at info, target `victory_gpu::longframe`. At most 4 lines a second; the next line says how many long frames had none. Example (from the unit test): `long frame 512 ms (frame 18200), ms on all threads: pipeline waits 480 (graphics 480; 3 threads), sweep 0, settles 6 (sync 6), lock 0, resident 12 (mapped 1), texture pass 3, translated 0, pipelines made 2 (1260 ms)` - What feeds each part. Every feed is a relaxed `fetch_add`, placed where the code already reads a clock: | Part | Where | |---|---| | pipeline waits, graphics / compute / screen passes | `pipeline/make.rs`: `wait()` (by `waits_as_screen` and `graphics.is_none()`), and the inline compute make in `ready()` (where `compute_spent` is fed). Threads: each thread counts once per present (a thread-local present number) | | sweep | `host.rs::sweep()`, from past its once-a-second gate to its end. This part adds its own clock read, once a second | | settles by why | `relay_wait()` and `Host::settle()`, next to `LATE_WAITED[why]`. The line shows the total, then each why of at least 0.5 ms (always the largest), named after host's `WHY_` places. A `const` assert in host.rs keeps those places in line with the names | | lock | `Host::submit`, the same nanoseconds as `SPLIT[11]` ("waiting for the submission lock") | | resident | `host::resident()` (MakeResident) plus `host::mapped()` (until mapped), the counters behind the "new memory waited for" lines; the mapped part is shown when it is 0.5 ms or more | | texture pass | `draw.rs` `heap_textures()`: the loop's `took` plus what came before the loop (`HEAP_TEXTURE_REST[7]`), from the clocks it already reads | | translated | `pipeline.rs` `Shader::translated()`: ms and shaders | | pipelines made | `make.rs` `Pending::make()`: every `HostPipeline::new` (driver compile or library load), with its ms | - A span counts whole in the frame it ended in. Parts on other threads overlap the submitting thread and each other, so the parts need not add up to the frame (the line says "on all threads"). - The steady-state cost is relaxed atomics on paths that already wait or take a clock, an `OnceLock` read per feed, and 43 atomic swaps per present. The gate's mutex is taken only for frames over the threshold. **G4: `memory_now()` (once a second, from the sweep).** The `memory now:` line keeps its text and gets a `; ...` tail: - the PC's memory free (`residency::physical_free`); - our page faults a second: the delta of `PageFaultCount`, which counts soft and hard faults, from the `K32GetProcessMemoryInfo` call the line already makes; - the pages all processes read from disk a second, and the reads that brought them (hard faults). These are `SYSTEM_PERFORMANCE_INFORMATION`'s `PageReadCount` (0x50, behind `\Memory\Pages Input/sec`) and `PageReadIoCount` (0x54, `\Memory\Page Reads/sec`), from `NtQuerySystemInformation(SystemPerformanceInformation)` (ntdll raw-dylib, as host.rs does for `NtWriteVirtualMemory`). All are wrapping u32 counters. Rates are per second of the actual time between lines (the sweep can come later than a second). The first line says the rates come from the next line on. If Windows does not answer, the line says the page reads are not known. `memory now: committed 26310 MB, ...; the PC's memory free 640 MB, page faults of ours 4000 a second, pages read from disk by all processes 1000 a second in 50 reads (hard faults)` ## Verification Windows 11, rustc 1.98.1 (the pinned toolchain), Ryzen 7 9800X3D. On ccc22ecc's tree, before it was committed: - `cargo check -p victory-gpu --locked`: passes. None of the crate's 18 warnings is in the lines this touches; they are existing dead code elsewhere (`pipeline.rs` 841-898, `make.rs` 1328 `Queue::pop`, `host.rs` 3160/12825/12966, `shadow.rs`, `watch.rs` and others). - `cargo test -p victory-gpu --lib --locked -- longframe paging_tests`: 10 passed, 0 failed. - `longframe::tests`: - `threshold_defaults_to_100_ms_and_0_turns_it_off`: unset, empty or not a number gives 100; `0`, a negative or `inf` turns it off. - `only_frames_over_the_threshold_are_long`. - `each_present_takes_the_parts_and_starts_again`: the reset. - `a_thread_counts_once_a_present_among_pipeline_waiters`. - `at_most_four_lines_a_second_and_the_next_says_how_many_had_none`: the rate limit and its window. - `the_line_names_each_part`: the exact text, rounding, the settle why shown, the skipped tail. - `host::paging_tests`: - `page_counters_are_taken_a_second_and_across_a_wrap`. - `the_paging_text_has_rates_from_the_second_line_on`. - `performance_words_are_read_little_end_first`. - `system_performance_information_is_read_where_windows_puts_it`: this calls `NtQuerySystemInformation` for real. `AvailablePages` at 0x2c times 4 KiB matched `GlobalMemoryStatusEx`'s free memory, which checks the offsets. Page reads came back no lower than the IOs that brought them. - `cargo clippy -p victory-gpu --all-targets --locked -j 6` on ccc22ecc (2026-11-30, target directory `C:\it`, built from `C:\i-long`): finishes with warnings only (victory-gpu lib 25, lib test 24, victory-shader 3). **None is on a line this branch adds** (checked against `git diff -U0 716a0c99 ccc22ecc`: all of `longframe.rs`, `paging_tests` and `memory_now`'s helpers, the feeds in `host.rs`, `draw.rs`, `pipeline.rs` and `pipeline/make.rs`). - `cargo clippy ... --all-features` on ccc22ecc itself does not compile, for a reason that is main's: its base 716a0c99 has the diagnostics build errors that main's 41adb551 fixed (`mb` missing in copystat.rs's windows-cut line, `timing()` shadowed in `Host::submit`; 9 errors, none in this branch's lines). The branch merges cleanly with main 41adb551, so it was run on that merge (dd105afc, a scratch commit, not pushed; the PR's CI checks the same merge): finishes with warnings only (lib 27, lib test 30, victory-shader 3). **None is on a line this branch adds**, and its 37 warnings are the same, file by file and kind by kind, as an `--all-features` clippy of main 41adb551 (with only `pipeline/library.rs` changed, which adds none). ## NOT tested - No game run: no long frame line or paging tail has been seen in a real log. Whether the line's causes match `classify.py` on R1/R2 is for the benchmark agent. - Not measured: the steady-state cost (expected to be in the noise; no A/B was run). - Not checked: whether `NtQuerySystemInformation` answers under Wine/Proton. If it does not, the line says the page reads are not known. - `cargo clippy --all-features` on the branch as it is (base 716a0c99): it stops at main's old diagnostics errors; it was run on the branch merged with main (see Verification). Not rebased: it merges cleanly. - Settles that take the relay's other paths (`settle_now`, `settle_unlocked`) are counted only where they reach `relay_wait` or `Host::settle`. The submission lock taken outside `Host::submit` (`settle_now`, the present's order lock) is not in "lock". ## Overlap - `gh pr list --state open --search` for "long frame", "frame breakdown", "page fault", "hard fault", "longframe", "PageFaultCount", "paging", "Pages Input", "memory now", "free physical", "per frame breakdown", "spike". - **#1925** (wtry-gta, open): `longframe.rs`, `VICTORY_LONG_FRAME=<ms>`, off by default, with other stages (title waits at present/room/drain, the submit thread, landings, texback, refreshes, remap and read locks, DirectStorage, map calls) and a 10 s summary. It is on f9dfb76f and conflicts on main. Built on: commit 1 is its module with Wtry as author. The stages here are G1's; its stages could come back as more parts once its feeding hunks are rebased. Its 10 s summary was not kept: the skipped count covers the rate limit. - **#2334** (Castyan, draft): `procmem.rs` adds "process memory beside the census", with our page faults a second (soft and hard) and the PC's free physical memory, on the census's own schedule. It has no system hard-fault rate and does not touch `memory_now`. No conflict; if both land, the process fault rate is logged twice. - **#3074** (Adriwin06): loading lines, a PSO budget watch, a memory-by-kind line; no per-frame breakdown, no paging. #3271 (B0tis): drop causes and refresh census; no per-frame line. - palmlight #34 only counts ≥ 150 ms intervals (per GAPS.md). ## AI use Claude Code (Claude Opus 5.5) ported #1925's module (with its author kept), wrote the second commit and its unit tests, ran the checks listed above, and wrote this note. Nothing was run in game. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
crates/victory-gpu/src/longframe.rs as #1925 (wtry-gta) has it at
1a4eefb2, with its hook in the frame-rate meter. #1925 is on f9dfb76f and
does not apply to main (run.rs, ab.rs, descriptor and others conflict), so
only the module and the meter's call come here; the places that feed its
stages are in #1925's other changes and are not ported. The next commit
gives it the stages of a long frame on main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
In every build, when a present comes more than VICTORY_LONG_FRAME_MS
(100 by default; 0: never) after the one before, one line names the
frame's parts on all threads: pipeline waits (graphics, compute, passes
over the screen, and how many threads waited), the sweep, settles by why,
the submission lock, resident and mapping waits, the texture pass, shaders
translated at first use and pipelines made. At most 4 lines a second; the
next says how many long frames had none.

The per-second lines spread a spike over its second, so the causes of the
long frames on the RTX 5080 bench (one frame over 100 ms nearly every
second, single frames of 380-620 ms) were only known by coincidence per
second. The parts are AtomicU64 counters the present swaps back to 0,
fed with relaxed adds where a clock is read already (the sweep's once a
second is the only new one).

The once-a-second "memory now:" line also says the PC's free memory, our
page faults a second (PageFaultCount, soft and hard) and the pages all
processes read from disk a second with the reads that brought them (hard
faults: SystemPerformanceInformation's PageReadCount and PageReadIoCount).
That PC runs with 0.1-1.3 GB free and ~5.5 GB of ours paged out, and no
line could show a stall from a hard fault.

Built on the module of #1925 (previous commit, its author's).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 04:22:34 +00:00
github-bot force-pushed github-bot/gh-3703 from ccc22eccaf to d81d5ed563 2026-11-30 18:28:39 +00:00 Compare
Author
Owner

@⁠paales on GitHub · 2026-11-30 20:51 UTC · original

Written by 🤖:

I used this line to find what frames at the cuts of the first cutscene wait for. PC: RTX 5070 Ti 16 GB, Ryzen 9 5900X, 32 GB, Windows 11. Series X, 1440p, DLSS Performance, frame generation off, 30 fps cap. Each run: a new game (settings save, no story save), one A press, the first cutscene for 60 s from its first frame. On this PC the same build's submitting thread took 24 ms a frame in one run and 35 ms in another half an hour later, so only large differences count.

It merged cleanly onto main 84bd61e2 with #3918, #1727, #3553, #3043 and #4207. With #4138 it conflicts in host.rs in two places: #4138 moves the sweep's work into run_sweep on a thread of its own, and your timer goes into run_sweep there.

With VICTORY_LONG_FRAME_MS=50, 56 long frames in 60 s: the texture pass 1,460 ms over them, waits for new memory to be resident 944 ms, the submission lock 490 ms, settles 413 ms. At the scene's first frame, two passes over the screen waited 2.1 and 3.2 s for pipelines made in that run. Thanks, it made those causes visible in a release build.

**@⁠paales** on GitHub · 2026-11-30 20:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3703#issuecomment-7291578877) _Written by 🤖:_ I used this line to find what frames at the cuts of the first cutscene wait for. PC: RTX 5070 Ti 16 GB, Ryzen 9 5900X, 32 GB, Windows 11. Series X, 1440p, DLSS Performance, frame generation off, 30 fps cap. Each run: a new game (settings save, no story save), one A press, the first cutscene for 60 s from its first frame. On this PC the same build's submitting thread took 24 ms a frame in one run and 35 ms in another half an hour later, so only large differences count. It merged cleanly onto `main` 84bd61e2 with #3918, #1727, #3553, #3043 and #4207. With #4138 it conflicts in `host.rs` in two places: #4138 moves the sweep's work into `run_sweep` on a thread of its own, and your timer goes into `run_sweep` there. With `VICTORY_LONG_FRAME_MS=50`, 56 long frames in 60 s: the texture pass 1,460 ms over them, waits for new memory to be resident 944 ms, the submission lock 490 ms, settles 413 ms. At the scene's first frame, two passes over the screen waited 2.1 and 3.2 s for pipelines made in that run. Thanks, it made those causes visible in a release build.
Author
Owner

@⁠Lyrnc on GitHub · 2026-12-01 03:56 UTC · original

Thanks @⁠paales, glad it helped. Your split is the kind of answer this line is meant to give in a release build: 56 frames over 50 ms in 60 s, with the texture pass at 1,460 ms, waits for new memory to be resident at 944 ms, the submission lock at 490 ms and settles at 413 ms. At the scene's first frame there were also two pipeline waits of 2.1 and 3.2 s.

On #4138: if it lands first, I'll rebase this. The timer shouldn't just move into its run_sweep, though. On a thread of its own the sweep no longer holds the frame, so the line would blame it for frames it didn't delay. There, the line should count only the time the submitting thread waits for the sweep, if it waits at all.

AI use: Claude Code (Claude Opus 5.5) wrote this.

**@⁠Lyrnc** on GitHub · 2026-12-01 03:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3703#issuecomment-7300214266) Thanks @⁠paales, glad it helped. Your split is the kind of answer this line is meant to give in a release build: 56 frames over 50 ms in 60 s, with the texture pass at 1,460 ms, waits for new memory to be resident at 944 ms, the submission lock at 490 ms and settles at 413 ms. At the scene's first frame there were also two pipeline waits of 2.1 and 3.2 s. On #4138: if it lands first, I'll rebase this. The timer shouldn't just move into its `run_sweep`, though. On a thread of its own the sweep no longer holds the frame, so the line would blame it for frames it didn't delay. There, the line should count only the time the submitting thread waits for the sweep, if it waits at all. AI use: Claude Code (Claude Opus 5.5) wrote this.
github-bot force-pushed github-bot/gh-3703 from d81d5ed563 to 7029b75c86 2026-12-01 04:59:43 +00:00 Compare
github-bot closed this pull request 2026-12-01 18:51:30 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-12-01 18:49 UTC · original

Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

**@⁠trustno1-coder** on GitHub · 2026-12-01 18:49 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/3703#issuecomment-7321624016) Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/trustno1-coder--VIctory-NVIDIA!3703
No description provided.