Play defaults: submission split, lazy card compares and table-same on (+4-5 fps native, long frames down) #3809
No reviewers
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!3809
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-3809"
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?
@KruIN689 on GitHub · 2026-11-30 07:49 UTC · original
KruIN689:up/play-defaults→main· +13 −0 · 2 files · 1 commits · closed without mergingFixes #
What it changes
Four switches that are already in the code but off by default are now on in both launchers (
apps/victory/src/play.rsandscripts/play-foxhound.ps1):VICTORY_SUBMIT_SPLIT=1: a submission is prepared while the one before it is sent (#1418, opt-in until now).VICTORY_LAZY_COMPARE_MB=64withVICTORY_LAZY_NARROW=1: big card copies are compared only where they were written lately.VICTORY_TABLE_SAME=1: table entries that a list already brought up to date are left as they are.The submitting thread is the bottleneck at native resolution. Together these four take about 1.4 ms (27.6–32.6 ms → 26 ms) off its frame, and they cut long frames sharply. No code changes. Each switch can still be turned off with
-Set NAME=0or in the environment.How it was tested
41adb551).cargo test -p victory --locked: passed (83 tests).cargo clippy -p victory --all-targets -- -D warnings: stops at main's ownunwind_copydead-code error in victory-loader. #3785 and #2019 fix that error; it is not from this change.Checked for overlap
VICTORY_SUBMIT_SPLITas opt-in, merged). No open PR turns these switches on by default (searched "SUBMIT_SPLIT default", "TABLE_SAME", "LAZY_COMPARE").AI use: Claude Code (Claude Opus 5.5) prepared this branch, ran the measurements and wrote this text. Posted with the account owner's approval. Label: [pr-performance].
@akimfomin on GitHub · 2026-11-30 08:11 UTC · original
Independent datapoint with your exact four settings on our existing
e660311eengine, RTX 4070 Ti SUPER 16 GB and i5-13600KF, Windows 11. Series X at native internal/output 2560×1440, DLSS and FG off, original RT on. Same local save, fixed 15 s movement near the house, one measured run per condition so far.Both runs loaded the same shader-cache snapshot. This first moving comparison shows an improvement with the rare worst frames still present. Do you have a per-switch breakdown for
TABLE_SAMEand lazy comparisons on a moving scene? We can cross-check the biggest contributor under full RT.@ColorC on GitHub · 2026-11-30 08:58 UTC · original
Cross-validation data on RTX 5070 Ti + Ryzen 7 9800X3D (Series X 1440p, DLSS Quality + 3x MFG), testing the 4 switches enabled by this PR (
VICTORY_SUBMIT_SPLIT=1,VICTORY_LAZY_COMPARE_MB=64,VICTORY_LAZY_NARROW=1,VICTORY_TABLE_SAME=1) via same-binary toggle A/B:VICTORY_REFLEX_ASIDE=1)Key Telemetry Observations
29.5 ms -> 20.6 ms(planning steps done on the carddropped2.3 -> 1.0 ms;VICTORY_SUBMIT_SPLITsending thread absorbed2.4 + 0.1 + 1.0 = 3.5 ms/frame in parallel; GPUcompare listsdropped to0.2 ms).0.94 ms -> 0.54 ms(Max 41.8 -> 36.9 ms).N=485-second windows (~240s, avg8,701draws), Avg30.1 FPS(33.9 ms), Med34.0 ms(29.4 FPS), P9038.1 ms, Max43.0 ms,0/48windows over 50 ms,0errors.Present(1.41 -> 3.99 ms, max14.4 ms) until paired withVICTORY_REFLEX_ASIDE=1(#3411), which broughtPresentdown to0.45 ms(max0.7 ms).Test Setup
--res 1440 --dlss quality --framegen 3 --fps 1000)-C target-cpu=znver5) rebased onmain(41adb551) with a curated local PR stack; all A/B numbers below are same-binary toggle ablations from the exact same restored save (~10.0k–10.4k draws/frame standing scene) after official 1-time warmup.@akimfomin on GitHub · 2026-11-30 09:01 UTC · original
@ColorC Thanks for the same-binary comparison. The drop in submission time gives us a second adapter to compare with. Our 4070 Ti SUPER run with internal 2560×1440, original RT on, DLSS and FG off also moved in the same direction, with long-frame spikes still present.
Which RT builder mode was active in your walk? If you have an existing short window with these four switches alone and the original RT pass enabled, the frame-time distribution and median draws would help us identify which part carries over to full RT. A per-switch submission-time breakdown is equally useful. No screenshots or game data needed.
@JSa25 on GitHub · 2026-11-30 10:12 UTC · original
Another data point for
VICTORY_SUBMIT_SPLIT=1: RTX 5090, Ryzen 9 9950X3D, Series X profile, 2560x1440 with DLSS Quality, frame generation off, ray tracing off.Method. The opening cell route, with the switch flipped every 4 s inside one run, so both sides see the same scenes and caches. There were 16 phases in the world at about 5,000 draws a frame.
Across the 14 pairs of neighbouring phases, split on was faster in 13: +7.6 fps on average, with the p90 frame 12.3 ms shorter. No device loss.
That was main of Nov 29 (
7995b81b) plus mimalloc andCOPY_BESIDE,STORE_BESIDE,SEND_FREE_FIRSTandTHIN_COALESCE. The lazy-compare and table-same switches of this PR were not part of it. Since then, on41adb551with the split on, the same cell runs at 39-42 fps.One thing to know before it goes on by default: with the split, the preparing thread's
card_takecan make a copy's "before" hash buffer while the sending thread'scard_recordrecords the sync list.card_recordread that buffer more than once, so a hash pass could be recorded over a copy still inCOPY_DEST/UNORDERED_ACCESS. Biskwit/VIctory-reloaded fixed it in 4d3eae2, and #3881 ports that fix to main.@KruIN689 on GitHub · 2026-11-30 10:14 UTC · original
@akimfomin Thanks for the datapoint. A first gain under full RT on a 4070 Ti SUPER is useful to see.
There is no per-switch breakdown on a moving scene yet. What we have:
-Set NAME=0:VICTORY_TABLE_SAME,VICTORY_LAZY_COMPARE_MB(withVICTORY_LAZY_NARROW),VICTORY_SUBMIT_SPLIT. The frame-rate log's "preparing per frame, the submitting thread" line shows where the time went.If we get the per-switch moving numbers, we'll post them here.
(Written with Claude Code, for KruIN689.)
@akimfomin on GitHub · 2026-11-30 10:25 UTC · original
@KruIN689 Thanks for clarifying the per-switch evidence. In the tuned Lab baseline the >100 ms frames already show up in the first 15 seconds of the reproducible house walk, so the minute-15 sweep sounds like a second thing to measure. If the sweep work adds a timing marker, could you link it here? We can see whether that same marker aligns with our early stalls. @JSa25 I ported the #3881 single snapshot to our older Lab branch while preserving its flattened copy runs; it is queued for a full-RT check before we make split a default.
@tillo88 on GitHub · 2026-11-30 12:44 UTC · original
Measured this PR as it is (the four switches on through
play-foxhound.ps1; the log confirmsVICTORY_SUBMIT_SPLITwas active) on top of v2026.11.29.05, 2 runs, against 18 runs of the release as it is.Mean +3.9% fps (30.55 vs 29.40), both runs above the baseline mean. It's a modest gain on this bench: single baseline runs range from 27.8 to 30.6 fps (sd 0.7), and the submitting thread came down clearly in only one of the two runs. p99 frame times were somewhat higher in both runs (151 and 156 ms vs 139 ms mean, highest baseline run 149 ms). No crash in either run.
Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before each run (start of the game), prison cutscene, plane cutscene, first boat section, about 6 minutes; warm-up run not counted.
Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
@akimfomin on GitHub · 2026-11-30 12:59 UTC · original
@tillo88 Thanks for including the spread and the p99. Our 4070 Ti SUPER check used a different scene and native 1440p with stock RT on. The four switches were bundled with separate descriptor and ordering changes, so we cannot attribute that result to #3809 alone. On the same walking tape that bundle went from 11.57 to 9.27 average FPS, with p99 rising from 202.6 to 555.4 ms, so we kept it out of the stable build. Your two RT-off runs show a modest average gain alongside higher p99. If you repeat the comparison, a single-switch check of split submission with the #3881 ordering fixes and the same replay would help explain the two workloads.
@tikD1337 on GitHub · 2026-11-30 14:02 UTC · original
Sharing an outdoor
VICTORY_TABLE_SAME=1A/B measurement on41adb551(diagbuild, RTX 4070 Ti SUPER 16 GB, Ryzen 5 7600, 32 GB RAM, Windows 11) in case it helps support enablingVICTORY_TABLE_SAME=1by default:f-41-ts2, 566 s, 24 world phases across 5.6k–11.5k draws, frame time fitted vs draws):VICTORY_TABLE_SAME=1:-3.1 msmedian frame (-4.6 msmean, ~6%, ~2 SE);tables.directdropped3.2 -> 1.0 usper bind (57.5 -> 11.3 ms/frame); visuals clean (no stale textures).VICTORY_SHARED_TABLES + PARK + SAMEin the same A/B regressed+0.8 msmedian (+2.8 msmean) and raisedtables.key6 -> 16 ms.AI-assisted (Claude Code / Gemini); measurements are from this PC, no game data.
@akimfomin on GitHub · 2026-11-30 14:07 UTC · original
@tikD1337 Thanks for testing
TABLE_SAMEon its own and reporting the opposite result withSHARED_TABLESandPARK. We use the same GPU with native 2560×1440 Series X, full stock RT, DLSS/FG off. What RT mode, internal resolution and submit flags didf-41-ts2use? If your existing aggregate includes p99 or frames over 100 ms for the isolated switch, that would help us choose a clean comparison without asking for another run.@tikD1337 on GitHub · 2026-11-30 14:22 UTC · original
@akimfomin Here are the exact settings and tail numbers from
f-41-ts2(run.bat+victory.log):Setup in
f-41-ts2--console series-swithVICTORY_DLSS=1(VICTORY_NATIVE_1440Punset, FG off).VICTORY_BVH_BUILDERunset (Ray Tracing OFF), using ambient replacement (VICTORY_AMBIENT=0.8,VICTORY_AMBIENT_AIR=1.5,VICTORY_AMBIENT_SPECULAR=1).VICTORY_SUBMIT_SPLITunset (off),VICTORY_LAZY_COMPARE_MBunset (off),VICTORY_THIN=1,VICTORY_JOIN_PARTS=8,VICTORY_RELAY=2,VICTORY_PORT_CONSTANTS=1,VICTORY_DSTORAGE_PRIORITY=0.Tail /
>100 msacross the 23 world phases (phases 4–26, 5.6k–11.5k draws)Raw per-mode aggregates (note draw count drifted across phases):
baseline(6 phases, med8,126draws): phasep90mean93.9 ms, 1sp99median111.9 ms,>100 ms144 / 1,985(7.3%)VICTORY_TABLE_SAME(6 phases, med6,899draws): phasep90mean84.5 ms, 1sp99median103.4 ms,>100 ms105 / 2,138(4.9%)VICTORY_SHARED_TABLES(6 phases, med9,276draws): phasep90mean95.0 ms, 1sp99median112.8 ms,>100 ms148 / 1,895(7.8%)both(5 phases, med9,824draws): phasep90mean93.8 ms, 1sp99median112.8 ms,>100 ms132 / 1,646(8.0%)Draw-adjusted OLS across all 23 world phases (
y ~ draws + TABLE_SAME + SHARED_TABLES):VICTORY_TABLE_SAME:median-2.08 ms(SE0.81),mean-2.44 ms(SE0.92),p90-4.56 ms(SE1.63), 1sp99median-3.43 ms(SE2.13),>100 msshare-0.91 pp(SE0.44).VICTORY_SHARED_TABLESin the same fit was-0.26 msmedian /+0.61 msmean /-1.49 msp90, all within 1 SE.)AI-assisted (Claude Code / Gemini); extracted directly from the existing
f-41-ts2log, no extra run.@DoubleD17 on GitHub · 2026-11-30 16:47 UTC · original
Data on the first switch,
VICTORY_SUBMIT_SPLIT=1, from a CPU-bound 8-core machine. We ran a test on mainc71899d9, which already has the lazy compare on by default, so this isolates the split. Same build in both arms, with and without the switch, in ABBA order: four 150 s runs each plus a warm-up. The log confirmed it in every run with the switch: "submissions are sent by a thread of their own, the next one prepared meanwhile".CPU preparation was lower in all four runs. Light-view seconds only (the idle camera's lighter views, about 7,500 draws a frame), each run against the runs without the switch interpolated in time:
The submitting thread worked 48.0 to 54.1 ms a frame with the switch, against 52.6 to 68.9 without. On the heavier view (about 15,000 draws a frame) fps was 13.1 to 13.8 with it, against 10.3 to 13.4.
A caveat on the size: the PC was in light use (a browser) during five of the eight runs. Taking only the three runs with nobody at the PC, it is −4.0 ms of CPU preparation (42.8 and 42.9 against 46.8). The direction holds either way.
Picture: 1 frame in 400 with the switch had the vegetation gap of #1165 (palms and potted plants missing for one frame), and so did 1 frame in 320 without it. Nothing else.
Memory: no change. In the last 100 s of each run, shared memory was 6.4 to 7.1 GB in both arms and dedicated 10.4 to 10.6 GB.
Setup:
victory playdefaults ofc71899d9, every run from the same save, restored before each run;AI Assisted
@mstrmoos on GitHub · 2026-11-30 19:22 UTC · original
Measured on top of a branch of main plus other open PRs. The machine was the RTX 5080 16 GB, Ryzen 7 9800X3D, Windows 11, Series X profile, same save and 90 s bench route each run.
VICTORY_SUBMIT_SPLIT,VICTORY_LAZY_COMPARE_MB=64,VICTORY_LAZY_NARROW,VICTORY_TABLE_SAME): 37.9 ms median.Both runs had a remote-desktop session attached, which costs about 5 ms a frame on this PC; without it, the same build ran 32.8 ms.
One snag when merging: the launcher got a duplicate
VICTORY_SUBMIT_SPLITkey where our branch already set it. It came from our side, not this PR, but anyone who already sets that switch should look out for it.@DoubleD17 on GitHub · 2026-11-30 20:16 UTC · original
The four switches together on main
84bd61e2: RTX 5070 12 GB / Ryzen 7 5800X, a CPU-bound PCSetup (from the runs' logs):
--seton main84bd61e2(VICTORY_SUBMIT_SPLIT=1 VICTORY_LAZY_COMPARE_MB=64 VICTORY_LAZY_NARROW=1 VICTORY_TABLE_SAME=1), which is what this PR makes the default.84bd61e2c71899d9test,SUBMIT_SPLITalone gave −6.5 ms in light views. With all four on84bd61e2it is −4.7 ms, but more in heavy views.c71899d9without these switches.AI Assisted
@erLCoder on GitHub · 2026-11-30 20:47 UTC · original
<html>Hardware A/B testing — Ryzen 5 3600 / RTX 5060 Ti 16 GB
Tested the submission split setting proposed in #3809 on a CPU-bound Zen 2 system.
Hardware and configuration:
CPU: AMD Ryzen 5 3600 (6C/12T)
GPU: NVIDIA RTX 5060 Ti 16 GB
RAM: 32 GB DDR4-3200
OS: Windows 10 Enterprise 22H2
NVIDIA driver: 621.40
Series S profile, DLSS Quality, Frame Generation off
Pipeline workers: 3
DirectStorage workers: 4
Normal process priority
Warm pipeline cache
Both runs explicitly used
VICTORY_LAZY_COMPARE_MB=64,VICTORY_LAZY_NARROW=1andVICTORY_TABLE_SAME=1. The only difference in the logged launch switches wasVICTORY_SUBMIT_SPLIT=0/1.Results — boat sequence:
### Results — boat sequenceThe submission split thread was confirmed active in the enabled run.
During the earlier gameplay window, enabling split reduced median submission preparation time by approximately 7.9%, despite a slightly higher draw count.
However, both runs experienced substantial performance degradation later in the boat sequence, with available physical RAM falling to approximately 1 GB. Split did not demonstrate a consistent FPS improvement across the entire measured window.
Limitations: One run per configuration, manual gameplay input, different run lengths and non-identical camera positions. The FPS figures are medians of periodic log samples, not individual-frame measurements. This is a preliminary runtime-switch comparison, not a fully controlled benchmark or a direct build of the PR branch.
The results suggest that submission splitting can reduce preparation overhead on older six-core CPUs, but additional controlled testing under host memory pressure would be valuable before enabling it by default.
Thanks for the optimization work!
</html>@tillo88 on GitHub · 2026-11-30 21:15 UTC · original
@akimfomin Here is the single-switch check you asked for:
VICTORY_SUBMIT_SPLIT=1alone, andVICTORY_SUBMIT_SPLIT=1with #3881 merged on top, same replay, on v2026.11.30.03, against the release as it is (no other switch changed).SUBMIT_SPLIT=1only, 3 runs (mean, range)SUBMIT_SPLIT=1+ #3881, run 1 (the only complete run)a host command list did not close (0x80070057), one at +2:16 and one at +2:36 after the log starts. That is the known crash of #2237 at the prison → plane cutscene cut, at the same time and with the same error, right after the masked twin is made. The release without #3881 had it in 1 of 10 runs on this bench (v2026.11.30.02: 8 of 20), so 2 of 4 runs is not enough to tie it to #3881. More runs of split + #3881 are queued, and I'll add them here.Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before each run (start of the game), prison cutscene, plane cutscene, first boat section, about 6 minutes; warm-up run not counted.
Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
@tillo88 on GitHub · 2026-12-01 12:06 UTC · original
@akimfomin Follow-up on the
VICTORY_SUBMIT_SPLIT=1+ #3881 check from my last comment: 4 more runs on v2026.11.30.03, same replay, and more base runs.SUBMIT_SPLIT=1+ #3881 (all complete runs)a host command list did not close (0x80070057)at the prison → plane cutscene cut or about 20 s after it. The bare release now has 5 of 27 at or near the same points, so 3 of 8 is not clearly higher, and this does not point at #3881. The new run that stopped made the masked twin at +2:14 like every other run. Split alone: 0 of 4.Setup: Ryzen 7 9800X3D, RTX 5070 Ti 16 GB (driver 621.40), 32 GB RAM, Windows 11, release build, Series X 1440p, DLSS Quality, frame generation off, ray tracing off. Same save restored before each run (start of the game), prison cutscene, plane cutscene, first boat section, about 6 minutes; warm-up runs not counted for speed.
Measured unattended on a replay bench (same save, recorded controller input via VICTORY_INPUT_REPLAY); numbers and text prepared with Claude.
@ColorC on GitHub · 2026-12-01 12:16 UTC · original
@akimfomin To answer your question directly:
VICTORY_BVH_BUILDER=0,VICTORY_HW_RT=0, usingVICTORY_AMBIENT=0.8). We do not have a matched original software-RT (VICTORY_BVH_BUILDER=1) ablation window on file for the 4 switches alone.VICTORY_HW_RT=1,VICTORY_BVH_BUILDER=0, 1440p DLSS Quality + 2x FG,VICTORY_RELAY=2):VICTORY_LAZY_COMPARE_MB=64,VICTORY_LAZY_NARROW=1, andVICTORY_TABLE_SAME=1stayed enabled across all subsequent HWRT runs (including 8-minute open-world drives, 0 errors).VICTORY_SUBMIT_SPLIT=1alongside those 3 switches logged:395s windows, avg6,233draws): Mean20.34 FPS, P5020.8, P1016.0, Min0.8, CPU prep33.19 ms.355s windows, avg6,748draws): Mean19.14 FPS, P5019.6, P1016.5, Min1.9, CPU prep34.58 ms.VICTORY_SUBMIT_SPLIToff (same 3 switches still ON, plusVICTORY_WC_BAR=3,405s windows, lighter route load at avg4,566draws — so not a strict single-switch isolation): Mean24.60 FPS, P5024.6, P1020.8, Min13.8, CPU prep30.24 ms,0errors.Hope that clarifies the RT configuration and avoids mixing no-RT numbers with full-RT expectations.
@bigboss22869 on GitHub · 2026-12-01 13:45 UTC · original
Crash with
VICTORY_LAZY_COMPARE_MB(#501, on in the play defaults since #3809): the title reads shader-written memory before it is landedWith
VICTORY_LAZY_COMPARE_MB=64andVICTORY_LAZY_NARROW=1the title crashes now and then withVICTORY_LAZY_COMPARE_MB=64alone (no NARROW) the same function crashed too (+0x4e9b4b2, a garbage node pointer), 7.5 minutes into a run.VICTORY_LANDED_FAST=1(#3753) alone: 80 minutes of camera turning without a crash. In about 590 earlier logs without LAZY_COMPARE the crash never appears.{next, +8 pointer, +0x10 u32}taken from a bump arena at[object+0x10]) and dies onmov eax,[rcx+0Ch]withrcx = [node+8]. In the dumpsrcxis 0, -1 or0x3f8000003f800000(two 1.0f): the node's memory holds data that looks like what shaders write, not a pointer.Our reading: the list nodes are written by shaders and read by the title's CPU after it has waited for that work. With the compare left out for a piece, the write is found only later (the sweep or a send), so for a while the title reads what the memory held before: old data, here floats and -1. We tried landing late-found bytes only where the title had not written since (a three-way merge): one 30-minute run without NARROW was clean, but the next one with NARROW crashed in the same place, so landing order is not the cause; late visibility is.
host/lazy.rsnotes this itself ("a piece written for the first time is read as the title has it until the sweep finds it").Suggestion: take LAZY_COMPARE_MB / LAZY_NARROW out of the play defaults (#3809) until pieces the CPU may read after a fence are always compared before the title is told the work is done.
Setup: RTX 5070 Ti 16 GB, Ryzen 7 7800X3D, 64 GB, driver 621.24, fork branch rtx5070ti on 2026.11.30 code. We have taken LAZY_COMPARE out of our defaults; it gave about +3% fps while turning the camera.
🤖 Generated with Claude Code
@mstrmoos on GitHub · 2026-12-01 14:11 UTC · original
Thanks for tracking this down. Before the switches leave the defaults, here's what they're worth on a card-bound scene, so the trade-off is on the table.
RTX 5080, Series X profile, DLSS Balanced, frame generation off. Standing still on a pier for 120 s after a warm-up: water in frame, a terrace with people behind, the far shore, about 4,000-4,300 draws a frame. Same build and switches in both runs, apart from these two:
LAZY_COMPARE_MB=64+LAZY_NARROW=1So here it's about 7 % on the median and more on the tail, because the full compare is about 2.2 GB of card reads a frame (
host/lazy.rs). I haven't hit the crash, but my runs are 2 minutes and yours appear after 1 to 30, so that tells you nothing.A fix that might keep both:
land/reads.rsalready makes landed pages no-access and catches the CPU's first touch. If the title pages of pieces left out of a compare (pending inlazy) were held the same way, a CPU read of one could force that piece's compare and fetch before the read goes through. The CPU only pays when it actually touches a pending piece. The hard part is doing a card fetch from inside the fault, on the title's thread. Has anyone counted how often the title touches pending pieces? If it's rare, this keeps the 7 % without the late reads.@mstrmoos on GitHub · 2026-12-01 14:46 UTC · original
I measured how often this window opens on my side. Then I tried something that narrows it. It's on a branch for anyone who can reproduce the crash:
mstrmoos/VIctory-NVIDIApr/lazy-halo(93c9601e, one commit onmain).Late finds. A "late find" is a piece found written while it no longer counted as written lately. Shaders wrote it, but the write was seen only when the sweep or a send reached it, and until then the title read the old bytes. That's your reading of the crash. The branch adds a
coldcount to the 5-second lazy line. On the pier (RTX 5080, Series X, DLSS Balanced, about 4,000 draws a frame,LAZY_COMPARE_MB=64+LAZY_NARROW=1), over 5 minutes it stays at about 1,060 a 5 s, about 5 a frame: 5 % of all writes found. So the window opens often, which fits a crash that needs a particular list to land in it.VICTORY_LAZY_HALO=<n>(off by default). The list you found is built in a bump arena, so it grows on from where it ended. With this switch, a piece found written makes the nextnpieces count as written lately too. They're then compared at every submission while the arena grows into them.HALO=2HALO=8The extra compares don't show in the frame time. The window shrinks by about two thirds but doesn't close: the remaining late finds aren't next to a piece found written. So this is a mitigation, not a fix, and I can't tell from here whether it covers your list. If you can rerun your crashing setup with
VICTORY_LAZY_HALO=8, that would tell us. If it holds for an hour or more where it used to crash within 30 minutes, I'll open it as a PR with your result.@mstrmoos on GitHub · 2026-12-01 15:37 UTC · original
A longer run with the halo: 30 minutes standing on the pier,
LAZY_COMPARE_MB=64+LAZY_NARROW=1+LAZY_HALO=8, DLSS frame generation 4x with Reflex low latency off (#4881), RTX 5080. Diagnostics build of my branch.Half an hour clean on one machine doesn't prove much against a crash that came after 1 to 30 minutes for you. But together with the count, it's the reason I'd ask for your test with
VICTORY_LAZY_HALO=8before anyone takes the lazy compare out of the defaults.@trustno1-coder on GitHub · 2026-12-01 18:48 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.
Pull request closed