Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/770"
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?
Imported from fxceless/victory-fork. Originally posted by ExoCalibra on 2026-11-25T07:06:40Z.
Summary
Validation & integration stack rebased cleanly onto official
main(f85101b— "Frame rate, second night") for Windows 11 + NVIDIA RTX 3080 Ti (12 GB VRAM, SM 6.6, Wave32, 64 GB RAM) running retail Xbox Series X|S (v1.0.2.1), maintained inExoCalibra/victory-exo.Combines
f85101b(VICTORY_ASYNC_SUBMIT=1,VICTORY_QUEUE2=1,VICTORY_INDIRECT_WINDOW=1, fill-ahead, 512 idle host lists, staging buffer reuse) with 16 cleanly integrated community PRs plus our own integration & stability fixes.Community PRs Included (16)
Performance & Sync (
f85101bgeneration)VICTORY_SKIP_WC_COMPARE=1, ~8× less copy-back: 40 ms / 60 MB → 5.2 ms / 2.4 MB)fill_aheadlatch (avoids ~100 ms/frame submit stalls)VirtualQuery-ing them every check (~88k → 6 calls/frame)VICTORY_WIDE_TEXTURES=1)Shaders & Wave32 / NVIDIA
Rendering, Textures, Series S & Input
first_shown(fixes character skin/arm BC-block corruption)Tiled::heldand updatejudgedwhen on-demanddetile()is skipped[controls]Our Own Integration & Fix Work
88f2b82(CBV 64 KiB clamp): ClampsD3D12_CONSTANT_BUFFER_VIEW_DESC.SizeInBytesto D3D12's 64 KiB (65536) limit (checked_next_multiple_of(256)) incrates/victory-gpu/src/descriptor/host.rs, preventing NVIDIA0x887A0001(DXGI_ERROR_INVALID_CALL) device removals on oversized title CBVs.eabd5ee(#765+#510+f85101btest integration): Updated#765'sStagingunit test incrates/victory-gpu/src/texture.rsfor#510'smotion_copy/frameparameter andf85101b'spooledfield so all three PRs compose cleanly.d034ac1(#853vs#812conflict triage): Verified viavictory-gpuunit tests that#853regressed 4 multi-viewwatch::testswhen combined with#812; reverted#853to keep all 174victory-gputests green.VICTORY_ASYNC_SUBMIT=1,VICTORY_QUEUE2=1,VICTORY_SKIP_WC_COMPARE=1,VICTORY_LEVELS_ON_DEMAND=1,VICTORY_CARD_FETCH_INFLIGHT=1,VICTORY_WIDE_TEXTURES=1,VICTORY_INDIRECT_WINDOW=1,VICTORY_CARD_BUFFERS_MB=1024).(Special thanks to @ArturoWolff for Linux/dxv replay checks and @HLVM04 for RTX 5070 Ti Series S cross-architecture validation.)
Verification (RTX 3080 Ti 12 GB, Windows 11, Series X,
v1.0.2.1)cargo xtask policy: 183 files ok (lower.rs= 501,927 / 524,288 bytes)victory-gpu: 174 passed (4 ignored, 0 failed)victory-hle: 118 passed (0 failed)translate --warm): 3,199 / 3,199 translated (0 do not translate) in 91.4 s on 4 threads9376fd6)f85101bstack)4.1–4.7 fps7.8–8.8 fps(10+ fps peaks)213–243 ms113.2–127.8 ms81–147 ms29.6–47.5 mscopying back38–42 ms(50–66 MB)5.2–7.2 ms(2.4–2.9 MB)preparing/copies83–96 ms(150–163 MB)55–66 ms(60–76 MB)7 refused, 1 untranslated0 refused, 0 untranslated00Visuals confirmed on live run:
#854).#764+#765).Imported from fxceless/victory-fork. Originally posted by ArturoWolff on 2026-11-25T07:20:38Z.
I replayed two retained Linux/Proton shader samples against the stack at
17b9f09and its common base8dd30ab, using the direct translator on Linux, hash-checked inputs, a 32-lane compiler limit, and independent builds. This is a different sample from your 1,164 runtime hashes.dxv; 364 outputs matched the base byte for byte and 361 changed (160 compute, 139 pixel, 60 mesh, 2 vertex). The final-composite pixel shader4f4ec7b16673362fitself stayed byte-identical. This makes its inputs and the earlier passes more informative comparison points than retranslating that final shader alone.dxv. The gains were the three #279 puddle pixels. Two refusals remain useful as out-of-sample checks:ceb5eb68cd99cb07(shallow-water timestep, descriptor address/format at0x38) andf133e35efed2a48a(lane mask at0x1eb4). The former did translate on the earlier #203 replay. These are overlapping gains, not three new shaders beyond #203 or #749.This checks translator coverage, not a Linux gameplay run, PSO creation, or the cause of the black frame. I haven't attributed any of the 361 differences to individual PRs. No game files or captures attached.
AI disclosure: Hermes Agent ran the replay and validation and wrote this comment on ArturoWolff’s behalf.
[PR #770] Integration / RTX 3080 Ti validation stack on 9376fd6 (12 PRs + #518/inflight + CBV clamp)to [PR #770] Integration / RTX 3080 Ti validation stack on 9376fd6 (16 PRs + #518/inflight + CBV clamp)Imported from fxceless/victory-fork. Originally posted by ExoCalibra on 2026-11-25T08:54:11Z.
Updated the stack (fast-forward on
9376fd6) with 4 additional GPU-only PRs (#795, #768, #793, #783) and verified across a 28-minute, 94,140-line RTX 3080 Ti run (0 errors, 0 crashes, 0 device removals,victory-gpu156/156 passed,xtask policy174 files ok):42e2aa3)2.9–3.7 fps4.1 fps(2.6–2.9 fps at ~7,000 draws)273.7–344.5 ms241.6–243.6 ms134.1–184.0 ms111.5–112.6 ms(#793)preparing106.5–126.8 ms89.8–95.3 ms(#768, #783)copying back44.2–53.9 ms40.2–41.6 ms(#783)heap buffers40.1–62.4 ms27.0–31.5 mssteady (#783)Because none of the 4 added PRs modify
victory-shader, the DXIL shader cache stayed 100% warm (hits=3101, misses=0).[PR #770] Integration / RTX 3080 Ti validation stack on 9376fd6 (16 PRs + #518/inflight + CBV clamp)to [PR #770] Integration / RTX 3080 Ti validation stack on 9376fd6 (22 PRs + #518/inflight + CBV clamp)Imported from fxceless/victory-fork. Originally posted by ExoCalibra on 2026-11-25T09:32:40Z.
Updated branch (2b4ee0c..28b74a9, fast-forward) with 6 additional verified performance PRs:
Live RTX 3080 Ti results (1.0.2.1, Series X)
Imported from fxceless/victory-fork. Originally posted by HLVM04 on 2026-11-25T10:08:32Z.
A check on a different architecture: RTX 5070 Ti 16 GB (Blackwell, 32-lane only, driver 616.64), Series S profile. This was an earlier head of the stack (16 PRs, before the latest additions), merged onto
9376fd6+ #798 #783 #799 #780. Percentiles of the frame lines after the first 60 s (two runs with the stack):cbv_size) and in two new tests inindirect.rs(#780 vs #793); both sides were kept.[PR #770] Integration / RTX 3080 Ti validation stack on 9376fd6 (22 PRs + #518/inflight + CBV clamp)to [PR #770] Integration / RTX 3080 Ti validation stack on f85101b (16 PRs + #854 Wave64 + #868 + CBV clamp)Imported from fxceless/victory-fork. Originally posted by ExoCalibra on 2026-11-25T11:32:50Z.
Rebased the validation stack cleanly onto official
main(f85101b— "Frame rate, second night") and resolved all merge conflicts (ExoCalibra/victory-exo).What's new in this rebase (
d034ac1)f85101b(VICTORY_ASYNC_SUBMIT=1,VICTORY_QUEUE2=1,VICTORY_INDIRECT_WINDOW=1, fill-ahead, 512 idle host lists, staging buffer reuse)VICTORY_SKIP_WC_COMPARE=1), #860 (fill_aheadlatch fix), #857 (batched copy-back runs), #864 (lane-order indirect windows), #854 (paired Wave64 on 32-lane GPUs + 230 more shaders), #798 (Series S upscaler), #764 & #765 (tiled on-demand texture fixes), #845 (warm-cache pipeline scheduling) — alongside #812, #768, #795, #715, #644, #510, #577.88f2b82),#765/#510/f85101bStagingtest fix (eabd5ee), and reverting#853aftervictory-gpucaught a 4-testwatch.rsconflict with#812(d034ac1).Live RTX 3080 Ti Results (Series X, 4,700–6,100 draws/frame)
4.1–4.7 fps→7.8–8.8 fps(10+ fps peaks)213–243 ms→113.2–127.8 ms81–147 ms→29.6–47.5 mscopying back:38–42 ms (50–66 MB)→5.2–7.2 ms (2.4–2.9 MB)0 do not translate,0 refused pipelines) — @HLVM04 this clears the last 2 refused pipelines + 1 untranslated shader from your RTX 5070 Ti check!#854) and the guard's arm texture corruption is fixed (#764+#765).cargo xtask policy(183 files ok),victory-gpu(174/174),victory-hle(118/118). Zero crashes or device removals.Imported from fxceless/victory-fork. Originally posted by grosterr on 2026-11-25T13:26:14Z.
Heads-up for this stack: with
VICTORY_WIDE_TEXTURES=1(#768) andVICTORY_LEVELS_ON_DEMAND=1together, some textures come out black or stale (on an RTX 3060: white blotches over a table and stools, a black towel, a black sheet of paper in the prologue bedroom). Cause, A/B runs and a few-line fix with a test are in https://github.com/fxceless/victory-fork/pull/768#issuecomment-7163763533. Measured ond034ac1+ maina253706: with the fix the picture is clean and the frame is 330 ms against 380 ms. AI-assisted (Claude Code); runs and observations are mine.Imported from fxceless/victory-fork. Originally posted by npanu420 on 2026-11-25T13:26:44Z.
RTX 3070 8 GB + i9-9900X (10 cores, no hybrid), Windows 11, Series S profile. Data point for this stack.
Build: your
d034ac1+ #809, #95, #108 (moves) + #827 + #154, a port of #523, and fork main0b0074emerged on top.Switches:
ASYNC_SUBMIT=1 QUEUE2=1 INDIRECT_WINDOW=1 SKIP_WC_COMPARE=1 LEVELS_ON_DEMAND=1 EARLY_TEXTURES_MS=40 CARD_REHASH_RUNS=1 CARD_BUFFERS_MIN_MB=1 CARD_BUFFERS_MB=1024 TEXTURE_NO_WAIT=1 PIPELINE_WAIT_MS=24 JOIN_COPIES=1 BAKE_TEXTURES_MS=0.Steady play (median over world frames ≥ 400, 6-minute runs):
The first ~400 world frames, while the scene streams in, run 280-365 ms.
Per frame: submit thread busy 150 ms, made up of:
The card is about 71-77% busy and the render thread spends 85 ms in Present.
On this machine:
d034ac1alone: 301 ms over frames 60-400 (vs 281 with #809/#95/#108).CARD_FETCH_INFLIGHT=1dropped, as main's README says, since it is not to be combined withINDIRECT_WINDOW.COPY_PLAIN=1: no gain (202 vs 192 ms whole-session).COPY_FAST=1: crashed 1 of 3 launches (details on #827).BAKE_TEXTURES_MS=0matters a lot on 8 GB cards (#594).(AI-assisted, Claude Code. No game data.)
Imported from fxceless/victory-fork. Originally posted by grosterr on 2026-11-25T20:33:45Z.
Heads-up for rebasing/merging this stack onto
main(465b94f/d510ee4,VICTORY_INDIRECT_GATHER=1): there is one non-conflicting auto-merge trap incrates/victory-gpu/src/indirect.rsbesides the HLSL conflict.SOURCE): keep#864'suint index = base + gi;and replaceid.xwithindexin the gather branch:record_gather_as(auto-merges without a git conflict!):main'srecord_gather_aspasses only 6 root constants (SetComputeRoot32BitConstants(0, 6, ...)) and runs a singlel.Dispatch(records.div_ceil(64), 1, 1). With#864's 7-constantcbuffer Record(uint base;at word 6), that leavesbaseuninitialized and breaks any gather batch with> 64records. Matchingrecord_clamp_asfixes it:Verified on this merged tree (
#770+d510ee4+#1014):cargo test -p victory-gpu199/0 (includingwarp_gathered_records_come_out_as_if_clamped_one_by_one), and tested in-game on RTX 3060 12 GB withVICTORY_INDIRECT_GATHER=1(G4 alone: 198 ms / 5.05 fps; full set: 174–198 ms / 5.0–5.7 fps, 0 errors, 0 device loss, clean picture).AI-assisted (Claude Code / Antigravity); the runs and observations are mine.
Imported from fxceless/victory-fork. Originally posted by grosterr on 2026-11-25T23:03:12Z.
More merge notes for this stack, for the next rebase onto main. Tree: this stack (
d034ac1) with main merged in up tod827419, plus #1014, #1057, #1112, #1044, #1101, #1150, #1023, #1032, #1136, #1156 and #1031. Every test passes after the changes below (victory-gpu216/0,victory-shader245/0). Three places need a hand: the first merges with no textual conflict and shows up only as a failing test; the other two are conflicts whose resolution is not obvious:1. Main
44bff61(VICTORY_ABSENT_ONCE) vs #812's view set (VICTORY_VIEW_SET). Main's new testwatch::tests::a_block_noted_uncommitted_is_asked_about_again_only_when_its_note_is_oldfails in the stack (left: Some([]) right: Some([21798434])), passes on clean main, and passes in the stack withVICTORY_VIEW_SET=0. #812 parks a view block found uncommitted in a placeholder and asks Windows nothing more about it until the runtime tells of a mapping. A block mapped there "without a word", as the test does, therefore stays unseen. That is #812's design (only the runtime's replace calls can fill a placeholder, and they tell). So I made the expectation depend onview_set():Both switches attack the same
VirtualQuerystorm (main's run 279: ~690,000 questions in 20 s, 40–50 % answered from the 100 ms notes). With the view set on, placeholder blocks are not asked about at all, soABSENT_ONCEprobably has little left to do in this stack.2. #1156 vs
05c5898and #768's motion tracking (texture.rs). #1156 replacesrefresh_unlocked(the read through the kernel during a remap) with a deferral, and a fresh staging buffer now waits for the mapping lock. Kept both sides: the deferral isStaging::defer_refreshwith #1156's behaviour (asked = 0, DEFERRED count, staging keeps its last complete image and is not marked dirty, which #1156'sremap_testsassert).observe_hash(motion) is untouched, because a refresh that reads nothing updates neither hash nor motion. Step 1 of05c5898'son_demand_skipped_detile_preserves_none_and_updates_judgednow checks the deferral: nothing read,detiled_levels()staysNone,askedis reset. Its old scenario, a fresh staging buffer failing underNO_WAIT, can no longer happen, because a fresh buffer waits.3. #1031 vs
5181f96(descriptor/host.rs,tiles.rs).5181f96remembers a tiled slot'sfirst_shownand remakes the slot when it changes. #1031 builds the view from the mask of resident levels (show_from→show_resident). The slot now remembers that mask (Nonewhile it is 0), andtiled_stalecompares masks. So a slot is also remade when a hole closes and the first level stays the same, as #1031 intends.tabled_tiled_slot_remakes_when_first_shown_changespasses withVICTORY_LEVELS_ON_DEMAND=1.Tiled::first_shownstays, now for tests only.Also, for the alias problem Ym1r1710 reported under #812 (
protect_aliasremoving the other views' blocks fromunclean): the stack'sprotect_aliasatd034ac1does not remove them, anda_write_is_reported_at_every_checked_viewpasses here.RTX 3060 12 GB, Ryzen 7 5700X, Windows 11. Not run in a game yet with #1150–#1031; the base without them (main
9c184b3+ #1057/#1112/#1044/#1101) runs at 179 ms a frame with 0 errors.AI-assisted (Claude Code); the merges were checked by me.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.