No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!980
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-980"
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?
@gangg111 on GitHub · 2026-11-25 14:36 UTC · original
gangg111:rt-772-vram-residents→main· +12618 −851 · 40 files · 25 commits · openWhat
Pull request #772 by @sirrus98 (title memory in place, hot memory kept in VRAM) merged on top of #905 (#814 live ray tracing on current
main). With ray tracing on, the processor-side copy of title memory was most of the frame; withVICTORY_INPLACE=4it drops by about a third.This branch contains #905's merge commit, so it should go in after #905 (or instead of both). All credit for the in-place and resident work is @sirrus98's, for the ray tracing @staronthehorizon's; this resolves the merge and measures it with ray tracing.
How the conflicts were resolved
shadow.rsloose(): #814's version (writable windows, read-only windows in place) is kept. WithVICTORY_INPLACE>=3a window goes to its arena run first, as in #772, and writable asks take it too (the card writes the title's own bytes). Hot windows become residents (hot_window).retarget_tablesruns before both tables are read.memory.rs(SLOT_MEMORYdirectory): copies areOption, with #772'sretargetto residents; renumbering also moves #814's dirty-page records to the new number. Directory offsets useentry_offset(the bias of memory in place), including the pages a new copy fills in.inplace.rsplace_for: the arena path (level 3 and up) comes before #814'slate()guard, which stays for the older levels.placekeeps #814'swritableargument; #772's callers passtrue.xmem.rs: #814's lazySEC_COMMITchunks are kept. They are already committed sections, soVICTORY_INPLACE_POOLis not needed here. The section-gone hooks of both sides run (arena::title_memory_section_gonecalls the in-place census one).host.rs: flights carry both #814'smemory_dirtyand #772'sin_place; the early-signal landing passes #814's newrelay_card_backarguments.pipeline.rs/draw.rs:threadsand the store widths both kept; typed-store write-back by width plusmark_uav_dirty.warp_committed_section_places_read_only_and_writable_and_promotesopens a section by its handle, which #772 refuses on purpose (commit kept until restart on NVIDIA).VICTORY_ALLOW_SECTION_HEAPS=1still allows it.Testing
Hardware: RTX 3080 10 GB, driver 621.01, no Resizable BAR, i9-12900K, 32 GB RAM, Windows 11.
cargo build --release: clean (2 dead-code warnings, as before).cargo test --release --workspace -- --test-threads=1: everything passes exceptxtaskrepository_passes_policy, which flagsemit/lower.rsover 512 KiB (from #814) and a local build directory, nothing from this merge.--console series-s,VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=0 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_TEXTURE_ROOM_PERCENT=82, same scene (the first cell):VICTORY_INPLACE=4Known
VICTORY_CARD_TIME).🤖 Generated with Claude Code
victory inplace-probe; HLE: count the title's frees and protects of graphics memory ed1d824a7cThe tier-3 design (title memory as the GPU's own, one opened heap per region) rests on driver limits nobody had measured on the card. This adds the design's probes (inplace_probes.rs), run on a queue and memory of their own, and a way to run them without the title: victory inplace-probe [--small] [--tiles] [--debug-layer] [--mb N] and `cargo test -p victory-gpu -- --ignored probe_on_hardware`. In game, VICTORY_INPLACE_PROBE=1 adds the small ones (P2-P6, R9) to the first probe, now on a thread of its own; =3 also the ones that lock or commit gigabytes (P1, P2's 4 GiB part, P7). Measured on the RTX 4090 (debug layer on, no errors except where said): - P1: 40 bits of GPU VA per resource and per process. Parts of 2 GiB, 4095 MiB and 4 GiB - 64 KiB open (343/684/672 ms) with a buffer over all of it, written at its far end by copy and shader. 4 GiB and 6 GiB are refused by the runtime ("must point to a memory region that is 4GiB or less"). Committed sections of 2 GiB and 4095 MiB open (89/177 ms); 6 GiB is refused ("hFileMapping must be 4GiB or less"). - P2: opening private memory locks it: 1 GiB 173 ms +1,024 MB working set, 4095 MiB 695 ms +4,096 MB; no commit added; the heap goes in 16/68 ms. A committed section's pages count in the working set when opened (no more when the GPU reads them). - P3: InterlockedOr/And from a compute shader into a part and a section are exact, a byte replaced by And+Or keeps the dword's other bytes, and a CPU writing byte 0 of the same dwords all along keeps its last byte (32 of 32) while the GPU's bits all land. - P4: with a part opened, write watching still reports CPU writes exactly ([1, 5, 9] -> [1, 5, 9]) and reports none of the GPU's (copy and shader: []). - P5: 512 parts of 64 KiB with a buffer each: 93 ms, none refused, gone in 41 ms. Two overlapping parts: written through one, UAV barrier, read through the other in one list: right, and the CPU sees it. - P6: a buffer in an opened heap works as vertex and index views, root CBV, typed SRV and raw UAV in a table, ExecuteIndirect arguments and count, CopyTextureRegion both ways, ResolveQueryData. One buffer used as copy source then destination in one list needs an explicit transition (implicit promotion is once per list: risk R8). - P7: commit headroom 63,990 MB; a 6 GiB SEC_RESERVE section adds 0 MB, SEC_COMMIT adds 6,156 MB (whole or as six 1 GiB sections, both made at once); a 6 GiB section cannot be opened as one heap. - R9: on pages of an opened part VirtualProtect read-only, MEM_DECOMMIT and MEM_RELEASE fail with error 87, also while only a buffer placed in the heap is alive; MEM_RESET and an unchanged protection succeed. - tiles (--tiles, a device of its own): a reserved buffer's tile mapped onto a heap in the card's memory works; mapped into an opened heap the runtime removes the device (0x887a0001), as on the software adapter. R9 (count only): with VICTORY_INPLACE_PROBE, VICTORY_INPLACE or VICTORY_MEMORY_CALLS=1 the title's kernel32 VirtualFree, VirtualProtect and VirtualAlloc(MEM_RESET) go through wrappers in xmem.rs that call the host's functions unchanged and count (and log, first 16 and every power of two) the calls that touch memory XMemVirtualAlloc reserved. Without the switches the imports go to the host as before. Tests: victory-gpu 111 passed, 2 ignored (probe_on_hardware, and the one ignored before); victory-hle 96 passed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SZC5U8SHMXUK5wS4AS2KxTIn run inplace3-t3 (VICTORY_INPLACE=3) no part ever opened: the title commits its 3.4 GB private region at 0xd00000000 in steps, with holes and pages of other protections, and the arena asked for one part over the whole region ("not private memory committed whole and read-write"); that one refusal then turned down every range of the region. The pool run (inplace3-pool-t3) worked: 8 sections open, 6.78 GiB locked, 6,011 windows (575 MB) and 80 title buffers in place, 2,018 MB of view memory placed, median frame 233.8 ms against 285.5 ms for its control (-18%). Parts come from runs of committed pages. `runs_of` asks Windows for the runs of committed read-write private pages of a reported region, one VirtualQuery per run. The runs are asked when first needed, and again when the region changes or an opening finds the pages changed. A range is in place when it lies in one run. Its part is the lowest of the run's parts on the 2 GiB grid from the run's start (`grid_part`, at most 4 GiB - 64 KiB). An open part that holds the range is always taken first. So when the title commits more and two runs join, ranges over the join open a new, longer part beside the older ones, which stay for what was placed in them until it is let go. A refusal is kept per part, not per region, and a part refused because its pages changed is not kept at all. The title's own kernel32 VirtualAlloc(MEM_COMMIT) in memory that XMemVirtualAlloc reserved is reported too (xmem's wrapper). Remaps. The pool run let 9,755 in-place windows go in three minutes because the title remapped their pages. A placement in a section's arena is now only marked when its pages are remapped. When it is next asked for, it stays if its range is still the same run of the same section at the same offset (`still_good`, `inplace::still_run`); otherwise it is let go and placed again. Both outcomes are counted on the arenas line (REMAPS: kept / placed again). Placements in private parts, and the title's own frees and protects, still let go at once. Why a range is turned down is now counted by kind (arena::Why): - view memory not one run of a committed section; - not memory the runtime reported committed; - spans pages not committed; - spans another protection; - longer than a part of its run; - over the budget; - refused by the host; - its arena still being opened. The counts are given on the arenas line, so the census can be checked against what placement does. Off path: `host::in_place_writes` returns before any pass when VICTORY_INPLACE is off, a closed section tells the arenas nothing below level 3, and xmem's release of 32-bit memory asks nothing (no lock, no VirtualQuery) unless the wrappers' switches are on. Everything else was already behind a switch read once. Tests: - arena::tests::a_range_takes_the_lowest_part_of_its_run_that_holds_it (the grid; regions joined and cut). - arena::tests::warp_runs_of_committed_pages_are_parts_of_their_own. A reservation is committed in two runs with a hole: a buffer in either run is placed in its run's part, and one over the hole is turned down. After the hole is committed and reported, a range over it gets a part of the joined run beside the older two. A range over a read-only page is turned down as another protection. The GPU reads the title's bytes through each part. - shadow::remap_tests::warp_a_placement_in_a_section_outlives_a_remapping_ to_the_same_pages. - arena_on_hardware passes on the RTX 4090. victory-gpu 119 passed, 3 ignored; victory-hle 96 passed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SZC5U8SHMXUK5wS4AS2KxTIn run inplace3-pool the private arenas opened (2 parts, 3.29 GiB locked, 287 MB placed), but 1,320 placements were turned down "its arena still being opened": a part is opened at its first GPU use, and a part of 2.2 GB takes about 365 ms to open on the arenas' thread. Meanwhile every buffer in it gets a copy, and keeps it. With the switch (off by default; with arenas, VICTORY_INPLACE=3 or more), a commit of graphics memory the runtime reports (title_memory_committed) is asked of the arenas' thread at once (Arenas::ask_early), so its part is usually open before the GPU first uses it: - the parts are cut from the commit itself, every 2 GiB from its start and up to 4 GiB - 64 KiB each, as a run is cut (grid_part), so commits made in steps never open parts over each other; a range over two commits gets the part of its run at its first use, as before; - commits of VICTORY_ARENA_SYNC_MB (64) or less are left to their first use, which opens them on the asking thread (about 11 ms); - the budget (VICTORY_INPLACE_MB) is held from the ask on; over it, nothing is asked and the first use decides, as before; - commits reported before the host is up wait for the first range resolved (the host is not made for them); - a range in a part asked early that is still opening is turned down as opening, and residents wait for it (resolve_waiting), instead of asking for a second, overlapping part of the same run; - title_memory_released waits (five seconds at most) for a part asked early over the range that is still opening: while it opens its pages are locked, and the title's decommit or protect would fail (R9). Without the switch nothing is asked early, the set of parts asked early stays empty, and resolving and releasing are as before. Each ask is logged: "arena: committed graphics memory asked of the arenas' thread as the runtime reported it (VICTORY_ARENA_EARLY=1)" start=.. mb=.. followed by the opening line as before. The effect shows in the existing turned-down counts ("its arena still being opened"). Tests: victory-gpu 130 passed, 4 ignored (was 129); victory-hle 96 + 1. - arena::tests::a_commit_asked_early_is_opened_in_parts_of_its_own (new): a 5 GiB commit is asked as two parts (0, 4 GiB - 64 KiB) and (2 GiB, 3 GiB) with their bytes held; a range held already, a small commit and one over the budget are not asked; a range in an opening part is turned down as opening without a new ask; a release over it sees it; landed or released, it is no longer waited for and its bytes are given back. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SZC5U8SHMXUK5wS4AS2KxTWith VICTORY_INPLACE=4 three compute passes that run once a frame took 1-6 ms of card time in the control and 19-67 ms with Tier 3 (timing runs with VICTORY_GPU_TIMING; 5cf00dc3 3.3 -> 67 ms, cb6adcc6 5.6 -> 41.6 ms, 0a5ecfee 1.2 -> 19 ms). Their code is the same; what changed is where they write: their buffer atomics go to tiny buffers (52 B, 480 B, 56 KB) that were copies in system memory in the control and in place, in the title's memory, with Tier 3. Shaders reach memory in place across the bus. Title buffers smaller than VICTORY_INPLACE_MIN_KB (1024 by default, 0 for no floor) now stay copies, as without VICTORY_INPLACE. Windows are not affected. Such buffers are 42 MB in all (3,376 of them, 3,242 under 64 KiB), so copying them costs little. Measured (RTX 4090, release, the same exe, the switches equal but this one; inplace4 with VICTORY_CARD_TIME=1, 120 s after the world): floor off floor 1024 KiB control (Tier 3 off) frame median 495.0 ms 234.6 ms 240.1 ms average fps 1.69 4.30 4.33 title lists, card time 222-244 ms 100-129 ms ~111-115 ms The frame-rate line gets a placement census: title buffers and windows apart, count and MB in a resident, in place (and of those under 64 KiB), card copy and system copy; and the buffers the floor kept as copies. Tests: inplace::min_tests (the default, 0 and bad settings).A title buffer shares a resident whose pages hold it (the previous commit). But when an inner big buffer is used before the one around it, the outer one got a resident of its own beside the inner one. Their bytes stayed in step only between submissions (cross_mark), and the card's memory held the overlap twice. Now a big buffer whose pages no resident holds, but which overlaps residents, gets one resident over all of them (resident::make_over), if that lies in one arena within the budget; else one over its own pages, as before. The new resident takes their places in the registry, and lookup lets go of the title buffers whose shadows are in a replaced resident, so their next ask finds the new one. A replaced resident stays alive for the lists and descriptor slots that still hold it, and keeps receiving the title's pages and the other copies' writes until they let go. resident::find now returns Found { resident, bias, replaced }. Tests: victory-gpu 127 passed, 4 ignored (was 126); victory-hle 96 + 1. - resident::tests::warp_overlapping_residents_become_one (new). Residents over pages 1 and 5 are made first. A buffer over pages 0..3 replaces the one over page 1, and its pages find the new resident. One over 2..6 joins the two remaining into 0..6. A write through the new one marks the replaced one's page. Thirteen runs of the whole victory-gpu suite in a row passed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SZC5U8SHMXUK5wS4AS2KxTf85101b8fa4f092bba253706,0b0074e) into the #772 + #814 branch 91562709fb@gangg111 on GitHub · 2026-11-25 15:10 UTC · original
Merged current main (
a253706,0b0074e) into the branch; conflicts in copystat, watch, lib and host resolved (main's VICTORY_CARD_REHASH_RUNS default, copy_back() and frame log taken; #814's overlay plane kept, but a present held behind a queue passes no overlay). descriptor/host.rs needed main's record_print, sync_tables and COPIED_TABLED. Workspace tests pass. Rerun in the game with the same switches and VICTORY_INPLACE=4: cell lit, 260 to 290 ms a frame, 0 draws dropped, no device loss.@npanu420 on GitHub · 2026-11-25 15:17 UTC · original
Tested this branch as published (
pr-980head) on an RTX 3070 8 GB + i9-9900X, Windows 11, Series S, with the switches from your description plusBAKE_TEXTURES_MS=0.With both parts on (
BVH_BUILDER=1 BVH_QUARANTINE=0 CARD_FETCH_INFLIGHT=1 TEXTURE_DROP_MIPS=1 TEXTURE_ROOM_PERCENT=82 INPLACE=4): it crashes during loading, about 110 s in, 2 of 2 launches (cold and warm pipeline cache):0xc0000005 at <title image>+0x23cf683 (write 0x0).Each part alone does not crash:
INPLACE=4)INPLACE=4without the builderSo the crash needs the resident/in-place memory and live ray tracing together, at least on an 8 GB card. It may be memory: the title's own null write often follows a failed allocation, and 8 GB with
ROOM_PERCENT=82is tight. On this card, ray tracing alone is about 1 fps for now.For reference, the same machine runs at ~188-220 ms/frame in steady play with the BVH off, using #917's
VICTORY_AMBIENT=0.6as a stand-in for the bounce light.(AI-assisted, Claude Code. No game data.)
@Proudnoob4 on GitHub · 2026-11-25 16:19 UTC · original
Tested
rt-772-vram-residents(8685f5b) on an RTX 4080 16 GB (Windows 10, i5-13600K, 32 GB RAM, driver 621.01, Series X profile; local Agility SDK opt-in only for Win10 loading).1. Shader / BVH pipeline check (
VICTORY_HOST_WAVE=32)XboxBvhBuilder.dll: 52 / 52 compute pipelines translated and created.shaders.rpf: 2,682 / 2,682 compute pipelines, 14,199 / 14,247 VS+PS, and 8,762 / 8,765 mesh pipelines created.2. In-game runs (
VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=0 VICTORY_INPLACE=4 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_TEXTURE_ROOM_PERCENT=82)rt980_x, 600 s;rt980_warm2, 400 s):the ray-tracing structure builder runs: all of its programs have host pipelines pipelines=53,dropped 0 without a host pipeline (0 being made).rt980_warm2): 2.00 fps / 490.2 ms median (4,874–4,951 draws/frame;preparing367–406 ms withcopies212–230 ms / ~158 MB;VICTORY_CARD_TIME:title lists167–170 ms,upload to residents9.5–10.1 ms,merge14.6–19.6 ms,from one submission's end to the next276–331 ms).VICTORY_INPLACE=4): 124 alive (747 MB / 9,168 MB budget), ~193–203 MB uploaded from arenas, ~480 MB compared in ~110 merge passes, ~31 MB merged back;0.0view mismatches. Note the default1/4RAM arena cap (8,127 MBon 32 GB) filled (8071 MB locked of 8127 MB, 16 arenas fell back to copies).frame-2150,frame-2300): prison cell, HUD prompt, hair, and yard inmates render cleanly, though the bottom-edge blocky artifact fromf85101bis still present.3. Failure mode when adding
VICTORY_ASYNC_SUBMIT=1 VICTORY_QUEUE2=1 VICTORY_INPLACE_MB=16384rt980_warmhitDXGI_ERROR_DEVICE_HUNG(0x887A0006) at 168 s right after registering two 4 MBVICTORY_INPLACE=4residents (start=0xd86400000and0xd77000000), soINPLACE=4+ASYNC_SUBMIT/QUEUE2is not yet safe together.Tested with AI assistance (Gemini 4 Hydrogen).
@Zayfway on GitHub · 2026-11-25 16:26 UTC · original
Tested
pr-980head (9156270) on a 12 GB card with 16 GB of RAM, to separate VRAM from host memory in the crash @npanu420 saw. AI-assisted (Claude Code); every number below is from this machine.Machine: RTX 3060 12 GB (driver 610.88, 32-lane), Ryzen 7 5700X, 16 GB RAM, system-managed pagefile (commit limit ~32 GB), Windows 11 26300, Series X profile, warm shader cache (
translate --warm all: 25,707 translated, 278 do not).1. The head does not build with diagnostics
cargo build --profile diag -p victory --features diagnosticsfails:The merge kept main's two reads of these counters but dropped their declarations, along with the
addinwatch::writesthat fills them. Putting the two variants back afterIndirectBoundedinenum C(as on main0b0074e) makes it build. The counters then read 0 until thewatch.rsside comes back.2. In the game (diag build, same scene: opening cutscene, measured from world +60 s)
LEVELS_ON_DEMAND=1)runs ... pipelines=53no shared buffer error=0x8007000E size=4194304; 3 s later an access violation innvwgf2umx.dll(read 0x36) underHost::submit→ExecuteCommandListsSo on this machine the limit is host commit, not VRAM. The card kept 3+ GB free in both runs, and the first failure is a 4 MB shared (system-memory) buffer. That fits npanu420's "needs both parts together" on 8 GB: ray tracing adds ~2.6 GB of host copies, and the in-place/resident part adds its own. I did not prove that the failed buffer is what the driver tripped on. The callers handle
None, so this is a correlation, not a traced cause.For reference, on the same machine
mainat0b0074e(ASYNC_SUBMIT QUEUE2 TEXTURE_NO_WAIT COPY_PLAIN LEVELS_ON_DEMAND) ran 6 world runs without a crash, at 2.1–2.3 fps and 22–25 GB private.Not tested:
VICTORY_INPLACE=4together with the builder (it would only add host memory here), Series S, a larger pagefile. The two runs above do not reach the lit cell, so I cannot say anything about the picture with ray tracing on this card yet.@Zayfway on GitHub · 2026-11-25 16:49 UTC · original
Follow-up, a correction of my comment above: host commit was a symptom, not the cause.
I raised the pagefile to 32 GB (commit limit ~32 → 48 GB, same 16 GB of RAM) and reran the same
pr-980build with the same ray-tracing switches.pipelines=53), and 0 draws are dropped.a host command list did not close (0x8007000E).title memory by address: shaders touched pages that had no copy ... pages=1609 first=0x10000;loose window budget reached (VICTORY_MEMORY_MB) mb=1536.So the traversal reads memory from near-null pointers (0x10000 up), and the copies made for those reads are what fill memory, here as in the earlier run. That matches what #994 describes: dispatches by thread counts that over-run, and the builder then reading pointers out of garbage. #980 converts
USE_THREAD_DIMENSIONScounts to groups (draw.rs), but its "without thread-count masking" warning never fired here. I could not confirm the link from the logs, so it is a consistent reading, not a traced cause.Same machine as above (RTX 3060 12 GB, Ryzen 7 5700X, 16 GB RAM, Windows 11 26300, Series X, diag build with the
copystatfix). AI-assisted (Claude Code).@loftymocha on GitHub · 2026-11-26 04:59 UTC · original
RTX 5070 12 GB (32-lane),
pr-980head9156270: live ray tracing runs fully and holds 5 minutes on both profiles, but the cell's light is wrong: dark on Series X, washed out on Series S. This is a 12 GB card with 32 GB of RAM, between the 8 GB and 16 GB reports above. Thanks to gangg111, sirrus98 and staronthehorizon for the branch, and to Zayfway for the build fix.Setup: RTX 5070 12 GB (driver 32.0.16.1742), Ryzen 7 7800X3D, 32 GB DDR5 + 64 GB page file, Windows 11 Pro 26300. Diag build of the head as published, plus Zayfway's two
copystat.rsvariants (WatchFailed,WatchKnownView) so--features diagnosticsbuilds; nothing else changed. Your switches:VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=0 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_TEXTURE_ROOM_PERCENT=82 VICTORY_INPLACE=4, plusVICTORY_SHADER_LOOP_LIMIT=256. NoASYNC_SUBMIT/QUEUE2(after Proudnoob4's device hang). Its own cache, empty before the first run. One launch per profile, from the prologue checkpoint, played by hand, stopped by my runner 300 s afterbuilder runs. Counts and descriptions only.--console series-x--console series-sruns ... pipelines=53at +79 spipelines=53at +64 sVICTORY_CARD_TIMEtitle listsshaders touched pages that had no copy50 times. Unlike Zayfway's 3060, the first addresses are ordinary (first=0x705fd0000on X,0x50c460000on S), not near-null. Series X also hitloose window budget reached (VICTORY_MEMORY_MB) mb=1538once. Neither ran out of memory.INDIRECT_WINDOW.Not tested:
VICTORY_INPLACE=4off; more than one launch per profile; #905 alone.AI-assisted (Claude Code)
@loftymocha on GitHub · 2026-11-26 05:09 UTC · original
Follow-up to my RTX 5070 report above: without
VICTORY_INPLACE=4, the same build on Series S shows the cell lit by the traced light. So on this card the washed-out picture comes from the in-place/resident part (#772), not from #814's ray tracing.The same build (
9156270+ the twocopystat.rsvariants), the same cache, save and Series S profile as the washed-out run. The only change is thatVICTORY_INPLACE=4is left out. Switches:VICTORY_BVH_BUILDER=1 VICTORY_BVH_QUARANTINE=0 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_TEXTURE_DROP_MIPS=1 VICTORY_TEXTURE_ROOM_PERCENT=82 VICTORY_SHADER_LOOP_LIMIT=256,--console series-s. One launch, stopped 300 s afterbuilder runs. Counts and descriptions only.VICTORY_INPLACE=4(run above)pipelines=53at +64 spipelines=53at +73 sshaders touched pages that had no copywarnings as before, at ordinary addresses (first=0x50c510000), andloose window budget reached ... mb=1536once.VICTORY_INPLACE=4: not run yet, so I can't say whether the dark Series X cell above has the same cause.AI-assisted (Claude Code)
@loftymocha on GitHub · 2026-11-26 05:19 UTC · original
Last one from me on this card: Series X without
VICTORY_INPLACE=4is not dark either, so on the RTX 5070 the in-place part causes both bad pictures, dark on X and washed out on S. Without it, Series X shows the traced light but with many more artifacts than Series S.Same build, cache and save as my two comments above,
--console series-x, the same switches withoutVICTORY_INPLACE=4. One launch, stopped 300 s afterbuilder runs(+61 s). Counts and descriptions only.All four launches on this card side by side. Each held 300 s with the builder running, with 0 exceptions, 0 device losses, 0 programs refused or untranslated, and 0 draws dropped:
pr-980on RTX 5070VICTORY_INPLACE=4Series X without in-place, by eye:
So on this card I'd separate two things:
VICTORY_INPLACE=4leaving the traced light wrong (dark or blown out), and, without it, noise or invalid values in the lighting that Series X makes much worse. Theshaders touched pages that had no copywarnings (50 per run, ordinary addresses,first=0x11a530000here) and oneloose window budget reached ... mb=1536appear in every run, lit or not.Not tested: more than one launch per cell;
VICTORY_CARD_FETCH_INFLIGHT=0; another driver.AI-assisted (Claude Code)
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.