15 shaders still fail to translate at 2119b0e on a 4060 Ti (six reasons; the pixel "descriptor read only as data" ones match the black blocks) #279
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#279
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?
@aef200 on GitHub · 2026-11-24 23:10 UTC · original
Fifteen shaders still fail to translate at
2119b0eon an RTX 4060 Ti, in six distinct ways, and the largest group is what leaves black blocks in the world.Build and machine:
2119b0e,--features diagnostics, Windows 11 26200, RTX 4060 Ti 8 GB, native D3D12, no Wine. Switches:That combination gives 3 fps / ~300 ms per frame in the world here, which is the best this card has managed;
VICTORY_RELAY=2alone was worth about 2.4x over the same build without it (780 ms -> ~330 ms). Thank you for it.What the run shows: the game reaches gameplay, and in this build it got as far as the mission where Carl falls off the boat. That mission does not progress, and the picture has many black blocks that make the scene unreadable. The log says why - fifteen shaders never translate, so their draws are dropped:
a descriptor read only as data is not supportedabc6a80d46edc294,8660e9822ebe4b62,7d0f14ce44746d7e,c8df7216c69cecbd,2fd01fca16993001,6b6db9f1a526daebv_cvt_f32_f64 is not supported5dc3b25986622949,6f225b641c5b0708,926c46bab3b86bd6v_permlanex16_b32 is not supporteda929109552ce1e84a lane mask exchanged where not every lane runs is not supportedf133e35efed2a48aa descriptor's address or format read as data is not supportedceb5eb68cd99cb07the first half of an interpolation is not supported78f3f2fc53a69531Each comes with the code offset in the converter's own message (for example
GFX10 code at 0x4808).The six pixel shaders reading a descriptor as data look like the direct cause of the black blocks: those are material programs, and their draws are dropped. The compute one that reads a descriptor's address or format as data is probably the same feature from the other side.
One note on #11: the lane-mask change is in this build, and a compute shader still stops on
a lane mask exchanged where not every lane runs is not supported, so the parked change does not cover that shape yet.I can run anything you want on this card and report back: it is a 32-lane Ada host with 8 GB, so it fails differently from the 12 GB host in the README.
@VibeClauding on GitHub · 2026-11-24 23:20 UTC · original · edited 2026-11-24 23:27 UTC
RTX 3070 8 GB (driver 610.88, Ryzen 7 5700X3D, 16 GB), Series X, diag build on
4e17478. Three of the failures in the table translate on a branch here, and two of the refused 64-lane pipelines from #7 now get host pipelines. Branch: VibeClauding/victory-fork@nvidia-8gb-fixes.Translator (
4b5f2de):v_permlane16_b32/v_permlanex16_b32(a929109552ce1e84): lowered likeds_swizzle. Lane i reads row(i & ~15)(x16:^ 16) plus nibble i of {src2, src1}, viaWaveReadLaneAt. It stays inside a 32-lane half, so a 32-lane host wave holds every lane named. FI/BC are not honoured. A GPU test checks three select patterns at 8 lanes for both opcodes.a929109552ce1e84translates in game.v_cvt_f32_f64: round to nearest even in 32-bit integer code, so no doubles are needed. abs/neg are handled; results below the smallest normal flush to signed zero. A GPU test (hardware + WARP) compares it against Rust'sas f32, including ties, overflow to infinity and NaN. In game,5dc3b25986622949and6f225b641c5b0708(water_shading:CS_TransmissionVolumetrics_Tiled*) now stop one step later, at the same offset:a whole-wave section step the simulation does not follow. The conversion sits inside a whole-wave section. (#163 is another lowering of the same instruction.)f133e35efed2a48a(CS_ShadowRenderTiledCascadesAlphaCBPPPC, the lane mask exchange).Refused 64-lane pipelines (
0c74520):VICTORY_HOST_WAVE=32 VICTORY_D3D12_DEBUG=1 victory translate --pipelines,2cc4c197ee29e291(sr_tracing:CS_Tiling_Generate_Opaque) and369cbe906ea72764(GpuParticleUpdate:CS_Visibility) fail with "Shader wants wave lane count of 64". Every exact and approximate form ends in wave 64. The wave-wide form (VICTORY_WAVE_WIDE=1) gives both wave 32:WAVE64-RETRY wave-wide branches: wave Some(32).VICTORY_WAVE_WIDE_ONLY=<hash>,..., which is part of each program's shader cache key (next to the deep-skips lists from Xeltax'se27b969, ported).VICTORY_WAVE_WIDE_ONLY=2cc4c197ee29e291,369cbe906ea72764, both pipelines are created in game, and there was no device loss in that run. Still refused:02384a60fda6f2d0(groups of 128, where the wide form is not tried) and2da4beb386509b77(alphaResolve:CS_AlphTransmissionPrefilterMip,E_INVALIDARGwith no debug-layer message).Also on the branch, untested beyond single runs here:
VICTORY_BVH_MISS=1: the node test always misses without reading the node. With the builder off, building faces turned away from the sun gained probe light over a few hundred frames instead of staying silhouettes. Interiors stay dark.R32G32B32_FLOATrefusals Yorivel found on #62) get a copy of their own bytes, after upstream86a5ed6. The cell walls drew in that run, but at this base rate (about half the runs here) one run proves nothing. I'll post repeat runs on #62.Speed on this machine, averaged over minutes 3 to 6 in the world: 2.1 fps by default and 3.0 fps with
VICTORY_RELAY=2, both in Series X mode. Correction: I first wrote thatVICTORY_D3D12_DREDwas unset in the relay run. It wasn't: my launcher set it to an empty string, anddred_on()only checksvar_os().is_some(), so the per-command notes stayed on (about 390 ms of recording per frame across threads). With it really unset, plus Series S mode (#188 merged), I get 4.3 fps (232 ms: 115 preparing, 95 GPU, 186 copying back on the relay thread).VICTORY_LATE_WAIT=3 VICTORY_WIDE_BACK=1on top made no difference (2.9 vs 3.0 in Series X).Counts, hashes and offsets only; no game data. AI-assisted (Claude Code); everything was run on my machine with my own copy.
@aef200 on GitHub · 2026-11-24 23:57 UTC · original
A cleaner reproduction of what was reported above: on foot everything works, in a vehicle nothing moves.
Same build (
VibeClauding/victory-fork@nvidia-8gb-fixes,ca89b24), RTX 4060 Ti 8 GB,--console series-s,VICTORY_RELAY=2and the rest of the switches from my first post.That is the whole of it: input reaches the game (the trigger does something visible, the same stick works on foot), the picture is drawn, and the vehicle simply never moves. It is not a dead input path and not a dropped draw - the vehicle's position update does not happen.
It matches
likecrank-dotcom's report above exactly, on a different card, and it is what stops the prologue: the mission needs the boat to reach a marker, so the checkpoint is lost a few seconds in, every time. Skipping the checkpoint gets past that one moment, and then the next sea segment blocks the story again.So my question is narrower than "the boat sinks": is there a program that updates a vehicle's transform - a compute program or a physics step - that fails to translate or is skipped? The four programs that still fail to translate in my run are the two
water_shading:CS_TransmissionVolumetrics_Tiled*ones,CS_ShadowRenderTiledCascadesAlphaCBPPPC, and one more of the same water pair, so nothing obviously vehicular is in that list, which makes me think it is not translation but a step that never runs.If there is a log target or a switch that shows vehicle state, I will run it and report what changes.
@likecrank-dotcom on GitHub · 2026-11-24 23:14 UTC · original · edited 2026-11-24 23:58 UTC
Independent reproduction of the Gone Fishing boat failure on Windows 11, Ryzen 5 3600, 32 GB RAM and RTX 5060 Ti 8 GB (NVIDIA 621.14). Base renderer is
7b0f736, diagnostics build with only local XGameSave logging added. Series X, RELAY=2, LATE_WAIT=3, WIDE_BACK=1, shader loop limit 256 and card buffers 1/1024 MB.The hardware owner completed the prologue transition and confirmed control of Jason. The ordinary game window displayed Follow the plane, the aircraft and Engine destroyed, then Cal fell overboard. The owner saw the boat drop underwater as control became available and reported the same behavior after an in-game checkpoint retry, before having time to use the Reset prompt. Skip Checkpoint kept the boat afloat briefly, then it sank again. On a later attempt C (RT) made the engine rev and produced a wake, but the boat stayed in place and sank. On some retries the boat can travel a couple of metres before sinking. The owner confirmed the Tab (View) Reset action works and the sinking repeats after reset. A second locally retained screenshot after the subsequent sinking shows a distinct failure reason (the boat was wrecked, 273.9 ms/frame, 3,160 draws). One captured gameplay sample was 304.5 ms/frame, 4,210 draws. No logged GPU removal by this point.
A similar mission failure was reported independently on RTX 5090. The warning and mission failure show a gameplay consequence, but the reason the boat sinks and any relationship to the shader failures are still open. Full run report. The owner exercised the controls and captured the HUD. Codex prepared the build and checked the runtime traces. No game files or images uploaded.
After a full application restart from the verified save, the owner observed the boat sink as soon as gameplay started, with neutral input. This reproduces the issue without throttle or steering.
Controlled follow-up: RELAY=2, 1 and 0 used the same 7b0f736-derived binary, Series X, LATE_WAIT=3, and private copies of the same verified v2 save and cache seeds. With neutral input, RELAY=2 still sank at handover; with RELAY=1 the boat appeared immersed without continuing to descend while engine health fell. RELAY=0 still ended in boat damage and mission failure. The locally retained RELAY=0 comparison shows a water-like surface intersecting the boat before control, mostly occluding it once the HUD appears, and a tilted view of the bow inside the bright surface just before failure. The relay option did not prevent the failure on this system. It remains unclear where the waterline mismatch and actual engine damage originate.
The same failure also occurs with synchronous submission: RELAY=0 and LATE_WAIT=0, changing only LATE_WAIT from the preceding RELAY=0 run with the same executable and v2 save/cache seeds. The owner saw partial immersion in the cutscene and deeper immersion as Jason approached the helm, before player input was available. Native frame 2500 independently shows the Cal fell overboard failure. In the RELAY=0 log, no newly logged shader translation refusals appeared in sampled intervals before handover, after handover or before failure; the existing dropped compute programs were the same. That does not rule out an earlier shader failure or establish a physics cause.
@JRamos1993 on GitHub · 2026-11-25 00:57 UTC · original
Full-pack comparison of #81 and #203 for the "descriptor read only as data" pixel shaders, offline on the retail shader pack. Both fix all 35 pixel programs in that group, which this issue ties to the black blocks. #203 also fixes 11 programs #81 does not. Neither breaks anything that validates on
main.Setup: as in my comment on #53.
main2119b0e, each PR merged onto it (clean merges), release, rustc 1.98.1x86_64-pc-windows-msvc,dxil.dllfrom Windows SDK 10.0.26100.0,victory translate <game>\shaders.rpf --validate --list --jobs 16. 26,084 programs.main2119b0e9327f1e)0e49a91)main.Not tested: the title with these builds (offline validation only); whether the black blocks are gone in the world.
AI use: Claude Code with Claude Opus 5.5 reviewed the diffs, ran the builds and the validation, and wrote this comment.
@MoonYueya on GitHub · 2026-11-25 01:20 UTC · original
Adding data from a 32-lane Ampere card (RTX 3080 10 GB): the same two pixel hashes, plus two switch tests that rule out two competing explanations.
Machine
qwMemorySize= 10,737,418,240), driver 32.0.16.1742 (2026-09-30), 32-lane waves.TdrDelayunset, native D3D12.2119b0e,cargo build --profile diag -p victory --features diagnostics, toolchain 1.98.1, Series X profile.VICTORY_D3D12_DEBUG=1, menus driven byVICTORY_KEYS(X/Enter every 8 s from 3 s).The two pixel programs are still there, and they are the world, not the menus
At
2119b0ewith default switches I see 8 shaders that do not translate. Two ofthem are the ones #279 reports:
2fd01fca169930016b6db9f1a526daebThe other six here:
f133e35efed2a48a38bf0814e721a1b3a929109552ce1e84v_permlanex16_b32ceb5eb68cd99cb075dc3b25986622949v_cvt_f32_f646f225b641c5b0708v_cvt_f32_f64Both material pixel programs first fail after the world has started (first
frame over 1,000 draws), not during the menus: 165 s into a run whose world
begins at 136 s, and 157 s into one that begins at 83 s. So they are loaded by
the prologue, which matches the picture: the character's hair reads correctly
while skin and torso are flat black silhouettes, and anything the sun does not
hit directly is black.
Two switches that do not fix it
I tested the two things raised elsewhere as causes of a wrong picture, one run
each, everything else default.
VICTORY_SHADER_LOOP_LIMIT=4096(#62, #176 — the value that makes haircorrect on this same card):
02384a60fda6f2d0,369cbe906ea72764,2da4beb386509b77,2cc4c197ee29e291,0x80070057);So the loop limit buys frame time here; it does not close the translation gap.
VICTORY_SHADER_OPT=0(#310 — the clean-up passes blamed for black blocks):same shape: pixel
abc6a80d46edc294(0x4808),8660e9822ebe4b62(0x4c88),c8df7216c69cecbd(0x4f8c), all “a descriptor read only as data”;Turning the clean-up off makes the descriptor-as-data shape show up more, not
less, so on this build it comes from the translation itself rather than from a
pass that hides or introduces it.
D3D12 debug layer at
2119b0e1,979 messages in 300 s.
D3D12_MESSAGE_SEVERITYis CORRUPTION=0, ERROR=1,WARNING=2, INFO=3, so the ERROR lines are:
CreateComputeShader: shader wants wave64, device maximum is wave32CreateDescriptorHeap: NumDescriptors above the 1,000,000 limitEverything else is WARNING: 971 x1,925 (pipeline library has no such name, normal
on a first run), 970 x17, 680 x14, 679 x8, 820 x4, 974 x2, 677 x1.
There is no resource-state, descriptor-out-of-range, GPU page-fault or
device-removed message in the run. That is consistent with #279's reading that
these are dropped draws rather than invalid API use — I am not claiming it proves
the cause.
Other switches, for completeness
Same build, same 300 s, worst frame time over rows with
draws >= 1,000/frame(declared because a whole-run peak differs:
RELAY=2reaches 7,541 dropped/frameon a 715-draw row, and
RELAY=1reaches 3,031 outside the filtered rows):RELAY=2RELAY=2+TEXTURE_GUARD=0RELAY=1LOOP_LIMIT=4096SHADER_OPT=0RELAY=1is the only configuration that also drops both material hashes (only38bf0814e721a1b3remains). It also submits the fewest draws, so I would not readthat as “relay 1 is correct” — just as the condition under which those two
programs did not get used in 300 s.
Reproduce
Numbers only; no game files. AI-assisted test and write-up.
@Proudnoob4 on GitHub · 2026-11-25 01:32 UTC · original
Another 32-lane NVIDIA datapoint for this issue, from a later fork commit and a different architecture (Ada).
Build/machine:
fxcelessmaina803c87c+ upstream #175 for Windows 10 (Agility SDK 620), diag build with diagnostics; RTX 4080 16 GB, driver 621.01, Windows 10 Pro 22H2 (19045), i5-13600K/32 GB, Series X profile, default switches (no loop limit, no relay), cold pipeline cache.The material programs: pixel
6b6db9f1a526daeband7d0f14ce44746d7eboth still do not translate, "a descriptor read only as data" (at GFX10 0x49dc for the first), so their draws are dropped.2fd01fca16993001was not used in this run (no log hits). Computef133e35efed2a48astill fails for the lane mask exchanged where not every lane runs, andceb5eb68cd99cb07for a descriptor's address or format read as data. The four compute pipelines MoonYueya lists are refused here too:02384a60fda6f2d0,369cbe906ea72764,2da4beb386509b77,2cc4c197ee29e291.Picture: the world is reached; the hair is lit, but the head/face and torso are black silhouettes and nothing away from direct sun is lit - the same symptom as the RTX 3080 report. The cell shell (walls and chain-link window) is present rather than see-through on this build, so the geometry failure in #62 and these dropped material draws are separable.
Running values at 01:22Z: 2.6 fps / 377.8 ms per frame, 4,398 draws/frame, about 350 dropped draws/frame. The first world frames were 2.5-3 s/frame while shaders were still translating, so I will not quote a steady-state figure from those.
I have not built #81 or #203 here. Your offline comparison says both fix the 35-pixel-shader group but that the in-world effect was untested; a warm-cache A/B of #203 on this card is the natural next check.
Counts at shutdown: 4 unique shaders failed to translate (the two pixels and two computes above), the same 4 compute pipelines were refused, no device removal,
crashes.logunchanged (0 bytes), 1,500 s. Steady state at the end: 2.4-2.6 fps / 384-414 ms per frame, 4,371-4,767 draws/frame, about 340-352 draws/frame dropped (most of those are the ray-tracing structure builder, which is off). AI-assisted (Claude Code, Claude Opus 5.5); measured on my own machine. No game files attached.@Proudnoob4 on GitHub · 2026-11-25 02:25 UTC · original
Follow-up that corrects the inference in my earlier comment here: on a different fxceless-derived tree,
dudegio/VIctory-fx148d6cf3a, the same two material pixel hashes (6b6db9f1a526daeb,7d0f14ce44746d7e) and the same two compute failures are still logged on this RTX 4080, yet the in-game character's hair, face and INMATE shirt are fully textured, with the cell walls, posters and yard visible (captured frames 2048-4096 means 47.8-52.1, 6,128-6,664 unique colours). Details and counts: https://github.com/dudegio/VIctory-fx1/issues/3.So those untranslated programs alone do not force the black-silhouette picture; this tree's texture-residency and indexed-shadow-address changes restore material detail while the programs still fail. Read my earlier comment as "these failures are present on both trees", not as proof that they cause the dark face.
AI-assisted (Claude Code, Claude Opus 5.5). Measured on my own machine; no game files.
@Proudnoob4 on GitHub · 2026-11-25 02:54 UTC · original
Disclosure correction for my two comments above (1, 2): HY4 Flash (
hy4-flash-free, a free model in OpenCode) wrote and posted both while my Claude Code session was out of usage (22:54Z to 02:40Z), so their footers naming Claude Opus 5.5 are wrong.Rechecked against the logs, as stated:
6b6db9f1a526daeb,7d0f14ce44746d7e,f133e35efed2a48a,ceb5eb68cd99cb07). They also fail on dudegio/VIctory-fx1 and Zettrox/ztrx on this card.This correction: Claude Code (Claude Opus 5.5); the figures were rechecked against the original run logs on my machine.
@iloveslopware on GitHub · 2026-11-25 03:08 UTC · original
Offline census of the retail
shaders.rpfat currentmain(c96b4f2),--liston a 24-thread Linux host, same pack as the runs above (26,084 programs): four of the six failure classes in the opening table no longer fail that way on stockmain.v_permlanex16_b32, the first-half interpolation, and the lane-mask exchange all emit now (a929109552ce1e84,78f3f2fc53a69531,f133e35efed2a48a), and two of the threev_cvt_f32_f64hashes do too (5dc3b25986622949,6f225b641c5b0708);926c46bab3b86bd6clears the conversion and stops later ona lane mask holding lanes elsewhere read as data. What remains atc96b4f2, in emit terms:6b6db9f1a526daeb,7d0f14ce44746d7e)ceb5eb68cd99cb07)For comparison I ran the same census with upstream's translator (
Marvisak/VIctory940d32f): it emits all forty control-flow-descriptor and all ten SGPR-input programs and 1 of the 40 descriptor-read ones, while still failing thecvt/permlane/barycentricshapes the fork cleared — per-program detail in #126.Consistent with @Proudnoob4's correction above: the two material pixel hashes fail identically on both trees (and on
dudegio/VIctory-fx1), so that family is shared, and the silhouettes are not forced by it alone — and the symptom side is moving onmainindependently of it: the two commits now onmainpast this issue's earlier builds (a803c87c, thenc96b4f2) are the texture-residency line itself (indexed textures re-checked after upload; uploads before the character bake), the same directiondudegio/VIctory-fx1took further.On wave width: the census above runs at the CLI's default, and the lane-mask classes turn out to be width-sensitive. Re-running it with
VICTORY_HOST_MAX_WAVE=32(the fork CLI's model of a 32-lane host, as NVIDIA cards are) reproduces the 32-lane runtime picture exactly:f133e35efed2a48afails asa lane mask exchanged where not every lane runs— the reason and the hash @Proudnoob4's RTX 4080 run logged — while it emits at the default width, and6b6db9f1a526daebfails at the same offset that run booked for it. The totals move three programs in both directions: the twoa wave sum of 16-bit floats where not every lane runsprograms emit at 32 lanes, and the exchange above newly fails. So the runtime/CLI gap on those hashes is wave width, not tree state — and the knob makes this offline census a usable proxy for 32-lane cards.Nothing run against the title;
--listonly, no validator, no pipelines. AI-assisted (GLM via OpenCode).@MoonYueya on GitHub · 2026-11-25 06:15 UTC · original
Correction to my comment above on
VICTORY_SHADER_OPT=0.I wrote that turning the clean-up passes off adds three more "a descriptor read only as data" pixel programs (
abc6a80d46edc294,8660e9822ebe4b62,c8df7216c69cecbd). That was wrong. Two more 300 s runs at the same tree (2119b0ecode, noVICTORY_SHADER_OPTset, one with an empty cache and one with the cache from the first) hit the same three programs, at the same point in the run, about 167 s after the world starts. Counting attempts against failures over six runs on this machine:RELAY=1LOOP_LIMIT=4096SHADER_OPT=0The number of failures follows how far into the content a run got, not the switch. So the clean-up passes are not implicated, and failure counts from runs that reached different amounts of content are not comparable; please disregard that part of my earlier comment. The two material pixel programs (
2fd01fca16993001,6b6db9f1a526daeb) still fail in every run that reaches them, and a warm cache does not change that (same 11 programs, same offsets; only pipeline-library misses drop, ID 971 2,103 → 70).AI-assisted: an AI agent ran the builds, runs and log analysis on my machine.
@aef200 on GitHub · 2026-11-25 11:29 UTC · original
Adding what happens next, because it changes how this should be ranked: the boat problem is a hard block on the story, not a visual defect.
Same machine, on
ka1qux/victory-ka1quxat5fa126b(the fork with the most of these fixes, run with its own recommended switches):So the chain is: the water surface is never established → the vehicle has no support → the boat falls out of the world → the mission neither completes nor fails → the story cannot continue. Skipping the checkpoint gets past the first occurrence and then the next water segment blocks it again, as reported above.
That is why I would rank the two
water_shading:CS_TransmissionVolumetrics_Tiled*programs above anything cosmetic.ka1qux's README lists "two of the title's compute programs do not translate" as a known problem, and on this machine those two are exactly what is left. If they are what builds the water surface rather than only shading it, no amount of texture or shader work past this point will let the story through.If it is useful I can run a build with
VICTORY_STALE_CHECKor any water-specific diagnostic on this card and report, but I have nothing that isolates the surface itself.@not-rex on GitHub · 2026-11-25 11:46 UTC · original
A direct test of the
water_shading:CS_TransmissionVolumetrics_Tiled*idea: running them does not save the boat.RTX 5070 Ti 16 GB (driver 621.14), 31 GB RAM, Windows 11, Series X profile. Tree:
f85101bwith #823 (aaf658a) merged, default switches, builder off (VICTORY_FIRSTLANE_OWN_ONLY=none), started from a save at the start of the boat mission.5dc3b25986622949and6f225b641c5b0708.With #863's result (
VICTORY_RELAY=0 VICTORY_LATE_WAIT=0sinks the same), that rules out both the transmission volumetrics and copy-back timing. On this card #823's wave-wide programs also bring the block-shaped lighting SkillIssueXO reported on #823.@aef200 on GitHub · 2026-11-25 14:37 UTC · original
Two things, and the first is a correction to my own earlier comment.
1. My ranking of the water shaders was wrong, and
not-rex's test settles it. I asked forwater_shading:CS_TransmissionVolumetrics_Tiled*to be put above cosmetic work, on the theory that they build the surface the boat rests on. Running them to a host pipeline does not save the boat, so that theory is dead. Sorry for the wrong steer - it was an inference from the failure list, not from a test.2. What did change the boat is the frame rate. Same build (
ka1qux/victory-ka1quxat5fa126b), same switches, onlyVICTORY_RELAYdiffers, RTX 4060 Ti 8 GB:VICTORY_RELAY=0VICTORY_RELAY=2So on this card the difference between "the vehicle is inert and the mission deadlocks" and "the vehicle drives and the mission fails normally" is one switch and about 100 ms a frame. That reads as a timestep effect rather than a missing system: whatever moves the boat needs a step short enough to act on.
It still sinks afterwards, so this does not get the mission through - but it does mean the "vehicles never move" part of my earlier report is frame-rate dependent rather than absolute, and a run at 2 fps cannot tell a broken vehicle from a slow one.
Happy to re-run either configuration on this card if it helps.
@aef200 on GitHub · 2026-11-25 17:01 UTC · original
A wider observation than the boat, in case it narrows the search: every vehicle that goes on water sinks, not just the boat, and the water looks right while it happens.
Two spots in the prologue, same build and switches (
victory-forkat1684989,VICTORY_RELAY=2, 4.5 fps, RTX 4060 Ti 8 GB):In both cases the water itself is drawn - ripples, sun glints, reflections - so this is not a missing surface in the picture. What is missing is whatever the vehicles rest on: the water has no height or collision as far as they are concerned.
That matches
not-rex's result from the other side: running the transmission-volumetrics programs changes the shading and does not change the sinking. So the surface the vehicles need is built by something else, and on this card it either does not run or runs with values that put it below the world.One thing that may be worth checking, since it is cheap: does anything the layer does produce a height field for water, and does the title read it through a buffer or a texture the layer might be leaving empty? If I can be pointed at a log target or a switch that names it, I will run it and report. I cannot tell from the failure list which program it is - nothing that fails to translate on this card looks like a height field.
The frame rate is not the variable: at 2.5 fps the boat does not answer at all, at 4.5 fps it drives and sinks.
@aef200 on GitHub · 2026-11-25 17:22 UTC · original
A result that belongs here, because it is the first time the water worked on this card, and then a crash that belongs to it.
DexNom/VIctoryat921d8d3on an RTX 4060 Ti 8 GB, Windows 11 26200, Series X, started with the same four switches the Experimental RT shortcut sets (VICTORY_BVH_BUILDER=1,VICTORY_BVH_QUARANTINE=0,VICTORY_ACTIVATE_RAYS=1,VICTORY_RT_RESOLVE=1), its own cache and data directories, nothing else set.What it does that none of the forks above do on this card:
victory-fork,ka1quxandvictory-amdsinks through it every time. That alone makes this build the most useful one I have run.What is still wrong, for completeness: skin and clothing are black (the character bake writes empty targets - that is the
no_host_slot/blocks_with_colour=0report I made on the other fork), and the picture carries a strong warm haze with the RT resolve on.The crash. Ten minutes into the boat chase the process ended with exit code
0xC0000005. What is missing is the useful part:unhandled exceptionline from the layer, no device-removal report;victory-*.crash.logand nocrashes.logentry in the data directory;So the fault is somewhere the layer's own handler does not run. If whoever maintains this fork reads here: is there a switch that has the layer report a first-chance fault, or one that arms a debugger, for the ray-tracing path? I will run it and hand over the report. Otherwise, if it helps, I can say exactly what was on screen and what was being driven at the time.
@aef200 on GitHub · 2026-11-25 20:18 UTC · original
Two follow-ups on the DexNom report above, one good and one with an address.
The good one: prewarming removes one of the two crash classes. Before, the same tree produced 44 frames longer than 2 s in one session (the longest 24.9 s), and Windows resets the display driver past 2 s, so a run could end in
0x887A0005with no fault of its own.victory.exe warm shaders.rpf(25,684 shaders translated, 10 refused; 2,653 compute pipelines, 29 refused; 309 s; 497 MB of pipeline library) removes them: the next session had 0 frames over 2 s, the longest 0.56 s, median 312 ms. Models also load more completely. If a run is ending on device removal, warming first is worth saying in the README next to the RT instructions.The one that is left has a fault, so it may be fixable. Same tree and switches, still on the boat:
rdxandrdiare both zero and the read is at 0, so something is dereferencing a null. The frame before it was 300 to 560 ms, so it is not a watchdog stop. It happens while driving the boat, a few minutes in, with or without the RT switches set; the run before this one ended the same way after about ten minutes.I have the full log with the registers and the stack if it is useful, and I can re-run with whatever diagnostics switch you would like set.
@aef200 on GitHub · 2026-11-25 20:30 UTC · original
More on the null-copy crash above, including two frames I could resolve, in case it points at the function.
The full stack from the latest run (same tree, same switches,
VICTORY_INPLACE=1this time, so in-place memory is not the cause either):I tried to turn those offsets into names against
victory.pdbfrom the same build (dbghelp, module base 0). Two of them answer:+0x5188f=victory::run::run+0x103f+0x5d1d18=hashbrown::HashMap::contains_key<victory_shader::structure::Atom, (), RandomState, Global, Atom>+0xc8The rest do not, and I think I know why: the generated image DLL here is 114.6 MB while
victory.exeis 10.63 MB, so the offsets in the DLL and the RVAs in the executable are not the same space.+0x3de6491is at 64.8 MB, well past the end of the executable.So my reading of it is: the path runs through
victory::run::runinto shader structure work, looks something up in a map keyed byAtom, and then copies 16 bytes from address 0 - one descriptor, from a slot whose title memory is not mapped.Two questions that would let me pin it down:
victory.exe, with only the title image appended past it? If yes I can symbolize the rest myself from the PDB.Also, for whoever runs into this:
victory.exe warm shaders.rpfbefore playing removed the multi-second frames that were causing a different crash (0x887A0005device removal). That part is worth a line in the README next to the RT instructions.@MoonYueya on GitHub · 2026-11-25 23:44 UTC · original
Follow-up with measurements on
c36971b(RTX 3080 10 GB).What characters look like here
On this machine characters render as clothing and teeth only: skin and hair are missing
(and possibly eyes). Geometry is there, depth is written, but the surfaces read as empty.
c36971b, cargo build --profile diag -p victory --features diagnostics, toolchain 1.98.1.no SendInput, no window focus. An XInput dwPacketNumber check ran throughout and never
saw a change while no scripted key was held.
author's machine.
Everything below is measured, not read off screenshots: per-draw records from the layer's own
frame shot (VICTORY_SHOT), the debug layer, and the layer's per-second counters.
It is not a shader translation problem
In a 600 s run in the world with VICTORY_D3D12_DEBUG=1, the only graphics pipeline refused
all run is one mesh+pixel pair (f5e50eb2108c425b + ce3f0432a08f1d35): both programs translate,
then CreatePipelineState returns 0x80070057, and the layer logs dropped 0.7 to 1.7 a frame.
Everything else dropped is compute, plus 89 rows of "a stage of the ray-tracing structure
builder, which is off".
The character geometry pass is clean. In the shot frame there are 166 mesh draws into the main
target (2560x1440, format 10, depth on), and all 12 mesh+pixel pairs among them translate and
bind:
So the draws happen. What they read is the problem.
The finding: the shader-visible view heap is truncated
Three lines, all at about 0.2 s after process start in the same run:
The layer clamps out-of-range indices to a null slot at the end, so a draw whose materials live
past the cap gets empty views.
It lines up with what is drawn and what is not
Per draw in the same shot frame, whether the root constant block carries a null view slot:
1,841 of 4,806 draw/mesh/indirect records in that frame (38.3%) carry a null slot, and the ones
writing the main target are 100%. The passes writing the 64x64 shadow maps and the 2048x2048
target are clean, which matches "shadowed and some objects look right, characters' materials do not".
A note on the two hashes from earlier reports
6b6db9f1a526daeb now translates and a mesh pipeline is built with it, but in this frame it only
draws through indirect kind 10 into a 64x64 shadow map (2 draws). It is not the skin material
at this view. 2fd01fca16993001 did not appear at all in this run.
What is still open
The next step here is to try to keep the heap under 1,000,000, or to place the character
materials' views inside the cap, and see if the surfaces come back.
PORTABLE_VIEWS = 1_000_000in upstreamdescriptor/host.rsmatches it). If cards that render skin correctly allow a larger heap, that would explain why this looks card-dependent; otherwise the heap would need splitting or the views compacting.Reproduce
c36971bwith --features diagnostics.Duplicates checked
Searched this repository's issues and the commits touching descriptor.rs, host.rs and pipeline
for "descriptor heap", "null slot", "1000000" and "2,097,152" — no report of the shader-visible
view heap being capped at 1,000,000 was found. f133e35efed2a48a (lane mask, compute) is a
separate, already-known translation gap and is not part of this.
@BradRoland on GitHub · 2026-11-25 23:57 UTC · original
I reproduced the heap limit from the RTX 3080 report on an RTX 4080. On
c36971b, 2,097,152 is the size of the host's capability probe. The title requested 1,245,184 slots. Of the 1,000,000 host slots, 737,855 can mirror title descriptors, 262,144 are reserved for dynamic bindings, and the final slot is the null guard. That leaves 507,329 title slots outside the static mirror.One detail changes how I would interpret the 1,841 draw records. The short
uN=... [heap i: null]annotation looks up a root word as a possible descriptor index. The printer emitsnullonly for an index inside the mirror with an empty mirror record. An index at or beyond 737,855 gets no bracketed annotation from that lookup. Those counts alone therefore cannot locate the character-material views above the cap. Main can also rebuild some above-cap descriptor tables per draw. Root-word printer on the reported commit · Mirror lookupFor the same shot, adding
VICTORY_LIST_SLOTS=b37565055f2f7d3bgives the material-record~slotlines. #1204 labels slots outside the static mirror explicitly. On the RTX 4080, the last empty mirrored slot (737,854) and first unmirrored slot (737,855) produced distinct lines. On WARP the same title heap fit and both empty slots printednull. Matchingfrom=,slot=andtitle=[...]on a draw with missing skin would narrow the investigation. These tests used synthetic heaps and leave the visual cause open. Frame-shot diagnostic and hardware results@MoonYueya on GitHub · 2026-11-26 01:51 UTC · original
Correction to the descriptor-heap analysis I posted earlier
I posted a comment on this issue attributing the character-material problem to the shader-visible
view heap being truncated: "the title asks for 2,097,152 views, the device allows 1,000,000,
1,245,184 views read a null slot". That attribution is wrong. I re-derived it against the
source and against fresh logs on a second machine, and I would rather retract it than leave it
standing. Three separate errors, all mine:
1. The 2,097,152 is not the title's request — it is the layer probing the device.
I took
id=645 ... NumDescriptors 2097152from the debug layer as the title's heap request.It is not.
probe_view_limit()(crates/victory-gpu/src/descriptor/host.rs:1367-1403) createsthrowaway heaps to ask what the device takes, and releases them immediately
(
// SAFETY: plain heap creation; the heap is released at once). A fresh run on an RTX 3080prints two such messages, not one:
4,194,304 is
2 * RAW_TWINS= 2×2²¹ and 2,097,152 isUNCAPPED_VIEWS= 2²¹ — the two probes athost.rs:1384andhost.rs:1391. They are the layer measuring the card, not the game asking foranything. The fact that there are two of them, and that one of them is 4M, should have told me.
2. The
countin the warn is the requested size, not the number truncated.countis the parameter ofHostHeap::new(sampler, count)— what the title asked for.I read
count=1245184as "1,245,184 views were truncated". It means "the title asked for1,245,184 slots".
3. The usable cap is not 1,000,000 — it is 737,855.
dynamic_slots()(host.rs:1424-1436) returns a flatDYNAMIC = 2¹⁸ = 262,144whennull < PORTABLE_VIEWS, which is the NVIDIA path. So the title's addressable slots are999,999 − 262,144 = 737,855, and the truncated count would be1,245,184 − 737,855 = 507,329— not 1,245,184. I was off by about 2.45×.What the corrected picture looks like
On the RTX 3080, across four runs in the world, the layer's own out-of-range tracker
(
host.rs:2962-2971, which logstitle slot past the host heapthe first time an index exceedsthe host heap) never fired — 0 occurrences in every run. Whatever the character-material
problem is, on that machine it is not high views being clamped to the null slot.
Worth saying plainly: I also do not know that my per-draw null-slot table was measuring what I
said it was. It counted root constant blocks carrying a slot number the layer reports as null,
which is not the same as the draw sampling that slot; every slot in a fresh heap starts null, so
a slot that was simply never written also reads as "null". I have no measurement that separates
those two cases.
What I am not claiming
I am not claiming the material bug does not exist on the fork — I saw it too. I am retracting
the cause I gave for it, not the symptom. This correction does not identify what the real cause
is; it only removes one explanation that does not survive the source.
For what it is worth, the symptom reproduces on a second tree too: on avatarmanz/VIctory-7900XTX
0a43566, same RTX 3080, the characters' skin is missing (hair and collar draw; no face, neck or ears), while a per-slot dump of 953 G-buffer draws shows 3,074 material texture slots with 0 null, 0no view, 0never written, and 64 (2.1%) holding only a partly uploaded texture. That points away from the heap and toward texture upload/streaming, but it is a candidate, not a proven cause.Sorry for the noise on the thread.
AI-assisted: the runs, log parsing and this write-up were done by an AI agent on the author's machine.
@ArturoWolff on GitHub · 2026-11-26 01:56 UTC · original
RTX 4060 8 GB / Linux-Proton: a frame shot with #1204, and a narrower target for character-material tracing. This supports BradRoland's distinction between a null static mirror and a slot outside it, and MoonYueya's correction above. It does not establish that the heap cap causes the missing skin.
Build: private receiving tree
51700c6(#854) + #1056c5820ac, #830951dc00, #20d4a36b1, #10064e7af7b, #1031db88f96+ the adapted #1210 and Dathinel'sad8db725(see earlier resident-mip readbacks), then BradRoland's #120461b09521829c849b89b9e47d0f50681887913e6bcode/test with context adaptation, no other rendering change. GPL-3.0 sources. Release diagnostics, Rust 1.98.1/LLVM MinGW, exe SHA-256863aa039fc5559490cc9188353a18f6611ce488ecd821d720b8e6fa79e9e0218, full tracked patch SHA-25660a556a8b0936e98fa1e20a74ef8e84e68516821104210a74d90083a2533991f.RTX 4060 8 GB, 620.73.04, 16 GB system RAM, GE-Proton11-14/vkd3d-proton
71cae091b06571e, Series X, 1920x1080 display, file physical backing,VICTORY_TEXTURE_GUARD=0 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_WAVE_PAIRS=1 VICTORY_LEVELS_ON_DEMAND=1. The #1204 boundary test actually created a heap on this device and returnedrequested 1245184, mirrored 737855, null slot 999999; 1 passed, 0 failed, 0 ignored, no skip. The retail creation warning independently reported the same requested/mirrored/unmirrored counts (507,329 outside the static mirror).Actual frame 3217:
VICTORY_LIST_SLOTS=b37565055f2f7d3b, one bounded frame shot triggered after the first matching first-bind receipt (frame 3213; the shot starts at the next eligible present). 6,345 recorded event lines, with 26 matching mesh command records. Counts below parse every~slotoccurrence, not each physical line (the shot flattens nested records into the event line). No raw game memory or captures attached.43 distinct candidate slot IDs overall. The null annotations occur only in candidate-word scans, including some fully mapped small placed textures without a retained host resource and not queued. They are not proven texture accesses. None of these candidates fell outside the mirror. Importantly, all 26 attempts to decode the
Gmaterial record used offsets 50,938,864–52,622,064 against a 460,800-bytes0+688buffer; no in-boundsGrecord was printed. NoMrecord either. Therefore this shader's current material-word listing is insufficient for a diagnosis of the actual character material.A better target for the next trace: the same shot contains an indirect mesh command with pixel
a402e650d0acbc92(one recorded command; execution not proven by this line) writing six 2560x1440 G-buffer targets, whileb37565055f2f7d3brecords write only one format-10 target. The former has a larges0+688buffer and user word 14, consistent with DexNom #49's independently identified material-record layout.b15ba4896d650511was absent from this shot. I have not ported #49. The three same-frame RGBA8 targets include detailed character/vehicle/building structure and a color-like target with the character very dark gray but a colored car. This supports inspecting the pre-lighting material path; it does not identify an exact missing texture. The later format-10 snapshot is from a different frame and cannot establish same-draw output.Visible result: the retry received one A at the visible account picker (44.34 s) and reached the night cutscene. At 256.06 s the woman's eye, nose, lips, skin, hands and hair are visibly detailed under red/green light; an earlier baseline close-up was almost black. Later at 281.14 s her face is still discernible under red light but another character's face is featureless, and the world remains too dark. This is a genuine partial visual milestone, not a matched same-pose comparison or proof that #1204 repaired rendering (diagnostics only; input/cache timing can differ). Overlay 0.3–0.5 FPS in these shots, no gameplay HUD or controllable world. 37 frames, application PCM nonzero in 15/21 chunks, fidelity unverified. Peak VRAM 7,463 MiB, scope RAM/swap 8,404/4,129 MiB, minimum host MemAvailable 1,576 MiB. No logged translation failures, host PSO refusals, device removal or host OOM; scheduled 332.6 s stop. Shot saved 148 images in three parts before bounded stop, not a completed full shot; first-frame event and relevant G-buffer snapshots were saved. First diagnostic attempt failed to arm due to ANSI-colored log matching, corrected and replay-tested; it had the same executable and starting seed bytes but no A receipt, so no timing comparison.
The useful next experiment is tracing the actual
a402e650d0acbc92material fields (andb15ba4896d650511when it occurs), reading the selected material buffer at the correct guest user word and resolving the indices according to their shader instructions. Distinguish CPU-side bytes from GPU-written records, and actual sampled views from incidental words; then correlate with the same frame's color/normal targets. This would decide whether to focus on residency/queue or the shader/lighting path.AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High)
@MoonYueya on GitHub · 2026-11-26 02:13 UTC · original
Clarification to my correction above: I mixed two trees in it. Per tree:
On this fork's
c36971b(what the original comment measured), checked against that commit's own source and our ownc36971brun log:probe_view_limit()(crates/victory-gpu/src/descriptor/host.rs:816atc36971b) triesUNCAPPED_VIEWS = 1 << 21(line 801). That is the singleid=645 ... NumDescriptors 2097152message the original comment quoted. It is the layer probing the card, not the title asking.countinhost view heap capped at {size}; views past it read a null slot(line 906) is the requested size, not the number of views truncated.title slot past the host heap(line 1935) fired 0 times in that samec36971brun.So the retraction stands for
c36971bon its own evidence.From avatarmanz/VIctory-7900XTX
0a43566only, not this fork: the second probe at 4,194,304 (2 * RAW_TWINS), the "usable cap 737,855" figure (itsdynamic_slots();c36971bhas no such function), the 953-draw / 3,074-slot dump and the 2.1% partly uploaded slots. These were measured on a different tree, so treat them as a pointer, not as a measurement of this fork.Also, "a second machine" was wrong: it was the same RTX 3080 machine, running a different tree.
AI-assisted.
@ArturoWolff on GitHub · 2026-11-26 02:20 UTC · original
Follow-up to my frame-shot report: deferred character record candidates actually waiting for their first texture-queue look on RTX 4060 / Proton. This is on the receiving fork integration, not the avatarmanz tree. I have read MoonYueya's tree-specific clarification above.
The previous shot's
b37565055f2f7d3bpass was the wrong target for this record layout. This time I added a diagnostic-only CPU-record trace fora402e650d0acbc92/b15ba4896d650511, using the field layout and guest 32-byte descriptor stride documented in DexNom #49, b8949af. Credit to that investigation; no material-demand scheduling code was ported. The trace uses the translated user-data mapping to select guest word 14, table 0 dword 688, validates the byte range/alignment, reads just the 7 or 9 words, applies the guest packed-index mask (word << 5 >> 5, wrapping), and describes each bound title slot through #1204. It reads CPU recording-time state, not the GPU's material record at the indirect draw. The layout is sourced from #49, not an independent native-shader disassembly here. The range/index unit test passed (1 passed, 0 failed, 0 ignored); release diagnostics build succeeded.Build: same private integrated
51700c6+ #1056/#830/#20/#1006/#1031/adapted #1210/Dathinelad8db725/#1204 as the earlier comment, plus this CPU-only trace. All ported sources GPL-3.0. Exe SHA-2562b7debfd8ebcf9fe6ad7af5148c46224b5568dd9cc22d58adfe389d32ee77d19, full tracked patch SHA-256936dddac14dfc698cf133959efdc9f56fa8dd3bf3804d72d14f7f4fecfc4cd8d. Same RTX 4060 8 GB/16 GB RAM, GE-Proton11-14/vkd3d-proton71cae09, Linux, Series X, display 1920x1080, file physical backing,VICTORY_TEXTURE_GUARD=0 VICTORY_TEXTURE_NO_WAIT=1 VICTORY_WAVE_PAIRS=1 VICTORY_LEVELS_ON_DEMAND=1, original verified cache/profile seed. No #1246 or new scheduling/lighting fix applied.Frame 3485, 5 recorded indirect kind-10 commands for
a402e650d0acbc92. Triggered after its exact first bind, frame 3483. Shot completed (5,150 lines, 41 pictures, 0 missing/failed); none of the six recorded G-buffer render targets was among the saved snapshots, so there is no same-draw color/normal proof. Five CPU candidate records were in bounds and readable, all listing the same 182,452,224-byte buffer extent. 35 field observations (23 distinct slot IDs); all within the title heap. No packed-variant command recorded. Counts are per field, not per unique view unless explicitly noted.looks=0The number of null fields per command was 4, 4, 3, 0, 4. The null views are BC-format placed textures, spanning 4x4, 256x256 and 512x512. The partially mapped one had about 81% of its CPU backing committed. This is consistent with unserviced texture-queue work even for already-mapped title data (as opposed to the static mirror cap or unmapped title memory alone). It does not prove the GPU sampled these descriptors: the command is indirect, the CPU material record may not match the GPU-written record or effective root arguments, and some fields may not execute on all pixels. No missing-resource-to-skin mapping is established. The last tile line in this run showed 75 held-level uploads without card memory (not the same count as the 15 record fields).
Retail observation: one A at the visible account picker 44.49 s; loading artwork and recognizable dark night cutscene/subtitles, latest frame around 327.6 s (no matched frontal close-up, credits, gameplay HUD or in-world input response). 34 private frames; nonzero isolated PCM 8/21, fidelity unverified. Peak whole-device VRAM 7,457 MiB, charged scope RAM/swap 7,547/3,955 MiB, minimum host available 1,400 MiB. No logged translation failures, host PSO refusals, device loss or host OOM. Scheduled 335.5 s stop. First attempt triggered from the other shader too early; no target command in its event list, so excluded. Same binary/start seed, but that attempt had no qualifying account picker/A; no performance A/B.
These observations make the fresh-versus-retry service change in #1246 a particularly relevant next controlled test (separate from the resident mip clamp work in #1031). A GPU-ordered readback of the actual indirect material record, as #49's probe suggests, remains necessary to call any field a sampled missing texture. I would compare the exact first-look counts with #1246's switch off/on in a matched scene rather than extend the static heap on this evidence. Raw records, game captures and assets remain private.
AI assistance: Hermes Agent, working on behalf of ArturoWolff. (GPT 6.2 Sol High)