RX 6750 XT on Windows 10 22H2 #746
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#746
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?
@b4ssem on GitHub · 2026-11-24 09:27 UTC · original
RX 6750 XT on Windows 10 22H2: SM 6.6 root signatures refused by the inbox D3D12 runtime (fixed with Agility SDK), then GPU hang ~2 min into the intro
Setup
d3d12.dll10.0.19041.5794main@ [commit hash,git rev-parse --short HEAD], plain release profile (cargo build --release -p victory), no extra PRs1. Crash at boot on main (Windows 10 only)
On plain
main, the title crashes about 5 s after launch, right afterXUserAddAsync: the offline local user, before the menus.Just before the crash, several menu pipelines are refused:
Then two threads fault at the same place:
Frames before the crash show
drawn=0.Cause: flags
0x400 | 0x800(CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED,SAMPLER_HEAP_DIRECTLY_INDEXED) need SM 6.6 binding. The Windows 10 inbox runtime does not support them, and the README tests only Windows 11.Workaround (local patch): export the Agility SDK markers from
victory.exeand putD3D12Core.dll(Agility SDK 1.620.2) intarget\release\D3D12\:plus a
build.rswith/EXPORT:D3D12SDKVersion,DATAand/EXPORT:D3D12SDKPath,DATA.With this patch, no root signature is refused, every queued draw is executed (
drawn=3328), and the menus run at 30 fps. Happy to open a PR if this approach is wanted. The DLL would not be committed, per the asset policy.2. World: intro then GPU hang
With the patch, the title loads the world and plays the story intro: credit titles, French subtitles, the crocodile title art. It runs at about 1 fps (1,000–1,500 ms/frame, 1,100–2,800 draws/frame). The 3D scene is missing or dark. Subtitles and credits overlap, probably crossfades caught at 1 fps.
After about 2 minutes in the world, the device is removed:
Just before it, these shaders fail to translate:
73644c6a0b7b5b35, meshd6c491e1d17d60cbcdfefd6c8bb5dddd,3a59b63b97ad1abd5f8cf29b763648eb3. DRED (diag build, local-perf: main + #693 #388 #69 #617 #357 #151 #298, per-list submission from #458)
Every run ends in a device removal ~2 min into the world, at a DispatchMesh whose user data points at unpopulated heap slots:
mesh 1 [mesh a56a584996afb040, pixel 5630e9f88a7bf24d]:u9=0x1356240 [heap 633618: null],u10=0x13560c0 [heap 633606: null]. That list took 2,371 ms.VICTORY_SKIP_PIPELINES=a56a584996afb040): list stopped at command 397/505, command 396mesh 1 [mesh ba8d52f4ea1a1bac, pixel b37565055f2f7d3b]:u8 [heap 333792: null],u9 [heap 395855: null],u10 [heap 395843: null].Skipping one pipeline moves the fault to the next mesh draw that reads null slots, which looks like the same class of fault as #743.
Happy to test a branch or a set of variables on this machine. No title data attached, per the asset policy.
@titilyonnais on GitHub · 2026-11-24 20:56 UTC · original
Same mesh draw on an RX 9070 XT:
ba8d52f4ea1a1bacreading null heap slots, ~136 ms per dispatchSetup: Windows 11 (build 26300), AMD RX 9070 XT (driver 32.0.32029.2010), retail dump 1.0.2.1. Build:
mainatffe310ewith #1632 and #1418 merged on top (no conflicts),cargo build --profile diag -p victory --features diagnostics. Run withVICTORY_D3D12_DEBUG=1 VICTORY_D3D12_DRED=1 VICTORY_GPU_TIMING=1, up to the intro mission in the world.Without
VICTORY_GPU_TIMING, this build ended withDXGI_ERROR_DEVICE_HUNG(0x887A0006) about 4 minutes in, around host frame 1,650, and the AMD driver reported a timeout. Plainmainalso ended withDEVICE_HUNGwhen entering the world. With it, each list runs on its own, so no single wait reaches the 2 s TDR delay and the device survives. Instead, the title stops on its own at host frame 1,673 (title frame 929), with anint3(0x80000003) in its own code. Its crash context reportsUnsignaled CrossQueueBarrier: 82d9447, which looks like the title's watchdog giving up on the GPU.What the timing shows over that run:
[mesh ba8d52f4ea1a1bac, pixel b37565055f2f7d3b]: 159 slowDispatchMeshcommands, 21.6 s in total, up to 469.9 ms for a singlemesh 1. 155 of those 159 have at least one null slot in their user data, the same ones as in your run 2:u8 [heap 334056: null],u9 [heap …: null],u10 [heap …: null].87836f07b3b98e3d(11 commands, 1.0 s, 11 with a null slot),fdd457cb5a6f39a8(3, 0.26 s, 3),70c4f59493d78540(2, 0.19 s, 2).649aa1b64998a5f2(2, 0.18 s) is the only slow one here with no null slot.ID3D12PipelineLibraryname and desc mismatches, plus a few PSO/RTV mismatches and fourResourceBarrier/IASetVertexBuffersstate warnings.So on RDNA4 too, it looks like the cost is the mesh draws that read heap slots the title has not populated yet, rather than an invalid command. That fits your observation that skipping one pipeline only moves the fault to the next mesh draw that reads null slots, and the same class of fault as #743.
Not checked: plain
mainwith the same diagnostics (only the combined build above), andVICTORY_SHADER_LOOP_LIMIT. I can run either on this card if that helps.@titilyonnais on GitHub · 2026-11-24 21:15 UTC · original
Correction to my comment above: the
nullslots are not shown to be what the shader readsI read the report too quickly. In
op_text(crates/victory-gpu/src/draw.rs), the[heap N: …]after a table's user-data value describes only the slot at that value, i.e. the table's first descriptor (value / 32). The descriptors the shader actually reads, at their table offsets, are listed separately in thetables [...]part of the report. In my log, the slow-command lines forba8d52f4ea1a1bacwere cut before that part, so I cannot say what it read. In the device-removed reports of later runs, other mesh draws shownullin their user data, while theirtableslist real placed SRVs.So "the slow draws read null heap slots" is not established. What stands is the timing:
ba8d52f4ea1a1bactook 21.6 s over 159 dispatches, up to 470 ms for a singlemesh 1.Two more things I found since:
main(ffe310e), this pipeline does not run at all: its pixel shaderb37565055f2f7d3bdoes not translate (a lane-mask join of an untracked mask, the case #385 addresses), so its draws are dropped. It only ran in my build because #1632 and #1418 were merged on top.mainalone, there are no submissions over 2 s, and the run ends about 77 s into the world with a page fault just past the end of a title memory copy. With #1544 on top, it lasted 223 s and ended with a page fault inside freed placed textures (one run each, details on #1544).@Marvisak on GitHub · 2026-11-25 03:49 UTC · original · edited 2026-11-25 12:45 UTC
Automated triage for the maintainers.
Thanks for the rerun (RX 6750 XT, Windows 10 19045, original run on
c7a5f49, rerun onmain940d32f+ #463 with Agility SDK 1.614.1).c01refused on the Windows 10 in-box runtime): tracked in #84. Your rerun is a useful data point for open PR #463: with it, Windows 10 opts into Agility SDK 614, no root signature is refused and the menus run at 30 fps.mainthe host device is no longer removed. The world runs at 0.7-1 fps, and about a minute in the title faults at+0x8f92areading0xffffffffffffffff(rax0xff80000000000000). I found no other open run report with this fault address, so this issue is where it is tracked for now. The lower frames (+0x2215eca,+0x2215c35) are the title's thread start and its own abort path; they appear in other reports (#1118, #1464) and do not by themselves mean the same cause. The shutdown fault (+0x2215c35, write0x0, right afterwindow closed: suspending the title) looks like that abort path too.Nothing more is needed from you for now. If others hit the same
+0x8f92afault, please add your run here.Generated by Claude Code
@b4ssem on GitHub · 2026-11-25 10:45 UTC · original
Placeholder: the original plain-main run was on
c7a5f49.Rerun on current main
940d32f(includesd71c388) with #463 merged on top (README conflict resolved to main's), Agility SDK 1.614.1 intarget\release\D3D12\. Plain release build, no other PRs, noVICTORY_*switches. Windows 10 19045, RX 6750 XT, i7-9700K, 16 GB RAM.#463 works on Windows 10: the build script picks the runtime up (
opting the host D3D12 runtime into Agility SDK 614), no root signature is refused, menus at 30 fps.World: loads in about 60 s and runs at 0.7-1 fps (~1,370 ms/frame, ~9,000 draws/dispatches per frame). No host GPU device removal anymore. Instead, about a minute into the world, the title itself faults:
Last host stats before it:
0.7 fps, 1369.2 ms/frame (782.7 preparing: copies 476.2 ms 220.3 MB; 89.0 on the GPU; 237.8 copying back),host textures: 3441 (8782 MB, 2266 MB of them used by lists).In an earlier run of the same build, where I closed the window after ~2 min in the world, the title faulted on shutdown instead:
0xc0000005 at +0x2215c35 (write 0x0), stack+0x2215c35, +0x2215eca, right afterwindow closed: suspending the title.