Triage map of the open pull requests (main 63b902fe, 2026-11-28) #1138

Closed
opened 2026-11-28 13:55:20 +00:00 by ballsimulation · 9 comments
ballsimulation commented 2026-11-28 13:55:20 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ballsimulation on 2026-11-28T13:55:20Z.


This is a map of the 432 open PRs against main 63b902fe, which hasn't moved since 2026-11-27 19:51 PT. It's meant to help the maintainer and reviewers pick what to merge, close or test first, and help contributors avoid redoing work that's already open.

How it was made:

  • Every PR head was fetched, and its changed lines were compared with main and with every other PR.
  • Titles and descriptions were read in groups.
  • The "already in main" and "same fix" claims below were checked in the diffs.
  • The topic groups are judgement calls, worth a second look before anything is closed.

In numbers

  • 432 open; 48 conflict with main; 14 drafts; 183 authors.
  • 254 have no comment at all. 24 say plainly in their own description that they were not run in the game (corrected from 95, see the comments).
  • 165 add an opt-in switch: nothing changes until someone turns it on and measures.
  • 90 touch victory-gpu/src/host.rs, 77 are shader-translator work, and 47 are upscaling or frame generation.

1. Quick wins: about an hour of the maintainer's time

Main's CI is red, and 17 PRs carry their own copy of the same fix. On 63b902fe, cargo clippy -D warnings fails on three lints: manual_is_multiple_of in shadow.rs:1708 and descriptor.rs:1234, and some_filter in gameinput.rs:1372. So every PR's CI is red whatever it changes. Contributors fix the lints inside their own PRs, and those copies then conflict with each other.

Merging #957 and closing #86, #265, #665, #687 and #705 makes CI meaningful again and removes those duplicate edits.

Already in main:

  • #39 (DirectStorage workers below normal priority): VICTORY_DSTORAGE_PRIORITY is in main's dstorage.rs.
  • #104 is already closed for the same reason.
  • #653: most of its added lines are already in main. It needs a one-minute check.

2. The same change more than once

Within each group, one PR can usually go forward and the others can close or rebase onto it. Bold marks the PR that looks most complete or most tested. That's a suggestion, not a verdict.

