Since e4245f3, f133e35e (CS_ShadowRenderTiledCascadesAlphaCBPPPC) translates: stair-steps gone, but the main character's head vanishes (A/B with VICTORY_DENY_PIPELINES) #1356
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?
Imported from fxceless/victory-fork. Originally posted by regiumlepidi on 2026-11-26T18:04:20Z.
Setup: RTX 5070 Ti 16 GB (32-lane), Windows 11, Series X profile, opening cutscene to the first window shot (the hero seen from behind), 20-minute runs. Tree: main
e4245f3+ #1189 + the pipeline pre-build (#1226), library pre-built for the run's environment. Switches in every row:ASYNC_SUBMIT QUEUE2 INDIRECT_WINDOW MERGE_GAP=64 MERGE_RUNS=4096 STAGING_POOL=0 COPY_PLAIN JOIN_PARTS BACK_OWN_VIEW INDIRECT_GATHER CARD_REHASH_RUNS CARD_BUFFERS_MIN_KB=64 CARD_BUFFERS_MB=1280 CARD_WINDOWS_MB=1024 TEXTURE_BACK CARD_HASH_LEN LEVELS_ON_DEMAND TILES_SMALL_WHEN_FULL_MB=1024 HEAP_WORKER LOOKUP_CACHE CARD_HASH_WIDE.f133e35efed2a48ae4245f3; refused on58de9bfand before)VICTORY_DENY_PIPELINES=f133e35efed2a48aThe same A/B on
06702fe+ DexNom's 76749ce (which made the same program translate there) gave the same split. Head missing with it running in 2 of 2 runs (with and without #927), present with it denied (VIcky#31 has that table).On VIcky (heap-map tree), Xeltax found the cause: the program's read-modify-write at
0x2957csets bit 14 of a per-tile word in a typed buffer (u17, a 230,400-byte buffer at 2560x1440). Without bit-exact views that wiped the tile's other flags. Their fix was bit-exact typed buffer views, which main already has (bit_exact_formatinbuffer_srvandbuffer_uav), yet heads still vanish here. Xeltax also reports that a test merge of main58de9bfinto their tree brought texture regressions back in the same scene. Their guess is a view path that differs on main: the first element moved by the host copy's offset, or views "off their copy's elements" made on own-byte copies. TheirVICTORY_CAPTURE_ON/VICTORY_STORE_DROPdiagnostics (VIcky cfa752e) would show which.Until then,
VICTORY_DENY_PIPELINES=f133e35efed2a48ais a workaround that keeps the heads (at the cost of the stair-steps) with no fps change.AI-assisted (Claude Code, Claude Opus 5.5): runs, log reading and this text. Counts and log lines only, nothing from the game attached.
Imported from fxceless/victory-fork. Originally posted by BitWuehler on 2026-11-26T19:23:37Z.
Linux/Proton counter-data point (GE-Proton11-14 + vkd3d-proton, RTX 5080 16 GB, Series X profile,
diagbuild on52ac4ec+ #1352/#1350/#1359 + DXC/copy-plain):VICTORY_DENY_PIPELINES: shadow stair-steps gone, head skin mesh missing (only hair/eyes/mouth visible).VICTORY_DENY_PIPELINES=f133e35efed2a48a(confirmed active in log:pipeline not built: its shader is in VICTORY_DENY_PIPELINES,dropped 1.0–1.3/frame without a host pipeline):a20809dbefore58de9bf/e4245f3it rendered normally).Next testing
VICTORY_PAGE_WRITES=guardson this same stack to separate thee4245f3page-writes default change from the58de9bftranslator changes.(AI-assisted testing and summary.)
Imported from fxceless/victory-fork. Originally posted by BitWuehler on 2026-11-26T19:33:15Z.
Follow-up on the same Linux/Proton stack with
VICTORY_PAGE_WRITES=guards(matching pre-e4245f3): character heads (main character and NPCs) still remain missing, so this rules out thee4245f3page-writes default change and narrows the Proton regression down to the58de9bf/e4245f3shader translator changes undervkd3d-proton.(AI-assisted testing and summary.)
Imported from fxceless/victory-fork. Originally posted by BitWuehler on 2026-11-26T19:45:11Z.
One more A/B on the same Linux/Proton stack: gating off
#927(HostShader::half_views) with a fresh shader/pipeline cache also left character heads missing. So on Proton/vkd3d-proton, all three ofVICTORY_DENY_PIPELINES=f133e35efed2a48a,VICTORY_PAGE_WRITES=guards, and disabling#927half_viewshave been ruled out individually — pointing to another translator change betweena20809dande4245f3(e.g.#3124SDWA sign extension or another newly-translated shader ine4245f3).(AI-assisted testing and summary.)
Imported from fxceless/victory-fork. Originally posted by regiumlepidi on 2026-11-26T20:24:06Z.
More on this from the RTX 5070 Ti (Windows 11, NVIDIA 617.42, Series X profile,
diagbuild). Base: fork main52ac4ec(#1324/#1336/#1353/#1321/#1320 merged on top ofe4245f3), noVICTORY_DENY_PIPELINES. Same scene each time (the window shot at the end of the opening cutscene, about frame 4,300).f133e35e"fp32-denorm-mode"="preserve"(in case the R32_FLOAT typed views frombit_exact_formatflush the per-tile word as a denormal)VICTORY_STORE_DROP=f133e35e:2957c(the typed-buffer bit-14 read-modify-write only)VICTORY_STORE_DROP=f133e35e:294b8+29598+294c4+295a4(the four image stores, u30/u31)VICTORY_DENY_PIPELINES=f133e35efed2a48aSo on this card the head is lost even when the translated program writes nothing at all, while it comes back when the pipeline isn't built. The damage looks host-side, from what happens around the dispatch rather than from the program's output: the views made for its tables, or the buffers its UAVs are bound to being treated as written (copied back or relayed to title memory, or re-snapshotted).
To check the view path I logged every buffer view of 230,400 bytes (
u17's size, four 32-bit words per 16x16 tile at 2560x1440). All of them are made at offset 0 of their own host copy (own=false,offset=0), format 41 (R32_FLOATafterbit_exact_format),count=57600, on 262,144-byte buffers. Nothing is misplaced there.VICTORY_STORE_DROPhere is a small port of Xeltax/VIckycfa752e's switch (translator only: those store offsets left out of that program's translation). I can push it as a PR if it's useful. Next I'll try turning off the copy-back/relay for that program's UAV buffers.This matches BitWuehler's RTX 5080 result above, while Xeltax's RTX 4080 keeps the heads with the program running. So far it's only seen on Blackwell cards.
(AI-assisted: Claude Code ran the builds and tests, read the logs and wrote this. No game data attached.)
Imported from fxceless/victory-fork. Originally posted by BitWuehler on 2026-11-26T22:58:44Z.
Correction and full bisect update on the Linux/Proton side (CachyOS, GE-Proton11-14 +
vkd3d-proton, RTX 5080 16 GB, Series X profile, fresh DXIL +vkd3d-protoncaches withhits=0on each commit switch):Earlier I stated that
a20809drendered character heads normally on this setup. Direct re-testing disproved that: the missing head skin mesh (affecting both the main character and background NPCs, while hair, eyes, and mouth still render) reproduces across every tested commit back tob8994e1:52ac4ec+ local PRsdiag,VICTORY_DENY_PIPELINES=f133e35efed2a48a(confirmeddropped 1.0/frame) +VICTORY_TEST_OLD_LOWER=1(reverting#3124SDWA sext and#11129-bit primitive-index mask)52ac4ec+ local PRsdiag, minimalQU17-aligned env +VICTORY_DENY_PIPELINES=f133e35efed2a48a58de9bf(+#454only)diag, both with#927(half_views) enabled and withself.halves_onlyfully cleared (fixing a gap in my earlierVICTORY_NO_HALF_VIEWS=1test that missed the handle-declaration site)a20809d(+#454only)diagwith turbo switches on, with all turbo switches off, withVKD3D_DISABLE_EXTENSIONS=VK_NV_raw_access_chainsboth on and off; alsoreleasewithout capture46bf535(beforef6a09d3) &b8994e1diagandrelease(+#454)Takeaway: On Linux/Proton (
vkd3d-proton+ RTX 5080), the missing head skin mesh is a separate, pre-existing issue unrelated to58de9bf,e4245f3, orf133e35efed2a48a. Please treat my earlier Proton counter-data points above as separate from the Windows#1356regression.(AI-assisted bisect, log analysis, and summary.)
Imported from fxceless/victory-fork. Originally posted by slauko on 2026-11-27T05:39:25Z.
A data point from Linux/Proton (Wine + vkd3d-proton, RTX 3080 Ti, Series S profile, the cell at ~4,900 draws, the fork's recipe with QUEUE2):
f133e35efed2a48arunning: the hero's head is hair only, the window/sky visible through it, in every run; the G-buffer colour target and the depth show no head geometry at all (no skin surface, no floating fragments).VICTORY_SKIP_PIPELINES, the deny equivalent, confirmed active): the shadow stair-steps return, the room is intact, the cell is 179.8 ms — and the head is still missing, hair only, window through it.So this reproduces BitWuehler's Linux/Proton result on another stack: the deny restores the stair-steps but not the head. Our layer-level probes say the head's data path is GPU-side — the ped's IA vertex buffer is empty (bindless geometry), the host buffers the draws name are upload templates (the 1.14 MB one 97.9 % zero), and the material textures are bindless; a GPU capture is the next step to see the skin pass and the views regiumlepidi suspects (UAV-bound buffers treated as written, copied back or re-snapshotted).
AI-assisted: run logs and counts, nothing from the game attached.
Imported from fxceless/victory-fork. Originally posted by BitWuehler on 2026-11-28T18:36:37Z.
Root-cause resolution for the Linux/Proton missing-head case reported by @slauko and me above (separate from the Windows
f133e35efed2a48a/VICTORY_THIN=1cases):Auditing 10 session logs across Nov 26–28 on CachyOS (
GE-Proton11-14+vkd3d-proton, RTX 5080, Series X) showed a 10/10 correlation with the one-shot head blend-shape compute producer61e54e90adccaf6a(also identified inavatarmanz/VIctory-7900XTX#166/TaynanGT/Vice-Tay@3e3fd57):368967f):first bindof61e54e90adccaf6aarrived after earlier pipelines in the same frame had already exhausted the 500 msVICTORY_PIPELINE_WAIT_MSbudget.make::ready()returnedNonewithin2–124 µs(immediately loggingfirst bindof the next pipeline) and dropped the one-shot dispatch, even though61e54e90adccaf6afinished compiling8–465 mslater — leaving eyes, teeth, and hair without head skin for the rest of the session. Because every bisect step cleared the shader/pipeline cache first,VICTORY_DENY_PIPELINES=f133e35efed2a48acould never recover the dropped one-shot bake.9a9091dwhen the frame still had wait budget left atfirst bind(12:16:25.603Z→ waited5.3 ms→host pipeline shaders=[compute 61e54e90adccaf6a]at12:16:25.608Zbefore advancing).main368967f(withVICTORY_THINunset on RTX 5080) after adding"61e54e90adccaf6a"toscene_input()incrates/victory-gpu/src/pipeline/make.rsand pushingscene_inputitems to the front ofQueue::screen:61e54e90adccaf6acompiled onSCREEN_WORKERS29 s beforefirst bind(18:23:09.107Zvs18:23:38.061Z, backed by the separate 10 sscreen_budget()), restoring heads on the main character and all NPCs.Adding
"61e54e90adccaf6a"toscene_input()incrates/victory-gpu/src/pipeline/make.rsprevents cold-cache drops of the head blend-shape bake on both Windows and Proton.(AI-assisted log correlation, fix verification, and summary.)