Triage map of the open pull requests (main 63b902fe, 2026-11-28) #1138
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1138
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ballsimulation on GitHub · 2026-11-28 13:55 UTC · original
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:
In numbers
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 warningsfails on three lints:manual_is_multiple_ofinshadow.rs:1708anddescriptor.rs:1234, andsome_filteringameinput.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:
VICTORY_DSTORAGE_PRIORITYis in main'sdstorage.rs.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.
VICTORY_HOME(#751)victory play(#1072)upload.rs3. 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.
VICTORY_WATER_TILE_SLOTS)6b82bc7d22016cb5,5e3dd99e0f067aee,ae0deeafe219c15c,57f1b81de55c2842and407eca669212d400are still refused4. Where PRs collide
The functions of main changed by the most open PRs. Two of these PRs rarely merge without hand work.
host/menu.rs: the F1 menu's rows (shown_nameand around it)victory-gpu/src/lib.rs: the module list and exportshost.rsfn frame: the per-frame lineemit/mod.rs(top),emit/lower.rsLowerer::new,shader_cache.rsbuild()(the cache key)apps/victory/src/play.rs(top): the launcher's settingshost.rslate_line: the late-frame lineMost 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
constslice 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) andVICTORY_KEYS_FROM=world(#1098).Method, for anyone who wants to redo it:
git fetch origin '+refs/pull/*/head:refs/remotes/pr/*'.git diff -U0 $(git merge-base origin/main pr/N) pr/Ngives the hunks it changes in main.@github-actions[bot] on GitHub · 2026-11-28 13:55 UTC · original
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.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@psttt432454 on GitHub · 2026-11-28 14:16 UTC · original
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 on GitHub · 2026-11-28 14:25 UTC · original
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'sbench-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, throughBatch::add/flushwith oneask_onceeach. 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_KIBsets the copies' size.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:
frame_of_refreshesmainVICTORY_WIDE_CHUNK=8VICTORY_WIDE_CHUNK=32frame_of_refreshesspreads 19-25 ms per variant, so no variant there differs frommain.What it says:
main's at both sizes: about -9 to -10%.Tests.
cargo test --locked -p victory-gpu --lib -- --test-threads=1on each, cherry-picked onto63b902f: #126 455/455, #145 453/453, #318 455/455, #614 455/455, #1094 455/455. None fail.They collide (test merges on
63b902f):host.rs,shadow.rsandwatch.rs. They rewrite the samenothing_new/ chunked-refresh code three ways, so at most one of them can go in as it is.host.rs(andshadow.rsfor #318 and #614).watch.rs.#59 is left out: it only changes texture reads (
texture.rs), which this benchmark doesn't exercise.Synthetic only: no game files.
@ballsimulation on GitHub · 2026-11-28 14:26 UTC · original
@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.
@jptorres96 on GitHub · 2026-11-28 14:45 UTC · original
Three more PRs on the same path have opened since: #1157, #1133 and #1134. Same method as above: each cherry-picked onto
63b902fplus the benchmark (bench-1138,c98e87e), binaries interleaved over 15 rounds, withmainand #1094 rerun alongside.frame_of_noop_refreshes, median ms per frame, with the interquartile range in brackets:mainThis session's machine state differs from the first run's:
maincame out at 8.83 rather than 10.01. Read each row against themainrow in the same table. #1094 again clearsmain'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, allowingmain's ownmanual_is_multiple_of: clean for all three.merginglock with 64 page stripes, so I also ran two tests that land on a copy while it is refreshed.frame_of_refreshesran 10 times, and therefresh_testsmodule 3 times at--test-threads=4. All passed, with no hang, as onmain. In my reading the stripes are always taken in ascending order, and the card path holds one stripe at a time.Merges (test merges):
host.rs,shadow.rs,watch.rs) and with #1133.host.rs).shadow.rs. Itshas_pendingflag is the same idea as #1094'spending_lenand thepending_anyof #318 and #614.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 on GitHub · 2026-11-28 14:49 UTC · original
@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 on GitHub · 2026-11-28 16:20 UTC · original
One more for section 1's quick wins. Besides clippy (#957, #1160), CI's
cargo test --workspace --lockedstep is red on its own about one run in four. That is so onmainnow (f4608f0) and on63b902f, because threevictory-gputests fail now and then. Three open PRs fix them, and together they make the suite pass every time here.victory-gpu's lib tests atf4608f0, run in parallel as CI runs them. Ryzen 5 5600X, Windows build 26300, rustc 1.98.1.mainsave_share::tests::the_game_settings_are_never_shared_and_the_players_own_are_kept--test-threads=1applyfails with OS error 32 ("used by another process") on files written just before; likely the antivirus or the indexerfaults_that_take_no_lock_tell_the_same,a_write_opens_the_view_it_goes_through,other_memory_at_a_guarded_address_keeps_its_protectiondescriptor::host::tests::views_off_their_elements_get_a_copy_of_their_bytes#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 currentmain.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_sharefailure 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 on GitHub · 2026-11-28 19:15 UTC · original
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, frombench-1138), withmainand #1094 (atbe4e568) 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:
main#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).frame_of_refreshes×10, andrefresh_tests×3 at--test-threads=4. All pass for all four, with no hang.mainhas too.cargo clippy -p victory-gpu --all-targets --no-deps -- -D warnings, allowingmain's ownmanual_is_multiple_of: clean for #1373, #1278 and #1345. #1298 leaves two functions unused (descriptor::constant_slot,watch::nothing_new), anddead_codefails 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, mostlyshadow.rsas 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.
github-bot referenced this issue2026-11-28 23:30:04 +00:00
@trustno1-coder on GitHub · 2026-11-29 19:46 UTC · original
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!
github-bot referenced this issue2026-11-30 16:51:58 +00:00