Topic PRs Notes
Watch: a late lock-free fault undoes a guard (#817) #834, #900 Same title and fix
Indirect dispatches over 65,535 groups #662, #1005
F1: clear the shader cache (#496) #607, #629 #629 conflicts with main
Launchers keep VICTORY_HOME (#751) #510, #758, #774
Network-share paths in victory play (#1072) #93, #1076 #93 conflicts
Workstation RTX cards count as having frame generation (#312) #414, #512 Both conflict
FSR 3 frame generation and DLAA (#663) #679, #681, #747, #750
Shader model check on the game's card (#1035) #622, #1080
Title window off-screen for unattended runs #1009, #1039 Two switch names for one thing
Shader cache: an entry another thread wrote #632, #664
Card kept awake off by default (#771) #342, #542, #825, #927 #825 fixes the cause; the others flip the default
Mouse look and keyboard/mouse controls #142, #482, #581, #652, #731, #967, #989 (+ #591, #1002 for the window) 7 ways to do mouse look
Upload / readback buffer pools #876, #884, #923, #991 Overlapping pools in upload.rs
Scratch pool starvation (#930) #700, #953, #973
Slot eviction in the log #943, #972
Agility SDK and runtime on Windows 10 #50, #210, #266, #277, #928, #1059 4 of the 6 conflict
Frame generation on RTX 20/30 #27, #51, #228, #935 #27 and #51 conflict
Comparing card copies with less work #501, #618 Different methods; #618 is untested in the game
Release build flags (LTO, x86-64-v3) #128, #537, #603
Guides for coding agents #820, #1053

3. Areas where several PRs try to fix the same visible bug

These need one comparison in the game, the same scene, side by side, more than they need code review. Picking the PR that works is a 10-minute test, given a save that reaches the scene.

Bug PRs Issue
Water: tile-sized dark blocks (the water's tiled light on 32-lane cards) #45, #221, #326, #742, #949, #1107 (a test), part of #1046 (VICTORY_WATER_TILE_SLOTS) #739. Visible in the prologue's boat ride next to the moored yachts
Faces: only eyes and teeth #506 (method 0x218), #703, #857, #938, #378 #586, #100
64-lane programs refused on 32-lane cards (dispatches dropped) #101, #246, #259, #281, #282, #348, #560, #733, #822, #1006 #539. On main, 6b82bc7d22016cb5, 5e3dd99e0f067aee, ae0deeafe219c15c, 57f1b81de55c2842 and 407eca669212d400 are still refused
Reflections, glowing eyes and floors, the sky in indoor reflections #63, #82, #124, #393, #428, #818, #851, #852
Missing geometry, dropped draws #506, #677, #800 (names each dropped draw's reason) #754
Refresh and lock contention on the submitting thread #126, #145, #318, #614, #1094, #1133, #1134, #1157 (#59 is texture reads only) Compared on one benchmark by jptorres96 (first round, second round): #1094 is the largest win (−9 to −11%), then #1157 (−5 to −6%). #318, #614, #1094 and #1157 rewrite the same code and conflict, so one of them should go in and the rest close. Not yet compared in the game

4. Where PRs collide

The functions of main changed by the most open PRs. Two of these PRs rarely merge without hand work.

PRs Where
27 host/menu.rs: the F1 menu's rows (shown_name and around it)
26 victory-gpu/src/lib.rs: the module list and exports
24 host.rs fn frame: the per-frame line
22 emit/mod.rs (top), emit/lower.rs Lowerer::new, shader_cache.rs build() (the cache key)
21 apps/victory/src/play.rs (top): the launcher's settings
17 host.rs late_line: the late-frame line

Most of these are lists everyone appends to: menu rows, module names, cache-key switches, launcher settings, log lines. One table per list, one entry per line, for example a const slice that a PR adds a single line to, would make most of these conflicts go away.

5. Not tested in the game: where a test helps most

24 PRs say plainly that they weren't run in the game, and 254 have had no reply. The ones that change what everybody runs (a default, a fix that's on by default) matter most. (Corrected: an earlier version listed 95, because the filter also matched "No game files are included". #1074 and others were listed by mistake; see the comments.)

The 24, each checked by its wording: #18, #118 (LDS bounds, conflicts), #124, #127, #134, #181, #221, #222, #243, #259 (split wave64, mostly untested, conflicts), #315, #618 (card compares), #619, #620, #621, #622, #750, #753, #784, #800, #809, #825, #921, #1089. #696 has synthetic tests only.

A follow-up to this map will post in-game results for some of these: the prologue and a free-roam walk, with the switch off and on, comparing crashes, the picture at the same points, and frame times against run-to-run noise. It uses scripts/bench.ps1 (#1099) and VICTORY_KEYS_FROM=world (#1098).


Method, for anyone who wants to redo it:

  • git fetch origin '+refs/pull/*/head:refs/remotes/pr/*'.
  • For each PR: git diff -U0 $(git merge-base origin/main pr/N) pr/N gives the hunks it changes in main.
  • Overlaps are hunks within 3 lines in the same file.
  • "Already in main" is the share of a PR's added lines found in main's version of the file. That only flags candidates; each one above was checked by hand.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6665972059 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138). Originally posted by [ballsimulation](https://github.com/ballsimulation) on 2026-11-28T13:55:20Z. --- This is a map of the **432 open PRs** against main `63b902fe`, which hasn't moved since 2026-11-27 19:51 PT. It's meant to help the maintainer and reviewers pick what to merge, close or test first, and help contributors avoid redoing work that's already open. How it was made: - Every PR head was fetched, and its changed lines were compared with main and with every other PR. - Titles and descriptions were read in groups. - The "already in main" and "same fix" claims below were checked in the diffs. - The topic groups are judgement calls, worth a second look before anything is closed. ## In numbers - 432 open; 48 conflict with main; 14 drafts; 183 authors. - **254 have no comment at all.** 24 say plainly in their own description that they were not run in the game (corrected from 95, see the comments). - 165 add an opt-in switch: nothing changes until someone turns it on and measures. - 90 touch `victory-gpu/src/host.rs`, 77 are shader-translator work, and 47 are upscaling or frame generation. ## 1. Quick wins: about an hour of the maintainer's time **Main's CI is red, and 17 PRs carry their own copy of the same fix.** On `63b902fe`, `cargo clippy -D warnings` fails on three lints: `manual_is_multiple_of` in `shadow.rs:1708` and `descriptor.rs:1234`, and `some_filter` in `gameinput.rs:1372`. So every PR's CI is red whatever it changes. Contributors fix the lints inside their own PRs, and those copies then conflict with each other. - **#957** makes exactly this fix and nothing else, on current main. - **#665, #687 and #705** make the same 4-file fix. - **#86 and #265** are older and larger clippy passes, 70+ commits behind. - PRs with their own copy of the fix: #479, #482, #630, #682, #814, #816, #819, #924, #931, #1012, #1046, #1094, #1106 (besides the four above). Merging #957 and closing #86, #265, #665, #687 and #705 makes CI meaningful again and removes those duplicate edits. **Already in main:** - #39 (DirectStorage workers below normal priority): `VICTORY_DSTORAGE_PRIORITY` is in main's `dstorage.rs`. - #104 is already closed for the same reason. - #653: most of its added lines are already in main. It needs a one-minute check. ## 2. The same change more than once Within each group, one PR can usually go forward and the others can close or rebase onto it. **Bold** marks the PR that looks most complete or most tested. That's a suggestion, not a verdict. | Topic | PRs | Notes | |---|---|---| | Watch: a late lock-free fault undoes a guard (#817) | **#834**, #900 | Same title and fix | | Indirect dispatches over 65,535 groups | #662, **#1005** | | | F1: clear the shader cache (#496) | #607, #629 | #629 conflicts with main | | Launchers keep `VICTORY_HOME` (#751) | #510, #758, #774 | | | Network-share paths in `victory play` (#1072) | #93, **#1076** | #93 conflicts | | Workstation RTX cards count as having frame generation (#312) | #414, #512 | Both conflict | | FSR 3 frame generation and DLAA (#663) | #679, #681, #747, #750 | | | Shader model check on the game's card (#1035) | #622, **#1080** | | | Title window off-screen for unattended runs | #1009, #1039 | Two switch names for one thing | | Shader cache: an entry another thread wrote | #632, #664 | | | Card kept awake off by default (#771) | #342, #542, **#825**, #927 | #825 fixes the cause; the others flip the default | | Mouse look and keyboard/mouse controls | #142, #482, #581, #652, #731, #967, #989 (+ #591, #1002 for the window) | 7 ways to do mouse look | | Upload / readback buffer pools | #876, #884, #923, #991 | Overlapping pools in `upload.rs` | | Scratch pool starvation (#930) | #700, #953, #973 | | | Slot eviction in the log | #943, #972 | | | Agility SDK and runtime on Windows 10 | #50, #210, #266, #277, #928, #1059 | 4 of the 6 conflict | | Frame generation on RTX 20/30 | #27, #51, #228, #935 | #27 and #51 conflict | | Comparing card copies with less work | #501, #618 | Different methods; #618 is untested in the game | | Release build flags (LTO, x86-64-v3) | #128, #537, #603 | | | Guides for coding agents | #820, #1053 | | ## 3. Areas where several PRs try to fix the same visible bug These need **one comparison in the game, the same scene, side by side**, more than they need code review. Picking the PR that works is a 10-minute test, given a save that reaches the scene. | Bug | PRs | Issue | |---|---|---| | **Water: tile-sized dark blocks** (the water's tiled light on 32-lane cards) | #45, #221, #326, #742, #949, #1107 (a test), part of #1046 (`VICTORY_WATER_TILE_SLOTS`) | #739. Visible in the prologue's boat ride next to the moored yachts | | **Faces: only eyes and teeth** | #506 (method 0x218), #703, #857, #938, #378 | #586, #100 | | **64-lane programs refused on 32-lane cards** (dispatches dropped) | #101, #246, #259, #281, #282, #348, #560, #733, #822, #1006 | #539. On main, `6b82bc7d22016cb5`, `5e3dd99e0f067aee`, `ae0deeafe219c15c`, `57f1b81de55c2842` and `407eca669212d400` are still refused | | **Reflections, glowing eyes and floors, the sky in indoor reflections** | #63, #82, #124, #393, #428, #818, #851, #852 | | | **Missing geometry, dropped draws** | #506, #677, #800 (names each dropped draw's reason) | #754 | | **Refresh and lock contention on the submitting thread** | #126, #145, #318, #614, #1094, #1133, #1134, #1157 (#59 is texture reads only) | Compared on one benchmark by jptorres96 ([first round](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240653544), [second round](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240913003)): **#1094** is the largest win (−9 to −11%), then #1157 (−5 to −6%). #318, #614, #1094 and #1157 rewrite the same code and conflict, so one of them should go in and the rest close. Not yet compared in the game | ## 4. Where PRs collide The functions of main changed by the most open PRs. Two of these PRs rarely merge without hand work. | PRs | Where | |---|---| | 27 | `host/menu.rs`: the F1 menu's rows (`shown_name` and around it) | | 26 | `victory-gpu/src/lib.rs`: the module list and exports | | 24 | `host.rs` `fn frame`: the per-frame line | | 22 | `emit/mod.rs` (top), `emit/lower.rs` `Lowerer::new`, `shader_cache.rs` `build()` (the cache key) | | 21 | `apps/victory/src/play.rs` (top): the launcher's settings | | 17 | `host.rs` `late_line`: the late-frame line | Most of these are lists everyone appends to: menu rows, module names, cache-key switches, launcher settings, log lines. **One table per list, one entry per line,** for example a `const` slice that a PR adds a single line to, would make most of these conflicts go away. ## 5. Not tested in the game: where a test helps most 24 PRs say plainly that they weren't run in the game, and 254 have had no reply. The ones that change what everybody runs (a default, a fix that's on by default) matter most. *(Corrected: an earlier version listed 95, because the filter also matched "No game files are included". #1074 and others were listed by mistake; see the comments.)* The 24, each checked by its wording: #18, #118 (LDS bounds, conflicts), #124, #127, #134, #181, #221, #222, #243, #259 (split wave64, mostly untested, conflicts), #315, #618 (card compares), #619, #620, #621, #622, #750, #753, #784, #800, #809, #825, #921, #1089. #696 has synthetic tests only. A follow-up to this map will post in-game results for some of these: the prologue and a free-roam walk, with the switch off and on, comparing crashes, the picture at the same points, and frame times against run-to-run noise. It uses `scripts/bench.ps1` (#1099) and `VICTORY_KEYS_FROM=world` (#1098). --- Method, for anyone who wants to redo it: - `git fetch origin '+refs/pull/*/head:refs/remotes/pr/*'`. - For each PR: `git diff -U0 $(git merge-base origin/main pr/N) pr/N` gives the hunks it changes in main. - Overlaps are hunks within 3 lines in the same file. - "Already in main" is the share of a PR's added lines found in main's version of the file. That only flags candidates; each one above was checked by hand.
github-actions[bot] commented 2026-11-28 13:55:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by github-actions[bot] on 2026-11-28T13:55:28Z.


Please attach both logs from the run that went wrong. Without them we can only guess. Paste %LOCALAPPDATA% into the address bar of File Explorer to get there.

  1. The play log, in %LOCALAPPDATA%\victory\logs\: the newest victory-nvidia-play-<date>-<time>-<number>.log (from victory.exe) or victory-nvidia-<date>-<time>.log (from the script launcher). The window shows its path at the start, on the line Log: ....
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newest victory-<date>-<time>-<number>.crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\.

Also say which GPU, Windows version (10 or 11)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240282545 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240282545). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T13:55:28Z. --- Please attach both logs from the run that went wrong. Without them we can only guess. Paste `%LOCALAPPDATA%` into the address bar of File Explorer to get there. 1. The play log, in `%LOCALAPPDATA%\victory\logs\`: the newest `victory-nvidia-play-<date>-<time>-<number>.log` (from `victory.exe`) or `victory-nvidia-<date>-<time>.log` (from the script launcher). The window shows its path at the start, on the line `Log: ...`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, and, if there is one from that run, the newest `victory-<date>-<time>-<number>.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\`. Also say which GPU, Windows version (10 or 11)
psttt432454 commented 2026-11-28 14:16:44 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by psttt432454 on 2026-11-28T14:16:44Z.


A correction for section 5: #1074 was run in the game. Its description has the tables. On an RTX 5070 Laptop 8 GB, Series S, with a warm shader cache, fps were 17.9-21.2 with it against 17.9-18.7 on main, and there were no new errors. It's also off by default (VICTORY_SAMPLED_MARKS=1), so it doesn't change what everybody runs. The "Not tested" line in it covers other cards (AMD, Intel, no resizable BAR), Series X and frame generation.

#1145 (draft) builds on it and lets slot eviction act on the marks. It was run in the game too, with the open questions written in it.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240550770 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240550770). Originally posted by [psttt432454](https://github.com/psttt432454) on 2026-11-28T14:16:44Z. --- A correction for section 5: #1074 was run in the game. Its description has the tables. On an RTX 5070 Laptop 8 GB, Series S, with a warm shader cache, fps were 17.9-21.2 with it against 17.9-18.7 on main, and there were no new errors. It's also off by default (`VICTORY_SAMPLED_MARKS=1`), so it doesn't change what everybody runs. The "Not tested" line in it covers other cards (AMD, Intel, no resizable BAR), Series X and frame generation. #1145 (draft) builds on it and lets slot eviction act on the marks. It was run in the game too, with the open questions written in it.
jptorres96 commented 2026-11-28 14:25:01 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jptorres96 on 2026-11-28T14:25:01Z.


On section 3's "Refresh and lock contention on the submitting thread: each claims a CPU win; nobody has compared them together": here is a comparison of the five that touch the copies' refresh path, on one footing, without the game.

How. Each PR's commits were cherry-picked onto 63b902f; all five apply cleanly. Each build ran the same ignored benchmark, with the binaries interleaved over 15 rounds so drift hits every variant alike. Ryzen 5 5600X (6 cores), Windows build 26300, rustc 1.98.1, release.

  • host::refresh_tests::frame_of_noop_refreshes, new, on my fork's bench-1138 (+64 lines, test only). It is shaped like the open-world line quoted in #126: about 9,600 refreshes a frame in 40 flushes, most copying nothing. That is 4 submissions of 2,400 ranges, through Batch::add / flush with one ask_once each. The copies are 70% on write-watched memory and 30% on guarded views, and about 12% of them were written since their last refresh. VICTORY_BENCH_EACH_KIB sets the copies' size.
  • The existing host::refresh_tests::frame_of_refreshes, which is dominated by real copies.

Medians of 15 runs, ms per frame, with the interquartile range in brackets:

Variant No-op frame, 16 KiB copies No-op frame, 256 KiB copies frame_of_refreshes
main 10.01 [9.66-10.41] 10.33 [9.88-10.62] 20.8
#1094 9.12 [8.53-9.41] 9.27 [8.79-9.48] 20.8
#126, VICTORY_WIDE_CHUNK=8 9.87 [9.63-10.77] 9.41 [9.23-10.06] 20.5
#126, VICTORY_WIDE_CHUNK=32 10.32 [10.01-10.99] 9.81 [9.55-10.07] 19.6
#318 10.13 [9.71-10.45] 9.50 [9.38-10.23] 19.3
#614 10.48 [9.96-10.71] 9.58 [9.11-10.08] 19.7
#145 9.81 [9.45-10.16] 10.24 [9.82-10.55] 20.6

frame_of_refreshes spreads 19-25 ms per variant, so no variant there differs from main.

What it says:

  • #1094 is the only one whose quartiles clear main's at both sizes: about -9 to -10%.
  • #126 (chunk 8), #318 and #614 give -7 to -9% with 256 KiB copies and nothing measurable with 16 KiB ones.
  • #145 is not measurable here. The 12% of copies that do change are too few for the compare to matter.
  • The differences are small: at most about 10%. On this machine the no-op path costs about 1 us a refresh, and the threads barely wait on each other. The 28-68 ms of refreshes the PRs quote from the game would then be somewhere this benchmark doesn't reach: more threads, longer lists of parts, faults in the views. Checking that in the game, with the same scene for each, would be the next step before picking one.

Tests. cargo test --locked -p victory-gpu --lib -- --test-threads=1 on each, cherry-picked onto 63b902f: #126 455/455, #145 453/453, #318 455/455, #614 455/455, #1094 455/455. None fail.

They collide (test merges on 63b902f):

  • #318, #614 and #1094 conflict with each other in host.rs, shadow.rs and watch.rs. They rewrite the same nothing_new / chunked-refresh code three ways, so at most one of them can go in as it is.
  • #126 conflicts with those three in host.rs (and shadow.rs for #318 and #614).
  • #1062 (the arenas' write watch, a separate cost) conflicts with #318, #614 and #1094 in watch.rs.
  • #145 merges cleanly with all of them.

#59 is left out: it only changes texture reads (texture.rs), which this benchmark doesn't exercise.

Synthetic only: no game files.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240653544 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240653544). Originally posted by [jptorres96](https://github.com/jptorres96) on 2026-11-28T14:25:01Z. --- On section 3's "Refresh and lock contention on the submitting thread: each claims a CPU win; nobody has compared them together": here is a comparison of the five that touch the copies' refresh path, on one footing, without the game. **How.** Each PR's commits were cherry-picked onto `63b902f`; all five apply cleanly. Each build ran the same ignored benchmark, with the binaries interleaved over 15 rounds so drift hits every variant alike. Ryzen 5 5600X (6 cores), Windows build 26300, rustc 1.98.1, release. - `host::refresh_tests::frame_of_noop_refreshes`, new, on my fork's [`bench-1138`](https://github.com/jptorres96/VIctory-NVIDIA/commit/c98e87e2fd2e68a55e9e6eb4da3c3ae469985b5c) (+64 lines, test only). It is shaped like the open-world line quoted in #126: about 9,600 refreshes a frame in 40 flushes, most copying nothing. That is 4 submissions of 2,400 ranges, through `Batch::add` / `flush` with one `ask_once` each. The copies are 70% on write-watched memory and 30% on guarded views, and about 12% of them were written since their last refresh. `VICTORY_BENCH_EACH_KIB` sets the copies' size. - The existing `host::refresh_tests::frame_of_refreshes`, which is dominated by real copies. Medians of 15 runs, ms per frame, with the interquartile range in brackets: | Variant | No-op frame, 16 KiB copies | No-op frame, 256 KiB copies | `frame_of_refreshes` | | --- | ---: | ---: | ---: | | `main` | 10.01 [9.66-10.41] | 10.33 [9.88-10.62] | 20.8 | | #1094 | **9.12** [8.53-9.41] | **9.27** [8.79-9.48] | 20.8 | | #126, `VICTORY_WIDE_CHUNK=8` | 9.87 [9.63-10.77] | 9.41 [9.23-10.06] | 20.5 | | #126, `VICTORY_WIDE_CHUNK=32` | 10.32 [10.01-10.99] | 9.81 [9.55-10.07] | 19.6 | | #318 | 10.13 [9.71-10.45] | 9.50 [9.38-10.23] | 19.3 | | #614 | 10.48 [9.96-10.71] | 9.58 [9.11-10.08] | 19.7 | | #145 | 9.81 [9.45-10.16] | 10.24 [9.82-10.55] | 20.6 | `frame_of_refreshes` spreads 19-25 ms per variant, so no variant there differs from `main`. What it says: - **#1094** is the only one whose quartiles clear `main`'s at both sizes: about -9 to -10%. - **#126 (chunk 8), #318 and #614** give -7 to -9% with 256 KiB copies and nothing measurable with 16 KiB ones. - **#145** is not measurable here. The 12% of copies that do change are too few for the compare to matter. - The differences are small: at most about 10%. On this machine the no-op path costs about 1 us a refresh, and the threads barely wait on each other. The 28-68 ms of refreshes the PRs quote from the game would then be somewhere this benchmark doesn't reach: more threads, longer lists of parts, faults in the views. Checking that in the game, with the same scene for each, would be the next step before picking one. **Tests.** `cargo test --locked -p victory-gpu --lib -- --test-threads=1` on each, cherry-picked onto `63b902f`: #126 455/455, #145 453/453, #318 455/455, #614 455/455, #1094 455/455. None fail. **They collide** (test merges on `63b902f`): - #318, #614 and #1094 conflict with each other in `host.rs`, `shadow.rs` and `watch.rs`. They rewrite the same `nothing_new` / chunked-refresh code three ways, so at most one of them can go in as it is. - #126 conflicts with those three in `host.rs` (and `shadow.rs` for #318 and #614). - #1062 (the arenas' write watch, a separate cost) conflicts with #318, #614 and #1094 in `watch.rs`. - #145 merges cleanly with all of them. #59 is left out: it only changes texture reads (`texture.rs`), which this benchmark doesn't exercise. Synthetic only: no game files.
ballsimulation commented 2026-11-28 14:26:09 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ballsimulation on 2026-11-28T14:26:09Z.


@psttt432454, you're right, thanks. #1074's description has the in-game table (17.9-21.2 fps against 17.9-18.7 on main, RTX 5070 Laptop, Series S), and its "Not tested" line only lists other cards, Series X and frame generation. #1145 is noted as well.

The mistake was in how I counted, and it affects more than #1074. The filter for "not run in the game" also matched the common line "No game files … are included", so section 5 and the headline number are both wrong:

The full list of 24, re-checked line by line: #18, #118, #124, #127, #134, #181, #221, #222, #243, #259, #315, #618, #619, #620, #621, #622, #750, #753, #784, #800, #809, #825, #921, #1089.

@jptorres96, thanks for the refresh comparison. That's exactly the kind of answer section 3 needed. In short: #1094 is the only one that's faster than main beyond the run-to-run noise at both copy sizes (about 9-10%). #318, #614 and #1094 rewrite the same code three ways, so at most one of them can go in as it is. #145 merges with all of them.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240667865 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240667865). Originally posted by [ballsimulation](https://github.com/ballsimulation) on 2026-11-28T14:26:09Z. --- @psttt432454, you're right, thanks. #1074's description has the in-game table (17.9-21.2 fps against 17.9-18.7 on main, RTX 5070 Laptop, Series S), and its "Not tested" line only lists other cards, Series X and frame generation. #1145 is noted as well. The mistake was in how I counted, and it affects more than #1074. The filter for "not run in the game" also matched the common line "No game files … are included", so section 5 and the headline number are both wrong: - **24** open PRs (not 95) say plainly that they were not run in the game. - Of the PRs listed in section 5, only these say so: #118, #181, #222, #259 (mostly), #618, #621, #809. #696 has synthetic tests only. - #458, #477, #534, #550, #560, #651, #673, #733, #857, #1074 and #1095 should not have been on that list. The full list of 24, re-checked line by line: #18, #118, #124, #127, #134, #181, #221, #222, #243, #259, #315, #618, #619, #620, #621, #622, #750, #753, #784, #800, #809, #825, #921, #1089. @jptorres96, thanks for the refresh comparison. That's exactly the kind of answer section 3 needed. In short: #1094 is the only one that's faster than main beyond the run-to-run noise at both copy sizes (about 9-10%). #318, #614 and #1094 rewrite the same code three ways, so at most one of them can go in as it is. #145 merges with all of them.
jptorres96 commented 2026-11-28 14:45:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jptorres96 on 2026-11-28T14:45:52Z.


Three more PRs on the same path have opened since: #1157, #1133 and #1134. Same method as above: each cherry-picked onto 63b902f plus the benchmark (bench-1138, c98e87e), binaries interleaved over 15 rounds, with main and #1094 rerun alongside.

frame_of_noop_refreshes, median ms per frame, with the interquartile range in brackets:

Variant 16 KiB copies 256 KiB copies
main 8.83 [8.55-9.33] 10.06 [9.46-10.23]
#1094 7.82 [7.69-8.09] (-11%) 9.19 [8.89-9.60] (-9%)
#1157 8.34 [8.27-9.09] (-6%) 9.54 [9.14-9.67] (-5%)
#1133 8.74 [8.47-9.15] (-1%) 9.55 [9.42-9.90] (-5%)
#1134 8.71 [8.63-9.37] (-1%) 9.77 [9.38-10.86] (-3%)

This session's machine state differs from the first run's: main came out at 8.83 rather than 10.01. Read each row against the main row in the same table. #1094 again clears main's quartiles at both sizes. #1157 is the only one of the new three that does so at 16 KiB.

Checks, each cherry-picked onto 63b902f:

  • cargo test --locked -p victory-gpu --lib -- --test-threads=1: 453/453 for all three.
  • cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings, allowing main's own manual_is_multiple_of: clean for all three.
  • #1157 replaces the whole-copy merging lock with 64 page stripes, so I also ran two tests that land on a copy while it is refreshed. frame_of_refreshes ran 10 times, and the refresh_tests module 3 times at --test-threads=4. All passed, with no hang, as on main. In my reading the stripes are always taken in ascending order, and the card path holds one stripe at a time.

Merges (test merges):

So the picture from above holds. This path now has eight PRs, and #1094 is still the largest measured win on it. Picking one of #318, #614, #1094 and #1157 and closing the rest would save their authors from keeping up with conflicts.

Synthetic only: no game files.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240913003 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240913003). Originally posted by [jptorres96](https://github.com/jptorres96) on 2026-11-28T14:45:52Z. --- Three more PRs on the same path have opened since: #1157, #1133 and #1134. Same method as [above](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240653544): each cherry-picked onto `63b902f` plus the benchmark (`bench-1138`, `c98e87e`), binaries interleaved over 15 rounds, with `main` and #1094 rerun alongside. `frame_of_noop_refreshes`, median ms per frame, with the interquartile range in brackets: | Variant | 16 KiB copies | 256 KiB copies | | --- | ---: | ---: | | `main` | 8.83 [8.55-9.33] | 10.06 [9.46-10.23] | | #1094 | **7.82** [7.69-8.09] (-11%) | **9.19** [8.89-9.60] (-9%) | | #1157 | 8.34 [8.27-9.09] (-6%) | 9.54 [9.14-9.67] (-5%) | | #1133 | 8.74 [8.47-9.15] (-1%) | 9.55 [9.42-9.90] (-5%) | | #1134 | 8.71 [8.63-9.37] (-1%) | 9.77 [9.38-10.86] (-3%) | This session's machine state differs from the first run's: `main` came out at 8.83 rather than 10.01. Read each row against the `main` row in the same table. #1094 again clears `main`'s quartiles at both sizes. #1157 is the only one of the new three that does so at 16 KiB. **Checks**, each cherry-picked onto `63b902f`: - `cargo test --locked -p victory-gpu --lib -- --test-threads=1`: 453/453 for all three. - `cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings`, allowing `main`'s own `manual_is_multiple_of`: clean for all three. - #1157 replaces the whole-copy `merging` lock with 64 page stripes, so I also ran two tests that land on a copy while it is refreshed. `frame_of_refreshes` ran 10 times, and the `refresh_tests` module 3 times at `--test-threads=4`. All passed, with no hang, as on `main`. In my reading the stripes are always taken in ascending order, and the card path holds one stripe at a time. **Merges** (test merges): - #1157 conflicts with #1094 (`host.rs`, `shadow.rs`, `watch.rs`) and with #1133. - #1133 conflicts with #1094 (`host.rs`). - #1134 conflicts with #1094, #318 and #614, all in `shadow.rs`. Its `has_pending` flag is the same idea as #1094's `pending_len` and the `pending_any` of #318 and #614. - #1134 merges cleanly with #1157 and with #1133. So the picture from above holds. This path now has eight PRs, and #1094 is still the largest measured win on it. Picking one of #318, #614, #1094 and #1157 and closing the rest would save their authors from keeping up with conflicts. Synthetic only: no game files.
ballsimulation commented 2026-11-28 14:49:15 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ballsimulation on 2026-11-28T14:49:15Z.


@jptorres96, thanks for the second round. I've updated section 3 of the description: the refresh row now lists all eight PRs on this path (#126, #145, #318, #614, #1094, #1133, #1134, #1157), links your two comments, and sums up the result. #1094 is the largest win (−9 to −11%), then #1157 (−5 to −6%). #318, #614, #1094 and #1157 rewrite the same code, so one of them should go in and the rest close.

One question stays open, as you said: the benchmark finds about 1 ms between variants, while the PRs quote 28–68 ms of refreshes in the game. Two things would help settle which one to pick. The authors of #1094, #1157, #614 and #318 could say which scene and settings their in-game number came from. And someone could run the same scene for each, with the submitting thread's refresh time from the 5-second lines.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7240956287 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7240956287). Originally posted by [ballsimulation](https://github.com/ballsimulation) on 2026-11-28T14:49:15Z. --- @jptorres96, thanks for the second round. I've updated section 3 of the description: the refresh row now lists all eight PRs on this path (#126, #145, #318, #614, #1094, #1133, #1134, #1157), links your two comments, and sums up the result. **#1094** is the largest win (−9 to −11%), then **#1157** (−5 to −6%). #318, #614, #1094 and #1157 rewrite the same code, so one of them should go in and the rest close. One question stays open, as you said: the benchmark finds about 1 ms between variants, while the PRs quote 28–68 ms of refreshes in the game. Two things would help settle which one to pick. The authors of #1094, #1157, #614 and #318 could say which scene and settings their in-game number came from. And someone could run the same scene for each, with the submitting thread's refresh time from the 5-second lines.
jptorres96 commented 2026-11-28 16:20:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jptorres96 on 2026-11-28T16:20:57Z.


One more for section 1's quick wins. Besides clippy (#957, #1160), CI's cargo test --workspace --locked step is red on its own about one run in four. That is so on main now (f4608f0) and on 63b902f, because three victory-gpu tests fail now and then. Three open PRs fix them, and together they make the suite pass every time here.

victory-gpu's lib tests at f4608f0, run in parallel as CI runs them. Ryzen 5 5600X, Windows build 26300, rustc 1.98.1.

Test that fails On main Cause Fixed by
save_share::tests::the_game_settings_are_never_shared_and_the_players_own_are_kept 3 runs in 20, also with --test-threads=1 apply fails with OS error 32 ("used by another process") on files written just before; likely the antivirus or the indexer #819 (0 in 15), or #594 (0 in 15)
Watch tests on views: 11 different ones across the runs, e.g. faults_that_take_no_lock_tell_the_same, a_write_opens_the_view_it_goes_through, other_memory_at_a_guarded_address_keeps_its_protection 2 runs in 20; only in parallel The guards' books are global, and the tests share them #724 (0 in 20)
descriptor::host::tests::views_off_their_elements_get_a_copy_of_their_bytes 2 runs in 65 As #785 describes #785

#724 + #785 + #819 cherry-picked together onto f4608f0: 25 of 25 runs pass. main, interleaved with them over the same 25 rounds, passes 19 of 25. All three PRs are test-only or save-import changes, and all three apply cleanly on current main.

Without them, any PR's CI can go red at the test step through no fault of its own, even once clippy is green. Only the save_share failure also shows up with --test-threads=1, so a local single-threaded run hides the other two.

(#834, the fix for #817's lock-free fault race, was also tried for the watch failures. It doesn't change them: they are tests sharing state, not that race.)

Synthetic only: no game files.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7242172979 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7242172979). Originally posted by [jptorres96](https://github.com/jptorres96) on 2026-11-28T16:20:57Z. --- One more for section 1's quick wins. Besides clippy (#957, #1160), CI's `cargo test --workspace --locked` step is red on its own about one run in four. That is so on `main` now (`f4608f0`) and on `63b902f`, because three `victory-gpu` tests fail now and then. Three open PRs fix them, and together they make the suite pass every time here. `victory-gpu`'s lib tests at `f4608f0`, run in parallel as CI runs them. Ryzen 5 5600X, Windows build 26300, rustc 1.98.1. | Test that fails | On `main` | Cause | Fixed by | | --- | --- | --- | --- | | `save_share::tests::the_game_settings_are_never_shared_and_the_players_own_are_kept` | 3 runs in 20, also with `--test-threads=1` | `apply` fails with OS error 32 ("used by another process") on files written just before; likely the antivirus or the indexer | #819 (0 in 15), or #594 (0 in 15) | | Watch tests on views: 11 different ones across the runs, e.g. `faults_that_take_no_lock_tell_the_same`, `a_write_opens_the_view_it_goes_through`, `other_memory_at_a_guarded_address_keeps_its_protection` | 2 runs in 20; only in parallel | The guards' books are global, and the tests share them | #724 (0 in 20) | | `descriptor::host::tests::views_off_their_elements_get_a_copy_of_their_bytes` | 2 runs in 65 | As #785 describes | #785 | **#724 + #785 + #819 cherry-picked together onto `f4608f0`:** 25 of 25 runs pass. `main`, interleaved with them over the same 25 rounds, passes 19 of 25. All three PRs are test-only or save-import changes, and all three apply cleanly on current `main`. Without them, any PR's CI can go red at the test step through no fault of its own, even once clippy is green. Only the `save_share` failure also shows up with `--test-threads=1`, so a local single-threaded run hides the other two. (#834, the fix for #817's lock-free fault race, was also tried for the watch failures. It doesn't change them: they are tests sharing state, not that race.) Synthetic only: no game files.
jptorres96 commented 2026-11-28 19:15:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jptorres96 on 2026-11-28T19:15:37Z.


Four more on the refresh path since the last round: #1373, #1298, #1278 and #1345. This round is on current main (9300875). Each PR is cherry-picked onto it with the same benchmark (frame_of_noop_refreshes, from bench-1138), with main and #1094 (at be4e568) alongside. The binaries were interleaved over 15 rounds. Ryzen 5 5600X, Windows build 26300, rustc 1.98.1.

Median ms per frame, with the interquartile range in brackets:

Variant 16 KiB copies 256 KiB copies
main 7.92 [7.66-8.42] 8.70 [8.55-9.11]
#1094 6.89 [6.80-7.05] (-13%) 8.25 [7.97-8.96] (-5%)
#1278 6.93 [6.78-7.18] (-12%) 8.34 [8.06-8.43] (-4%)
#1298 7.10 [6.82-7.20] (-10%) 7.93 [7.86-8.14] (-9%)
#1373 7.56 [7.40-7.91] (-5%) 8.92 [8.66-9.40] (+3%)
#1345 7.87 [7.56-8.06] (0%) 8.77 [8.65-9.27] (+1%)

#1094, #1278 and #1298 clear main's quartiles at 16 KiB. At 256 KiB only #1298 does. #1373 and #1345 show nothing measurable. As before, all of this is about a millisecond of a frame: KruIN689's in-game run of #1094 found it inside the game's own run-to-run spread.

Checks, each on 9300875:

  • cargo test -p victory-gpu --lib -- --test-threads=1: all pass (454-456 each).
  • The landing stress tests: frame_of_refreshes ×10, and refresh_tests ×3 at --test-threads=4. All pass for all four, with no hang.
  • In parallel, as CI runs, the only failures are the known flaky tests listed above, which main has too.
  • cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings, allowing main's own manual_is_multiple_of: clean for #1373, #1278 and #1345. #1298 leaves two functions unused (descriptor::constant_slot, watch::nothing_new), and dead_code fails both builds. Noted on #1298.

Merges (test merges): every pair conflicts except #1345 + #1373. Each of #1373, #1298 and #1278 also conflicts with #1094 and #1157 (host.rs, watch.rs, mostly shadow.rs as well). So the path now has twelve PRs, and the measured leaders are #1094, #1278 and #1298, within a millisecond of each other.

Synthetic only: no game files.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7244410622 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7244410622). Originally posted by [jptorres96](https://github.com/jptorres96) on 2026-11-28T19:15:37Z. --- Four more on the refresh path since the last round: #1373, #1298, #1278 and #1345. This round is on current `main` (`9300875`). Each PR is cherry-picked onto it with the same benchmark (`frame_of_noop_refreshes`, from `bench-1138`), with `main` and #1094 (at `be4e568`) alongside. The binaries were interleaved over 15 rounds. Ryzen 5 5600X, Windows build 26300, rustc 1.98.1. Median ms per frame, with the interquartile range in brackets: | Variant | 16 KiB copies | 256 KiB copies | | --- | ---: | ---: | | `main` | 7.92 [7.66-8.42] | 8.70 [8.55-9.11] | | #1094 | **6.89** [6.80-7.05] (-13%) | 8.25 [7.97-8.96] (-5%) | | #1278 | **6.93** [6.78-7.18] (-12%) | 8.34 [8.06-8.43] (-4%) | | #1298 | 7.10 [6.82-7.20] (-10%) | **7.93** [7.86-8.14] (-9%) | | #1373 | 7.56 [7.40-7.91] (-5%) | 8.92 [8.66-9.40] (+3%) | | #1345 | 7.87 [7.56-8.06] (0%) | 8.77 [8.65-9.27] (+1%) | #1094, #1278 and #1298 clear `main`'s quartiles at 16 KiB. At 256 KiB only #1298 does. #1373 and #1345 show nothing measurable. As before, all of this is about a millisecond of a frame: KruIN689's in-game run of #1094 found it inside the game's own run-to-run spread. **Checks**, each on `9300875`: - `cargo test -p victory-gpu --lib -- --test-threads=1`: all pass (454-456 each). - The landing stress tests: `frame_of_refreshes` ×10, and `refresh_tests` ×3 at `--test-threads=4`. All pass for all four, with no hang. - In parallel, as CI runs, the only failures are the known flaky tests listed above, which `main` has too. - `cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings`, allowing `main`'s own `manual_is_multiple_of`: clean for #1373, #1278 and #1345. **#1298 leaves two functions unused** (`descriptor::constant_slot`, `watch::nothing_new`), and `dead_code` fails both builds. Noted on #1298. **Merges** (test merges): every pair conflicts except #1345 + #1373. Each of #1373, #1298 and #1278 also conflicts with #1094 and #1157 (`host.rs`, `watch.rs`, mostly `shadow.rs` as well). So the path now has twelve PRs, and the measured leaders are #1094, #1278 and #1298, within a millisecond of each other. Synthetic only: no game files.
trustno1-coder commented 2026-11-29 19:46:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T19:46:51Z.


Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then.

If it still happens on the latest release, please open a new issue with the play log and crashes.log from that run. Thanks for reporting!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7261549418 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1138#issuecomment-7261549418). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-29T19:46:51Z. --- Closing this one because it was reported on a build from before v2026.11.28.03 (more than 4 releases ago) and has had no activity since v2026.11.29.01. A lot has changed since then. If it still happens on the [latest release](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest), please open a new issue with the play log and crashes.log from that run. Thanks for reporting!
Sign in to join this conversation.
No labels
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.

Reference
trustno1-coder/VIctory-NVIDIA#1138
No description provided.