RX 9060 XT (RDNA4) | Host GPU device removed (DXGI_ERROR_DEVICE_HUNG) with page fault at 0x1a00b0000 in world #59
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#59
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?
@sjauijn on GitHub · 2026-11-23 23:59 UTC · original
Summary
The title boots, runs the menus at 30 fps and starts loading the world. From then on every frame takes several seconds (0.1-0.2 fps), and after about 5.5 minutes the host D3D12 device is removed (
0x887A0006, TDR) following a GPU page fault. The debug layer reports no validation errors before the removal.Environment
rust-toolchain.toml), Visual Studio Build Tools 2026 v18.12.1cargo build --profile diag -p victory --features diagnostics7952987A, package folderv1.0.2.1, console mode Series X (default)build unknown):b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93VICTORY_D3D12_DEBUG=1worksCommand
Timeline (timestamps are UTC, from the attached log)
missing=0everywhereTwo
slow host submissionwarnings (335 ms for 33 lists, 254 ms for 25 lists) appear earlier.Failure (from the log and
crashes.log, process 7036)0x887A0006(DXGI_ERROR_DEVICE_HUNG)host GPU device removed after a submission of 12 lists; page fault at 0x1a00b0000; no title memory copy below it0x2f3c0000+0xae00000 at host 0x26c0c0000 (614 copies in all)a list stopped at command 109 of 232 (op 6), commands 108..110 between its barriers: command 109 (op 6): no marker. Other lists stopped at command 0 (op 46).crashes.loglists the dispatches and descriptor tables of the other lists in the submission.VICTORY_D3D12_DEBUG=1): the only error is theRemoveDevice/DXGI_ERROR_DEVICE_HUNGmessage. Its other output is warnings only (pixel shader expects an RTV but the PSO has none, depth-stencil expected but none bound,ClearRenderTargetViewclear values differ from the resource's).Other warnings in the same log
shader does not translate; its pipelines' draws are dropped, among them:a structured buffer of unknown stride is not supported(compute)a 64-bit image atomic is not supported(pixel)a lane-mask join of an untracked mask is not supported,a descriptor read only as data is not supported,a scalar memory read as data is not supporteda dispatch without a host pipelinea black frame after a frame that was not/levels after the black frame(5 times)view the host does not allow unordered=true format=53 flags=2buffer view not on an element of its host copy(2 times)method not implemented object="device"for slots0x218and0x1c8Attachments
victory-console.txt
crashes.log
@Luislariosss on GitHub · 2026-11-24 00:16 UTC · original
Two placeholders in the Environment block are still empty:
driver [version]and[Windows 11, build 24H2]. Could you fill them in? They separate driver behaviour from VIctory bugs, and on RDNA4 the exact Adrenalin and Windows driver version matters.For reference, a different RX 9060 XT (gfx1200) on Windows 11 build
26200reports:Vulkan subgroup numbers, not a D3D12 datum, so read it only as "which card and driver". I do not have the game, so I am not claiming anything about the
0x1a00b0000fault itself.Two things that might narrow it down if you re-run with the
diagbuild (both variables are read by the code):VICTORY_D3D12_DRED=1withVICTORY_GPU_TIMING=1to see whether a specific list or draw precedes the fault.VICTORY_D3D12_DEBUG=1withVICTORY_D3D12_GBV=1if you can afford the slowdown, for gap validation messages.AI-assisted.
@gw1337x on GitHub · 2026-11-24 00:25 UTC · original
Same class of failure (world, GPU page fault below every host allocation) on RDNA3, with DRED data from a build based on current
main. The signature differs from the one above: different address, and no list stopped mid-way.Setup: RX 7800 XT 16 GB, driver 32.0.32015.7029, Windows 11 (26200), 31.6 GB RAM.
diagbuild of35b054ewith #57, #40 and #67 merged locally (they merge cleanly), so this is not plainmain. Note that #40 rewritesindirect.rs, and the work in flight below is indirect execution.VICTORY_D3D12_DRED=1, Series X mode, v1.0.2.1.What happens: menus at 30 fps, then the opening cutscene shows at 1–2 fps. The screen goes blank and the device is removed 91 s after start (frame ~969).
Removal:
host GPU device removed after a submission of 32 lists; page fault at 0x27ab000; no title memory copy below it; the nearest above: 0xd95840000+0x600000 at host 0x260980000 (789 copies in all). DRED names no allocation containing the address.One observation, unverified:
0x27ab000is smaller than the view heap's length (view heap 0x104f30000+0x2800000). Read as a byte offset at 32 bytes per descriptor, it would be slot 1,299,840, past the title's 1,245,184 slots in the dynamic part. So a heap offset may be used somewhere as an address. No user data in the marker notes has a value on that page.Breadcrumbs: lists 0–20 are complete (list 19: 1834/1834). List 21 shows 0/2225 (op 46
BEGIN_COMMAND_LIST), and so do all later lists. So the fault is either at the tail of list 19 or the head of list 21.kind 10 max 1) of mesh pipelines413144fb9d62e37e/633c1f8872ed8c6d,9630030a53ecd8ce/694a77a5281029ffand1da1eb9822214321/44367a1e10f73bdf, each with aroot3view resolved to a host copy. Thendispatch 16x16x3 [compute ec982aaadc623a49].dispatch 16x1x1 [compute 9146291b38ea9ce1], twoindirect kind 2of the same compute shader, thenindirect kind 10mesh executions of7972997d15fd9e69/9f14b72117e2abec.Earlier on the same PC (
d222b87, indirect execution off, no DRED), the device also hung in the world (0x887A0006, ~135 s). That run had no device-removed data, so its cause is unknown.WARP (
VICTORY_D3D12_WARP=1) doesn't reproduce this. It refuses 56 world compute pipelines with E_INVALIDARG, and fails earlier on its own null read inside WARP's compiled shader code. Skipping010a50ce68d02c16avoids that read, then another shader fails.I can rerun on plain
35b054e, or with #70'sVICTORY_SKIP_PIPELINESon the pipelines above, if that helps. A driver reset once took my whole PC down (this one didn't), so I'd keep it to a few targeted runs.@Numbers-iwnl on GitHub · 2026-11-24 00:38 UTC · original
Second RDNA4 part, same stage and nearly the same address — plus a stock-clock control that rules out tuning instability.
Hardware: Windows 11 (26300), Ryzen 7 5700X3D, 32 GB, RX 9070 XT (RDNA4, gfx1201), driver 32.0.32029.2010 (Adrenalin 26.11.2), ReBAR on.
Build:
mainatb99f876,cargo build --profile diag -p victory --features diagnostics, Rust 1.98.1, MSVC 19.44.Input: physical Xbox 360 pad, driven by hand through the first-boot wizard.
It renders the opening before it dies
Loading completes and the intro card renders — the frame reads "VICE CITY, TWO YEARS AGO" — with the title reporting 463 draws/frame at 7.1 s/frame (0.14 fps). Then the picture freezes and the host device comes out. The menus before it are rock solid: 30.0 fps, 33.3 ms/frame, 21 draws/frame, held for minutes with no device loss.
Two runs, same fault, different clocks
0x1a00c40000x1a00c4000dispatch 3x1x1 [compute ab619d0b7b7684d2]dispatch 5x1x1 [compute ab619d0b7b7684d2]0x3daa0000+0xae00000at host0x26f800000(487 copies)0x3ff50000+0xae00000at host0x26f800000(480 copies)Same GPU virtual address, same compute shader, same command index, on stock clocks and on an undervolt/VRAM overclock. So the fault is not a voltage or memory-clock stability problem — it is reproducible independent of tuning on this part.
Related: #59 (RX 9060 XT) reports
0x1a00b0000at the same stage, i.e. within 0x4000 of this one on a different RDNA4 die, which suggests one address-computation problem rather than two.Reproducing
A pad must be connected and the wizard walked by hand; the account picker and settings pages accept no synthetic input.
AI-assisted — agent: yes.
@gw1337x on GitHub · 2026-11-24 00:57 UTC · original
Follow-up on the RX 7800 XT data above, now on
mainat9aef3d9(plus #40 and #67 merged locally, and diagnostics switches). Two findings.1. On current main the world faults at ~58 s in a depth-pyramid compute pass
Two runs, same build, with and without the change in section 2. Both fault at ~58 s:
page fault at 0x3810000/0x3813000no title memory copy below it, and no DRED allocationIn the second run, DRED stopped mid-list:
a list stopped at command 11 of 34 (op 6), the dispatch in flight:The rest of that list is the same pyramid continuing:
82849f7a614208eb8x4x1,9afd549c4f5309011x1x1, then362753554f3ad60bandaff43dffcb37574e.I checked one idea, a UAV
MipSlicepast the host texture'sMipLevels, with a probe indescriptor::host::make. It never fired on WARP. That's inconclusive, though: WARP refuses2dc602192abf6288(E_INVALIDARG, a WaveSize shader), so the pass never runs there.2. The earlier
0x27ab000fault looks like a missing heap base after the indirect clamp0x27ab000is the byte offset of view-heap dynamic slot 54,656 (title slots 1,245,184 + 54,656, 32 bytes each), with no heap base added. The host view heap itself is at0x104f30000+0x2800000. The work in flight was onlyExecuteIndirectmesh dispatches (kind 10) and kind-2 dispatches.In
State::execute_indirect,indirect::boundbinds its own compute root signature and pipeline. Afterwards onlyhost_pipelineandhost_roots[1]are reset. So kind-2 dispatches re-set their compute root signature, but kind-10 mesh dispatches reuse the graphics root signature and heaps from before the clamp.Results on
35b054e+ #57/#40/#67:VICTORY_NO_INDIRECT_MESH(dropping kind 10): no page fault, frame 1144 vs 969.host_heaps = [0; 2]afterbound(heaps and both root signatures set again before the indirect command): kind 10 ran ~2,000 times with no heap-offset fault on9aef3d9.The section 1 fault now comes first, at 58 s, with or without the reset. So I can't call the reset a proven fix, only that it removed one fault signature and costs one
SetDescriptorHeapsper indirect command:A heap/root-order probe on WARP found no draw or dispatch with the view heap unset, or with the root signature set before the heaps, in about 1,050 frames. So the heap tracking itself looks right, which points at the driver needing them re-set after the clamp's pipeline.
Logs, DRED text and the probes are available if useful. I'd rather not run many more real-GPU tests here: one driver reset took the whole PC down.
@hashdev512 on GitHub · 2026-11-24 01:05 UTC · original
Another RX 9070 XT run with DRED, on current
main. This time a list stops mid-way inside one mesh pipeline that translates cleanly, so the stopped command does have a marker.Setup: Ryzen 7 5700X3D, RX 9070 XT (RDNA4), driver 32.0.32029.2010, Windows 11 build 26300.
mainat4c0bb89, plus a local rename of the secondmod testsinvictory-gpu/src/host.rsso the tests compile (same fix as #129; it changes only test code).cargo build --profile diag -p victory --features diagnostics, Rust 1.98.1. Series X mode, title7952987Av1.0.2.1, executable BLAKE3b99f876b…39e93.VICTORY_D3D12_DRED=1.VICTORY_D3D12_DEBUG=1was also set, but Graphics Tools was not installed yet, so the debug layer did not load (0x887A002D). A debug-layer run follows.Timeline: start 00:55:18 UTC, first mesh pipeline bound at 00:55:24 (pipelines were cached from an earlier release run), device removed at 00:56:40. 789 shaders translated, 97 refused. A release build run before this one got further (frame 2938) and was removed with no breadcrumbs at all.
DRED:
host GPU device removed after a submission of 25 lists; page fault at 0x70000378f0000xd2072ffd0+0x20000 at host 0x53ff90000; the address is far past the end of the view heap (0x1000f0000+0x2800000) and the sampler heapSome(3)stopped at command 320 of 641 (op 42); listsSome(4)toSome(24)are at 0mesh 1…mesh 18groups) of one pipeline: mesh7eefb872d56bb1d8+ pixel8c5512c9589ff899, root30x76a4c0000; command 320 ismesh 16Compared with the other reports in this issue (
0x1a00b0000,0x3810000, both low and below every copy), this address has a high0x7000_0000_0000part. That looks like a 64-bit address whose high half is wrong. That is a hypothesis only; I have not traced it.Next I'm running it again with the debug layer, then with
VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8to see whether the fault moves.AI-assisted (Claude Opus 5.5): logs read and summarised by the model, numbers checked against the log by grep.
@bobcatchris on GitHub · 2026-11-24 01:07 UTC · original
Same failure family on RDNA3 / RX 7900 XTX (16 GB, driver 32.0.32029.2010 = Adrenalin 26.11.2, Windows 11), after the driver update that stopped the machine-wide freezes — so no reset this time, but the host device is still removed at world entry. Data point for the
0x38xxxxxcluster.Setup: current
mainat9aef3d9+ local rename of the secondmod testsinvictory-gpu/src/host.rs(the #129 fix),cargo build --profile diag -p victory --features diagnostics, our copy of the 1.0.2.1 executable (BLAKE3b99f876b…239e93),VICTORY_D3D12_DRED=1, Series X, scripted keys through the first-boot screens. World entry at ~55 s, device removed at ~58 s.DRED:
page fault at 0x38a7000, no title-memory copy below it, nearest above0xf5b0000+0xae00000;2dc602192abf6288was bound 2 s earlier (the same depth-pyramid shader as your RX 7800 XT follow-up).VICTORY_SKIP_PIPELINES=2dc602192abf6288: the fault moves to0x3856000, still in the same0x38xxxxxregion, nearest above0x17be0000+0xae00000. So this is not one program: several passes dereference the same unmapped title address window.That narrows it to the shadow/copy layer around title VA
0x3800000, not to shader translation. The addresses in your reports (0x3810000/0x3813000on the 7800 XT,0x27ab000/0x1a00b0000elsewhere) are different windows but the same signature: a guest VA with no host copy below it.Happy to run the next diagnostic on this machine (machine freezes no longer occur with the new driver; the app exits cleanly with 0x887A0006). Say which probe you want. AI-assisted.
@hashdev512 on GitHub · 2026-11-24 01:10 UTC · original
Follow-up to my comment above: same machine and build, now with Graphics Tools installed, so
VICTORY_D3D12_DEBUG=1andVICTORY_D3D12_DRED=1were both active.The fault signature changed. Started at 01:06:22 UTC; the device was removed at 01:07:47 (
DXGI_ERROR_DEVICE_HUNG,0x887A0006):host GPU device removed after a submission of 1 lists; page fault at 0x380e000; no title memory copy below it; the nearest copy above is0xdc5952000+0x802000(776 copies in all)a list stopped at command 718 of 1364 (op 5) ... command 718 (op 5): no marker; the list's recorded work is compute dispatches (186de5778eb555c8,b585907117661f1b,dc20f390c4354fb4, all translated)This matches the low-address compute fault @gw1337x found on the RX 7800 XT (
0x3810000/0x3813000), not the mesh-draw fault at0x70000378f000from my previous run. So this one machine shows both signatures, and which one appears changes from run to run.What the debug layer reports before the removal (no CORRUPTION messages):
78 resource-state errors (severity 1), all on one resource,
title buffer 0x17230000+0xae00000:IASetVertexBufferswhile the buffer is inUNORDERED_ACCESS; the expected state isVERTEX_AND_CONSTANT_BUFFERUNORDERED_ACCESSdoes not match the tracked stateVERTEX_AND_CONSTANT_BUFFER(30 "assumed at first use", 21 "specified in preceding ResourceBarrier or as InitialState")COMMONSo in some lists the buffer is written as a UAV and then read as a vertex buffer without the transition that would make the writes visible. I have not shown that this causes the fault, but stale vertex data in that range is one way a shader could end up with a bad address.
Pipeline library: 158 × id 970 (
StorePipeline: a pipeline with name … already exists) and 157 × id 972 (Load*Pipeline: the pipeline state desc provided does not match the one used to create the PSO stored with name …), across 119 names, plus 316 × id 971 (no pipeline stored under the name). Two different descs end up stored and looked up under one name, so the pipeline cache key appears to miss some field of the desc. These are warnings (severity 2), and I can't tell whether the PSO loaded is ever the wrong one.Otherwise only a few id 679 (no RTV bound for the pixel shader) and id 820 (clear values differ).
125 shaders refused in this run, against 97 last time; the world streamed in further.
Next:
VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8, to see whether the mesh-draw signature goes away.AI-assisted (Claude Opus 5.5): logs read and summarised by the model, counts taken with grep over the log.
@bobcatchris on GitHub · 2026-11-24 01:13 UTC · original
Follow-up on current upstream main (
d2a4bae, with #129 merged): same world-entry failure on RX 7900 XTX / driver 32.0.32029.2010. Menus run 28-30 fps with correct rendered art (captured the first-boot UI and the Vice City flamingo/title-card frame from the package at 1920x1080), then the host device is removed with page fault at 0x3848000 - same 0x38xxxxx family as the earlier 0x38a7000/0x3856000 runs. No machine reset this driver, app exits cleanly. This confirms the fault is still present on latest main and not tied to one shader (skipping 2dc602... moved the address within the same window). AI-assisted.@hashdev512 on GitHub · 2026-11-24 01:20 UTC · original
Third run on the RX 9070 XT: same build,
VICTORY_SKIP_PIPELINES=7eefb872d56bb1d8andVICTORY_D3D12_DRED=1(no debug layer, the same switches as my first run).Skipping that pipeline does not prevent the fault, it only moves it. The world got further (past frame 2048, 11,278 draws all executed; 1161 shaders translated, 267 refused), and the device was removed about 2 min 20 s after start (01:13:28 UTC):
host GPU device removed after a submission of 32 lists; page fault at 0x800003792000, far past the end of both heapsa list stopped at command 107 of 109 (op 5):command 107: indirect kind 10 max 1(an indirect mesh draw) of a different pipeline, meshae9ee9074f2e971f+ pixel1cb9d385ac8987c4, withu13=0x0The low 32 bits of the faulting addresses fall in one narrow range. Every fault from my three runs, and both of @gw1337x's RX 7800 XT faults, land inside about 540 KB once the high half is ignored:
0x70000378f0000x0378f0000x380e0000x0380e0000x8000037920000x037920000x3810000/0x38130000x03810000/0x03813000The high half is
0,0x7000or0x8000. My reading, which I have not checked against the code: some address is built as a base of about 56 MB (~0x3800000) plus something, where that something is either zero or junk in the upper 32 bits. That could be a 64-bit pointer assembled from two SGPRs where the high one is never written, or a root or user-data value that is 0 when the shader expects a real base. Two different mesh pipelines and one compute pass end up at the same low address, so the bug is probably in one place that they all go through, not in a single shader. (The0x1a00b0000fault in the original report does not fit this pattern.)Warning for other RDNA4 testers. After this removal the display went black and did not recover: no TDR recovery, and the PC needed a hard power-off. The first two removals on this machine recovered by themselves. Use
VICTORY_D3D12_WARP=1if you can't afford that.AI-assisted (Claude Opus 5.5): logs read and summarised by the model, addresses and counts taken from the logs with grep; the address-pattern reading is a hypothesis.
@dareknielubivalve-droid on GitHub · 2026-11-24 01:30 UTC · original · edited 2026-11-24 01:36 UTC
Hope this helps. I've got the same error output as you. Different fault adress though. 0x1a00b0000 - 0x374c000
Seeing what looks like the same failure on an RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974).
World loading becomes very slow, then the device is removed (
0x887A0006) after a GPU page fault at0x374c000.I built with
--profile diag --features diagnosticsand ran withVICTORY_D3D12_DEBUG=1,VICTORY_D3D12_DRED=1andVICTORY_LOG=debug. The log says:indirect kind 2 max 1) of shadercabb87599722e59au4/u5heap null,Uav s1+96: uav None)Key line:
Commit: [hash]. Tested PRs: [#55 / #57 / #40, with results].
log is in zip cuz about 110 000 kb
log.zip
@chuppatricky on GitHub · 2026-11-24 01:39 UTC · original
A data point from Linux that may help narrow this down: the world fault only appears once indirect execution actually runs.
Setup: RX 7900 GRE 16 GB (RDNA3), Mesa RADV, GE-Proton11-12 (Wine) with vkd3d-proton master and DXVK dxgi.
mainat9aef3d9, cross-built with cargo-xwin, plus the #128defer_fillfix. Series X mode, v1.0.2.1.Under Wine,
D3DCompileis Wine's builtin d3dcompiler, which can't compile the indirect-argument clamp (E5005: Method 'Load' is not defined on type 'RWByteAddressBuffer'). So "no argument clamp: indirect execution dropped" fires and every ExecuteIndirect is skipped. That gave a natural A/B:9aef3d90x8003a84c30000x800496760000All the faults are TCP reads (
PERMISSION_FAULTS 0x3) at addresses inside RADV's normal VA range, so they hit allocations that are no longer mapped, not garbage pointers. Each time, a "slow host submission" of about 2 s (18-24 lists) comes right before the fault. About 30 s later the title itself dies with a null write at image+0x23cf683, before VIctory reports device loss, so vkd3d-proton breadcrumbs (even withbreadcrumbs_sync) never got dumped.So #135 fixed the earlier fault class on RADV. What remains correlates with indirect execution, which fits @gw1337x's
VICTORY_NO_INDIRECT_MESHresult above. One run per configuration, so take the timings as indicative only.AI-assisted (Claude Code); runs and observations are from a real machine.
@hashdev512 on GitHub · 2026-11-24 02:15 UTC · original
More data from the same RX 9070 XT, now with Radeon GPU Detective (RGD 1.6.3.7 via
RadeonDeveloperPanelCLI -m crash --rgd-enhanced --rgd-collect-sgprs, driver 26.11.2), onmainatd2a4bae. That makes 12 world faults on this machine. Every one of them was in mesh work: RGD's in-progress markers are allDispatchMesh, and DRED's stopped command was op 42 (DispatchMesh) or op 5 (ExecuteIndirectof kind 10).Offending VAs (RGD):
0x700003741000,0x25a2000,0x800003765000,0x800003ca3000. RGD lists no associated resource for any of them, even with ETW configured (the resource timeline stays empty).The interesting capture: in one of them three mesh pipelines had waves in flight, and SRD analysis was available. The suspects were
s_load_b128reads of descriptors from the shader-visible heap (s[10:11] = 0x1_00130000, the slot offset near0x2701f80, i.e. slot ≈1.28M of 1,310,720), followed by buffer loads through what was loaded. The four descriptors loaded had dword00x025a2800,0x02565300,0x0200b200,0x02d40480and dword30x9020022c/0x90200204. Every buffer SRD in the same waves (the root descriptors) has dword3…4fac. So these look like image descriptors (T#), whose dword0 is the base address >> 8 (0x025a2800 << 8 = 0x2_5a28_0000, a normal host VA). That capture's fault was at0x25a2000, the page of dword0 taken as a byte address.Hypothesis (not proven): a mesh shader reads a heap slot as a buffer while the slot holds a texture view. The GPU then takes
T#.dword0(texture base >> 8) as the buffer base, and bits of T# dword1 (format and so on) as its high half. That fits every address in this issue: the low halves cluster at0x37xx_x000–0x3cax_x000(the same few textures every time), the high halves are0,0x7000or0x8000, and no allocation ever lives there. Two things point the same way:descriptor/host.rsitself says a null 2D view read as a buffer is a mismatch the hardware does not survive, and every slot starts as a null 2D view (fill_null,make_null,null_view).SRV Dimension Expected: TEXTURE2D, In Descriptor: TEXTURE1Don heap slot 0 (6–8 times per run): the same kind of type mismatch, on the texture side.My best guess is a stale slot. A shader with dynamic resources computes the slot index on the GPU, so the draw-time
mirror()never refreshes that slot. If the title has since put a buffer view there, the host still holds the old texture view. I have not shown this.Ruled out on this machine (each with a GPU run):
continueindraw.rsafterroot_view(): it never fires);storeVertexOutput/storePrimitiveOutputtothread < max: same fault);max_verticesinemit_indices: next fault0x800003765000);d2a4bae: the world gets about 10 s further (106 s), but it faults at0x800003ca3000. That run had no wave in flight, so no SRD to look at.GPU-based validation cannot reach the world here: with
VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_GBV=1the title itself crashes on the CPU at+0x23cf683(access violation writing 0), 2 runs out of 2, about 1 min 45 s in. Then it tries to upload a minidump tosubmit.backtrace.io, which VIctory blocks. So validation can't name the mismatched slot on this machine.Two side findings:
VICTORY_D3D12_WARP=1rejects the hardware pipeline library (another adapter), starts an empty one and then saves it overhost-pipelines.bin. The next hardware run starts with no pipelines again.pipeline/library.rs: within a single run, starting from an empty library, the same mesh pipeline is created twice and the secondLoadPipelinefails with id 972 (desc mismatch) against the entry stored moments before (78 times by frame 1024). Zeroing the padding of the meshStreamdoes not change that.AI-assisted (Claude Opus 5.5): RGD and DRED output read and summarised by the model, counts and addresses taken with grep. Nothing of the game is quoted. The values above are host descriptor words and addresses.
@Bushyon on GitHub · 2026-11-24 02:21 UTC · original
RDNA3 on Linux, with indirect execution running through #190's clamp (Wine's builtin
d3dcompiler_47, no Microsoft compiler): #135 moves the world fault from ~40 s to ~7.5 min; the late fault has the same signature as @chuppatricky's v3–v5.Setup: RX 7800 XT 16 GB (RDNA3), Mesa RADV 26.2.6, Fedora 44, kernel 7.3.3. Proton Experimental 11.0-20261112 (wine-11.0, vkd3d-proton
2576c0b4a, DXVKv3.1.1-209). Release build cross-compiled with clang-cl, lld-link and xwin. Series X mode, v1.0.2.1.Build:
maind2a4bae+ #177, #151, #190, #145 + the #128defer_fillchange (copy_texture_regionstaging path), with and without #135.story000opens, right after aslow host submission ms=2054story000opens, right after aslow host submission ms=2061 lists=20; 0.1–0.5 fps, 145–2,560 draws/frame before itKernel log for both faults:
[gfxhub] page fault,Faulty UTCL2 client ID: TCP (0x8),PERMISSION_FAULTS: 0x3,MAPPING_ERROR: 0x0, from thevkd3d_queuethread, at addresses in RADV's normal VA range. In C this was followed byring gfx_0.0.0 timeout, a ring reset that succeeded, and VIctory reporting0x887A0005. The desktop survived.No indirect-clamp warning in B or C. The per-frame
indirectdrop count stayed at 400–2,600, alongside 200–2,500 draws dropped without a host pipeline. One run per configuration.@trickveiraoficial on GitHub · 2026-11-24 02:27 UTC · original · edited 2026-11-24 02:49 UTC
Native AMD RX 9060 XT — D3D12 device hang / DRED page fault
I retested the same game build on a native D3D12 path using my Radeon RX 9060 XT (16 GB). This was not a WARP run:
VICTORY_D3D12_WARPwas unset, and I also removedVICTORY_SKIP_PIPELINES. D3D12 debug layer and DRED were enabled (VICTORY_D3D12_DEBUG=1,VICTORY_D3D12_DRED=1).System / test details
d2a4baev1.0.2.1(Title ID7952987A)cargo build --profile diag -p victory --features diagnosticsObserved behavior
The game initially ran at approximately 30 FPS, then performance degraded to below 2 FPS before D3D12 reported
DXGI_ERROR_DEVICE_HUNG (0x887A0006)/ TDR. This was reproducible on the native GPU path.DRED details
D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH_MESH(kind 10).2ee026ab4e20bbd58b07450f04377f145f768f033823d36band pixel shader06e5cf7877e5792a.0x2bcc000.0x49c0000(size0xae00000); it did not identify a title memory-copy allocation covering the fault address.I don't want to overstate what this proves: the breadcrumbs point to an indirect mesh-shader dispatch near the failure, but they do not by themselves identify the faulty resource or shader. Possible areas to investigate include an invalid/stale GPU virtual address, descriptor binding, or resource lifetime/mapping around the mesh dispatch.
Could you advise whether this DRED pattern is consistent with a known mesh-shader / indirect-dispatch issue in VIctory, and whether additional instrumentation around descriptor/resource lifetime or the dispatch arguments would help narrow it down?
I have the full native log (
native-rx9060xt.txt, approximately 2.6 MB) available and can attach it if needed.native-rx9060xt.txt
@Klaerbgloiu on GitHub · 2026-11-24 03:19 UTC · original
Another RX 9070 XT (RDNA4) here, same stage as above: device removed (0x887A0006) once the world starts rendering.
Setup:
Windows 11 26H2 (build 26300.9457),
mainat35b054e,diagbuild withVICTORY_D3D12_DEBUG=1andVICTORY_D3D12_DRED=1, Series X mode. Run 1 was on driver 32.0.23034.4; runs 2 and 3 on Adrenalin v. 26.11.2 driver 32.0.32029.2010.Three diag runs, three different failure points:
0x9000027c7000: command 1013 of 1254, anindirect kind 2dispatch of computec9da71da40af2e28.0x2ba2000: command 625 of 698, adispatch 1x1x1of the same compute shader.0x80000378f000: list 19, command 51 of 162, mesh draw[mesh f0c7efd2aceb2aaa, pixel 7d85c9cab3c80721], after many indirect mesh draws in earlier lists completed.Runs 1 and 3 report heap slots in the trillions, far past both heap ends. Run 2's low address looks similar to the
0x27ab000fault in the RX 7800 XT comment above. In runs 1 and 2 the compute dispatches show severaluav Noneentries and NaN/denormal constants. Because the failing command changes between runs, this may not be a single bad shader, but I haven't verified that.Logs attached, Happy to try specific env vars or patches.
crashes2.log Runs 1 and 2
crashes3.log Run 3
@GamingRipperDoc on GitHub · 2026-11-24 03:34 UTC · original
Some static analysis around hashdev512's descriptor reading, from the translator's own resource tracking (CPU only, a local probe in
victory translateover the dump;maind2a4bae+ #175). Two leads ruled out, one fact about where the faulting load read.1. hashdev512's in-flight load read one of VIctory's dynamic slots. The host view heap is the title's 1,245,184 slots plus
DYNAMIC= 65,536 (1,310,720 on this RX 9070 XT, the same count the device-removed report gives). The capture above has slot offset0x2701f80, i.e. slot 1,281,020, which is past the title's slots: a tabledraw.rs'stables()made afresh (every table holding a CBV is), not a slot the title wrote.2. Ruled out: shaders reading past the entries a fresh table gets.
tables()makesn= highest used entry + 1 entries. For every program in the dump, I compared the highest descriptor its code loads at a fixed offset per table with thatn: no program loads past it. For the faulting mesh programs it is exactlyn - 1(37f363f0a5dcd806slot 0: entry 89 of 90, slot 1: 5 of 6;ae9ee9074f2e971fslot 1: 8 of 9;7eefb872d56bb1d8slot 1: 4 of 5; …). So a fresh table has every entry the code names, at fixed offsets.3. Ruled out earlier (#304):
u13. It isRootType::Constantsin every shader that has it (#427 makes the report show this).4. The three mesh programs from my faults read one descriptor at a computed heap index.
d9abe24ad7bfe920,c5ffa556ab926155and37f363f0a5dcd806share a layout (u11root SRV for vertex fetch,u13constant,u15ResourceHeap,u16SamplerHeap) and each loads one resource descriptor fromu15+ a computed term (SM 6.6 dynamic resources). Per the emitter notes, those are slots no used entry lists, so a draw neither refreshes them nor makes their host view the kind the shader reads. A buffer read through a slot whose host view is a texture would give these addresses. But that's not discriminating: 17,306 programs have such a read (7,059 mesh, 7,943 pixel, 1,398 compute, 906 vertex), and hashdev512's7eefb872d56bb1d8andae9ee9074f2e971fhave none, so it can't be skipped to test, and it doesn't cover every fault.What would discriminate, I think, is GPU-side: the index such a load computes (is it inside the title's 1,245,184 slots, and what kind is the host view there), or RGD's SRD analysis on a fault whose in-flight wave is one of these programs. I can't do the latter without RGD here.
The probe is a local addition to
apps/victory/src/translate.rs(VICTORY_PROBE=<hashes>); I can put it up as a PR if it's useful to others.No game data used; hashes, counts and offsets are the translator's output.
AI-assisted (Claude Code); I ran the probe on my machine.
@KingKaom on GitHub · 2026-11-24 03:55 UTC · original
RX 9070 XT (RDNA4), Windows 11 26300 — same fault family: page fault at
0x8000037d1000in the first world frame's mesh workSetup: Ryzen 7 9800X3D, RX 9070 XT (driver 32.0.32029.2010), 32 GB, Windows 11 build 26300.
mainatd2a4bae. Diag build (cargo build --profile diag -p victory --features diagnostics),VICTORY_D3D12_DEBUG=1+VICTORY_D3D12_DRED=1, Series X default, v1.0.2.1 package verified byte-exact (108 files vsgame/xbox-1.0.2.1.json).Repro: two runs (one release, one diag) reproduce the #304 timeline exactly: menus 30 fps → intro video with sound → ~50 s load → first mission's title card renders → dark scene at 0.5–1.8 s/frame → TDR ~50–55 s after.
New data points:
0x8000037d1000— same0xNN0000_00XX_X000family as @hashdev512's captures (0x700003741000,0x800003765000,0x800003ca3000). The stopped list is1 of 23at command 3854/4413 (op 42) — a list dense with kind-10 indirect mesh draws (32c5e0e62380b489,8c0c0024c3c557dc,413144fb9d62e37e,ae9ee9074f2e971f) plus a24x24x6computeec982aaadc623a49; the other 22 lists of the same submission never started (0/N).view heap … past its end (slot 4397914091648)andsampler heap … past its end (slot 8795825561856)—0x400000000300and0x800000000600: slot indices with junk-looking upper bits against a ~1.3 M-slot heap, consistent with a handle whose upper 32 bits are not clean.Next on this machine:
VICTORY_SKIP_PIPELINES=32c5e0e62380b489,8c0c0024c3c557dcandVICTORY_SHADER_LOOP_LIMIT=256A/Bs; will report whether the fault moves, stops, or stays.@colehammond65 on GitHub · 2026-11-24 06:58 UTC · original
RTX 4080 cross-check: no page-fault signature here. Four DRED-enabled runs on Windows 10 build 26300 all ended in
0x887A0005/0x887A0006, but none reported a page fault or freed allocation. DRED stopped inEXECUTE_INDIRECT(op 5) orDISPATCH_MESH(op 42). This suggests the RDNA4 page-fault signature is not the only world-entry failure mode. Full report: #334AI-assisted test report.
@PastiiJay on GitHub · 2026-11-24 08:33 UTC · original
RDNA4 data point (RX 9070 XT), 11 runs over the last ~10 hours, from
97c78d1to58fed37. Short version: menus and first boot are perfect here; in the world the device is removed every time, and sinceedf64e2the fault moved to memory that was already freed.Setup
cargo build --release -p victoryand--features diagnostics, plainmainat each commit below, no local changesVICTORY_D3D12_DRED=1; one run with the D3D12 debug layer (Graphics Tools installed)What works
Device removed in the world (every run)
fa5ef730x337f000, below every title copy; list 1 stopped at 1252/1636fa5ef73+ debug layer82849f7a614208eb,9afd549c4f530901,2dc602192abf6288,9ef9a9d818b27236,4fcf26015f70eecf,ba4e20a2fd3483381f858b0+VICTORY_SKIP_PIPELINES= those six0x700003789000, list 2 at 720/1545 → not one program6af0fae0x800003783000edf64e20x420bbe000inside freed["texture 2048x2048 f98", "texture 4096x4096 f71"], list 1 at 486/8507374bfb0x58aa5c000inside freed["title buffer 0xb36a00000+0x14c120"], list 15 at 319/38158fed37So on this card the remaining blocker looks like a GPU read of a texture / title buffer after VIctory freed it (use-after-free on the host side), not an invalid API call. Happy to rerun any commit or env var you want and post the DRED line.
No game files or logs with personal data attached; full logs available on request.
@d1ll3x3 on GitHub · 2026-11-24 09:49 UTC · original
answer: RX 7800 XT (RDNA3, 16 GB), Windows 11, 32 GB RAM, Xbox Series 1.0.2.1, diag builds,
VICTORY_D3D12_DRED=1main@d2a4bae, no fixes: the device is removed seconds after the story load starts, with GPU page faults at low addresses (0x26…, 0x33…, 0x38…) in compute dispatches (e.g. ec982aaadc623a49, ef05293f6107fc99); skipping them withVICTORY_SKIP_PIPELINESonly moves the fault.main@d2a4bae+ #135 + #40 + #67 (before those were closed): the first mission's intro cutscene plays (audio, subtitles), then "inside freed" on 2048² BC7/BC1 textures after 3 min 23 s; a 32-frame retention → 6 min 11 s.main@8e79c80+ #609 + #568 + #67: 5 min 16 s, "inside freed" BC1 textures (op 6 dispatch 2dc602192abf6288); withRETAIN_SUBMISSIONS = 512, 2 min 39 s (op 15, ResourceBarrier).main@8e79c80+ #431 + #568 + #67: 11 min 39 s, then "inside freed" on a texture plus a title buffer (op 42).Details on #609, #431 and #568.
AI-assisted (Claude Code).
@KingKaom on GitHub · 2026-11-24 10:00 UTC · original
RDNA4 replica of the #431 + #568 + #67 stack — RX 9070 XT, 32 GB RAM, diag build with
VICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1, local merge ofmain@8e79c80+ all three (merged552eb7):inside freedappears nowhere in the whole run log (0 occurrences), and no descriptor-exhaustion warnings either. The freed-resource death that ended every one of our runs on plain main is gone with this stack.8e79c80. About 5x, not 11:39. Single run; the variance in this family is wide, so treat it as a lower bound.page fault at 0x37fc5b000— low 32 bits0x037fc5b00, inside the ~540 KB window of their table. The nearest copy below is an 8 KB title-memory copy mapped at0x37fbf0000; the fault reads 0x6b000 (424 KB) into that mapping, 148 KB short of the copy above. All breadcrumbs read done==count (no list stopped mid-way). So once the freed-resource family is gone, a bad reader in the same narrow window is what remains on this box.AI-assisted (Hermes Agent).
@Klaerbgloiu on GitHub · 2026-11-24 10:15 UTC · original
Update on the RX 9070 XT above:
mainat8e79c80, same diag build, Adrenalin 26.11.2. Still black picture with audio, but it gets further than at35b054e, and the signature changed to the freed-memory one PastiiJay described: page fault0x483bbd000inside freed ["texture 1024x1024 f98 flags 0x0 (type 34)" x2], list 5 of 23 stopped at command 2158 of 2931, mesh draw[mesh c2b963cd8c154f0a, pixel 2edbd011d7110758]. The view heap is now0x2e00000long. Log attached.AI-assisted (Claude)
crashes4.log
@PastiiJay on GitHub · 2026-11-24 10:17 UTC · original
Second RX 9070 XT data point on the same stack (
main@8e79c80+ #431 + #568 + #67, diag build,VICTORY_D3D12_DRED=1, 32 GB DDR5, driver 32.0.32029.2010). Thanks @d1ll3x3 and @KingKaom.inside freedanywhere in our logs either, and no descriptor-exhaustion warnings: the freed-resource family is gone here too.VICTORY_D3D12_DEBUG=1). The DRED line has no page fault and every breadcrumb reads done==count ("2/2" on all 32 lists), so it looks like a timeout rather than a bad read.8e79c80and today'sffe310e(no PRs) reach the world at ~60 s (0 fps, ~1,300 draws/frame) and are removed 3–4 s later, same DRED shape. No pad connected (ruled out).So on our RX 9070 XT the remaining stop is not the low-address reader @KingKaom sees, but a removal with clean breadcrumbs ~60 s in. Happy to rerun anything (TDR settings, a build with more breadcrumbs, a different driver) and post the logs.
@dareknielubivalve-droid on GitHub · 2026-11-24 10:17 UTC · original · edited 2026-11-24 10:33 UTC
Another RX 9070 XT (RDNA4), world loading, DEVICE_HUNG after ~6 min. My page faults are different from the
0x1a00....ones above, and they changed between two runs of the same build. Both are inside freed textures:0x3bf71d000, inside freed texture 1024x1024 f980x58b3c6000, inside freed texture 2048x2048 f80 / 1024x1024 f71 / 1024x1024 f98 (list stopped at command 314 of 574, op 42)Build:
6bb6252= PR #55 merged with main (d2a4baeand the main of Nov 24 10:03 local), plus localeprintln!debug prints in lower.rs (no logic change).Before the crash the debug layer warns repeatedly on
title buffer 0x19e40000+0xae00000: UNORDERED_ACCESS state used as a vertex buffer, and barrier "before" state mismatches. Not proven to be the cause. #334 (transition host copies of title memory between shader writes and reads) looks related; I haven't tested it.build RX 9070 XT (driver 26.11.1, 25h2 os build 26200.9974).
Full log (UTF-16): [<>](
log-main.txt
)
AI-assisted.
@Klaerbgloiu on GitHub · 2026-11-24 11:09 UTC · original
RX 9070 XT, Adrenalin 26.11.2 (32.0.32029.2010).
mainat8e79c80+ #431 + #568 + #67 merged locally (HEAD 7d9041e), diag build, DEBUG + DRED.Replicates KingKaom's result: no "inside freed" in the log, and no page-fault line either. Got through loading into the opening cutscene (dialogue audible, picture black, audio was "stuck" at an electrical buzzing noise for a long time) at seconds per frame, with the AMD bug report tool logging repeated driver timeouts while the process kept running. Device removed after roughly 5 min 19 s of play (estimated from the audio, not timed).
DRED: lists 0-14 complete; list 15 of 33 stopped at command 150 of 152 (op 42), mesh draw [mesh 04b9be3756e8f41c, pixel 1af4a50c7fb40c97]. Log attached.
AI-assisted (Claude)
crashes5.log
@PastiiJay on GitHub · 2026-11-24 14:41 UTC · original
Update from the same RX 9070 XT (RDNA4, Adrenalin 32.0.32029.2010, Ryzen 7 9800X3D, 32 GB, diag build,
VICTORY_D3D12_DRED=1). The two AMD removals in this thread are gone with this stack:ffe310e+ #452 (cd6a864) + #431 + #67 + #584 + #493slot 125829120).0x29f4000) in compute37e19ccb4f889f63,dispatch 12x1x1, list 21 of 28 stopped at command 4.37e19ccb4f889f63again), so it does not stack with #493 on this card.VICTORY_SHADER_LOOP_LIMIT=64: no speed-up here, and the low-address fault came back at 161 s.What is left on this card:
copystatreports about 10 GB refreshed per frame (16,881 refreshes, 10,485 MB) and 7–11 GB checked. #393 + #388 + #230 cut the checked bytes from 11.4 to 7.1 GB but not the refreshed ones, and fps does not move.Exact merge order and every run: https://github.com/PastiiJay/klbf-lab (
docs/klbf/results.md). Happy to run any build or flag and post the numbers.@KingKaom on GitHub · 2026-11-24 15:06 UTC · original
Second RDNA4 box: the KLBF-Lab stack survives here too.
We rebuilt your Lab 03 set on
ffe310e(#452+#431+#67+#584+#493, with the#584clamp raised to 1,507,328 as you noted — thank you, that save is real) and ran it diag +VICTORY_D3D12_DEBUG+ DRED with the usual scripted keys.#493-based, without#452/#584). Independent confirmation on a second RDNA4 card: this PR set closes the crash class on RDNA4, and what remains is your "world black, ~1 fps, host-copy-bound" wall — we observed the same (world renders black, menus fine). Our resolved merge head is7bce296onffe310eif anyone wants to compare trees.#431×#452conflict in the lowering pass (both grow theheap_handlepath: per-lane/non-uniform indices vs bounded-view recording), and#584×#452conflict insideheap_handleitself (clamp vs non-uniform flag). We resolved by keeping both behaviors (clamp applied before handle creation, non-uniform flag preserved); the result is the run above.#180also conflicts with#452in the same region, so these translator PRs are starting to stack on each other and may want a rebase order.One data point toward your copy-bound wall: our per-command GPU-timestamp run on the
#493-based stack (#886) found the frame time inside twoExecuteIndirectcompute pipelines (68% of slow-list GPU time) plus one mesh/pixel pair with a single 3.4 s command — the copy refresh itself was only ~0.3–0.5 s/frame of host work preparing, which fits your "GPU 3–10% busy" only if the cost is submission stalls between lists rather than the copies themselves.AI-assisted (Hermes Agent)
@PastiiJay on GitHub · 2026-11-24 15:10 UTC · original
@KingKaom thank you, this made my day. Having a second RDNA4 box reproduce it independently is exactly what I was hoping for, and your note on the merge conflicts will save people a lot of time.
I'm really happy to share and contribute. I'm not writing the core of VIctory, I mostly build, test and measure, but if that helps everyone move forward, that's the goal. Let's keep working on this together.
Your timestamp data is a great lead for the ~1 fps wall: if the time goes into stalls between submissions rather than the copies themselves, that's where I'll look next, and I'll post the numbers here.
@PastiiJay on GitHub · 2026-11-24 15:47 UTC · original
Follow-up from the RX 9070 XT (RDNA4), two findings that may help:
1. The remaining removal on RDNA4 is intermittent and lives in two compute programs. With the Lab 03 stack (#452 + #431 + #67 + #584 + #493) most runs go 400–1,000+ s, but some end with a low-address page fault (
0x29f4000,0x2a0a000,0x2f32000,0x400002659000…). Every time, the list that stops containsdispatch 1x1x1 [compute 37e19ccb4f889f63]followed bydispatch 12x1x1 [compute eeed82b877b44b5f](list 22 of 28 stopped at command 4 of 11 in the last one). It also happens with a change that only batchesGetWriteWatchcalls and doesn't touch what the GPU reads, so it's not caused by the experiments on top. #1019 nameseeed82b877b44b5f(CS_ComputeHitDetectionSkinnedResults) and its null slots, which fits, but stacking #1019 on Lab 03 ended at 130 s here with the same fault, so it doesn't close it on its own.2. The ~1 fps world is bound by one host thread, not the GPU. HWiNFO over a 2-minute world run: GPU utilisation 14 % average (74 % max), compute queues 0 %, GPU clock ~229 MHz average, CPU total 31 %, but the busiest single thread averages 60 % and peaks at 98 %. So the per-submission host work (refresh/watch/copy, ~25 submissions per frame) runs serially on one core while the GPU idles. Spreading that work over a few threads looks like the lever for frame rate; I'm experimenting with that and will post numbers.
Every run with build and numbers: https://github.com/PastiiJay/klbf-lab/blob/klbf-lab/docs/klbf/results.md
@KingKaom on GitHub · 2026-11-24 15:55 UTC · original
Addendum from the same RDNA4 box and same PR set (pjay head): the 885 s survival stands, but the class is attenuated, not eliminated here. Three further runs with capture/diagnostics knobs: one more clean run to 640 s in-world (zero fault lines, hand-stopped; the presented-frame capture in-world is pure black + the control-hint HUD with zero world geometry, matching the black-world reports). But two runs with
VICTORY_DUMP_TARGETS=1lost the device (hang, 0x887A0005) 97 s and 190 s after entering the world, both from a 28-list submission with a page fault below all title copies (no copy at the fault VA, ~0x27–0x2a MB region). Net on this box: 2/4 runs clean past 640 s, 2/4 dead ~2–3 min into the world (vs 100% faults within 150 s pre-set). Both deaths occurred before the dump knob's first target frame, so the knob was likely inactive at death.AI-assisted (Hermes Agent)
@PastiiJay on GitHub · 2026-11-24 16:51 UTC · original
Another RDNA4 data point (RX 9070 XT, Adrenalin 32.0.32029.2010, diag build,
VICTORY_D3D12_DRED=1), this time on top of the AnyXboxX integration (LooperSalty/victoryanyxboxx/stable, VIctory + 24 community PRs):VICTORY_CAPPED_DYNAMIC=262144,VICTORY_SHADER_LOOP_LIMIT=32): 1,221 s with no device removal (stopped by hand), pad input works, and for the first time on this card world geometry shows through (with the game's high-contrast accessibility option on, the player/interactive silhouettes and some scene edges are drawn; the lit picture is still black).VICTORY_SHADER_LOOP_LIMIT=1024: 1,503 s with no device removal, stopped by the test script; same partial geometry; ~1,030 ms/frame in the world.maingives ~50 % runs that die 2–3 min into the world with the low-address fault in37e19ccb4f889f63/eeed82b877b44b5f; none of the AnyXboxX-based runs hit it so far (2 runs, 20–25 min each).So on RDNA4 the AnyXboxX set seems to close that remaining intermittent fault, and the frame stays host-bound (~1 fps, GPU mostly idle). Branch with the exact merge and every run: https://github.com/PastiiJay/klbf-lab
@Drdg263 on GitHub · 2026-11-24 19:23 UTC · original
Independent same-machine baseline on
main(ffe310e) comparing an AMD Radeon 610M (RDNA2 iGPU, native wave64) against an NVIDIA GeForce RTX 5070 Laptop GPU (wave32), reproducing thecompute eeed82b877b44b5fDRED page fault reported in this thread.Environment
26200.7462) x64, 64 GB RAM (63.18 GiBusable)0x10DE:0x2D18,7,891 MBdedicated VRAM,WaveMin/Max = 32/32,4,608lanes,MeshShaderTier = 10, SM6.8), driver621.24(32.0.16.2124)0x1002:0x164E,483 MBdedicated VRAM /31.6 GBshared,WaveMin/Max = 32/64,128lanes,MeshShaderTier = 0, SM6.8), Adrenalin26.11.2(2.0.353)main(ffe310e), Rust1.98.1,cargo build --profile diag -p victory --features diagnosticstarget\diag\victory.exe, separate cleanVICTORY_CACHE_DIRper GPU,VICTORY_D3D12_DRED=1,VICTORY_D3D12_DEBUG=1(host lackedd3d12SDKLayers.dll,0x887A002D),VICTORY_KEYS="8:Enter,11:Enter,14:Enter,17:Enter,20:Enter,23:Enter,26:Enter,29:Enter,32:Enter,35:Enter,38:Enter,41:Enter,44:Enter,47:Enter",target\diag\victory.exe run "<game_dir>\<title_exe>" --execute(Series X mode, title 1.0.2.1).Side-by-side comparison (
ffe310e)host mesh shader supportmesh=true(294mesh PSOs created)mesh=false(0mesh PSOs;507unique mesh shaders skipped)host pipeline refused(0x80070057)114compute (wave64 on wave32 host)0>=8,192(dropped=1..8192, heap capped at1,000,000, #747)0(1,507,328slots)357(307cs,24ps,22ms,4vs)484(464cs,12ps,8vs)1 min 51 s(frame=1194), TDR0x887A0006without page fault (list 31/32,1580/1821)12 min 08 s(frame=2929), DRED page fault0x1ae3dc000Radeon 610M DRED breakdown (
compute eeed82b877b44b5f)list 21 of 29at breadcrumb4/11, right afterdispatch 1x1x1 [compute 37e19ccb4f889f63]ondispatch 12x1x1 [compute eeed82b877b44b5f].Srv s1+0(112 B, stride56) is placed at0x1497c730inside the host buffer0x12f90000+0xae00000, givingoffset = 0x19ec730(27,182,896bytes;27,182,896 % 56 = 48 != 0).offset % element != 0,crates/victory-gpu/src/descriptor/host.rs:510-516returnsNoneand leaves the descriptor zeroed; the shader readsbase = 0and hitsVIEW_TAG = 0x45495676("vVIE",descriptor.rs:339), faulting atslot 88692224(0x05495600) ->page fault at 0x1ae3dc000.StructuredBuffer<56>loads), rather than #508.World
copystatbottleneck (Radeon 610M)~0.69 fps,~1.44 s/frame),watchestakes535–926 ms/frameon CPU scanning6.4–6.9 GB/framewith>99.6%unchanged, alongsiderefreshesup to3.07 GiB/frame, matching #400.AI-assisted analysis and report.
@KingKaom on GitHub · 2026-11-24 22:06 UTC · original
RDNA4 (RX 9070 XT) corroboration for
eeed82b877b44b5f— a one-variable A/B on our stackFollowing up on our earlier reports in this thread, we ran two tests against our longest-surviving RDNA4 stack (the lineage that presents a visible unlit world, previously 217–620 s in-world on the same binary) after your baseline pinned the same compute, @Drdg263:
1. The fork's shader-loop-limit setting is inert here.
VICTORY_SHADER_LOOP_LIMIT=32(482 s in-world, unchanged fault shape:0x887A0005-class device removal, 28-list submission, page fault below all title copies) — and the faulting list stopped atdispatch 12x1x1 [compute eeed82b877b44b5f]: the same program your 610M DRED trace pins, from an independent fault path (ours is a low-address page fault below the copies, not the null-SRVbase = 0read).2. Skipping that one program changed survival qualitatively. Same binary, single variable
VICTORY_SKIP_PIPELINES=eeed82b877b44b5f(per source, the skip drops the dispatch; the program still translates and binds): alive and still presenting the world at 61 minutes in-world (we stopped it deliberately; last frame capture at 2048, 1.1 fps, sparse unlit street). Same-binary control without the skip: 620 s. That is 5.9× the best survival this stack has ever had, from removing one dispatch — the strongest single-program signal we have had on this card. Caveats: one run, and the per-program drop counter never printed (the 40-reason print cap crowded it out), so we verified the skip semantics in source rather than from the drop summary.3. A third vote, independently: the
depth-uavlit-world work on #841 runs witheeed82b877b44b5fin its skip list by default on the tester setups (#841), without knowing about this thread's DRED trace.Your null-SRV mechanism (offset not element-aligned → zeroed descriptor →
base = 0read of the view tag) matches everything we see on our side except the fault address, and4051149(null views for empty/past-copy buffer views) plus86a5ed6(off-element views get their own copy) landed on main today. We are now running a plainmain70564aebaseline on this card with nothing skipped — if the class disappears there, that would close the loop between your mechanism and our survival data from both ends.AI-assisted (Hermes Agent).
@Marvisak on GitHub · 2026-11-25 01:47 UTC · original · edited 2026-11-25 01:51 UTC
Automated triage for the maintainers.
Run report: RX 9060 XT, world entry,
DXGI_ERROR_DEVICE_HUNGafter a GPU page fault below every title memory copy. This is the oldest open report of the AMD world-entry page fault, so this issue is where that failure is tracked; the comments add RX 9070 XT, RX 7900 XTX, RX 7800 XT and RX 7900 GRE (Wine) runs with the same family of faults (low addresses below the copies, and later faults inside freed textures). #304 (RX 9070 XT, removal ~55 s after the first mission's title card) reports the same stage.Since these runs, commit
d71c388onmain(2026-11-24) bounds root views to their host copy (crates/victory-gpu/src/draw.rs) and retires host objects only after the lists that name them have run (retireandrelease_retiredincrates/victory-gpu/src/host.rs). That covers what the closed pull requests #493 and #431 did, which testers here found removed the freed-texture and root-SRV faults on RDNA3/RDNA4.@sjauijn, two things would settle where this stands:
main(diag build,VICTORY_D3D12_DRED=1): whether the device is still removed in the world, and if so thehost GPU device removed ...line fromcrashes.log.Generated by Claude Code
E:\GTA\GTA6.Xbox(Series X 版,208.6 GiB… #855@xndbogdan on GitHub · 2026-11-26 09:12 UTC · original
VInAMD (iLucasRT's fork for the RX 7900 XTX) reports a fix for device removal in the open world that may be relevant here. Radeon GPU Detective named a raw load in the title's shader
fc5e66f8f873d3bb. On AMD, a raw access through a structured or typed view is bounded only by the element index. A byte offset read from memory that holds something else therefore reached up to 4 GiB past the view. Their fix checks raw accesses to buffers the shader picks from the view heap against that view's size (VICTORY_PICK_BOUND, on by default). Without it, every run that moved through the world lost the device within 240–623 s on their machine. With it, none of eight did.Commit:
github.com/iLucasRT/VInAMD@0eb7cd0025It relies on a per-slot stride table that only their fork lineage has, so it doesn't apply to main as is. I haven't checked whether main's heap-picked raw accesses can go out of bounds the same way. The faults in this thread are at low addresses below the copies, so this may be a different fault. Posting it as a lead.