GPU: the prologue renders into the title's 2560x1440 targets but the 3840x2160 output stays zero (RTX 3090, integration/testers) #841
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory#841
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?
@MD5Visual on GitHub · 2026-11-24 12:05 UTC · original
The world draws, but nothing reaches the 3840x2160 output target. Dumping the title's own render targets during the prologue on an RTX 3090 shows the scene fully rendered at 2560x1440 while the 3840x2160 target stays zero.
Machine Windows 11 Pro 26200, Ryzen 7 5800X3D, 64 GB, RTX 3090 24 GB, driver 32.0.16.1088 (610.88). Title 1.0.2.1, blake3
b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93. Diagnostics build withVICTORY_D3D12_DRED=1, no debug layer.Tree: r4tedx
integration/testersat92bc27b,VICTORY_SHADER_LOOP_LIMIT=32. (One local-only patch in my tree: the host device is created on an adapter picked by name, becauseD3D12CreateDevice(None)takes the display adapter here, a 2070 SUPER. Nothing else is patched.) That tree holds the prologue for 600 s and for 900 s in two other runs with no device removal, so the hang is gone and this is now only about the picture.What the run looks like: first-boot screens and menus at 29-30 fps, then the prologue at 0.5-0.7 fps, screen black. 6 compute pipelines refused (all
0x8007000E), 182 shaders untranslated (27 of themconsole wave64 lanes in a group of more than 64 threads), 0no host texture, 22 black-frame warnings, heap still capped at 1000000 (wants 1245184).How the targets were taken:
VICTORY_CAPTURE=<folder>,VICTORY_DUMP_TARGETS=1,VICTORY_CAPTURE_FRAMES=1200,...,2200. Frame 2200 is well inside the prologue (frames advanced at ~0.6 fps for the preceding minutes, 1,236-7,495 draws/frame, 425-842 indirect).Pixel statistics, sampled every 32 px, RGB:
The presented frames themselves are black too:
frame-2100.png1920x1080 min 0 max 0,frame-2200.pngmin 0 max 1.The 2560x1440 targets are a rendered street scene - wall, kerb, ground, a pedestrian, a picnic table - covered in dense per-pixel colour noise (that is why the PNGs are 2-2.6 MB; they do not compress). Downscaled copies:
So rasterisation is not the problem: the scene is there at 2560x1440, and the 3840x2160 target the frame is presented from has nothing in it. Two questions:
VICTORY_DUMP_TARGETS? If it is real it may be a separate view/format problem, and it might be why the output pass gives up.Logs available: a 16,063-line
victory.logfor the run these dumps came from, and two earlier 600 s and 900 s runs on the same tree. Nothing has been changed in the tree to get this.github-bot referenced this issue2026-11-26 05:05:53 +00:00
@rocobalt1 on GitHub · 2026-11-24 12:18 UTC · original
A datapoint from a tree that does not have the six
E_OUTOFMEMORYrefusals, which may narrow this.Machine/tree: RTX 4060 Ti (driver 32.0.16.1656), Ryzen 9 5900X, Windows 11; diag build of the integration tree
2b1a569(about 50 PRs) + #431 + the copy-fallback change from #783,VICTORY_NO_WATCHDOG=1,VICTORY_D3D12_DRED=1,VICTORY_SHADER_LOOP_LIMIT=32,TdrDelay=60machine-wide. Same package,build unknown (b99f876b…).Two observations.
1. The heap cap is the same, the out-of-memory refusals are not. We get the same line you do -
host pipeline refused ... (0x8007000E)in any of our runs on this tree (they appear in older builds: 61-62 of them in themain+ four PRs builds from this morning). On the 50-PR tree every pipeline that translates is created. The world is still black at the presented frame.So the six refused computes and the 1,245,184-slot heap are not sufficient to explain the zero 3840x2160 output - unless those six are exactly the composite/upscale passes and on this tree something else fills their role badly. Worth naming which passes those six are, if your dump can show it.
2. The present path itself works for 2D. With
VICTORY_CAPTUREon that build, sampled every 8 px:So the swapchain, the copy and the presentation all carry a full-frame 2D image correctly, at the same moment the world's presented frames are 0-1. That points at the composite that should turn the 2560x1440 scene targets into the 3840x2160 output, not at the present path.
Our captures did not reach world frames (the listed frames 1800+ were not reached in the five minutes the run stayed in the world), so I cannot show the world side from here - only that the 2D side of the same path is fine.
No game data used; the images are our own captures from the same run and only the statistics are quoted.
@fuzeofficlal on GitHub · 2026-11-24 12:33 UTC · original
I checked the exact
92bc27bsource used in this report. It already includes #211. When two or more host-backed planes are selected,frame-N.pngcomes from the composited back buffer, so the PNG dimensions alone cannot identify which submitted texture supplied it.I added a diagnostics-only follow-up on that integration revision. For each frame listed in
VICTORY_CAPTURE_FRAMES, it logs the submitted plane number, its position among the selected sources, the resource ID, the dimensions and the format. The resource ID matches the one in target dump filenames. Direct RTV draw traces carry the same ID whenVICTORY_LOG=victory_gpu::draw=debug,infois enabled. Commit9a10d7aThe synthetic metadata test distinguished two same-size RGBA8 sources, with submitted planes 0 and 2 logged at composition positions 0 and 1. Clippy passed with and without diagnostics, and the asset check passed. The next useful comparison from the reported run is the
present sourceandpresent plane selectionlines for a black frame, alongside any target dump with the same resource ID. That identifies whether the 1440p scene is selected and which 4K resource is actually sent to the compositor.@HrHd on GitHub · 2026-11-24 12:44 UTC · original
Independent data point on this symptom, on different hardware: RTX 4060 Ti 8 GB (Ada, driver 616.x), Windows 11, build 1.0.2.1. The prologue reaches the screen — car, street, flat and unlit — and the frame is still climbing draws when it stops being visible; the title's 3840x2160 output stays zero while the scene is there at reduced extent, which is your 2560x1440 observation from the other end. Then it hangs (~13 min in),
submission of N listswith no breadcrumbs, no device-removal log.Stack, all open work, no assets: upstream
mainffe310eplus #539, #621, #180, #233 (rebased), #728's fork, #832, #837, and #578. #578 is what gets it this far — before it, world entry hung within 25–95 s on this card exactly as you describe on the 3090; after it, drops of wave64 mesh/compute instead of hanging.Two things worth noting for anyone chasing the same thing:
cross-lane operation outside computeshift in my offline counts is where that lands.The prologue frame here also had no device removal recorded — the process and then the machine stopped, so DRED had nothing to leave. If your dump was taken while the frame was still live, it may be worth grabbing the PSV0/render-target pair at the same moment as the hang rather than after it.
@mpDom on GitHub · 2026-11-24 12:59 UTC · original
Confirmed on Windows 11 + AMD Radeon RX 6750 XT 12 GB on top of
4tedx/integration/testers\ (\92bc27b) with \VICTORY_SHADER_LOOP_LIMIT=32\ and \VICTORY_NO_WATCHDOG=1:
@MichaelSmithAI on GitHub · 2026-11-24 13:16 UTC · original
mpDom, we put a follow-up directly on your d6897fa branch. The opt-in fallback uses a 1440p candidate from completed work only when the submitted plane 0 is 3840×2160, and logs both resource IDs. On RTX 4090 with Wine/vkd3d-proton 3.2, a synthetic guest PresentX retained the overlay, ignored a reset recording, used the substitute once, and preserved a smaller primary.
For a matching world frame, the original and substitute IDs can be compared with that frame’s target and writer logs. The resource nomination by itself does not establish which command last wrote the scene or why the normal 4K output stayed dark. Your visible prologue run remains the title evidence. Follow-up PR and pixel readbacks
@MartinIndra02 on GitHub · 2026-11-24 14:24 UTC · original
Confirmed on Windows 11 + RTX 3080 (10 GB, driver
621.24) usingmpDom/VIctory@pr/present-1440p-fallback(d6897faonr4tedx/integration/testers) withVICTORY_PRESENT_1440P=1,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_NO_WATCHDOG=1,VICTORY_D3D12_DRED=1:2,357translated shaders,0host pipeline refusals,0device removals across 5+ minutes).#783(perf/gpu-copy-mapped-region-fallback) on top ofd6897faimproved world frame time on this stack from2.7 – 4.1 s(0.2 – 0.4 fps) to1.1 – 1.4 s(0.7 – 0.9 fps), still with0device removals.Aggregate counts only; no game data posted. AI-assisted; builds and runs executed on my machine.
@bailu12300 on GitHub · 2026-11-24 14:37 UTC · original
Same symptom on an RTX 5060 (8 GB), Windows 10 19045 — and one extra data point
Confirming #841 from a third machine. RTX 5060 8 GB, i5-14490F, Win10 19045 (not 11), D3D12 Agility SDK 1.614, title
b99f876b…(same blake3).What I see
500–805 draws/frame, 1.0 fps (1080 ms/frame), presented image is uniform dark purple/black.host view heap capped at 1000000 count=1245184— same deficit.#902fallback+recycle patch: 0no dynamic slots, 0 device removals, world lives ~3.5 min (7,396 draws) then dies0xc0000005 +0x23cf683 (write 0x0). With#876typeless fix + community#728shader fork. So the GPU side is clean; the picture is the remaining problem.What I could not reproduce
VICTORY_DUMP_TARGETS=1 VICTORY_CAPTURE=… VICTORY_CAPTURE_FRAMES=1024,…dies after ~1 min with0x80000003 at victory-image…+0x1e1d3c8(breakpoint inside victory's own image dll), before any target is written. In your tree the dump works (92bc27b+VICTORY_SHADER_LOOP_LIMIT=32) — worth comparing: my tree is upstreamffe310e+ #876 + #902 + the #728 fork, nointegration/testersbranch.Things I ruled out for the black output
--console series-sdoes not change the descriptor request (count=1245184either way).#180(shader/compute-derivatives) with the #728 fork drops untranslated shaders 369 → 279, but the world then dies earlier (2,793 draws) — reverted.#940's mesh-host-lane change (ed9afc0) ported into my tree compiles and runs, but the presented image is unchanged:500 draws/frame, same purple.So on three machines (3090 / 5080 / 5060) the scene reaches the title's own 2560×1440 targets and the present path stays zero/black. If you have a working dump on
integration/testers, the useful comparison is pixel stats of the 3840×2160 target vs the swapchain copy on the same frame — that would tell whether the copy is skipped or writing the wrong subresource.@Peppacodes on GitHub · 2026-11-24 14:52 UTC · original
Confirmed on an RTX 5080 (Windows 11, driver 32.0.16.1692, Ryzen 7 5700X3D, 32 GB), using
mpDom/VIctory@pr/present-1440p-fallbackatd6897fa, unchanged, in a diagnostics build. Settings wereVICTORY_PRESENT_1440P=1 VICTORY_SHADER_LOOP_LIMIT=32 VICTORY_NO_WATCHDOG=1 VICTORY_D3D12_DRED=1, with a fresh data folder.A pitfall for anyone scripting their way in. If an earlier run spends time in the world, the title writes a save (here at
…\data\7952987A\saves\…\Player~…\v19). On the next boot, scripted Enter presses pick "Continue". The title then loads straight into that saved state and dies within about 40 s at+0x164a298(0xc0000005, read0x2c). Its own crash context shows "Game Running", the player position set, and about 4,000 streaming requests pending.I hit this on two different trees in a row. A fresh
VICTORY_DATA_DIRper run brings back the first-boot path and the prologue. Also, on a fresh profile, Enter alone can loop on Legal Notices with "Copyright" highlighted; Down to "Next" gets past it.No game data attached; the images stay local.
@rocobalt1 on GitHub · 2026-11-24 15:05 UTC · original
A framewise measurement of the fallback on a recorded run, which turns "sometimes black" into a nomination problem.
Build: our integration tree
2b1a569(~50 PRs) + #431 + the copy change from #783 +d6897fa+ your follow-upea38ddf(cherry-picked, clean). Diag build,VICTORY_PRESENT_1440P=1,VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=32, RTX 4060 Ti 8 GB, driver 32.0.16.1656. The window title carries the presented frame number, so a recording of the window can be joined to the frame log.Method: the game was driven into the world with
VICTORY_KEYS;ffmpeg -f gdigrabrecorded the window for 180 s at 5 fps (world entry at frame 2050). Every 3 s of video is one frame; for each, mean RGB over the content area only (title bar excluded):The log shows three substitutes for the same run, alternating between frames, all 2560x1440 format 28:
So the picture is not intermittent at random: one of the nominations carries the scene (mean ~137), the other two are empty (0.8) or nearly (23-35), and the phases last seconds because the candidate changes with whichever target the frame nominated last.
What this suggests for your follow-up rather than for the composition:
Caveat, so this is not overstated: the target with content is still a G-buffer slice (surface normals), not the lit colour - the recording shows the rainbow normal view, not the game's picture. This measurement is about which resource the fallback selects, not about what the 4K composite should have contained.
If useful I can repeat the recording with
VICTORY_LOG=victory_gpu::queue=debugso the frame numbers, the substitute IDs and the on-screen state are in one table.@LooperSalty on GitHub · 2026-11-24 15:16 UTC · original
From a tester working with Claude (AI-assisted); measured on my own machine (i7-13700KF, RTX 4070 Super, Windows 11), own copy of 1.0.2.1.
Two things from today that may help everyone chasing the black world, both measured in the world after the prologue starts (the "Move / Move the camera" tutorial prompt is on screen, so the player has control; the UI composes over a black 3D image, as described here).
1. Speed: 0.2 → 2.3–2.5 fps in the world, from three host-side changes (no shader change).
VICTORY_D3D12_DRED=1costs ~2.5× in the world: the title's 5 command-list recording threads spent ~50 % of their samples inVirtualQuerybuilding the per-draw breadcrumb text. Leave it off unless you are chasing a device removal (5 s → ~2 s per frame).write_mappedusedWriteProcessMemory, which queries the region first (NtQueryVirtualMemory, ~2 ms per call on the title's big heaps, one call per changed 64 KiB page): 66 % of the submit thread. Writing withNtWriteVirtualMemorydirectly (same per-page success/failure semantics) took the copy-back from ~1.5 s to ~0.13 s per frame.copy_mappedwithout the up-frontVirtualQuery, and the pre-GPU snapshot, the copy-back comparison and the texture blake3 hashing spread over a persistent pool of threads created at start-up (creating threads per call runs the title's DLL_THREAD_ATTACH callbacks).Remaining per frame (~410 ms): GPU ~145 ms (fence wait, CPU and GPU still serialized; #595 is the obvious next step), copy-back ~73, texture hashing ~20, snapshot ~50.
2. Ray-traced passes no longer dropped (diagnostic option, local). With
VICTORY_SKIP_BVH_BUILDER=1the RT passes (GatherVBufferirradiance cache,RTDistantShadowTrace,TraceShadowRays,RaytraceShadows,LaserLightShadowRaytracing) stayed dropped on "an address not from a root parameter": they read the acceleration-structure VA from a descriptor, thens_loadthe node count at +48 and branch over the traversal when it is ≤ 0. AVICTORY_RT_MISS=1option (off by default) makes those unresolvable loads read a null view (0) andimage_bvh_intersect_rayreturn 0xFFFFFFFF, and folds the resulting scalar branches so the dead traversal loop is removed: every ray misses (no RT shadows or bounces), but the passes run and feed what follows. Offline, 36 of 47 RT containers emit and validate instead of 18; in game the six RT producers thatVICTORY_PRODUCERSflagged now run. Untranslated programs seen in the world: 131.The picture is still black for us without a present fallback; we are now trying
mpDom'spr/present-1440p-fallbackon top. These are local branches (main + ~45 PRs + the changes above); happy to publish the perf commits as a PR if useful.@lines9686-rgb on GitHub · 2026-11-24 15:30 UTC · original
Confirmed on an RTX 3060 Ti (8 GB, 32-lane waves, driver 621.24, Windows 11 26200, Ryzen 5 5600, 32 GB), own 1.0.2.1 copy: with
VICTORY_PRESENT_1440P=1the window shows the world geometry (power lines, poles, lamps, figures and plants in the foreground) in false colour, as described above. No device removal.The tree is different from
integration/testers, so this is a second route to the same result. Onmainffe310e:d6897fa, adapted tomain's single-planepresent(it substitutes the texture handed tohost.present).Settings: diagnostics build, wave64 mesh allowed,
VICTORY_SHADER_LOOP_LIMIT=1024,eeed82b877b44b5fand269b802f878c24e1skipped. The world runs at 0.5–1 fps, with 1,200–5,500 draws per frame.Three things measured on the way that may save someone a run:
ClearShaderBins,GenerateShaderBinOffsets), meshlet culling and the compute graph ops. With head's rule (judge the emitted PSV0 wave range), a world frame went from ~2,600 to ~5,400 draws. If you stack #439 with an older #578, check which commit you have.VICTORY_D3D12_DRED=1is what made our runs a slideshow. I agree with @LooperSalty's measurement above. With DRED on: 0.1 fps and 9–12 s frames, with "copies" at 2–5 s per frame (time inGetWriteWatch). With DRED off, the same build runs at 0.5–1 fps.shader_cache.rsstores only successes). About 400 programs fail here, and the large compute ones take 2–3 s each. That is ~1.5 min after world entry spent re-failing them, with 150–270 pipelines "being made" in every warm run. I have a small change that caches the error under the same build key (translation depends only on the container and the build hash), with tests, and will post it as a separate issue with a fork branch.AI-assisted (Claude Code); runs on my machine with my own copy, nothing from the game attached.
@HrHd on GitHub · 2026-11-24 15:48 UTC · original
Reproduction of the world hang on
testers/black-scene-u5-645(b6e67d3), so it is not stale-branch noise: 6.1 min in, two device removals, death at a submission carrying compute dispatches, reached frame 7143 first. Same signature as onmain+ a hand-picked stack — 28-list submission, ~33 s,0x887A0004, no breadcrumbs in a release build. So the wall is systemic and not caused by any one stack.Two things that do change the picture, both already in this tree's orbit:
VICTORY_SHADER_LOOP_LIMIT=64moved the death from 6–8 min to 18 min, zero removals, at 2–3 s/frame. Capping loop trip counts only matters if something spins, so the stall is a loop or a barrier wait, not codegen: with the whole retail pack, every compute program that emits also validates (2442/2442), and vertex/pixel leaves 84 and mesh 69 real validator errors, none of them on compute.TdrDelay/TdrDdiDelayat 30 s turns the old whole-desktop freeze into a cleandevice removedand a dead process. At the default 300 s, or withTdrLevel=0(#1054), the same stall wedges the machine.The black picture is separate and does clear on this branch — flat-coloured, textures present, over a pink cast. So the two workstreams don't block each other: picture is improving here while compute still stalls.
Recorded on 1.0.2.1 with the four fail-fast writes NOPed; per-build counts only, no assets.
@r4tedx on GitHub · 2026-11-24 15:50 UTC · original
An offline look at question 1 (is the 1440p → 4K step a title pass, and are its shaders among the missing ones), and one concrete thing to grep a black frame's log for.
What was run.
victory translate <shader archive> --host-lanes 32-32 --validate --list, CPU only, over my local copy of the title's shader archive (25,889 programs). Trees:integration/testersat2b1a569(update 4), and update 5 (92bc27b) with further merges on top. Nothing was run in the title, so everything below says what translates, not what a frame does. Hashes are the 16 hex digits the run log prints (compute <hash>).1. The upscale and output passes are title shaders, and they are not missing. The archive has temporal resolve and sharpen compute programs, spatial-upscale pixel programs, and the post-effect, composite, tone-map and blit families. Of the 406 programs I could place in tiled lighting, exposure, anti-aliasing and upscale, post effects, composite, tone map and blit, all but 8 validate for a 32-lane host at update 4, and every upscale, temporal resolve, composite, tone-map and blit program is among those that validate. So the 4K step itself is unlikely to be an untranslated shader.
2. What is missing on a 32-lane host is the shadow term. 19 of the 20 programs of the cascade-shadow tiled render family, and 6 of 11 of its classify family, do not translate:
console wave64 lanes in a group of more than 64 threads on a host without 64-lane waves. This is the same at update 4 and with update 5.the 25 hashes
tiled render:
191ecaed66eea3b165de113e23fa4fddbe6ce5d849d51127804b342cb4b9d1e9ab5455fc6abb804f922e1d0ee1e19a8531d703207b51549a240cb516c1af0bc31d44a723bdebbf27ce79e9eba7ae0348466ec41d3f9d24c020b78ee12ecdb57d56f3bf2d9388e5a7d7db57731ada919bf133e35efed2a48afa0bd10a35bfef3cb4b0427232707598abd7a22106898c664b57ec4af6de25feclassify:
0c028454b58543f0eab96ed5d1684967eae3498e6553afa867353810417f6c19b8f3f7979d6bbc504e9b58cc637d9272The title does create pipelines for them: 14 of the 19 and 3 of the 6 are in the list of 103 compute pipelines #817 saw refused on
mainon an RTX 4060 Ti. (Of those 103, 82 validate offline on the testers' tree for a 32-lane host; the 21 that don't are these 17 plus 4 others.)A local branch that runs a group of several console waves as one host group per wave brings the tiled render family from 19 untranslated to 1 offline. It is not in the testers' tree yet, and I have not run it in the title.
3. Smaller gaps in the same chain, same trees:
23d507cbb6a22e86,b0095eb50222e808(an address not from a root parameter; they validate with the #645 changes, not in the tree yet);e535cfd7baac93b8and two shadow-mask denoise variantsa7ea75e2653e54d1,0ea6fac38d096770(an LDS write of bytes or halves, the subject of #571);What I can't tell from here, and what a log can: whether a frame whose shadow term was never written comes out black, or merely unlit. That is a guess until someone sees it. For a black world frame on an NVIDIA card, the useful check is whether the hashes in 2 and 3 appear in the lines for dropped dispatches (
a dispatch without a host pipeline dropped, or the untranslated-shader warning), and which of them write a 2560x1440 target. On a 64-lane host (RDNA) the reason in 2 does not apply, so a black 4K output there needs another cause; I have not run the count for 64-lane hosts.If anyone posts a list of dropped or refused hashes from a world frame, I can say which family each belongs to and whether it translates on which tree.
Local title data was used for the counts above: counts, hashes and refusal reasons only, no shader code. AI-assisted.
@hazben on GitHub · 2026-11-24 16:02 UTC · original
AI-assisted (Claude Code). Measured on my own machine with my own copy of 1.0.2.1. Counts and hashes only; nothing from the game is attached.
This answers "black or merely unlit" from world frames, on a tree where the cascade-shadow tiled render does run and the classify programs don't.
Machine: RTX 4070 SUPER 12 GB (32-lane waves), driver 621.14, i7-12700K, 32 GB, Windows 11 26200.
Tree: r4tedx
testers/indirect-wave-dispatchata857b636. It already has3205701e, "groups of several console waves run as one host group per wave". On top of it:fix/buffer-copy-statesatc99e429(the newer #334);Settings:
VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=256andVICTORY_D3D12_DRED=1;VICTORY_SKIP_PIPELINES(28918b7150a7aad5,caa78b8ca62bc3d6,4ddd6f9702fab2a7) to avoid an access violation about 50 s into the world.With these settings one run held the world for 9.5 min with no device removal. The dumps below are from a second run, which I closed by hand after 6 min.
Your hashes in the world frames' log:
Tiled render: 18 of the 19 translated, got a host pipeline and ran, and none was dropped.
4b57ec4af6de25fewas never bound.Classify: three were bound, refused and dropped 1 to 2 times per frame, with
console wave64 lanes in a group of more than 64 threads on a host without 64-lane waves:0c028454b58543f0(CS_ShadowUnifiedClearRaster);eae3498e6553afa8(CS_CalcRasterClassificationListCounts);b8f3f7979d6bbc50(CS_WriteRasterClassificationResults).The other three were never bound.
Section 3:
23d507cbb6a22e86,b0095eb50222e808,e535cfd7baac93b8and0ea6fac38d096770translated and ran.a7ea75e2653e54d1was never bound.What the frames hold (
VICTORY_DUMP_TARGETS, six frames between about 1 and 5 min after world entry):72c739b61097456d, were created and bound.So on this tree the lighting pass runs and writes zero. Where the lit colour should be, the frame is black, not just missing its shadows.
That doesn't isolate the classify programs, though. In the same frames these lighting inputs are dropped too:
an address not from a root parameter):shadowmask:CS_TraceShadowRays_Checkerboard:559d9f0184e15fe3;rtdirectionalshadows:CS_RTDistantShadowTrace*_Tiled:17829ac71aab4e8d,a1b20bc47e3c9597,afeea48bbb9913adande8c962358d862e3f;deferred_tiled:CS_LaserLightShadowRaytracing:32ed072b9f845048.deferred_lighting:CS_ComputeInfiniteRRIntensity:e18931c72af42e46, refused witha whole-wave section of a wave64 on a host without 64-lane waves.indirect_diffuse_lighting:CS_ScreenProbes_ActivateRays:39f0e9aeb156a61c, refused witha descriptor chosen by control flow.Next here: a port of #638's
VICTORY_PRODUCERS(the pairing of readers with dropped writers) onto this tree, to see which of these the lighting pass actually reads.@r4tedx on GitHub · 2026-11-24 16:04 UTC · original
@hazben thank you, that settles it for this tree: the lighting pass runs and the HDR targets are exactly zero, so it is black and not just unlit, and the shadow render alone was not the cause.
One thing from the disassembly that may help order the list before the producer pairing is ported.
e18931c72af42e46(refused,a whole-wave section of a wave64 on a host without 64-lane waves) loops over a light list, sums three per-lane terms over the whole wave, and then one lane stores a single 16-byte record: the summed colour divided by its luminance, and that luminance times 0.001. So its whole output is one small record that later passes can only read as a scale and a tint. If the lighting pass multiplies by it, a record that was never written would give exactly zero everywhere, with no NaN, which is what your dumps show. That is a reading of the program, not a measurement: I have not seen which pass reads that buffer. With the pairing, the buffer it writes (a 16-byte-stride UAV) is the first thing I would look for among the lighting pass's inputs.The ray-tracing producers in your list all stop at the same place offline (they read the acceleration structure through an address the tracer does not follow), and the three classify programs and this one are wave64 forms that are being worked on.
Offline disassembly of my local copy was used for the description above; no shader code is quoted. AI-assisted.
@NuraadGit on GitHub · 2026-11-24 16:10 UTC · original
@r4tedx A traced world frame answers question 1 for an RTX 2080: the 1440p to 4K step is a title draw, it runs, and it writes the presented 3840x2160 image. Its input is black. The black comes from before the composite.
Setup: RTX 2080 (32-lane), driver 616.56, Series X, loop limit 32. JMAN730's fork + #493 + #189 (
d0fd9bf, Wave32 mode) + #206 + #667 + #704, 2^18 dynamic slots (#747). Per-op trace plus target dumps of world frame 1950: 6,218 ops ran, 1,507 were dropped.The end of the frame, in recording order:
CS_TAA2_Resolve(df11dcd0…)PS_CompositeNMB(pixel6318f669e4f17d65)PS_TAA2_SpatialUpscaleWithDithering(pixel4f4ec7b16673362f)Values in the dumps of that frame:
The f24 and the output keep those ranges in two later runs (frames 2200 and 3200, with #878 and #489 added). At frame 1550 of the traced run, the composite held a flat light blue instead, like the grey-blue I reported on #747.
So the faint noise in the black output looks like that draw's dithering over a black input. Your count and the trace agree: the output passes are there, and here they also run.
The other, all-zero 3840x2160 f28 is a different resource. A separate rectangle draw (vertex
0602c2384acbb3b2, pixela78d088fa55aa495, a plain textured quad bound since the first frames) samples it into the presented image. No op in the traced frame writes it. It looks like an empty UI layer rather than the scene.Your hashes on this card (the 25 in section 2 and the 5 in section 3; both columns are offline, DXIL validated, and both stacks also have #878, #489 and #294/#709):
bf0f951) + yourshader/wave-per-group(7ae51da), 32-32a cross-lane wave operation in divergent control flow)4b57ec4af6de25fe, more than 64 threads)23d507cbb6a22e86,b0095eb50222e808an address not from a root parameter)e535cfd7baac93b8,a7ea75e2653e54d1,0ea6fac38d096770an LDS write of bytes or halves)In the traced frame, none of the 19 tiled-render programs shows up at all, run or dropped. Of your list, the dropped ones are
eae3498e6553afa8,b8f3f7979d6bbc50and the two exposure programs.What that frame drops in the lighting setup:
tiled_lighting:CS_MaterialTilesInitialbad01f53f53248e5tiled_lighting:CS_ClusterLightsWorldSpaced3e5b737ea7cc150tiled_lighting:CS_PrescalarizeLightLoop11eeb27c2d15980da descriptor's address or format read as datashader_binning_utils:CS_GenerateShaderBinOffsets8dd8d739047fe557On
e18931c72af42e46(your 16:04 comment): on this #189 Wave32 stack,deferred_lighting:CS_ComputeInfiniteRRIntensitytranslates (offline it validates here, while it's refused on the #439 stack witha whole-wave section…) and it runs in the traced frame: one1x1x1dispatch whose UAV is a 16-byte buffer. The HDR targets are still exactly 0.0 in that frame. So either the record exists but holds a wrong value under #189's whole-wave emulation (a zero luminance would do it), or the zero comes from somewhere else. I can't read the record's value from target dumps. If anyone has a buffer readback switch, that one 16-byte buffer would settle it.I haven't shown that these make the HDR targets zero. By name they set up the tiles and lights to shade, so I'd look at them before the shadow term.
One limit of an offline count: 360 of the 923 compute dispatches dropped in that frame belong to programs that aren't in the shader archive (for example
3b90165a77d95cdf,c42a31951201f9a0,5062bc7a48e842f8,5279ae36796c31fc). I can post the full list of dropped hashes with counts if you want to place the rest.AI-assisted (Claude Code): the runs, trace and log analysis were automated. The hardware, title copy and runs are the user's.
@r4tedx on GitHub · 2026-11-24 16:14 UTC · original
@hazben a GPU-safety note on
testers/indirect-wave-dispatch(a857b636), the branch you ran.That branch has an indirect-dispatch argument pass for split console waves (
831cdb3,SPLIT_DISPATCHincrates/victory-gpu/src/indirect.rs). A review probe on our side drove a related pass with 6,000 active records plus buffer growth. It aborted 3 of 3 times on an RTX 5070, with nvlddmkm event 153 and no full driver reset, and completed on a Radeon iGPU and on WARP. The suspect is the budget loop that both passes share: it retries a compare-exchange after a plain load of the budget, and has no other exit. A plain load of that buffer can keep returning the same stale value.Your run went through, and the title may never reach that many records in one pass. Still, until the fix is on the branch, please treat a GPU timeout, device removal or event 153 on NVIDIA with this branch as possibly this, and say so if you see one.
The fix is committed locally: each retry takes the value the last exchange returned, and the retries are bounded, so a record that runs out of them is refused. It is waiting for its test run (WARP first, then the RTX 5070, small workload). I'll push it to the branch and say so here once that passes.
The title was not used in the probe or the fix's tests.
AI-assisted
@DaviTostes on GitHub · 2026-11-24 16:19 UTC · original
Same result on AMD/Wine, so the 2560×1440 scene is not NVIDIA-specific.
dxgi, vkd3d-proton 3.2.0 (Proton Experimental DLLs); package 1.0.2.1, blake3b99f876b….integration/testers@da605bc, diag build (--profile diag --features diagnostics),VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_CAPTURE+VICTORY_DUMP_TARGETS=1at frames 1500–2200.Earlier presented frames have content (1500 mean 129, 1600 52, 1700 69 — loading art); frame 1800 onward is zero. So rasterisation reaches the 1440p scene on RDNA4 too, and the 2160p output target and presented plane stay empty — the same 1440p→2160p/present gap you describe, not an NVIDIA artefact.
No game screenshots attached (numbers only). Windows not tested here.
@tike411 on GitHub · 2026-11-24 16:20 UTC · original
RTX 5080, NVIDIA 621.24, Windows 11 26300.9974, Series X title 1.0.2.1.
Black-frame shaders. I matched the 30 compute hashes in the original request against two local runs at shader loop limit 32. Both builds first bound the same 25 hashes at world entry and subsequently logged a translation refusal for each.
4b57ec4af6de25fe0c028454b58543f0,eae3498e6553afa8,b8f3f7979d6bbc5023d507cbb6a22e86,b0095eb50222e808e535cfd7baac93b8,0ea6fac38d096770ffe310e+ #493c48b240, #20605981dd, #189b472733, DRED on). First bind was at frame 1047. Frame 1750 showed the movement/camera prompt over a black 3D background. In the 6.9-second reporting interval containing that frame, the top dropped compute dispatches averaged 196/frame fore30970f1727063fd, 124 forb6df66af105d8b2dand 88 for3b90165a77d95cdf. These are interval averages.r4tedx/VIctory@92bc27b+ #530, with local display/capture changes). First bind was at frame 4641. Of the 25 refused hashes, 19 also appeared by name in periodic drop summaries. Of 11 sampled world images, six were black, three showed streets and two showed people in false colour. The INFO logs do not map an individual refused dispatch to a 2560×1440 output resource.For the lighting-buffer question,
e18931c72af42e46translated and got a host pipeline on the #189 stack. On the #530 stack it was refused for a whole-wave section of wave64 and appeared at 0.5 dropped dispatches/frame in one reporting interval. We have no readback of the 16-byte record’s value.Prologue load crash on
r4tedx/VIctory@b6e67d3. Two fresh-cache runs used the same unchanged title executable and settings, normal presentation and DRED off. At loop limit 64 the process lasted 59.44 s, and at 32 it lasted 78.56 s. Both showed the loading illustrations, then went dark before we captured a 3D scene. Both logged device removal after submitting one command list, with reason0x887A0001(DXGI_ERROR_INVALID_CALL) and process exit0x887A0005. The Windows System log contained nonvlddmkm153 orDisplay4101 event between 16:05:31 and 16:09:04 UTC. The 4060 Ti report used a different title executable.Collected on the tester’s machine and analyzed with OpenAI Codex (GPT-6).
@r4tedx on GitHub · 2026-11-24 16:22 UTC · original
The count for a 64-lane host, which I owed from my first comment, and what it would take to split the remaining candidates.
Run: the same offline count with
--host-lanes 32-64(CPU only, local copy of the shader archive, 25,889 programs; the tree is update 5 with the #645 changes, so close to but not the currentintegration/testers). 689 programs don't validate against 734 for a 32-lane host: 45 more compute programs validate, none fewer.In the lighting families on a 64-lane host (shadows, tiled and deferred lighting, exposure, indirect lighting, anti-aliasing, post effects: 560 programs), 77 don't validate, and 63 of those are the ray-tracing readers (
an address not from a root parameter). Every program hazben saw refused for a wave64 reason on the RTX 4070 SUPER validates here:e18931c72af42e46and the three classify programs, with the whole cascade-shadow render and classify families and tiled lighting. What is left besides ray tracing is small: three byte/half LDS writes (#571), four addresses joined by a phi, three whole-wave steps, and39f0e9aeb156a61c(a descriptor chosen by control flow).So an RDNA dump would separate the two explanations. If on a 64-lane card the 2560x1440 HDR targets (R16G16B16A16_FLOAT, R11G11B10_FLOAT) are also exactly zero while the G-buffer is full, the cause is not one of the wave64 programs, and the ray-tracing producers or
39f0e9aeb156a61care what is left. If they hold a lit image there, the wave64 programs are the cause on NVIDIA. @mpDom, if you still have the RX 6750 XT setup:VICTORY_DUMP_TARGETS=1with a fewVICTORY_CAPTURE_FRAMESinside the prologue, and thetarget valueslog lines for the 2560x1440 float targets, would answer it. Thetarget valuesline prints the lowest and highest value of each dumped float target, so no image needs to be shared.Nothing was run in the title here. Local title data was used for the count: counts, hashes and refusal reasons only. AI-assisted.
@cobrajet302gt on GitHub · 2026-11-24 16:24 UTC · original
Linux cross-link that may help question 1: on vkd3d(-proton) hosts the same "picture never reaches the output" story fails one step earlier — at swap-chain creation, with a fault, right after the first present. Symbolized chain from our deterministic repro (Proton 11.0, RTX 6000 Ada, same build
b99f876b…, 6/5 runs across two vkd3d builds, WARP and native):Full detail in #829 (
…#issuecomment-7135404931), including the note that the title's Breakpad then dies inside Wine'sdbghelp, which is what the top-level report shows.So there are now two independent "output path" failure modes: this one (Windows/native: the 2560x1440 scene renders, the 3840x2160 target stays zero, presents black) and ours (Linux/vkd3d: the 3840x2160 swap-chain object never survives creation). If the 3840x2160 target is created through the same factory call that faults on our side, your question 1's "platform present-plane path" and our fault could be the same subsystem seen from two sides — worth checking on your side whether the 3840x2160 target's creation correlates with the second
CreateSwapChainForHwnd/output-model transition in the trace. Also for the record: 6 compute pipelines refused with0x8007000Eplus the heap cap at 1,000,000 (wants 1,245,184) reproduces concerns raised in #829's environment discussion, and 27 of your 182 untranslated beingwave64 lanes > 64matches the wave64 tail our side flags for NVIDIA hosts too.Written with an AI assistant.
@tike411 on GitHub · 2026-11-24 16:28 UTC · original
@bittertea0323 The reference list is still available in r4tedx’s original comment. Expand “the 25 hashes” in section 2 for the shadow programs. Section 3 has the other five. All 30 are also below, one per line, for the offline comparison.
I rechecked the two RTX 5080 runs in our report. In both logs the two exposure hashes
23d507cbb6a22e86andb0095eb50222e808failed withan address not from a root parameter. Those are two candidates for your largest refusal class.The same 18 tiled-shadow and 3 classify hashes gave different reasons across our builds. The #189 stack reported
a cross-lane wave operation in divergent control flow.92bc27b+ #530 reported a wave64 group exceeding 64 threads. Matching on(stage, hash)first would preserve these cases despite the different messages. If you post your deduplicated stage/hash list, we can return the exact intersection. The reason per hash would also let us compare the failures.30 reference compute hashes
AI-assisted log comparison with OpenAI Codex on the tester’s machine.
@r4tedx on GitHub · 2026-11-24 16:28 UTC · original
@hazben the fix is on
testers/indirect-wave-dispatchnow: heade234090, a fast-forward froma857b636.e234090bounds the split dispatch's budget loop. Each retry takes the value the last exchange returned, never a plain load, and after 1024 retries the record is refused. Tests at that head: the split-dispatch test (records and count copied on the GPU, counted and uncounted dispatches in one list, checked outputs and unchanged inputs) passes on the default adapter (RTX 5070) and in a run with WARP requested. The 6,000-record probe that hung the RTX 5070 has not been rerun against it.The same push also brings the branch's other new commits:
The title was not used in these tests.
AI-assisted
@LooperSalty on GitHub · 2026-11-24 16:37 UTC · original
From a tester working with Claude (AI-assisted); measured on my own machine (i7-13700KF, RTX 4070 Super). No game data involved.
Update: the copy-back and copy-into-title changes from the numbers above are now a PR, #1215 (copy back 1.5 s -> 0.13 s per world frame). The snapshot/compare on a persistent pool of copy threads is a follow-up on top of #440 + #497: https://github.com/LooperSalty/VIctory/tree/perf/copy-pool-stacked (see my comment on #497).
Testing tip for iterating:
--console series-sgives about +50 % fps in the world (3.1-3.3 fps vs 2.0 on the same tree) with the same picture symptom, so it is a cheaper way to A/B changes. LeavingVICTORY_D3D12_DREDunset matters even more (it costs about 2.5x).@cobrajet302gt on GitHub · 2026-11-24 16:39 UTC · original
Linux/NVIDIA data point for the deduped-list request (#829's resolution landed; we're now running clean on Linux — stock DXVK 3.1.1
dxgi.dllis the key, details in #829).Two runs on this rig (Proton 11.0 wine, self-built vkd3d-proton master
d3d12/d3d12core, stock DXVK 3.1.1 dxgi, RTX 6000 Ada, same buildb99f876b…,VICTORY_PRESENT_1440P=1): 240 s + 300 s, zero exceptions, frame 4096+/5500+, 30.0 fps steady, at the first-boot account-picker overlay (captured: correct legend text, letterboxed, stable).Program refusals at our depth: none — no
not converted/refused-shader lines in either log; everything the title asked for through the account-picker stage translated and validated. So our(stage, hash)list is empty so far; we don't reach the 182-program tail until the world asks (the pre-creation pair is the designed fallback, as established above).Host-side refusals we do log (vkd3d-proton master on NVIDIA, counts over 240 s):
no host pipeline library: pipelines are not kept(once) — no pipeline cache on this host, cold-compiles throughout;host view heap capped at 1000000 error=Invalid parameter. (0x80070057) count=1245184(once) — same 1,000,000 cap as the Windows reports;view the host does not allow unordered=true format=53(repeated);no host texture … width: 2560, height: 1440, format: 86(the scene target, same refusal class MD5Visual cites on native).Per LooperSalty's tips:
VICTORY_D3D12_DREDunset for all runs above. We'll post the world-stage(stage, hash)refusals when scripted input carries the title into the prologue — capturing frames every ~15 s now, so a Linux picture-vs-black datapoint for this thread is close.Written with an AI assistant.
@ghost on GitHub · 2026-11-24 16:40 UTC · original
AI-assisted (Claude Code). Measured on my own machine and my own 1.0.2.1 copy; counts only, no captures.
Some measurements on why the output stays zero, from an RTX 5080 (32-lane waves, view heap capped at 1,000,000), Windows 11 26300, Ryzen 7 9700X, 64 GB, Series X mode, diag build.
Tree. Not
integration/testers: an older integration ofmain(the #414 set) plus #641, #413, #432, #439, #489, #500, #546, #591, and local changes named below. So read these as one more route, not as a run of the tester tree.1. The lit scene target is exactly zero, not just the 4K output
The 2560x1440
R16G16B16A16_FLOATtarget that tiled lighting draws into is all zero at the end of every world frame (no NaN, no infinities), while the G-buffer targets beside it hold the scene. A copy of that target taken right after each enabled tiled-lighting draw is zero too, so nothing clears it later. Everything downstream (upscale, composite) then has nothing to show, which would explain a zero 3840x2160 target without any of those passes being wrong.2. Tiled lighting is drawn as rectangle lists placed by vertex number
VS_TiledLightinghas no vertex buffer: tile =SV_VertexID / 3, corner =SV_VertexID % 3, 720 vertices per draw (240 tiles of a 20x12 grid), throughExecuteIndirect.expand_rectsand the GPU expansion (#282, #346) make the fourth corner from vertex buffers, so these draws have nothing to expand. With #346's behaviour they ran with twice the vertices and vertex numbers the shader does not expect. I opened #1020 for this (a generated geometry stage completes the rectangle). Per enabled lighting draw, from a pipeline-statistics query around it:The indirect arguments of these draws are written by the CPU. About 90 material classes each have a draw; in the opening scene 4 have instance count 1 (standard and standard-wetness, each with and without directional light).
3. Albedo was zero for a separate reason: material textures read by direct heap index
The G-buffer albedo target was zero where geometry was drawn. The G-buffer pixel shaders load their texture descriptors from the resource heap at indices read from a material record (seven indices at a byte offset passed in a root constant, in the large material buffer). Those slots hold placed block-compressed textures. With #413 they were still not made when drawn: for 60 materials drawn late in the world, only the shared 4x4 defaults and one array had host views. My reading is that the sweep goes over all placed slots (about 67,000 here) in index order under the 4,096-texture cap, so it does not reach what the scene uses. Making the seven slots a material names when its draw is bound (a local hack tied to this record layout, not a PR) filled the albedo target: characters, ground, buildings, the picnic table. #641 was needed as well; without it partly streamed textures were skipped.
4. With 2 and 3 in, lighting still writes zero, and here is where it stops
R8_UNORMtile texture is non-zero.tiled_lighting:CS_ShadowRevealTileswrites that texture, and it is all zero.cascadeshadows_classify(3 compute programs) →shadowmask:CS_GenerateShadowMasks_*→CS_ShadowRevealTiles. The threecascadeshadows_classifyprograms are refused here with console wave64 lanes in a group of more than 64 threads on a host without 64-lane waves.[1.0, 1.0, 8.0, 0.125].5. Three trees on this card
Offline, host compute pipelines created (
victory translate --validate --pipelines) out of the 51 compute programs my tree still refuses in the world:mainffe310eintegration/testersda605bctry/wave6471180ff,VICTORY_WAVE64_EMULATE=emulate(Agility exports off, Windows 11)None creates the three
cascadeshadows_classifypipelines. In the title,try/wave64in emulate mode reached the world and logged 669 untranslated shaders and 633–1,031 draws per frame in a 3-minute run (cut short on my side, not by a device removal); my tree logs 126 and about 2,500. That 669 agrees with the 679 Proudnoob4 reported on #1086.What I can offer
The two diagnostics behind sections 1 and 2 are small and I can open PRs for them if useful: a copy of a target taken right after a named pixel shader's draw, and a pipeline-statistics query around it. They answer "did this draw shade anything" in one run.
@NuraadGit on GitHub · 2026-11-24 16:45 UTC · original
@r4tedx Two measurements on
e18931c72af42e46(CS_ComputeInfiniteRRIntensity), RTX 2080, same #189 Wave32 stack as above:[0.0, 0.0, 0.0, 0.0](raw words all0x00000000), although the program runs every frame.[1.0, 1.0, 1.0, 1.0]into the same buffer in title memory before each skipped dispatch. In the world dumps, every 2560x1440R16G16B16A16_FLOAT(5 per frame) andR11G11B10_FLOAT(4 per frame) target is still exactly zero, and the presented frame is still black.So on this card that record alone isn't what zeroes the HDR. One caveat: I wrote the stand-in to title memory and rely on VIctory's usual refresh of the GPU copy from title writes, which I haven't checked for this buffer.
Something else that fits "exactly zero, no NaN": the auto-exposure chain.
avgLuminanceCompute:ColorDownsampleInitCS(23d507cbb6a22e86) andColorDownsampleCS(b0095eb50222e808) are refused here withan address not from a root parameter, and both are dropped every frame.ComputeAverageDepthWeightedLuminanceFromHistogramCS,ComputeLuxCompressionInfo.I'm reading those passes' outputs now and will report what they hold.
AI-assisted (Claude Code): the diagnostics, runs and analysis were automated. The hardware, title copy and runs are the user's.
@cobrajet302gt on GitHub · 2026-11-24 16:46 UTC · original
Linux reaches the menu system — clean renders. With scripted input (
VICTORY_KEYSEnter cadence;--features diagnosticsbuild +VICTORY_CAPTURE) the title walked from account picker to the in-game menus on Linux/Proton (same stack as our 240 s run above): the legal-notices page renders pixel-clean — selectable list, selection highlight bar, full copyright body text legible word-for-word, correct Xbox button prompts, no garbage:(frame 3300, ~110 s in; 24 capture points from frame 1 on, account-picker overlay at 120, menus from ~900.)
After the menus, frame rate collapses at the prologue hand-off (capture point frame 4200+ never reached within 310 s) — consistent with the per-frame copy-back cost quantified above (1.5 s/frame) and addressed by #1215; that's our next test point. Written with an AI assistant.
@r4tedx on GitHub · 2026-11-24 16:53 UTC · original
@NuraadGit thank you for measuring it. So the record is zero where the program is refused or runs split, and a stand-in does not light the scene: that takes
e18931c72af42e46off the top of the list, with your caveat about the refresh of the GPU copy noted.On the exposure chain, one cross-check from this thread: in hazben's frames above (RTX 4070 SUPER, a branch with the #645 changes) both colour-downsample programs,
23d507cbb6a22e86andb0095eb50222e808, translated and ran every frame, and every 2560x1440 float target was still exactly zero. So those two being dropped on your stack is real, but it is not sufficient on its own either. What an exposure that latched at zero would need is a look at the values the chain holds, which is what you are reading; the histogram and average-luminance outputs on a tree where the downsample runs would be the cleaner sample.For the two programs themselves: offline they stop at
an address not from a root parameterwithout the #645 changes (address tracing in resource tracking) and validate with them; I have not looked at which address shape it is. Those changes are on r4tedxtesters/indirect-wave-dispatchand are on their way intointegration/testers.Putting this thread's measurements side by side, the lit target stays zero with each of these in place separately: the shadow tiled render (hazben), the exposure downsample (hazben), a stand-in for the intensity record (you), the rectangle geometry stage and the material textures (Gargalindis). What no run here has had yet is all of them together with the three shadow classify programs.
No title data in this comment beyond the hashes already posted above. AI-assisted.
@likecrank-dotcom on GitHub · 2026-11-24 15:22 UTC · original · edited 2026-11-24 16:54 UTC
RTX 5060 Ti 8 GB follow-up: Windows 11, Ryzen 5 3600, 32 GB, NVIDIA621.14, retail1.0.2.1, Series X. Windows TDR settings unchanged. No concurrent builds/GPU tests during title runs.
The shader/render baseline for these runs is mpDom d6897facd92d6dd7f1a0d5177cf84e3d95a4951b. Later local commits add optional input/capture/preview diagnostics; they do not repair normal final lighting.
The last two runs have no logged GPU removal. The wait override did not prevent the repeated pool/Prestream stop. Cache contents evolved, so their durations are not a controlled timing comparison. All these results still have no confirmed character control. W/right-stick diagnostic holds were released; frame changes alone may be cutscene motion or target selection.
Preview source:
github.com/likecrank-dotcom/VIctory@b806ad8750. Ported cat4blep519c2c0/45e524c over ec83015, retaining multi-plane compositor/depth twins/buffer states. Settings-only fixture without Player progress; loop limit32, NO_WATCHDOG=1, PREVIEW_SCENE_COLOR=1, PREVIEW_SCENE_DEPTH=1; PRESENT_1440P and DUMP_TARGETS disabled. The native black-frame probe remains before preview and may report black while the diagnostic window is visible. The settings fixture does not reliably skip legal setup; the transition must be observed.New optional recorder:
github.com/likecrank-dotcom/VIctory@ebb1077. VICTORY_CAPTURE_PREVIEW=1 with VICTORY_CAPTURE folder archives each newly selected preview source after its present returns S_OK. It retains128 normalized, half-size RGB PNGs with matching sequence/source/present-frame/time/resource/format metadata. These are source previews before swap-chain resizing, separate from periodic final-frame captures. No additional GPU readback for this archive: it uses preview pixels already on the CPU. Existing GPU suite85 passed/0 failed/1 ignored; a separate129-update retention/PNG/metadata regression passed. Runtime check saved five readable menu-preview PNG/JSON pairs,0 archive errors; harness stopped at255.6s, still on legal setup. This checks the recorder, not world stability. Debug layer remains unavailable on this host.No game assets, shader binaries, screenshots, raw dumps or full logs uploaded. AI-assisted: OpenAI Codex performed integration, builds, capture inspection and analysis; the hardware owner provided the explicitly identified screenshots and cutscene observations.
@NuraadGit on GitHub · 2026-11-24 16:55 UTC · original
Follow-up on the exposure idea above: ruled out on this card. The passes that run write real values (first 16 bytes of each UAV buffer, from title memory, in the traced world frames):
ComputeLuxCompressionInfo(441d01cd75dc5d5d):[1.0, 1.0, 8.0, 0.125].ComputeAverageDepthWeightedLuminanceFromHistogramCS(e622b718b6d9b057):[0.1, 0.2, -3.3219, 1.0]. -3.3219 is log2(0.1), which looks like a luminance floor (the HDR it measures is zero).So the exposure isn't zero, and a pre-exposure multiply can't explain exactly-zero HDR.
That leaves the lighting setup from my table above as the better fit here. In the traced frame these are all dropped:
tiled_lighting:CS_MaterialTilesInitial(bad01f53,160x90x1);CS_ClusterLightsWorldSpace(d3e5b737);CS_PrescalarizeLightLoop(11eeb27c);shader_binning_utils:CS_GenerateShaderBinOffsets(8dd8d739, 6 dispatches).If no tiles are classified, the tiled lighting pass shades nothing, and its target keeps its clear value: exactly 0.0, sky included, no NaN. The first, second and fourth validate on #439 (offline), so a #439 stack with JMAN730's descriptor fixes is my next title run.
11eeb27cis refused on both stacks (a descriptor's address or format read as data).AI-assisted (Claude Code): the diagnostics and runs were automated. The hardware, title copy and runs are the user's.
@r4tedx on GitHub · 2026-11-24 17:04 UTC · original
@NuraadGit the full hashes of the four, and where each stands offline for a 32-lane host on
integration/testers(local copy of the shader archive, counts and reasons only):2b1a569)94e0ea5)bad01f53f53248e5d3e5b737ea7cc1508dd8d739047fe55711eeb27c2d15980da descriptor's address or format read as dataSo the fourth is refused on our tree too now. The likely cause is upstream
3dd467c(a phi that only another read phi consumes is live): before it, a value without a DXIL form that reached a read through two joins was taken for dead and replaced by zero. On our tree a build with only that rule switched off got back every program lost whenmainwas merged in, but I have not confirmed it for this one program, and I have not disassembled it yet. Whether it really reads that descriptor word, or the join only carries a leftover, is what I am looking at next.The same change costs the tree 147 programs since update 4 in my count (108
a lane mask read as data, 20the first half of an interpolation, the rest descriptor and scalar-memory reads as data): mostly the skinned ped and transform mesh programs and the deferred ped and vehicle pixel programs. If those draws are dropped as untranslated programs are, a run on a current tree would show fewer characters in the G-buffer than one on update 4 or 5; that is an expectation from the count, not something I have seen in a frame.AI-assisted.
@DaviTostes on GitHub · 2026-11-24 17:05 UTC · original
Recorded result from AMD/Wine, including a working target selector, since the earlier AMD data here only confirmed the 1440p scene exists.
Setup: RX 9060 XT (RDNA4, RADV 26.3.1), Arch, Wine 11.22, DXVK 3.1.1
dxgi, vkd3d-proton 3.2.0; r4tedxintegration/testers@da605bc, diag build,VICTORY_SHADER_LOOP_LIMIT=32; package 1.0.2.1, blake3b99f876b…;VICTORY_CAPTURE+VICTORY_DUMP_TARGETS=1at frames 1500–2200.At frame 1800 there are 8 candidate 2560×1440 colour targets (formats 28/29/87/91). Sampling every 64 px:
0x18466c98200x184a6322b0The 3840×2160
f28target and the presentedframe-1800are both mean 0.0, as you reported.The branch's
VICTORY_PRESENT_1440Ppicks the latest target, which on this run was a G-buffer/normal target (normals/character on screen, mean ~72), not the scene. I added a local selector by first-write order (VICTORY_PRESENT_1440P_INDEX) and presenting candidate #7 (f28) puts the world on screen: presented mean 144.9, with terrain/road, a motorcycle and a character — the same scene target your dumps show.Two caveats from the A/B:
So a content probe (or a stable first-write index) plus the #211 compositor looks like the way to make the fallback usable. Not tested: Windows, other frames/builds, longer sessions (world is 0.2 fps and hits #774). No game screenshots attached.
@awab128 on GitHub · 2026-11-24 17:07 UTC · original
RTX 4060 Laptop (8 GB, 32-lane waves):
e18931c72af42e46really translated (no stand-in), and three of the light-setup programs running; HDR targets still exactly zeroTwo data points for @NuraadGit's and @r4tedx's latest, from a tree where these programs run rather than being skipped. Both point the same way: still zero.
Machine: RTX 4060 Laptop 8 GB, driver 32.0.16.2135, i9-13900HX, 32 GB, Windows 11 26300. Own copy of 1.0.2.1.
Tree: r4tedx
integration/testersupdate 7 (7288907) + #783 (61474f6) + #878 (7ab94ab) + PR #953 (c42cbb0) + #916 (8cb0222), plus the change below. Diagnostics build,VICTORY_SHADER_LOOP_LIMIT=32, noVICTORY_PRESENT_1440P, no DRED,VICTORY_DUMP_TARGETS=1.1.
CS_ComputeInfiniteRRIntensitytranslated, not stood inThis removes the caveat about the GPU copy's refresh.
e18931c72af42e46hasthreads: [32, 1, 1]: a wave64 program with no upper half. On a 32-lane host I let such programs take the console flow without halves: one host wave is the whole console wave,wave_size32. Before, they stopped witha whole-wave section of a wave64 on a host without 64-lane waves. The whole-wave reduction is exact: the console's pattern (s_or_saveexec_b64 -1,v_cndmaskwith the identity on inactive lanes, DPP +permlanex16,v_readlane … 32) adds the identity for the absent upper lanes.--host-lanes 32-32, whole archive), exactly three programs change outcome, all from refused to emitted:CS_ComputeInfiniteRRIntensity,LuminanceFromHDRBinkCS(8ab9a11c) andShallowWaterSim:CS_GenerateDisturbOverlappingPairs. Compute goes 2297 → 2300, and nothing else moves.whole_wave_sections_in_partial_groups_still_stop(48 threads still stops) gives exact 32- and 20-thread whole-wave sums on the RTX 4060.e18931c72af42e46gets a host pipeline and is bound from frame 1699 on.The change is one local commit; I can put it on a fork if it is useful.
2. The light-setup programs from NuraadGit's list, on this tree
bad01f53f53248e5d3e5b737ea7cc1508dd8d739047fe55711eeb27c2d15980da descriptor's address or format read as data23d507cbb6a22e86,b0095eb50222e808an address not from a root parameterResult
Targets were dumped every 10 frames from frame 1700 to 1840 (15 frames, sampled every 4 px):
So with the intensity record written by the real program, and with material tiles, light clustering and shader bins running, the lit targets are still exactly zero.
In the same run these are still refused:
11eeb27c2d15980d(prescalarize);559d9f0184e15fe3,17829ac71aab4e8d,a1b20bc47e3c9597,afeea48bbb9913ad,e8c962358d862e3f,32ed072b9f845048);39f0e9aeb156a61c;0c028454b58543f0,eae3498e6553afa8,b8f3f7979d6bbc50).Of NuraadGit's light-setup four, that leaves prescalarize as the one not yet run alongside the others.
Counts, hashes and pixel statistics only; no game data attached. AI-assisted (Claude Code); builds and runs on my machine.
@SantannaCarlos on GitHub · 2026-11-24 17:10 UTC · original
RTX 4070 (12 GB, 32-lane waves), Windows 11, title 1.0.2.1. Diagnostics builds of
mainffe310eplus the PRs below, one world run each (600 s limit, ~470–500 s in the world),VICTORY_SHADER_LOOP_LIMIT=64. Targets dumped 20/60/120 frames after the world's first gather pass, plus a local writer trace (which command writes each 3840x2160 / 2560x1440 target, and whether it was recorded or dropped, and why). Dumped float/10-bit targets are scaled by their largest value, so "white" in a PNG can be a near-black target; the values below are the real maxima.Where the image is lost, step by step
ffe310e, root-SRV and view fixes; for reference)CS_ComputeHitDetectionSkinnedResults(eeed82b877b44b5f) first binds, in that dispatchVS_TiledLighting+TL_PS_*draws recorded, topology 17, no vertex buffer, full viewportWhat each step showed:
CS_ComputeHitDetectionSkinnedResultson the 4070. Without #984 the same stack hangs in that dispatch every run.PS_TAA2_SpatialUpscaleWithDitheringreads the 2560x1440 composite and reproduces it at 3840x2160; the composite is already dark (max 58/1023).Still open on this card (all have owners)
deferred_lighting:CS_ComputeInfiniteRRIntensity(e18931c72af42e46): refused on the #439 stack ("a whole-wave section of a wave64 on a host without 64-lane waves"); #189 translates it. Forcing its record does not light the scene (NuraadGit, above).cascadeshadows_rendering:CS_ShadowRenderTiled*and thecascadeshadows_classifyprograms: not translated by #439, #189 or the wave64-emulation branch (the next step of the #439 line, per its description).avgLuminanceCompute:ColorDownsampleInitCS/ColorDownsampleCS(23d507cbb6a22e86, b0095eb50222e808): "an address not from a root parameter" (the class #1198 addresses).What the tiled-lighting draws read that nothing wrote (writer trace,
main+ the stack above + #1020)With all 181–274 tiled-lighting draws recorded, the 2560x1440 lighting target stays exactly 0.0. Their inputs whose only writer this frame was dropped or untranslated:
TL_PS_*drawsCS_LaserLightShadowRaytracing(32ed072b9f845048)CS_ShadowRenderTiledMiscHairAlphaPPPCCS_ComputeInfiniteRRIntensity(e18931c72af42e46)CS_ScreenProbes_ActivateRays(39f0e9ae…)The 20x12 R8 tile mask the directional variants read is exactly zero here too (as Gargalindis found), although on this stack the classify / reveal / shadow-mask passes are recorded; one classify pass (
CS_ShadowTileBalanceRTCost) is dropped ("a descriptor read only as data"). No tiled-lighting draw reads the auto-exposure output.Offline, at 32 lanes:
CS_LaserLightShadowRaytracingemits and validates with #439's stack + #1198. Onmain, #1198 alone and with #298, #1084, #660, #265 or #728's branch stops at "a lane mask holding lanes elsewhere read as data"; #269 / #878 get it to "a lane-mask join of an untracked mask".avgLuminanceCompute:ColorDownsampleInitCS/ColorDownsampleCSemit and validate with #1198 + #1225 (s_getpc_b64code table).CS_LaserLightShadowRaytracingagain ("an address read from the first lane of a per-lane value"): #1225 reclassifies every address read throughv_readfirstlane, including the BVH node address that #1198 accepted. Details in a review on #1225.Next on this card: a world run with #1198 on top (it conflicts with this stack on the GPU side:
draw.rs,descriptor/host.rs,HostHeap::raw_uav_at).No game data in this comment; counts, shader names and hashes from local runs only.
@Doffi4 on GitHub · 2026-11-24 17:31 UTC · original
AI-assisted testing: I independently reproduced the single-plane swap-chain result on native Windows using the public follow-up head
ea38ddfcbe08ea2df0d1ca112d4250f21e56a966from mpDom/VIctory#1, with local test-only instrumentation.Windows 11 25H2 x64, Rust 1.98.1, debug + diagnostics,
VICTORY_PRESENT_1440P=1. Radeon 780M (32.0.32029.2010), GeForce RTX 5060 Laptop (32.0.16.2101) and WARP: 3 passed, 0 skipped, 0 failed.I extended the branch's synthetic fallback test with two single-plane presents and read the actual DXGI back buffer before each flip. On every adapter the completed red target produced 2560×1440 RGBA [255, 0, 0, 255] in all 3,686,400 pixels. Presenting the same 3840×2160 primary again without a new candidate produced RGBA [0, 0, 0, 255] in all 8,294,400 pixels. Both DXGI Present calls returned S_OK. The existing fixture also exercised its reset-list, overlay and small-primary cases, but the new pixel assertions apply only to the single-plane pair.
This corroborates the Wine result on native Windows. No game files were used. The test does not identify the title pass that should write the 4K primary.
@ChruutvoLuzi on GitHub · 2026-11-24 17:32 UTC · original
A target pick that needs no index, from an RTX 4090 (driver 621.01, Windows 11 26200): r4tedx
integration/testersupdate 9 (94e0ea5) with #1267 merged, diagnostics build, DRED off,VICTORY_PRESENT_1440P=1,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_NO_WATCHDOG=1.On this tree the window went black a few minutes into the world, once frames reached about 4,700 draws. The fallback presents the last 2560x1440 colour target bound, and there that was an empty one, as in @rocobalt1's recording and @DaviTostes's table above.
I changed the pick to the 2560x1440 colour target with the most draws this frame. The draw path already loops over the bound render targets for every draw, mesh dispatch and indirect draw (
prepare_forindraw.rs). There it now counts one draw for each candidate that is bound, andtake_1440p_targetpresents the candidate with the highest count. Ties go to the last one bound, so a frame without draws behaves as before.Over 13 minutes in the world with no device removal, it chose the same target in every frame except three stretches of 3 to 10 s, where the best candidate had 0 or 1 draws (black for those seconds). That target took about 1,750 to 2,000 of about 4,100 draws per frame. It shows objects in false colour (poles, power lines, a fence, a trash can, a car outline) but no ground or buildings. I had no target dump in this run, so I can't say whether it is the target DaviTostes found as #7. The pick needs no index per run and doesn't depend on resource addresses. Holding the previous pick while the best candidate has almost no draws should remove the black stretches; I haven't tried that yet.
The change (diagnostics builds only)
AI-assisted (Claude Code).
@KingKaom on GitHub · 2026-11-24 17:32 UTC · original
Native Windows, RX 9070 XT (RDNA4): the lighting-setup programs run and the HDR accumulation is still exactly zero
First RDNA4 data in this thread on native Windows (our earlier AMD data was Wine/vkd3d; the RX 6750 XT report here is RDNA2). Measurement only, no new theory.
Tree. The surviving stack from #59 —
ffe310e+ #452 + #431 + #67 + #584 + #493 (head7bce296) — with #180 and #1084 merged on top (test head450b889, both merge clean). Diagnostics build, debug layer + DRED + per-frame trace + target dumps at presented frames 1650/1750/1850. Two clean runs, 885 s and 468 s in-world at ~1 fps, zero device removals. 339 distinct shader refusals in the run.Where the picture stands at world frame 1750 (target dumps, sampled):
PS_TAA2_SpatialUpscaleWithDithering(pixel4f4ec7b16673362f) reads a 2560x1440 f24 plus a placed 64x64 f56 LUT and writes the presented 4K target, and it runs every frame — never refused, never dropped. One difference from the RTX 2080 report: our two dumped 2560x1440 f24 targets are not near-zero (means 127/1023 and 72/1023, vs 0-4/1023 there).The new datum. Per-shader translation lines from the same run, for the programs this thread has been chasing:
CS_MaterialTilesInitialbad01f53f53248e5— translated, never droppedCS_ClusterLightsWorldSpaced3e5b737ea7cc150— translated, never droppedCS_GenerateShaderBinOffsets8dd8d739047fe557— translated, never droppedCS_ComputeInfiniteRRIntensitye18931c72af42e46— translated, never droppedCS_PrescalarizeLightLoop11eeb27c2d15980d— refused:a descriptor's address or format read as data(the only one of the five not running here; matches r4tedx's update-9 offline status for it)6318f669e4f17d65and4f4ec7b16673362f— translated.So on a third machine family, with four of the five lighting-setup programs running and the RR record translated, the HDR accumulation is still exactly zero — consistent with @awab128's NVIDIA negative rather than with the dropped-setup-programs explanation. Our remaining in-world refusal set is the lane-mask and SGPR-address families, not lighting setup: the zero-HDR cause, if it is a refused shader, is not among the programs this thread has eliminated so far.
AI-assisted (Hermes Agent). Counts, hashes and pixel statistics only; no game assets attached.
@SantannaCarlos on GitHub · 2026-11-24 17:35 UTC · original
Addendum, same 4070 setup, with #1198 on top of the stack above (#439 line, no #1225):
CS_LaserLightShadowRaytracingnow translates, runs before every tiled-lighting draw and writes the 3 KB buffer they all read, and the lighting target is still exactly 0.0. So that pass is not what keeps it dark here. What the tiled-lighting draws still read unwritten:CS_ShadowRenderTiled*,CS_ShadowUnifiedClearRaster) is refused here (wave64 in groups of more than 64 threads);CS_ComputeInfiniteRRIntensity(not translated on the #439 stack; #189 translates it) and read the hair shadow buffer fromCS_ShadowRenderTiledMiscHairAlphaPPPC(same refusal).In this run #1198 also took the world from 0.5–0.6 to 0.2 fps on this card (one run).
@MichonGoddijn231849 on GitHub · 2026-11-24 17:39 UTC · original
The list of dropped and refused hashes from a world frame you asked for, plus what happened when I ran #645's shaders on an RTX 5080.
Setup: RTX 5080 16 GB (32-lane waves), driver 610.74, Ryzen 5 7600, 32 GB RAM, Windows 11 build 26200, retail 1.0.2.1. Diagnostics builds (
--profile diag --features diagnostics).1. Hashes from your section 2 and 3 that do not translate in a world run
Tree: mpDom's
pr/present-1440p-fallbackatd6897fa(your integration stack plusVICTORY_PRESENT_1440P),VICTORY_SHADER_LOOP_LIMIT=32. The world draws (street scene in the 2560x1440 targets, 1,300-1,800 draws per frame, about 1 fps); 111 shaders untranslated in total. 24 of your 30 are among them:191ecaed66eea3b11d44a723bdebbf2720b78ee12ecdb57d240cb516c1af0bc331d703207b51549a466ec41d3f9d24c056f3bf2d9388e5a765de113e23fa4fdd804b342cb4b9d1e9922e1d0ee1e19a85ab5455fc6abb804fabd7a22106898c66b4b0427232707598be6ce5d849d51127ce79e9eba7ae0348d7db57731ada919bf133e35efed2a48afa0bd10a35bfef3c0c028454b58543f0b8f3f7979d6bbc50eae3498e6553afa8console wave64 lanes in a group of more than 64 threads on a host without 64-lane waves23d507cbb6a22e86,b0095eb50222e808(an address not from a root parameter)e535cfd7baac93b8(an LDS write of bytes or halves)2. With #645 (your
testers/black-scene-u5-645) the three shaders translate, and the device is removed when they are first usedMerged onto
d6897fa,23d507cbb6a22e86,b0095eb50222e808ande535cfd7baac93b8translate (9 untranslated shaders at that point instead of 111). Their first bind is at frame ~2,390 on the story loading screen, and about 0.1 s later the device is removed with0x887A0001(DXGI_ERROR_INVALID_CALL), in every run.The D3D12 debug layer (
VICTORY_D3D12_DEBUG=1) names the call:So a title descriptor of an empty range reaches
CreateUnorderedAccessViewwithNumElements = 0. Leaving such views out indescriptor/host.rs(buffer_uavand, the same way,buffer_srv) fixes it here:With that guard the run gets past the loading screen into the world (the guard fired once,
first=2599336).A bisect over
testers/black-scene-u5-645(with the launcher's run judged by "world reached" vs "device removed") first blamed81284f4(the s_buffer descriptor-data merge). That merge also makes shaders of this group translate and hits the same invalid call.d0e14cb(#645 on6f1c30b, without the s_buffer merge) crashes the same way, so the zero-element view is the cause, not either merge.3. With #645 merged, the wave64 mesh hang from #778 comes back
With the guard, about a minute into the world (opening credits) the device is removed with
DXGI_ERROR_DEVICE_HUNG. DRED: list stopped at command 346 of 373,DispatchMesh3, mesh51ff151f75cd5759, pixel7fe75645c406cac6(the pair in #778's run A).d6897faalone with the sameVICTORY_SHADER_LOOP_LIMIT=32does not hang there (about 6 minutes in the world). I didn't find which part of the #645 branch's base brings it back.4.
shader/wave-per-groupdoes not merge ontod6897faAbout 80 conflict hunks across
emit/lower.rs,emit/mod.rs,structure.rsand the tests (the other wave64 stack), so I could not run the tiled-shadow fix in the title.Counts, hashes and log lines only; no game data. AI-assisted (Claude Code); the runs, logs and the debug-layer message are from my own machine.
@r4tedx on GitHub · 2026-11-24 17:42 UTC · original
@MichonGoddijn231849 thank you, that is the run this branch needed and both failures are useful. What I can say to each from here:
2, the zero-element view. Agreed on the cause and on your reading of the bisect. The same guard is in
integration/testerssince update 9 (94e0ea5):buffer_srvandbuffer_uavindescriptor/host.rsleave out a view of no elements (it came in with #193's later changes).testers/black-scene-u5-645predates that and does not have it, so that branch should not be used for title runs as it stands; the #645 changes are being moved onto update 9, where the guard is already present.3, the mesh hang. I can't locate this from here. Two facts that narrow it a little: mesh
51ff151f75cd5759and pixel7fe75645c406cac6already validate offline on the tree without the #645 branch, so they are not newly translated by it, and the #645 commits themselves only touch address tracing for buffer accesses. The branch's base differs fromd6897faby more than #645, though: root arguments read from the spill table (#489), root UAVs as bounded tables (#294), indirect rectangle draws (#346), #704 and the scalar-buffer descriptor data. Each of those makes draws or dispatches run that were dropped before. If you have the time for one more point,testers/black-scene-u5(903500f, without the scalar-buffer merge and without #645) againstd6897fawould say whether it is in that first group. I have not reproduced it and will not claim a cause.4, wave-per-group. It is not in
integration/testersyet (update 9 is the head); it is being merged there now, on the tree's own wave64 stack, so the tiled-shadow programs should be testable from the tree rather than through a manual merge.Your list in 1 matches the offline status exactly (18 of the 19 render programs, the three classify programs that are bound, the two exposure programs and the frame-statistics one), which is a good sign that the offline count describes what the title asks for.
No title data here beyond the hashes already in this thread. AI-assisted.
@SkillIssueXO on GitHub · 2026-11-24 17:58 UTC · original
@r4tedx Native Windows Series S follow-up on the desktop RTX 5070 Ti (621.24, Windows 11 26300.9974, title 1.0.2.1). Diagnostics builds with loop cap 32, normal presentation, DRED off, and the same four culling hashes skipped as in my update 9 run.
94e0ea5+05c7cbb. Six whole-wave tests passed.e18931c72af42e46changed from refused to translated with a D3D12 compute PSO in the live title. At frame 1210 the credits and subtitle were visible over black. All three captured 720p/1080p RGB float targets (formats 10 and 26) had raw low/high of 0.0. The 18 bound tiled-render hashes and the three bound classify hashes from this thread were still refused.11eeb27c2d15980dwas still refused.e234090+f7db493+05c7cbb. Offline validation on the title archive emitted and validated 18 tiled-render programs.CS_ShadowUnifiedClearRasterstill refused the multi-wave group. Two live runs, the second with the cache copied from the first, ended with title access violations at about 48 s and 45 s. Neither yielded a comparable mission frame.AI-assisted (Codex and Claude). Statistics, revisions and shader identifiers only.
@Rezwo on GitHub · 2026-11-24 18:01 UTC · original
@SantannaCarlos, in your RTX 4070 trace the reveal pass was recorded but directional lighting still read an all-zero 20×12 mask. The CrossOver report also reports the upstream shadow masks are already zero on that build.
If you still have the 4070 trace, does it include one matching frame with the
CS_ShadowRevealTilesdispatch and the first directionalVS_TiledLightingdraw that reads its output? A frame/submission number, matching output/read resource IDs, and whether the shadow mask input immediately before the dispatch and the 20×12 output immediately after it were zero would be enough, if those stats were captured. That would distinguish a zero upstream input from a nonzero input producing an empty tile mask on this build. No new run, full log, captures, or game files needed.AI-assisted (Codex).
@ghost on GitHub · 2026-11-24 18:09 UTC · original
AI-assisted (Claude Code). Same machine as my comment above (RTX 5080, 32-lane waves, Windows 11); counts only, no captures.
A non-zero lighting target on a 32-lane card. Follow-up to my comment above and to @SantannaCarlos's list of what the tiled-lighting draws read unwritten.
Result
At the 21st world frame of the opening scene, the tiled-lighting pass's second render target (2560x1440, DXGI format 42, the packed light accumulation the pixel stage exports as
mrt1) holds about 706,000 non-zero pixels (largest value 0.35 read as float): a walking figure and light on scene surfaces. It was exactly zero in every earlier run here.What is still zero: the pass's first target (2560x1440
R16G16B16A16_FLOAT), also in copies taken right after each lighting draw, and the presented frame (black with film grain). So the scene is not lit on screen yet.What it took, on top of the tree described above
cascadeshadows_classify,cascadeshadows_rendering:CS_ShadowRenderTiled*). A local extension of #439's console flow translates them: the two-dword exchange between the halves of one console wave becomes a bounded meeting per console wave (per half: two value slots by exchange parity, a post count, a gave-up flag; a half posts, then polls the other half's count atomically up to a limit). In such groups LDS is ordered by the program's owns_barrier. On my set of 130 containers that still failed, pipelines created went from 2 to 28, none lost; all 27 "more than 64 threads" refusals are gone.ds_bpermute_b32in 32-lane halves (as #573) forshadowmask:CS_GenerateShadowMasks_Checkerboard_NoHair, and a constant-index form of the code-table address for the twoavgLuminanceComputeprograms (the class #1198 addresses).What the chain does with all of that in
Per-frame pipeline statistics on the directional lighting variant (
TL_PS_PBR_MATERIAL_STANDARD), 720 vertices in:It alternates frame by frame with the no-directional variant. I do not know yet whether that is the title or an instability on my side.
Host-side buffer contents along the chain at the third traced world frame (non-zero dwords in the first 64 KiB of each host copy): classification tile counts 23 of 50, raster list counts 4 of 375, the two shadow-mask buffers 13,376 and 16,384 of 16,384. One caution for anyone tracing this: counting in title memory misleads, because what compute writes is only there after copy-back. I first read these as all zero for that reason.
Limits, stated plainly
valu_testsfail on this tree and I have not yet confirmed they failed before the change.copystat).Next on my side
The pass that should combine the accumulation into scene colour (
PS_SSSResolve, 12 indirect rectangle draws with the D16S8 target whose stencil a compute pass writes). And porting item 2 onto #439's branch as a PR, once the four tests are accounted for.@KingKaom on GitHub · 2026-11-24 18:20 UTC · original
Native Windows RDNA4 (RX 9070 XT): the most-drawn 2560x1440 present gives this box its first visible world — unlit and sparse, but real
Running @ChruutvoLuzi's draw-counting pick (
VICTORY_PRESENT_1440P+ present the target with the most draws) on our machine, on a different tree than the integration one:ffe310e+ #452 + #431 + #67 + #584 + #493 + #180 + #1084 (diagnostics build). The cherry-pick onto this tree needs ~25 lines adapting its present hook to a single-plane present path (the branch assumes the multi-plane refactor).Measured at world frames 1650/1750/1850 (three captures, camera advances between them):
0x887A0006, 28-list submission, same breadcrumb compute as our last two runs), zero page faults — the survival variance already reported on #59, nothing new there.AI-assisted (Hermes Agent). Captures, counts and log lines only.
@SkillIssueXO on GitHub · 2026-11-24 18:11 UTC · original · edited 2026-11-24 18:22 UTC
Follow-up to my earlier run. On the same RTX 5070 Ti (621.24), title 1.0.2.1, native Series S, I added a trace that records the first completed D3D12 submission for each split-wave dispatch. The test build uses update 9 plus the isolated wave changes (local 5d93b88), loop cap 32, the same four culling skips, and normal presentation.
0x507c493. The faulting lookup used0xffffffffas a table index, loaded from the record the title was decoding. The earlier failure was a near-null read at title RVA0x4f42240. The source of the invalid record and any connection to GPU work are still unverified.0x521501areading a reserved, uncommitted address. This control shows that a title access violation can occur without any split-wave GPU work.CS_ShadowUnifiedClear*variants use 16×16×1 threads, 512 bytes of LDS and one group barrier. The raster count and result passes use 1024×1×1 threads, 3,584 bytes of LDS and two or three group barriers. As an independent compiler check, XCL atb7aa9f3created RTX compute PSOs offline with wave64 splitting for both unified clears and the raster count/result pair. This verifies PSO creation only. It complements Gargalindis’s live workgroup-preserving result.AI-assisted (Codex and Claude). Counts, shader identifiers and behavior only.
@SantannaCarlos on GitHub · 2026-11-24 18:24 UTC · original
@Rezwo yes, from the latest 4070 run (the stack in the addendum above plus r4tedx's wave-per-group branch and a local indirect-dispatch patch, so the cascade-shadow passes are recorded too). Title frame 2879, 20 frames after the world's first gather, everything below recorded:
CS_ShadowRevealTilesInitial(5741294cf872ffb9), dispatch 160x90x1 in list0x26711ce7130: reads the 2560x1440 R8 shadow mask (format 61, object0x2688dcc9400, title0xfd9b20000) and a 2560x1440 format-41 target (title0x1069e50000); writes a 160x90 R8 UAV (object0x2688dcd0a20, title0x101bc40000).CS_ShadowRevealTiles(f11c3ddeaeb7d602), dispatch 20x12x1, same list: reads that 160x90; writes the 20x12 R8 UAV (object0x2688dcd0340, title0x101bc10000).0x26705a9ed50, first command), indirect kind 0,VS_TiledLighting25ebc92075b62822 withTL_PS_PBR_MATERIAL_STANDARD1cd9bc634417a981.All three resources (the 2560x1440 mask, the 160x90 and the 20x12) are zero in every pixel. Caveat: our dumps are taken at the end of the frame (at present), not right before and after each dispatch, so this does not separate the two cases strictly. What the trace adds: the 2560x1440 mask has 19 writers in that frame (one dropped); the last is #4889,
CS_ShadowRenderTiledMiscHairAlphaPPPC(indirect, recorded), and on this stack the classification passes before them that use LDS and a group barrier (CS_ShadowUnifiedClearRaster,CS_CalcRasterClassificationListCounts,CS_WriteRasterClassificationResults) are still refused. So the upstream input being zero is the likelier case here.@lines9686-rgb on GitHub · 2026-11-24 18:27 UTC · original
@Gargalindis, on your next step (
PS_SSSResolveand the D16S8 target whose stencil a compute pass writes): we hit that class on an RTX 3060 Ti and have it working. I think it is also why the tiled lighting draws pass nowhere even after #1020.What
maindoes.resource.rshost_texturedrops UAV use from any depth target.descriptor/host.rsthen turns the title's UAV on it into a null view, so every compute write to a depth or stencil plane is lost. The log lineview the host does not allow unordered=true format=53 flags=2prints once per call site, so it is easy to miss. In a traced world frame on our tree, 5 dispatches write 4 depth-family textures through 6 UAV bindings. The one that matters is the 2560x1440 console 16-bit depth + stencil (title format 118, host D24S8):GenerateMaterialMasks(f0c91b4d2578f5bf) andCS_MaterialTilesInitial(bad01f53f53248e5) write it through an R16_UNORM view of plane 0, the per-pixel material id, and through an R8 view of plane 1.DepthEnable=1, DepthWriteMask=0, DepthFunc=EQUAL, StencilEnable=0. A lighting quad lands only where the depth equals its material id.With the writes dropped, the depth stays at its clear value, EQUAL fails everywhere, and the lighting targets stay exactly 0.
Two pieces beyond #469 / qntic's stencil twin (those cover D16/D32 depth and the stencil plane, not plane 0 of a D16S8 on a D24S8 host):
SV_Depthpass moves it into the depth before the next DSV/SRV use, with a compute pass for the other direction.k/65535by half a 24-bit step misses. A host test shows draws at(k+0.25)/65535pass nowhere on D24S8 and everywhere on D16. So the console's 16-bit depth + stencil formats (118–120) become host D16 with the stencil in its own R8 texture: stencil views and clears go there, depth views drop READ_ONLY_STENCIL, and the twin is copied withCopyResource. Nothing in the lighting PSOs tests the stencil. A draw that does is logged once.Measured on our tree (RTX 3060 Ti,
VICTORY_LOCAL_DEPTH_UAV=1 VICTORY_LOCAL_D16_DEPTH=1):unordered access view of a depth target ... served="twin");Direct lighting is still 0 here, for a reason upstream of all this: on our tree the mesh draws barely write the main depth. Its stencil is 99.7% written and its depth 0.3%, so
GenerateMaterialMaskssees sky almost everywhere. Your tree may not have that problem. We're tracing it.Code:
lines9686-rgb/VIctory@depth-uav. It is on our integration stack, not onmain. The relevant commits, in order:61e09fe(#469, AnoHunted), thenac2e1e8and2840bb8(qntic'spub/depth-stencil-uav), authorship kept;8fa69a4(switch, logs, stencil dumps),ed6f17f(16-bit plane-0 twin + passes),0b9a0f6(host D16, stencil apart).Each comes with host-GPU tests: compute writes through the title's views, then stencil-EQUAL / depth-EQUAL draws colour exactly the written texels, and they fail with the twins off.
cargo test -p victory-gpu --libpasses, clippy-D warningsis clean both ways, and the debug layer is clean. Happy to port the three tomainor onto #469 if that is more useful.AI-assisted (Claude Code); measured on my machine with my own copy, nothing from the game attached.
@ghost on GitHub · 2026-11-24 18:28 UTC · original
Correction to my comment above ("A non-zero lighting target on a 32-lane card"). The headline claim is wrong.
I said the tiled-lighting pass's second render target held about 706,000 non-zero pixels. I had matched that target by format and position in the dump, not from a trace of that run. A traced run of the same frames shows the lighting draws' actual pair of targets, and both are exactly zero:
TL_PS_PBR_MATERIAL_STANDARDandTL_PS_NoDir_PBR_MATERIAL_STANDARDdraw binds one 2560x1440R16G16B16A16_FLOATtarget and one 2560x1440 format-42 target;The non-zero format-42 target I reported is a different 2560x1440 target of the same format, written by another pass that I have not identified. Its content varies a lot between runs (706,000 non-zero pixels in one, 912 in the next). So: no lit lighting target here either. I am sorry for the noise.
What in that comment still stands, re-checked against the traced run:
ds_bpermute_b32lowering in.And one thing learned that may save others time: the lighting pipelines here have blending off, no stencil test, depth test EQUAL with depth writes off against a D24S8 view, and both targets written with mask 15. So when their pixel stage runs for hundreds of thousands of pixels and both targets stay zero, the pixel stage is exporting zeros (or every pixel fails the depth-equal test after the invocation is counted). I do not know which yet.
@erLCoder on GitHub · 2026-11-24 18:29 UTC · original
Turing/Windows 10 reproduction of update 9, with the Present and HDR resources correlated by ID.
Setup. Physical GTX 1660 Ti (6 GiB, NVIDIA 581.42, WaveOps 32..32, SM 6.8), Windows 10 22H2 19045.6466, Agility SDK 1.620.2, title 1.0.2.1 in Series X mode. The archived control is the #189 stack at local
93bbf0eb4e4adbf30ee122a5dc15c93c3ec524f1. I built r4tedx's94e0ea56d358495843511dc10250b88c629c2c77with only the Agility exports, then ran the same revision with a local diagnostics port of #638 (baa7f4654d5078463569cf0d79c42875c86f5fc0), Present source logging following9a10d7a, and raw half-float RGB counters. Both runs used DRED, loop limit 32 and the regular Present path. TDR settings were untouched. The trace used a copy of the first run's image cache and host PSO library.Trace. Presents 12497, 12498 and 12527 each submitted one 3840×2160 RGBA8 plane. The game's
4f4ec7b16673362fupscale draw targeted the two alternating resources used for that plane. In recording order the draw targeted the other resource in frames 12498 and 12527, so I correlated the IDs across frames. Its 2560×1440 R10G10B10A2 input reached a raw RGB maximum of 0, 0 and 4 out of 1023 in those three captures. The 64×64 f56 LUT had data. Frame 12527 had subtitles/UI over a near-black image (mean RGB 0.77/255).5970ee6dbc47ec61. It bound zero-RGB 2560×1440 and 1280×720 RGBA16F inputs in frame 12527. The full-size input was written byCS_TAA2_Resolve(df11dcd012cd7382), which itself bound a separate full-size RGBA16F input with 0 nonzero RGB components out of 11,059,200 and 0 non-finite values. A separate f28 G-buffer surface had data. This is end-of-frame readback; several commands write the upstream HDR surface.efc24eb5fd16cf7ain the preceding traced frame. Range contents and the reason that PSO was unavailable are unverified.11eeb27c2d15980don descriptor address/format read as data ande18931c72af42e46on a whole-wave section on a 32-lane GPU. The trace identifies their attempted outputs as a 320×180 f42 UAV and a 16-byte buffer respectively. Their contribution to the zero HDR input still needs a producer/consumer readback.Run bounds. 780 s clean and 1,050 s with tracing, both stopped at the configured limit, with zero recorded device removals or host PSO refusal warnings. In measurement windows with at least 200 executed draws/frame the clean run had median 2.61 s/frame and 1,049 combined drops/frame, and the trace had 3.53 s/frame and 463 drops/frame. The workload, cache and readback differ between the runs. Peak per-process dedicated GPU usage was 4,717 and 4,943 MiB respectively. There were 77 and 68 distinct shader translation refusals, with hundreds of PSOs still pending in both observation windows.
I also ran #1020 at
39e056afa921cfb74f770729428ab0155ad36a77in its own worktree with test-only fail-fast checks for DXC and the NVIDIA LUID. Both synthetic tests ran. Adding the geometry stage changed coverage from 28 to 64 pixels in both 8×8 cases. This only confirms the synthetic rectangle case on this hardware.Measured locally with Codex assistance. Figures, pass names and hashes only.
@SkillIssueXO on GitHub · 2026-11-24 18:36 UTC · original
Series S check on the texture-dump question, using the same RTX 5070 Ti and VIctory stack with a warm cache. A local diagnostic substituted the current 1280×720 BGRA8 (f87) target for plane 0 on three selected frames, keeping the submitted overlays. The original plane 0 was 1920×1080 on all three.
Means are in 8-bit units. In the first two cases the presented frame shows the geometry and false colours of the same-frame f87 target, matched by resource ID. Their downsampled luma correlations were 0.990 and 0.984. The false colours survive the live presentation path on this profile, so the target dump conversion alone cannot account for them. In the third case the compositor output was all zero despite a nonzero matched source, so the substitution did not consistently make the scene visible. The sampled 720p/1080p floating-point RGB targets on frames 1209 and 1210 were still zero.
Measured locally with Codex assistance. Statistics only.
@NuraadGit on GitHub · 2026-11-24 18:36 UTC · original
@r4tedx on your question about
11eeb27c2d15980d(CS_PrescalarizeLightLoop): it's a leftover, not a real read.v_med3_u32 …, 0, 11, so M0 never names anything past v14.v_bcnt_u32_b32 v15, v4, 0at 0x4b4.operand_readspassed that on. So the overwrite of v15–v18 looked like a read of the descriptor copy.The fix keeps that implicit read in the IR builder, where the EXEC-masked lanes need it.
operand_readsnow returns only real operands. Instructions that compute with their destination still list it:v_*mac_*,v_dot2c/v_dot4c,v_interp_p2*,v_permlane*,v_movrel*,v_writelane_b32. A 16-bit write still passes the other half on.Branches (one commit each, on top of the M0-relative array commit):
94e0ea5):NuraadGit/VIctory@shaders/movrel-unused-descriptor-copy-testers, head2a5c417main:NuraadGit/VIctory@shaders/movrel-unused-descriptor-copy-main, headc1c3fbcCensus, offline (local copy of the shader archive, counts only):
--host-lanes 32-3211eeb27cmain11eeb27cThe IR instruction counts of all other programs are identical.
cargo test -p victory-shader --lib: 252 passed on update 9, 121 on main (0 failed). The new test reuses the array's registers (write without read, andv_fmac_f32as the case that must still refuse). On update 9 it fails with the fix removed. I haven't repeated that check on main.Caveats:
operand_reads; keep this version.AI-assisted (Claude Code); counts only, nothing from the game attached.
@lines9686-rgb on GitHub · 2026-11-24 18:43 UTC · original
@NuraadGit @r4tedx, on
11eeb27c2d15980d(CS_PrescalarizeLightLoop): that matches what we found. We have a fix that makes it translate: commit261b653onlines9686-rgb/VIctory@depth-uav, "Shaders: a descriptor dword that only fills an M0-indexed VGPR array reads 0".v_movrels/v_movreld) indexes reads 0. Any other data use of a descriptor dword keeps its refusal.11eeb27c2d15980dnow emits, validates and gets a 32-lane pipeline.ran dispatch 40x23x1reading the 320x180 tile textures and writing the 320x180 R32_UINT output.The code applies cleanly on
main. Only the test file conflicts, because the tests sit inemit/split_tests.rs, which comes with #439. I can put it on a branch offmain, or on top of #439, whichever is more useful.AI-assisted (Claude Code); measured on my machine with my own copy, nothing from the game attached.
@Rezwo on GitHub · 2026-11-24 18:44 UTC · original
Thanks for the frame-2879 trace. I put together an opt-in probe that can distinguish a zero input when the reveal dispatch reads it from a texture that's only zero by Present:
github.com/Rezwo/VIctory@41c85b51a5.If you're already doing another diagnostic run, set
VICTORY_DISPATCH_PROBE=<recording-frame>:5741294cf872ffb9on a build with the probe. Use the frame from that build's recording trace; 2879 is only the previous run's example. It logs the bound R8 resource IDs, nonzero counts and raw maxima immediately before/after the selected direct dispatch, after the host fence. No screenshots or game data needed.Synthetic WARP check: a half-filled input read 32 nonzero pixels, the immediate output read 32, and a later clear of that same output left 0 at the end of the list. This was tested on the upstream base, not your integration stack or the title. No need to rerun just for this.
AI-assisted (Codex).
@erLCoder on GitHub · 2026-11-24 18:44 UTC · original
Follow-up to the prior update from the archived update-9 trace. Base
94e0ea56d358495843511dc10250b88c629c2c77, with the local diagnostics port of #638 (baa7f4654d5078463569cf0d79c42875c86f5fc0). Trace EXE SHA-25672BE4AFC83230B9E377C14E94FC280B526EFD2097C523D15C857F01E302AA413.dropped UAV producerentries forefc24eb5fd16cf7acome from the compute dispatch branch that returns when the host PSO lookup yieldsNone. First bind reported a 2,176-byte compute container. Neither archived log shows a completed translation or a host PSO refusal for this hash. The compute builder translates before creating the root signature and host PSO, so the drops point to unfinished PSO work before translation returned. The logs do not distinguish a queued job from an active translation.CS_ClusterLightsWorldSpace(d3e5b737ea7cc150,5×5×30) binds0xd934b0000+0xa0000at SRVs0+24. Later in that frame the dropped dispatch would bind0xd96d08000+0xa0000at UAVs1+48. In 12498 the consumer binds the latter range and the dropped producer targets the former. By 12527 the consumer is back on0xd934b0000+0xa0000. Its output UAV is 1,536,000 bytes ats1+16. This establishes the alternating view bindings in recording order. GPU contents, submission order and visibility at the read are unknown. The contribution to zero HDR remains open.Fresh DXGI enumeration confirmed the physical GTX 1660 Ti (
10de:2182,software=false) with LUID00000000:00017870. The requested pre-reboot LUID was00000000:00017c52, so there was no new title run or pre-dispatch readback. No fix was applied. Local trace and source analysis with OpenAI Codex. No game files, captures or dumps are attached.@02dgokberk on GitHub · 2026-11-24 18:52 UTC · original
Found something that may help others chasing the black output: in-engine cutscenes are pre-rendered Bink videos, and they decode correctly — they're just lost at the final composite.
Setup: RTX (32-lane / Wave32 mode),
--console series-s,ffe310e+ #493 #206 #189 #667 #1020 #1215 + MIN_DYNAMIC=1<<18, plus some local Wave32 translation fallbacks.VICTORY_SHADER_LOOP_LIMIT=32, DRED off.What the target dumps showed (
VICTORY_DUMP_TARGETS, frames 3050/3200, during the prologue):VS_Bink*,PS_Bink*,PS_BinkHDR*,LuminanceFromHDRBinkCS) all translate.Workaround to see cutscenes live: a small diagnostic
VICTORY_PRESENT_TARGET=WxH[-fN]: every RTV/UAV bind of a texture with that size (and optionally format) is noted, and while one was written within the last 30 frames it is presented instead of the title's planes (otherwise it falls back to the normal planes). WithVICTORY_PRESENT_TARGET=1920x1088the prologue cutscenes play in the window (screenshot below). It's the same idea asVICTORY_PRESENT_1440P, keyed by size instead of the 1440p target, so it also works in Series S mode.So whatever zeroes the lit scene also zeroes the video composite, which may narrow it to the post-lighting compositing / tonemap / upscale chain rather than only the lighting passes. Happy to share the patch or run more dumps.
@Rezwo on GitHub · 2026-11-24 18:55 UTC · original
@lines9686-rgb Independent WARP check at depth-uav commit 0b9a0f6: the same synthetic 8×8 compute-to-stencil test with an explicit plane-1 UAV gave 0 of 32 expected pixels on PR #469 (
c47c963) and 32 of 32, with the exact expected mask, on your branch in its default D24S8 mode. The graphics control and separate compute witness both gave 32 on both revisions. Our original plane-0 binding gave 0 on both.All three of your depth-EQUAL tests also passed on WARP, including the precision case where the offset draw passes on host D16 but misses on D24S8. That checks the separate depth behavior, not fixed-function stencil in the split-D16 mode. No game files or title run. AI-assisted (Codex).
@Coinners on GitHub · 2026-11-24 19:17 UTC · original
Update 10 on an RTX 5070 Laptop: the
51ff151f75cd5759mesh hang reproduces ~54 s into the world; skipping the four instance-culling programs, the world holds 8 minutesThis is the run INTEGRATION.md asks for under "What update 9 changes at run time". One run per setting.
Machine: RTX 5070 Laptop GPU (8 GB, 32..32 waves), driver 32.0.16.2124, Windows 11 26200, i9-14900HX, 32 GB RAM. Hybrid laptop: the default adapter is the Intel UHD iGPU, so I merged #967 to get the device on the NVIDIA GPU. Title 1.0.2.1, Series X mode unless stated.
Tree:
integration/testersat4744af9(update 10), plus #967, #393, #1267, #1472, #1277, #172 and a cherry-pick ofededb1b(the shader-test adapter list, so the split tests skip the 16-lane iGPU). #1267 conflicts with #261 inshadow.rs. I resolved it the way it is described on #1267 (parts snapshot plus astoreof the title's bytes after a copy-back). #1472 is ported to #393's per-copy range lists. Workspace tests pass on the RTX 5070 (549). Diagnostics build.Variables (all runs):
VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_D3D12_DRED=1,VICTORY_PRESENT_1440P=1,VICTORY_KEYS=30:Enter.0x887A0006. DRED: list stopped at command 284 of 316, op 42 (DispatchMesh),mesh 51ff151f75cd5759, pixel 7fe75645c406cac6VICTORY_SKIP_PIPELINES=17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5--console series-sfdd56d97a806bccatranslated and had a pipeline in run A's session.main+ #439 + #1433 + #89 + #1349 + #967, no loop limit) hung differently: DispatchMeshmesh 7568b4b35f3f5592, pixel 49f7165e4cfef27a, ~2.5 min into the world.Frame-rate lines, first 4 minutes in the world (averages, diagnostics build):
In B about 270 pipelines stay queued for the whole 8 minutes, and the workers never run out of work after loading. In Series X the 8 GB card is full (7.25 GB dedicated, 7.8 GB shared), and system commit reached 56 GB. I did not run
da605bcfor comparison. Whether the world shows geometry was not checked: these runs were scripted.Counts and messages only, no game data. AI-assisted (Claude Code).
@rafaconvaitis on GitHub · 2026-11-24 19:18 UTC · original
Same-frame presentation readback on an RTX 4070, Series S,
94e0ea5, loop cap 32, normal presentation. I waited for the opening credits on the black scene and read both incoming planes and the final back buffer inside the same PresentX at frame 10638. Both incoming planes had live host textures and usedR8G8B8A8_UNORM.The center covers x25–75%, y20–60%, away from the visible credits. DXGI Present returned
S_OK. For this frame the scene image was already almost black on entry to VIctory's host composition. This narrows the next check to the last writer of the 1920×1080 plane and its upstream inputs. The readback does not identify that producer or establish the same cause for other configurations.AI-assisted testing on the user's machine. No game files, images or dumps attached.
@Danigamer05 on GitHub · 2026-11-24 19:18 UTC · original
Turing data point for update 10 (
4744af9): RTX 2080 SUPER, 22 minutes, no device removal, G-buffer filled, output blackSetup. RTX 2080 SUPER (8 GB, driver 621.01, WaveOps 32..32, mesh shaders on), Windows 11 Pro 26200, 32 GB RAM, title 1.0.2.1 (blake3
b99f876b…), Series X mode.r4tedx/integration/testersat4744af9, unmodified, diagnostics build. Variables:VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_PRESENT_1440P=1,VICTORY_SKIP_PIPELINESempty, DRED off,VICTORY_ROOT_SRV_MBat its default, menus passed withVICTORY_KEYS(Enter every 3 s).Run. 22 min total, about 19 min in the opening scene, ended by my timeout with the title still running. No device removal, no
E_OUTOFMEMORY, no driver pipeline refusal, nonvgpucomp64.dllexception in the log.0xafa0000+0xae00000, refreshed 24.5 times per frame (4.47 GB/frame), plus 891 MB/frameunmappedand about 280,000 page faults per frame.an address not from a root parameter29,a lane mask read as data21,a scalar memory read as data19,an address from a phi9,console wave64 lanes in a group of more than 64 threads8,an address from a root parameter that is no address8,a descriptor read from the first lane of computed VGPRs4,an LDS write of bytes or halves3.ef5409053e14aa82191, compute5279ae36796c31fc60, compute5062bc7a48e842f860, mesh235e56869c1ea88353, pixel398971d1222d8f9531, mesh4ee6e34d8e008c6331.a root SRV not on 16 bytes reads zerosonce (address=0xd5f20a90c); noa root SRV without a bound view heap, notitle slot past the host heap, nono dynamic slots for its tables.Targets (
VICTORY_DUMP_TARGETS=1, frames 2140 to 2330 every 10; world entry around frame 2150):VICTORY_PRESENT_1440Pthe window showed the scene geometry for a moment a few times during loading (lit-looking glows over false-colour props); the captured presented frames (frame-N.png) are the title's own 1280x720 output and stay black.Without the integration tree, on
mainffe310e+ #578 the same card runs the world without device removal but its G-buffer is empty (wave64 mesh programs refused). Letting those mesh programs run (local switch) fills the shadow map and masks, but the device is removed after about 3 minutes in the world, at a different mesh program each run.No game files, captures or screenshots attached. AI-assisted (Claude Code); the runs were on my machine.
@Rezwo on GitHub · 2026-11-24 19:21 UTC · original
@rafaconvaitis Thanks for the frame-10638 readback. If your existing trace has it, which draw or dispatch last wrote the 1920×1080 slot-0 scene plane before that PresentX, matched by resource ID rather than size or format? The writer's shader hash and whether it ran or was dropped would help. If you already captured its input levels, even zero/nonzero is enough to tell us whether to look further upstream. No need for a new run or a full log.
@lines9686-rgb on GitHub · 2026-11-24 19:22 UTC · original
fxceless/victory-gta6 renders the lit world on an RTX 3060 Ti too, but only with three settings; with its defaults it loses the device during loading.
Setup: RTX 3060 Ti 8 GB (32-lane waves, driver 621.24), Windows 11 26200, Ryzen 5 5600, 32 GB, own 1.0.2.1 copy. I built fxceless/victory-gta6 at
d279e69from source: diag profile,--features diagnostics, default Windows TDR settings.Defaults:
0x887A0005about 70 s in, before the world. The log shows one submission running for 6.9 s, longer than the 2 s Windows allows by default.Working settings:
b83629b90cd2b7bcis new. DRED stopped on it during loading, on another tree as well:dispatch 59x1x1 [compute b83629b90cd2b7bc], list 0 of 1.With these settings:
Two things from our side that may help this fork and
main:image_gather4_lwith a real level (the depth pyramid).3b471c122be79b3e,fc5e66f8f873d3bb,9f017d9011377efa,0452fc2d2e2fc4c3,764ca63daec9c616,87bf9e3f2bf2f052.5192322lowersimage_gather4_land_l_oto fourSampleLevelreads at the footprint's texel centres. The reads go through the title's sampler, use the nearest level within the view's mip chain, keep gather order, and apply the_ooffset. DXIL's ownGatherreads level 0 only, and #694 maps the instruction to it, which samples the wrong level of a depth pyramid.Both are on
lines9686-rgb/VIctory@depth-uav. Happy to port either onto the fork or ontomainif useful.AI-assisted (Claude Code); runs on my machine with my own copy, nothing from the game attached.
@erLCoder on GitHub · 2026-11-24 19:25 UTC · original
Follow-up to the previous
efc24eb5fd16cf7areport. Both runs used update 994e0ea56d358495843511dc10250b88c629c2c77, the same archived image/PSO cache seed, the local #638 port with thea7ccf0674b4122c2ed0153dbd9b03e92d58605bctracker fixes, and regular Present. Physical GTX 1660 Ti10de:2182,software=false, matching DXGI and D3D12 LUID00000000:00017870, Agility 1.620.2. Five tracker tests passed. The Prescalarize changes were outside both builds.73201A7ED25EE8535CF2D10D5133480D525768FAB89AD2EC02977ACD922E9B1F.C8DEEC8B01C988BB9D9DB539EAD58C823C8F1BE348A9442161794BA9B12E7B9B.s1+48after dispatch and ClusterLightsWorldSpace SRVs0+24before dispatch referenced the same host resource at offset 0 with a 655,360-byte view. Submissions/fences 49191 and 49207 ran on the same host queue. Both samples had 163,839/163,840 nonzero 4-byte elements. The ClusterLightsWorldSpace UAVs1+16had 47,960/384,000 nonzero elements in frames 16388 and 16389.CS_TAA2_Resolvefirst bound in the comparison but had no recorded host PSO completion before collection stopped. There was no pre-TAA HDR sample or pre-write baseline for the producer UAV. The in-list copies and UAV transitions can affect ordering, and the counts do not verify lighting values. The dedicated worker is a diagnostic workaround.Readback approach adapted from Rezwo's
41c85b51a5de79e34f2636332cabd32d639be3f3. OpenAI Codex assisted with the diagnostic patch, measurements and analysis. Both runs stopped on collection with no device removal recorded. No game files, captures or raw dumps are attached.@ghost on GitHub · 2026-11-24 19:38 UTC · original
AI-assisted (Claude Code). RTX 5080, same tree as above. Every target below is matched by the pointer the draw binds in that frame's trace, not by format.
The tiled-lighting pass works end to end; its pixel stage computes zero light. And a caution about frame-end dumps of the lighting target.
Four checks on the two enabled variants in the opening scene (
TL_PS_PBR_MATERIAL_STANDARD,TL_PS_NoDir_PBR_MATERIAL_STANDARD), each from a run that logs the pipeline's final state, wraps the draws in queries and copies their first target right after each draw:mrt0 = diffuse × albedo + specular,mrt1 = packed diffuse. Patching the two finalv_cvt_pkrtz_f16_f32to export the diffuse registers gives zero. Patching the threev_mul_legacy_f32 vN, s11, ...before the finalv_fma_f32intov_mov_b32 vN, 1.0("full bright") gives 306,921 non-zero pixels in the float target right after the draw (largest 0.99): the scene's characters in their surface colours.So on this card the open question is no longer whether the lighting draws reach their targets. It is why the accumulated light is zero: for the no-directional variant that is local lights plus ambient (the probe and ray-tracing passes are still dropped here); the directional variant draws tiles only in some frames.
Caution on dumps. In every one of these runs, the frame-end dump of that float target is zero or nearly so, including the frames where the copy taken right after the lighting draw holds hundreds of thousands of non-zero pixels. By the time a dump runs at present, the target has been cleared again (my guess: the next frame's lists have already run; I have not confirmed the cause). A zero frame-end dump of the lighting accumulation therefore does not show that lighting wrote nothing. My own earlier comments here leaned on such dumps.
Still not on screen: with the full-bright patch the presented frame is flat pale blue. I have not traced what happens between the lighting target and the output yet.
The diagnostics used (pipeline statistics plus samples-passed around named pixel shaders, target copy after a named draw, constant stand-in pixel stage, byte patch of unpacked native code before translation) are small; I can open PRs for any that would help others.
@KingKaom on GitHub · 2026-11-24 19:41 UTC · original
RDNA4 with the depth-twin commits: the frame-end HDR dumps go from exactly zero to non-zero, plus a merge recipe onto the non-NVIDIA stack
@lines9686-rgb took you up on the port offer the cheap way: cherry-picked the seven depth-uav commits (
3dc4353..0b9a0f6, depth-uav branch) onto our stack (mainffe310e+ the survival PR set from #59 + #180 + #1084 + the most-drawn present fallback) instead of carrying the whole NVIDIA test stack. One merge conflict (a test module) and one signature fix later, the diagnostics build runs clean — the twin code itself lands essentially as-is on the non-NVIDIA lineage.Native Windows RDNA4 (RX 9070 XT), title 1.0.2.1, diagnostics build,
VICTORY_LOCAL_DEPTH_UAV=1 VICTORY_LOCAL_D16_DEPTH=1, presented fallback on, world-entry frame dumps (capture frames 1650/1750/1850, targets matched by resource handle):0x887A0006, a list stopped at command 4/11 ondispatch 1x1x1 [compute 37e19ccb4f889f63], page fault below all title copies. Frame cost unchanged (933 ms/frame, 698 ms preparing, copies 576 ms/361 MB).AI-assisted (Hermes Agent)
@r4tedx on GitHub · 2026-11-24 19:48 UTC · original
@hazben an update to my fix for
testers/indirect-wave-dispatch: the branch is now at3a9aa1a, ande234090was not enough.A 6,000-record stress test of the split-dispatch argument pass (added in
3a9aa1a) showed thate234090's bounded compare-exchange refused most records under contention on 64-lane waves. On a Radeon iGPU, only 2,771 of 6,000 small records were accepted, with the budget almost unused. It did not hang, but it dropped dispatches.3a9aa1auses the scheme that fork PR #11 measured with 6,000 records on an RTX 5070: oneInterlockedAddper record on a budget word counted in groups, a refund on refusal, records capped at 2^20 groups and batches of at most 63 groups, so the word cannot wrap. Measured on this machine, one run per device, with the stress test checking every output record:Two caveats:
The title was not used in these tests.
AI-assisted
@Danigamer05 on GitHub · 2026-11-24 19:52 UTC · original
@lines9686-rgb, a Turing run of
depth-uavat0b9a0f6, unmodified, diagnostics build:VICTORY_LOCAL_D16_DEPTH=1ends the run with an invalid command at world entry on this card. Without it, the tree holds 20 minutes.Setup. RTX 2080 SUPER (driver 621.01, WaveOps 32..32, mesh shaders on), Windows 11 Pro 26200, title 1.0.2.1, Series X mode. Your settings:
VICTORY_LOCAL_WAVE64_MESH=1,VICTORY_SHADER_LOOP_LIMIT=1024,VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,269b802f878c24e1, DRED off,VICTORY_PRESENT_1440P=1,VICTORY_LOCAL_DEPTH_UAV=1. Menus passed withVICTORY_KEYS.With
VICTORY_LOCAL_D16_DEPTH=1(one run): all four depth UAV kinds were served as twins (title=118 host=53 view=56 plane=0,title=118 host=53 view=62 plane=1,title=19 host=19 view=41 plane=0,title=53 host=53 view=56 plane=0, eachserved="twin"). About 3.5 min after start, at frame 1616 (world entry, 0 to 2 draws per frame just before), the run ended with:The last pipelines bound before it, at frame 1616: vertex
083a02d5871807ac+ pixel1cc673b9ca0a7f9b, vertexdfafaf385b2f94e8+ pixel3fcf2e878b000017, mesh21bd00836e1dfae5+ pixela88fe11942146689. This machine has no D3D12 debug layer, so I can't name the command. A guess only: a PSO whose DSV format is the old D24S8 drawing into the now-D16 depth.Without
VICTORY_LOCAL_D16_DEPTH, everything else the same: 20 minutes, ended by my timeout with the title running, no device removal. World at 1.55 fps (645 ms/frame mean over 167 lines: about 210 ms copies, 220 ms on the GPU), about 4,200 draws per frame. For comparison,integration/testersat4744af9on this card runs the same scene at 0.28 fps, mostly because the 174 MB heap at0xafa0000is refreshed about 24 times per frame there.VICTORY_DUMP_TARGETS=1at world frames 1700 to 2050 saved only 15 to 17 targets per frame on this tree: the 2048x2048 shadow map, the 2560x1440 f28 targets, the f19 depth and small ones. No 2560x1440 f10 or f42 target (the tiled-lighting pair) appears in any of those frames, so the lighting draws never bound their targets here. Two f28 targets also show the large flat triangles across the lower half that I reported forintegration/testers.No game files, captures or screenshots attached. AI-assisted (Claude Code); the runs were on my machine.
@NuraadGit on GitHub · 2026-11-24 19:35 UTC · original · edited 2026-11-24 19:55 UTC
Same result on Turing, with one setting fewer: fxceless/victory-gta6
d279e69renders the lit prison yard on an RTX 2080 (8 GB, 32-lane waves, driver 616.56, Windows 11, Series X profile, diag build of the fork unchanged).VICTORY_SHADER_LOOP_LIMIT=32only. NoVICTORY_SKIP_PIPELINES;eeed82b877b44b5f,269b802f878c24e1andb83629b90cd2b7bcwere all bound and ran here without stopping the card.0x887A0004, reason "invalid call" and no breadcrumbs. The run under the debug layer ended inDEVICE_HUNG, and DRED stops in an indirect dispatch of computecabb87599722e59a(ptfx_CS_lightAtlas_NonLocalLights_Sprite), at command 69 of 78. Details, including the debug-layer messages, are in fxceless/victory-gta6#5.VICTORY_RELAY=2).the host device went while buffer views of the heap were made, which narrows it to a batch of up to 64 views or whatever else ran at that moment. I'm running the debug layer on it.6a2d9f9introduced, ande9765a7turns that form off (fxceless/victory-gta6#5). I'm testing that head on this card without the limit.(Edited: I first said here that #984's raw-versus-structured mismatch is why the fork needs the limit, and that I'd try #984 on it. After reading the fork, I don't think that follows.) The fork handles that mismatch from the other side: it makes the title's structured buffer views raw on the host whenever their bytes start on 16. With #984 on top, those raw views would be read as structured. What stays structured there is a view whose start isn't a multiple of 16, so that is what I'd count next. I haven't measured whether
cabb87599722e59ahas one. The fork's default limit for compute is also 4,096 rather than 2^20, so the limit of 32 isn't the difference between a bounded and an endless loop.For
main, see LooperSalty/AnyXboxX#164 and the #984 thread, where a scalar-only change still hung an RTX 2070 SUPER and #984 plus #986 together did not (the reporter couldn't tell which of the two parts was needed).AI-assisted (Claude Code); counts only, nothing from the game attached.
@MD5Visual on GitHub · 2026-11-24 20:05 UTC · original
RTX 3090, mpDom present branch: two clean runs, the presented image is the 1440p target, and 94 % of mesh dispatches are handed zero-group records
Setup. RTX 3090 (24 GB, driver 610.88), RTX 2070 SUPER as the display adapter; the 3090 is selected locally by LUID. Windows 11 26200, title 1.0.2.1 (
b99f876b…), Series X. Tree: mpDom/VIctorypr/present-1440p-fallbackatd6897fa, plus three local diagnostic changes only: the adapter pick, F8 frame capture, and a stable 1440p pick (keep presenting the f28 target while draws go into it, instead of the last one bound).VICTORY_SHADER_LOOP_LIMIT=32, DRED off,VICTORY_PRESENT_1440P=1,VICTORY_DRAW_STATS=1, diagnostics build. Two runs, 694 s and 602 s, user-closed. No other tree changes; nothing from the game attached.Survival and cost. No device removals, 0 and 2 slow submissions (316/446 ms), 7 and 6 host pipeline refusals (all
0x8007000E), 197 and 193 "does not translate" lines. Menus 30 fps, escape menu 7.5 fps, world 1.0–1.1 fps in the first run and 0.7–1.4 fps in the second (one 7.4 s frame during the F8 dumps).The presented image is the target, live. The stable pick changed 6 times in 694 s and once in 602 s; it held one f28 target per run for 9.5 min and for the rest of the second run. At F8 frame 2685 and F8 frame 3135 the presented PNG is SHA-256 identical to the picked target's dump: 16,516 bytes, mean 0.8/255, 0.8 % nonzero in the first; 25,464 bytes, mean 1.6, 1.1 % nonzero in the second. The second frame has recognisable objects in the scene target — lamp post, fence, building corner, a weapon shape — all unlit, no ground or sky. So the sparse picture is the title's scene target at present, not the 4K step and not a frame-end dump artefact. The 3840×2160 target is mean 0.4, 34.8 % nonzero (dither) at 2685 and a flat dark grey fill (mean 40.3, 100 % nonzero) at 3135; neither carries the scene.
Where the draw work goes (world window containing F8 2685, per frame):
The mesh arguments are the new result. Across 88 one-second windows with mesh work, there are 1,827–1,998 indirect mesh executions per frame, each exactly one record (
maxequals the execution count, so no unused tail records are being sampled). Median 94.1 % of those records have all three group counts zero (min 33.4 %, max 100 %). In 77 of the 88 windows the non-empty records sum to more than 1e9 groups, i.e. the few that are not zero carry implausible counts. Caveat: sampled from the host copy at record time, not a fence-completed readback; a buffer written later in the same submission would read stale. The zero share is consistent with the culling programs being dropped, and the garbage share looks like buffers that were never written.Culling link. Of the six culling hashes in @lines9686-rgb's comment (commit
5192322), on this tree3b471c122be79b3eand764ca63daec9c616drop at ~10/frame each andfc5e66f8f873d3bbalso fails, while9f017d9011377efa,0452fc2d2e2fc4c3and87bf9e3f2bf2f052translate and run. The refusal here is not the gather: all three failing ones stop atGFX10 code at 0x3e0: a hardware SGPR input is not supported. On this base the culling programs die one step earlier than theimage_gather4_llowering, so lowering the gather alone would not fill their output.Next I can either do a fence-completed sample of the mesh arguments or trace which pass writes those buffers; both would separate "zero groups written" from "stale read". Is the args-init producer known to depend on the culling programs above on this base?
AI-assisted; machine, tree and switches as stated. No game files, captures or dumps attached.
@fuzeofficlal on GitHub · 2026-11-24 20:06 UTC · original
Rebuilt and expanded the
PresentX/ render-graph provenance tracer cleanly ontomain(ffe310e) under#[cfg(feature = "diagnostics")]infuzeofficlal/VIctory@4e68556(branchdiag/m2-present-source-841) so anyone investigating the post-G-buffer zero-HDR lighting chain can trace upstream writers directly onmain:HostListwrites (ClearRtv/Dsv,Draw*/DispatchMesh,Dispatch,ExecuteIndirect,Copy*,Resolve*,TextureUpload,DepthTwinSync, andView::Placed(true)UAV subranges), clears uncommitted lists onHostList::reset(), commits in exact(submission, list_index, op_index)order atHost::submit, and walks backward with strict<ordering (depth cap8, cycle-free across ping-pong targets, invalidating freed addresses onResource::drop).VICTORY_TRACE_INPUTS_PSO=<hash>/VICTORY_TRACE_INPUTS_VS=<hash>to log the exact last writer of every SRV/UAV/CBV read by a target lighting pass, alongside a ring buffer of dropped compute shader translations / skipped dispatches ("never host-written"vs"dropped upstream CS translation").68 passed, 0 failedunderVICTORY_D3D12_DEBUG=1on RTX 5090 and D3D12 WARP).@KingKaom on GitHub · 2026-11-24 20:12 UTC · original
The fork on native RDNA4: same low-address device removal ~30 s into the world — and a translation-coverage headline
Ran the
victory-gta6fork at7b0f736(diagnostics build, all switches at their defaults,VICTORY_D3D12_DRED=1, automated key press-through, capture frames 1650/1750/1850), title 1.0.2.1, native Windows RDNA4.0x887A0005): device removed after a submission of 7 lists, page fault at0x11e0f0000with no title-memory copy below it, a list stopped at command 279 of 391 onindirect kind 2 max 1 [compute 0452fc2d2e2fc4c3]. Same fault-below-copies family reported from this box before — so this fork's stability work for NVIDIA does not carry the RDNA4 death away; the fault appears host-independent.b22a16a178976e1b,7f05ddab771799a9,a53a7977fe762268,be14e72d86362031) where our stack still drops on the order of 330 unique shaders at the same milestone — the fork's translator absorbs essentially everything else. All four refusals are RDNA-only back-end shapes that never surface on NVIDIA:a wave sum of 16-bit floats where not every lane runs is not supportedanda lane mask holding lanes elsewhere read as data is not supported(GFX10 code).0x3f19000, again no title copy below. On this card the fault family arrives inside the first ~45 s of the world phase, before the handoff to the prologue would land. (Two runs, two deaths, fault address varies between them — same timing-dependent family reported by others here and by us before.)AI-assisted (Hermes Agent)
@lines9686-rgb on GitHub · 2026-11-24 20:26 UTC · original
@Danigamer05 thanks for the Turing run. Your guess matches what the branch can do. With
VICTORY_LOCAL_D16_DEPTH=1, textures of the console's 16-bit depth formats become host D16. A pipeline whose depth-stencil format the title declared as the 16-bit-with-stencil format, and which the host built for D24S8 before the switch took effect, then mismatches the DSV it is bound with.0b9a0f6only logs that case once ("with a pipeline for another depth format") and does not rebuild the pipeline. On my RTX 3060 Ti it didn't fire, but a different first-bind order on your card would hit it at world entry, and an invalid command there is the expected symptom.The fix is to key those pipelines on the host depth format, so they are built for D16 in that mode. I'll post it on the branch with a test that binds such a pipeline to a D16 target. Until then, keep
VICTORY_LOCAL_D16_DEPTHoff. Thanks also for the 20-minute run and the 1.55 vs 0.28 fps comparison without it.AI-assisted (Claude Code).
@Asenje on GitHub · 2026-11-24 20:28 UTC · original
@r4tedx re "If a run at update 9 ends sooner…": on an RTX 3060 12 GB (Series X, update 9 + the most-draws pick), every run with the four instance-culling programs translated ended at the title's +0x5149aec with INSTANCE_LIST 45000/45000, after 7–11.5 min. With VICTORY_SKIP_PIPELINES=17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5, one run lasted 22+ min and was closed by hand, and another ended after ~16 min with INSTANCE_LIST at 17856/45000, at a different fault (+0x4fafeae, read 0xffffffff00000000). So on this card those four programs are what fills the pool. Details in #886.
@sash2kk on GitHub · 2026-11-24 20:49 UTC · original
RTX 4090:
fxceless/victory-gta6renders the lit prison yard here too, at about 3 fps. Plus update 9 and update 10 ofintegration/testerson the same card.Machine: Windows 11 Pro 23H2 (22631), RTX 4090 24 GB (driver 32.0.16.1088, 32..32 lanes), i7-13700K, 32 GB. Title 1.0.2.1, Series X mode, an existing save that goes straight into the prologue. Diagnostics builds, each tree unmodified in its own worktree and target dir, and the same
VICTORY_KEYSscript each run (Enter every 60–120 s). One run per tree, 14–20 min, all stopped by my timeout. None of them lost the device.mainffe310e+ #493,eeed82b877b44b5fskippedLOOP_LIMIT=1024integration/testersupdate 9 (94e0ea5)LOOP_LIMIT=32,PRESENT_1440P=1integration/testersupdate 10 (4744af9)LOOP_LIMIT=32,PRESENT_1440P=1fxceless/victory-gta67b0f736LOOP_LIMIT=32onlyThe fork. Its picture is the lit prison yard, as on @NuraadGit's 2080: the watchtower, the walls, people in the yard and low sun with shadows.
eeed82b877b44b5fruns without a skip. What is still wrong on this card:docs/fork-ray-tracing.mdsays nothing is lit by ray tracing yet). The rest is a handful of compute dispatches.a wave reduction where not every lane runs(a53a7977fe762268,be14e72d86362031), 2× pixela descriptor read only as data(7d0f14ce44746d7e,6b6db9f1a526daeb), 2×v_cvt_f32_f64(5dc3b25986622949,6f225b641c5b0708), and one each ofv_permlanex16_b32(a929109552ce1e84),a lane mask exchanged where not every lane runs(f133e35efed2a48a) anda lane mask holding lanes elsewhere read as data(7f05ddab771799a9).Update 9 and update 10. Both hold the world with
eeed82b877b44b5frunning; it hangs this card onmain+ #578 within seconds. WithVICTORY_PRESENT_1440Pthe presented 2560x1440 target is a noisy false-colour view (horizon, a pole, objects, heavy per-pixel noise), the same at update 10 as at update 9.VICTORY_DUMP_TARGETSwithVICTORY_CAPTURE_FRAMESsaved only 3 targets per listed frame on these trees; onmain+ #493 the same settings saved about 180. There, the geometry was in a 2560x1440 R8_UINT target (format 62, a full silhouette) while the colour targets stayed empty.AI-assisted (Claude Code). Counts and descriptions only; no captures attached.
@Danigamer05 on GitHub · 2026-11-24 21:11 UTC · original
@lines9686-rgb, follow-up to my Turing run of
depth-uavat0b9a0f6. I had left outVICTORY_LOCAL_WAVE64_COMPUTE=1, and that changes two things.Setup. RTX 2080 SUPER (driver 621.01, WaveOps 32..32), Windows 11 Pro 26200, title 1.0.2.1, Series X mode.
VICTORY_LOCAL_WAVE64_MESH=1,VICTORY_LOCAL_WAVE64_COMPUTE=1,VICTORY_LOCAL_DEPTH_UAV=1,VICTORY_SHADER_LOOP_LIMIT=1024,VICTORY_SKIP_PIPELINES=eeed82b877b44b5f,269b802f878c24e1, DRED off.1. The D16 invalid command doesn't come back with wave64 compute on. Without
VICTORY_LOCAL_WAVE64_COMPUTE,VICTORY_LOCAL_D16_DEPTH=1ended the run at world entry (a host command list did not close). With both switches on:VICTORY_D3D12_DEBUG=1): no device removal, the list error doesn't come back.So on this card the failure only shows with D16 on and wave64 compute refused. I have not looked for which command it was.
2. The tiled-lighting draws now run, and their targets stay zero, as on your card. In the traced frames (dumps at 1750 and 1850), with D16 on:
GenerateMaterialMasks(f0c91b4d2578f5bf, 320x180x1),CS_MaterialTilesInitial(bad01f53f53248e5, 160x90x1),CS_PrescalarizeLightLoop,CS_ClusterLightsWorldSpace,CS_ShadowRevealTilesInitialandCS_ShadowRevealTileseach logran, noneDROPPED. No wave64 compute refusals are left in the log.ran indirect kind 0 rects true, vertex72c739b61097456dwith about a dozen pixel programs, andVS_TiledLighting+TL_PS_PBR_MATERIAL_STANDARD) bind the 2560x1440 f10 + f42 pair and the material depth as DSV. Both targets dump as exactly 0.0 in all three frames.GenerateMaterialMasksreads holds values from 0.0 to 0.066 (reversed Z), with 0.6% of the pixels non-zero. Its stencil is written everywhere (values 7 to 72). In frame 1750 it is the depth target of 1,674ran indirect kind 10, 340ran meshand 131ran indirect kind 0.So the mesh passes write that target's stencil but almost none of its depth. I'm now logging every graphics pipeline's depth-stencil state (enable, write mask, function, stencil ops, DSV format) to see whether the mesh pipelines drawing into it test depth with a function that never passes against a cleared reversed-Z depth. I'll post what it shows.
No game files, captures or screenshots attached. AI-assisted (Claude Code); the runs were on my machine.
@lines9686-rgb on GitHub · 2026-11-24 21:29 UTC · original
@Danigamer05 thanks, that matches what I see on the 3060 Ti.
I think the empty main depth is not the depth-stencil state. It is meshlet culling. The culling compute samples with
image_gather4_lat an explicit level, and that instruction was lowered wrong, so the culling dropped most meshlets. The mesh draws still ran, but with almost no visible geometry. That fits stencil written everywhere and depth on 0.6% of pixels.The fix is
5192322ondepth-uav(lines9686-rgb/VIctory), on top of0b9a0f6. It lowers the gather at the requested level instead of level 0. Could you try the branch head with the same switches? If the main depth fills in, the tiled-lighting targets should stop being zero.AI-assisted (Claude Code).
@ghost on GitHub · 2026-11-24 21:31 UTC · original
AI-assisted (Claude Code). Correction to one point of my previous comment.
I wrote that the float lighting target is "cleared again" before the frame-end dump and guessed the next frame's lists were the cause. That guess was wrong. Measured since, on the same card and tree, with the lighting shaders patched to a constant light term so the target has content:
scattering_transmittance_system:CS_ApplyCombinedDeferred: 19,059 non-zero pixels before, 3 after, in two consecutive frames. With that pass skipped, 59k to 130k non-zero pixels survive to the end of the frame.store(inscatter + scene * transmittance)on every pixel. Its 960x540 transmittance and in-scattering inputs have no writer in the trace, so they read zero.The practical point of the earlier caution stands: a zero frame-end dump of that target does not show that lighting wrote nothing. The cause is the fog apply pass multiplying by a zero transmittance. No clear is involved.
One more caution from the same work: copies recorded into command lists other than the one that draws the target read zero for me while the per-list dumps showed content, so I only trust the per-list dumps for this.
@some-du6e on GitHub · 2026-11-24 22:25 UTC · original
A low-memory data point for this thread: the world on screen on a 6 GB card with 8 GB of RAM, in Series S.
Machine: RTX 3050 6 GB (driver 621.14), Ryzen 5 4500, 7.9 GB RAM in one stick, Windows 11; a 44 GB page file through the first 1280x720 run and 32 GB after it, and TdrDelay 60 from the second 1280x720 run on (the default 2 s before). Windows lets the card borrow at most about 3.9 GB of system memory here, and that limit, not commit, is what ran out.
Tree (from the #431 step on; the Series X and first Series S runs were Xeltax/VIcky alone): r4tedx integration/testers update 8 (da605bc), Xeltax/VIcky's fork commits, #431, #472, #492, a port of bittertea0323's 1 MiB title-memory windows (d7d6c58, from #1086), and r4tedx/VIctory#16, which lets
VICTORY_PRESENT_1440Ptake a size: Series S world targets are 1280x720, which the 2560x1440 fallback doesn't match. Diagnostics build,--console series-s,VICTORY_NO_WATCHDOG=1,VICTORY_SHADER_LOOP_LIMIT=32,VICTORY_PRESENT_1440P=1280x720.What each step changed:
ID3D12GraphicsCommandList::Closereturning E_OUTOFMEMORY with the device still alive, and two on a device reset (0x887A0007). VIctory itself exits with 0x887A0005 for every host GPU failure, so that exit code doesn't always mean a removal.VICTORY_NO_WATCHDOG=1: at about 95 s, still on the loading screen, the process held 2.6 GB of dedicated and 0.7 GB of shared GPU memory; the one run without it that was measured held 5.2 GB and 3.8 GB as it crashed. The world drew for about 4.5 minutes, with 19,856 buffer creations failing on E_OUTOFMEMORY, until the default 2 s TDR ended the run.Frame rates are only comparable from the same save. The title autosaved about 5 minutes into the 14.5-minute run, and every later run started from there: they reached the world in 183-234 s instead of about 100 s and drew it at 0.04-0.06 fps, including the 28-minute run on the same build. Two texture-staging experiments (not in any PR) ran 20 minutes with zero E_OUTOFMEMORY from that later save, at the same 0.04-0.06 fps.
Three runs were ended by the SATA SSD holding the game dropping off the bus (Windows disk event 157). Those show up as 0xC0000006 or 0xC0000005 exits, and they're this machine's drive, not the port.
@Marvisak on GitHub · 2026-11-25 03:55 UTC · original · edited 2026-11-26 06:47 UTC
Automated triage for the maintainers.
Run report with the essentials (RTX 3090, driver 610.88, Windows 11 26200, the tree and its switches, how far it got, the log counts). It was run on the
integration/testerstree, notmain. This thread is where the world rendered with zero lit output is discussed: the G-buffer is filled, the lighting and output targets are zero, and the device is not lost. Related: #778 (black world after the wave64 hang fix), #965 (the 1440p present fallback is black) and #1317. The NVIDIA hang itself is tracked in #71, and the fog apply pass that reads inputs nothing wrote is tracked in #2045.Where the 30-hash question stands:
main940d32f, offline, all 30 emit DXIL that passes the validator.mainplus #1936), a world log shows none of the 30 refused or dropped.E_INVALIDARG, all with a fixed 64-lane wave size. This matchesmain:Lower::newincrates/victory-shader/src/emit/lower.rsdeclares the console's wave size for programs that depend on the lane layout (#2220).RTX 5080 (
main67e8ae1+ #1763 + #2178): the frozen part of the picture comes from the 2560x1440 lit target, which is never cleared and almost never written. In the same frames 2,188–2,880 draws per frame are dropped withno dynamic slots for root views/no dynamic slots for its tables(crates/victory-gpu/src/draw.rs) on the capped view heap, tracked in #747 (with #1779 and #1548). So on NVIDIA two causes add up: refused fixed-wave64 passes and dynamic-slot starvation.New since the last triage: an RTX 5070 Ti run on a third-party fork (not
main) reaches the world at 0.45–2 fps without device loss, with the picture flashing between dark and bright frames; the commenter attributes it to a race when a texture slot is updated and points to fixes on another fork. Fork-only fixes can't be reviewed here; a pull request againstmainwith a test is the way to bring one in.The player picker slot of
xgameuiis unimplemented onmain(missing::<11>incrates/victory-hle/src/modules/xgameui.rs); a plainmainrun that stops on that screen belongs in a new issue.Open PRs touching this:
VICTORY_PRESENT_1440P=1presents the 2560x1440 target. This is a workaround, not a fix.Please post counts and statistics only. The asset policy (
docs/asset-policy.md) excludes screenshots of the title's frames.Generated by Claude Code
@cobrajet302gt on GitHub · 2026-11-25 04:05 UTC · original
The missing-writer half of the zero-lighting chain is now tracked as #2045 (fog apply
CS_ApplyCombinedDeferredmultiplying by zero transmittance/in-scatter inputs; the gather4 depth half stays here). Credit to @Gargalindis's per-command-list dump for the evidence; no new data in that issue, just the cause getting a number of its own. Written with an AI assistant.@r4tedx on GitHub · 2026-11-25 04:31 UTC · original
@Asenje, thank you. That answers the question, and the skip run is the comparison that matters. With the four instance-culling programs (
17af15c4015cb4b6,55679a0547649d0b,fdd56d97a806bcca,89d08e561897d4e5) running, every run ended at+0x5149aecwith INSTANCE_LIST 45000/45000. With them skipped, one run went 22+ minutes and the other got to 17856/45000 before a different fault.What has been shown about how these programs read their inputs (synthetic tests only):
main's owna_heap_buffer_read_by_element_takes_the_views_stridefails that way on an RTX 5070 at940d32f, and passes with #1762 on an RTX 3080 (BaggyALPHA). #1762 carries that half onmain.What isn't established is how they fill the pool. A loop count misread as 0 would make them select nothing, not fill INSTANCE_LIST, so that mechanism doesn't follow from the misreads above. Your skip run shows the filling comes with these programs running. It doesn't show which of their reads or writes differs from the console.
The end isn't NVIDIA-only. crashbashash hit the same
+0x5149aec(a title assert in a pool accessor) on an RX 6800 XT under RADV, on a different stack (#844 atb7cc788, #774 comment).Next. Update 9 gets no further fixes:
4744af9was the last update of that tree (see the note on #293). What would move this forward onmain(940d32f, ideally plus #1762):With #1762's structured reads fixed, a pool that still fills would point at what they write, not what they read.
The title was not run here for this reply. The hashes come from an offline reading of local title data, and the tests cited are synthetic.
AI-assisted (Claude Code).
@cobrajet302gt on GitHub · 2026-11-25 05:16 UTC · original
Boundary note from our census side, so the two datasets get read against each other correctly: the 746 one-wave-64 group shapes we posted under #578 bound only the group-shape refusal class (one-wave 64-thread groups; @fiestorra's 320 realized refuses live inside that bound). @bittertea0323's dominant classes — ballot and
v_readfirstlanein divergent control flow, addresses not from a root parameter — are control-flow and addressing properties, not group shapes; our per-program labels (wave, user-SGPRs, group dims) carry no control-flow bits, so neither the 746 nor the 1,151 labeled-wave64 count bounds how many programs can die those ways. Corpus-side scope for those classes needs DXIL control-flow parsing, which is #1901 territory, not label territory. The four refusal maps now measured independently (320 creation, ~0 runtime, 283 validator, 52 emulate-path) stay consistent with the ceiling framing there.\n\nWritten with an AI assistant.@r4tedx on GitHub · 2026-11-25 05:18 UTC · original
@bittertea0323 thanks for matching the list. One point for reading it: that list and the reasons you found are for trees on the old
ffe310ebase (your stack, andintegration/testers). On currentmainthe picture is different.In an offline count of
main940d32f(victory translate <shaders.rpf> --validate --list, Windows SDK 10.0.26100.0 validator), all 30 programs of that list emit DXIL that passes the validator: the cascade-shadow tiled render and classify programs, the twoshadowmaskdenoise programs, the two exposureColorDownsample*programs andCS_TAA2_PrepareFrameStats. The same holds with #1883 and #2027 merged on top. None of the reasons in your table occurs for them there.What this does not show: whether
mainruns them on a GPU with 32-lane waves.maindeclares the console's 64-lane wave size for compute programs whose code depends on the lane layout, and its README says "some compute programs need a GPU with 64-lane waves". I did not check which of the 30 that applies to, and I ran nothing on a GPU or in the title. So onmainthe question for these passes moves from "does it translate" to "does it run on this host". A run ofmainthat logs which of these 30 hashes it drops would answer that.A local copy of the title's shader archive was used for this count, offline; only hashes, program names and outcomes are given. AI-assisted.
@KingKaom on GitHub · 2026-11-25 06:54 UTC · original
An in-world
main 940d32flog from a 64-lane host: 25 of the 30 hashes are never refused or dropped; 5 are never requested@r4tedx asked for a run of
mainthat logs which of the 30 hashes it drops. Our longest in-worldmain 940d32flog is native Windows RDNA4 (RX 9070 XT, 64-lane host), tree =main 940d32f+ the #1936 validator gate — on this box plainmaindies inside the AMD compiler ~35 s after device creation (#1785) before these pipelines exist, while the gated tree reached 36 min in-world. This is a run log, not an offline count: 40,735,021 lines, ANSI-stripped, one full pass for all 30 hashes, intersected against the refusal lines (does not translate,no host pipeline,dropped,rejected,refused).Result. The 25 of the 30 that occur at all occur exactly four times each; the first three occurrences per hash are success-shaped —
shader translated stage="compute" hash=…,host pipeline shaders=[compute …],pipeline made …— and no hash of the 30 occurs in a refusal or drop line anywhere in the log: zerodoes not translate, zerono host pipeline, zero dropped dispatches. The #1936 gate also refused none of the 30 (it refused 283 programs in the run, none of them from these 30). So on this host, on currentmain: 25 translate and get host pipelines — the wave64 ballot /v_readfirstlanereasons from the old trees do not apply here, as expected for a 64-lane host.The 5 that never occur in the log at all — no line mentions them in the whole run: tiled render
4b57ec4af6de25fe; classifyeab96ed5d168496767353810417f6c194e9b58cc637d9272; shadow-mask denoisea7ea75e2653e54d1. Never requested up to frame ~5251 (~36 min, prologue into world); whether that means unused in the reached scenes or only not reached yet, this side cannot tell.What this does not show: whether their outputs stay at the clear value — the log proves translation and pipeline existence, nothing about written pixels.
AI-assisted (Hermes Agent)
@r4tedx on GitHub · 2026-11-25 07:03 UTC · original
@KingKaom thank you, that is the answer for a 64-lane host: on current
mainnone of the 30 is refused or dropped, so on RDNA the black picture is not these passes failing to translate or get a pipeline.The half still open is a 32-lane host (NVIDIA, Intel), where
maindeclares the console's 64-lane wave size for programs whose code depends on the lane layout. The same count from amainworld log on such a card (the 30 hashes in my comment above, againstdoes not translate,no host pipelineanddroppedlines) would close it. I can't run the title here.AI-assisted (Claude Code).
@AwkGrep256 on GitHub · 2026-11-25 13:50 UTC · original
Related: #1793 makes Series X use main's host FidelityFX instead of the title's own upscaler (
VICTORY_UPSCALER=7,VICTORY_FFX_SCALE=0.6667for 1440p → 4K, withVICTORY_FIDELITYFX_DIRset). If the black screen comes from the title's 4K upscale not being written, that may fix it at the source. FSR 4.1.2 writes the 4K output on an RX 9070 XT; untested with this issue on NVIDIA. @Xvania7, could you try it on your RTX 5060? #2441 is still useful as a fallback when FidelityFX isn't available.@Xvania7 on GitHub · 2026-11-25 13:55 UTC · original
@AwkGrep256 Thanks for connecting #1793 and the FidelityFX Series X path to #841.
We verified the interplay on native Windows 10 x64 + NVIDIA GeForce RTX 5060 (Blackwell, driver 572.16):
How #1793 interacts with NVIDIA and why the 4K primary stays unwritten on default runs:
In Series X mode, the title defaults to its own internal console upscaler. When
VICTORY_UPSCALER=7andVICTORY_FFX_SCALE=0.6667are patched via #1793, the title redirects upscaling to hostamd_fidelityfx_upscaler_dx12.dllviaVICTORY_FIDELITYFX_DIR. On NVIDIA hardware, when the host SDK DLL is present and loaded, host FSR compute dispatches populate the 3840x2160 primary. Under that setup, #2441 is completely transparent: because the 4K plane is actively written and matches the expected presentation dimensions, #2441 presents the upscaled 4K frame directly.Why #2441 is essential as the baseline fallback:
Out of the box, standard integration runs and users without
VICTORY_FIDELITYFX_DIRor the signed AMD SDK binaries rely on the title's internal pipeline. On NVIDIA architectures (tested on Ampere RTX 3090 in #841 and Blackwell RTX 5060), the title's internal upscaler fails to write the 4K primary, producing a completely black screen despite thousands of 3D geometry draws completing into the 1440p targets (f28/f29/f87/f91).With
VICTORY_PRESENT_1440P=1(#2441), the completed 1440p color buffer is presented to the swapchain once its fence signals, providing an immediate visual present path for gameplay, debugging, and performance profiling without requiring external SDK binaries.Both PRs work together seamlessly: #1793 provides the high-resolution host upscale path when host FidelityFX is configured, while #2441 ensures the game remains visible and playable when it is not.
@DrDarkDK on GitHub · 2026-11-25 14:08 UTC · original
I checked all 30 hashes from r4tedx’s list offline on upstream
940d32f, using my localshaders.rpfand an RTX 4070 Ti (driver 621.01, 32–32 wave lanes). All 30 translated and passed DXIL validation.23d507cbb6a22e86,b0095eb50222e808)The offline pipeline helper returned “The parameter is incorrect” for all 28 fixed-wave64 shaders. The two exposure pipelines created successfully. This was a pipeline-creation check only. It does not show which passes the title requests in the prologue or what they write.
AI-assisted with Codex.
@Xvania7 on GitHub · 2026-11-25 14:13 UTC · original
@DrDarkDK This offline validation across all 30 shaders on RTX 4070 Ti is a massive piece of the puzzle.
28 out of 30 compute pipelines failing with
E_INVALIDARG("The parameter is incorrect") strictly due tofixed wave64explains why the prologue's render graph aborts before reaching final composition on NVIDIA hardware:Cascade Shadows, Classification, and TAA Dependencies:
Cascade-shadow rendering (19 shaders), classification (6 shaders), and shadow-mask denoise / TAA statistics (3 shaders) all feed intermediate buffers directly into the primary lighting and post-processing passes. When D3D12 refuses pipeline creation on wave32-only hardware (
32-32wave lanes on Ampere/Ada/Blackwell), the title either skips the dependent passes entirely or issues dispatches with null/failed PSOs.Connection to #2194 and #817:
This confirms why PR #2194 (
Pre-check wave lane constraints for compute pipelines) is so critical: catchingfixed wave64ahead of time prevents the driver from failing silently or cascading invalid argument errors into subsequent dispatches.Why #2441 is Needed in Parallel:
Until wave64-to-wave32 compute shader re-lowering lands upstream to allow those 28 shadow/TAA passes to compile on NVIDIA, intermediate color buffers (
f28/f29at 2560x1440) are the only fully rasterized geometry targets that complete. Presenting them via #2441 keeps the world visible and interactable while shader translation for the rest of the pipeline is solved.@cobrajet302gt on GitHub · 2026-11-25 14:20 UTC · original
Two corpus-side bounds on the fixed-wave64 wall this thread just isolated, from the published shader census (cobrajet302gt/gta6-shader-census, public domain) and a gated-main offline pass on Linux.
Scope of a re-lowering fix, counted. Over the 25,889-row program-label corpus: 1,151 compute programs request wave64 (of 2,682 compute total; wave32 compute = 1,531). Every one of those is in the class DrDarkDK's table shows the NVIDIA driver refusing at pipeline creation with fixed wave64 — the 28/30 in this thread are the prologue-visible slice of a 1,151-program problem, which is the number to size #2441 against. The two exposure programs DrDarkDK reports as created "neither with a fixed wave size" are consistent with that split; the short program hashes from r4tedx's list are a different digest space from our container digests, so we can't row-match them from the census alone.
Two distinct refusal strata, worth naming apart. The 735 compute
cs-stage refusals in the offline translate census (#2027 class, reproduced digit-for-digit by r4tedx and now by a third machine in #2376) are translator refusals — the DXBC→DXIL path never emits. The 28/30E_INVALIDARGresults here are driver refusals atCreatePipelineStatefor valid DXIL with fixed-wave64 metadata. A program can die in either stratum independently; #2194 (pre-check lanes) addresses the second, #2027 work the first. Fixing one does not touch the other, and conflating them will make both look unfixed.Empirical NVIDIA existence proof for the emulation route: the fxceless fork renders the first prologue room on 32-lane NVIDIA hardware right now, with its wave64 emulation active (its barrier-hang fix landed at
a253706, the 64-lane barrier form default-off at0b0074e) — 2–5 fps, but composed. Whatever form #2441's re-lowering takes, the end state it targets (fixed-wave64 compute running on wave32 hosts) has a working, if slow, reference implementation in the open.Written with an AI assistant.
@Xvania7 on GitHub · 2026-11-25 14:23 UTC · original
@cobrajet302gt This breakdown crystallizes the entire shader architecture across both strata.
The sizing of the 1,151 compute programs (42.9% of all 2,682 compute PSOs) gives the exact mathematical scope of the wave64 requirement across the full title.
A few technical alignments based on our verification:
Stratum 1 vs Stratum 2 Distinction:
Separating translator emission failures (Stratum 1 / #2027) from driver-level DXIL
CreateComputePipelineStatemetadata rejection (Stratum 2 / #2194) is spot-on. As DrDarkDK confirmed on RTX 4070 Ti, the 28 cascade shadow and classification shaders are 100% valid DXIL bytecode that the translator emits cleanly, but which the NVIDIA driver immediately rejects withE_INVALIDARGbecauseWaveLaneCountMin = WaveLaneCountMax = 32.The Role of #2441 and #2194 as the Immediate Bridge:
Without #2194, those 28 driver failures cascade unhandled errors into the host queue. With #2194 in place to pre-check constraints, and #2441 presenting the 1440p rasterized primaries (
f28/f29), testers and developers can run the prologue and navigate the world on NVIDIA hardware today.Toward Full Composition on Wave32 (The danemadsen/fxceless Path):
The wave64-on-wave32 emulation reference in
fxceless(decoupling 64-lane group barriers withVICTORY_WAVE_WIDE=1and emulating dual-wave execution) shows the definitive path forward. When combined with our #2402 64-bit BVH root address decoding (which Dennis just verified 15/15 clean on RTX 5090), we have both the acceleration structure traversal and the wave execution model converging to light the scenes.Thanks for grounding this with exact corpus numbers.
@cobrajet302gt on GitHub · 2026-11-25 16:03 UTC · original
A Wine-side boundary data point from tonight's fork-tree boot (Linux, Proton 11.0 wine, DXVK 3.1.1, master vkd3d-proton, RTX 5080,
0b0074e,VICTORY_RELAY=2 INDIRECT_WINDOW=1 CARD_BUFFERS 1/1024, loop limit 64): the traversal reaches a new state never seen in our 28 earlier boots — a letterboxed void with only the Xbox front-end legend,ACCOUNT PICKER (Y) / SCREEN NARRATION (OFF) (X) / PLAYER (A)— and sits there ~50 min at 30 fps, ~21 draws/frame, 0 faults, 0 refused pipelines, unchanged by 11 Enter(A) presses, Right/Down/Left/Up cursor sweeps, and Back.Two questions this raises for anyone who knows the picker's contract: (1) does this screen need a signed-in user from XUser/XGameRuntime rather than an A press — our
xgameuiat slot 0x58 (player picker) ismissing::<11>, so if the title opens the picker through that vtable slot, it may be parking exactly there; or (2) does the real picker need left-stick tile navigation, which our keyboard->pad mapping may not synthesize? Windows runs listed in this thread pass their menus with timed key presses alone, so if this screen exists on Windows, something in the Wine/HLE stack answers the user-presence query differently. Happy to rerun with any key sequence (Y first? stick input?) — one 78-minute boot, camera armed, and it'd be the first sighting of this screen on Linux either way.Written with an AI assistant.
@JurajSimicevic on GitHub · 2026-11-25 17:18 UTC · original
Why part of the world picture stays frozen while the camera turns (RTX 5080,
main67e8ae1)What testers see on this card: a large part of the picture stays the same, from the first world frames, while the camera turns. Only the part above the sky's horizon follows the camera. The dumps below show where it comes from.
Setup: RTX 5080, diag build of
main67e8ae1+ #1763 (typed UAV boot fix) + #2178 (structured buffer views as raw views), #1968's program A skipped.VICTORY_DUMP_TARGETSat world entry +200, +260, +320, +380 and +440, with the camera turning continuously between them. Differences below are the mean absolute difference of the dumps' 8-bit normalized pixels (0-255), same resource, between consecutive dumps:R16G16B16A16_FLOATlit targetno dynamic slots for root viewsor... for its tables, most of them mesh and indirect mesh draws, on the capped view heap (1,000,000 views, 65,536 dynamic slots). That is the starvation #747 describes and #1779 / #1548 address. Over the first 24 per-frame reports after world entry, the drops per frame were median 0 / p90 348 without #2178, median 0 / p90 706 and median 344 / p90 1,747 in two runs with it, and median 0 / p90 488 this morning on940d32f+ #1762. The thousands per frame come later in the world, with the camera moving. The comparison run without #2178 had its device removed about 3 minutes into the world, before that point, so I can't say whether #2178 or the newermainchanges how many are dropped.So with this stack the frozen picture is a consequence of the lit target never being written, not a separate bug. Once lighting writes the geometry, it should go away.
Local diagnostics only (texture dumps, frame captures). No game data: log counts and pixel statistics.
AI-assisted.
@ChenmouXu on GitHub · 2026-11-26 04:53 UTC · original
The flashing here looks like a texture-slot update race, not the output surface -- and there is a public fix for it
Context: RTX 5070 Ti (Blackwell), title 1.0.2.1,
Xeltax/VIcky@fx-heapmap-4e(packed-target substitution + page-mapped heap). Runs a whole session with no device removal, reaches the world, 0.45-2 fps. The picture flashes: per-frame luminance sits at ~14.6 for whole seconds, jumps to 33 / 49 / 65 / 77 for single frames and falls back to 14.7 -- seconds of black, one bright frame, black again, not a per-frame tear.Two patches of mine made no difference, which I now read as a sign the cause is upstream of presentation: waiting on
settle_for_present()before the flip (removed the "still held a submission at a present" warning, no change to the flashing), and skipping the flip when nothing was drawn.What does explain it:
avatarmanz/VIctory-7900XTXfixed exactly this on AMD, and the commit titles say what it is.VICTORY_SHOW_NEW_LATER, on; 0: at once)"VICTORY_KEEP_SHOWN=1; 0: black, then grey)"That is: a descriptor slot is pointed at a texture that is still being uploaded, lists sent earlier read it before it lands, and the frame shows black or the previous content; the next frame shows the real texture. Alternate and you get the flashing we see. The
KEEP_SHOWN=0note -- "black, then grey" -- matches the luminance series above almost exactly.So on NVIDIA the order of work may be: the format and heap removals (#2626/#1763/#1906/#2098), then this slot-switch race, which the AMD forks already solved and named.
Has anyone on NVIDIA tried
VICTORY_SHOW_NEW_LATER/VICTORY_KEEP_SHOWNequivalents in the VIctory tree? If the AMD fix is portable, it would save re-deriving it; if it is AMD-specific (the pool and the copy queue differ), it is at least a precise description of what to look for.I can run any branch that carries it: diag build, DRED on, full debug-layer log, and I will report frame times and a luminance series like the one above.