You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Retail title: 0xc0000005 at +0x4dbd74d, a -1 index after out-of-range ExecuteIndirect skips (3/3, two machines) #3084
Retail title: 0xc0000005 at +0x4dbd74d, a -1 index into an 8-byte array, 6-12 ms after out-of-range ExecuteIndirect calls are skipped. 3 of 3 crashes at this address across 2 machines, past world load, with no device removal.
Occurrences (all with a 2 GiB NVIDIA shader-heap profile, #2403, and 0 device removals):
The pattern:read = r13 + 0xffffffff * 8 (0x71a8eced0 + 0x7fffffff8 = 0xf1a8ecec8), so a zero-extended 32-bit -1 indexes an 8-byte-stride array whose base is in the coherent window (0x71a8…). The 3090 address falls in the same band. Both 5090 crashes have the same stack (+0x4dbf9eb, +0x4dbe2e9, +0x4dbde22).
What comes just before, on the same thread (both 5090 runs): 6-7 ms and 11-12 ms earlier, a burst of ExecuteIndirect ... out of range, not run warnings ("88 out of range so far" / "190 out of range so far"). The argument values look like garbage (0xffffffff or float-like values in the argument buffer). In one run the surrounding 2 s window was still presenting normally (3 presents, 48 submits, 7,228 draws, 14,865 dispatches).
Hypothesis (not verified): these indirect calls read arguments that a GPU pass should have written but didn't, or not yet. XCL then skips them as out of range, and the title next reads a result that was never produced: a -1 sentinel used as an index on the CPU. If so, the root cause is upstream of the skip (whatever leaves the argument buffer unwritten), not the skip itself.
What would narrow it down:
for the skipped calls, which buffer the arguments come from, and which pass is meant to write it;
whether those writes reach the coherent-window memory the CPU reads (the base r13 is in it).
Not tested: AMD; trees without the heap profile (they don't get this far); whether main shows it.
AI use: Gemini (Antigravity) compiled the occurrences; Claude Code (Claude Opus 5.5) ran the 5090 runs, checked the register arithmetic and wrote this issue.
We cannot run retail titles, but the indirect-arguments machinery is red for us on the NVIDIA/Wine lane too, so counts in case the overlap with your 'the pass never wrote the buffer' theory helps:
on linux/stack-nvidia-dev 901384f7 under Wine, rig2 (GTX 1070) failed bind::gpu_two_pass_indirect_commands_keep_their_own_records and both indirect_guard garbage-count tests (logged on Linux (Wine + vkd3d-proton): status and tracking #3067, comment 7232642855)
at main 753e8b1a, rig2's bind::gpu_two_pass_indirect... is green in the suite
So NVIDIA-side indirect/window failures show up under Wine on two trees and not on AMD/Wine, which is at least the same vendor split shape you are chasing.
AI use: Hermes agent (local Qwen-class) ran the suites; I checked it before posting.
Same skips here on an RTX 5090 (621.40), no crash yet, and one question: which program do your skipped ExecuteIndirects belong to?
What our logs show, in case it narrows yours:
2, 12 and 7 "out of range, not run" skips in three 480 s runs, all from one compute program, 18567a5f0145bde9, dispatched on a compute-type list. No c0000005 in those runs.
Only without the per-operation GPU profile (which serialises every operation): a run with the profile on has 0. So it needs work in flight.
The out-of-range values are not random. Examples: 0xffff01ef, 0xffff00ac, 0xffff00ad / 0xf93, 0xffff0000, 0xffff0001 / 0x144, 0x1, 0xffff0002: 16-bit ids with 0xFFFF above, consecutive (ac/ad, 0/1, 1/2, 3/4). That reads as another pass's records left at that offset from an earlier frame, i.e. this frame's arguments had not been written when the consumer ran.
The argument addresses are 128-byte-aligned offsets of one large buffer that sits in a view window (a GPU view of title memory filled from the title's page mappings), with no CPU memory at that address.
Ruled out here from the logs: a same-list write dropping a later wait (0 such lines), the wait watchdog (no line), late CPU-write detection (1 late find against 12 skips), sparse-queue time-outs (0).
If your skipped program is the same hash, the crash and these skips are one thing and the place to look is what orders that program's producer before it. If it is a different one, they are two.
Not tested: the cause. This is a reading of logs, not a fix.
AI use: Claude Code (Claude Fable 5.2) read the run logs on my hardware and drafted this comment for human review.
@psuedo-tty, thanks, useful. Yours is one of ours. Across our RTX 5090 logs there are 1,019 "out of range, not run" skips from 9 compute programs, and 18567a5f0145bde9 is one of them (122 skips), with the same shape you see: 0xffff1079, 0xffff0077, 0xffff0078, 16-bit ids with 0xFFFF above.
CS
skips
example values (x, y, z)
4401d482ef24797c
295
0x3f008081 ×3 (= 0.502f)
9387facebc35be6d
139
0x221b9bc0, 0x4, 0x120 (a buffer V#: address 0x4_221b9bc0, 0x120 bytes)
1ada490879c33c0e
131
0x685cd360, 0xe, 0x5c0
18567a5f0145bde9
122
0xffff1079, 0xffff0077, 0xffff0078
a6724f20f309a480
106
0x3f8ccccd ×3 (= 1.1f)
3402f74f1e2a90e0
41
0x20d940e0, 0x4, 0x120 (another V#)
The three crashes in this issue each came 6-12 ms after skips from 376a323cea463f28, 3402f74f1e2a90e0 and 4401d482ef24797c, so the crash program is in that same family. And the slots hold other data, not stale counts: floats, packed colours and buffer descriptors. In our runs the argument addresses are all in one 0x420d…-0x4234… range that moves from frame to frame, which looks like a per-frame transient ring the title reuses. That fits your "an earlier frame's records at that offset".
So we agree on where to look: what orders the producer before the consumer. We have two candidates, and a diagnostic that tells them apart:
(a) late execution: the ExecuteIndirect runs after the title has already reused that ring memory;
(b) a CPU-page upload over the GPU's write: the arguments are GPU-written, and xcl's upload of the title's CPU-written pages for that memory lands on top.
XCL_INDIRECT_GUARD=compare (already in the tree, read-only) logs how often the title's buffer didn't show the counts the memory window holds. If that counter climbs with the skips it's (b); if it stays 0 it's (a). That's in one of our next runs. One difference: yours sit in a view window, while ours are in sparse VRAM window 0, so the same check on your side would show whether (b) can happen through a view as well.
AI use: an agent swarm: Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
An update with a third RTX 5090 occurrence, which weakens the timing link in the hypothesis above.
run
when
read
registers
out-of-range skips just before
earlier run 1
398.4 s
0xf1a8ecec8
r13 0x71a8eced0, rdi 0xffffffff
yes, 6-7 ms before, same thread
earlier run 2
567.8 s
0xf1a909f88
r13 0x71a909f90, rdi 0xffffffff
yes, 11-12 ms before, same thread
new (another binary, nvidia-dev54225f58-based; level pages on)
300.5 s
0xf1a901d98
r13 0x71a901da0, rdi 0xffffffff
none on that thread in the 20 ms before; the nearest were 7.6 s earlier, on another thread
The address pattern holds exactly: read = r13 + 0xffffffff * 8, a zero-extended -1 index, with the base in the same 0x71a9… band. The stack is the same family: +0x4dbf9eb, then the NVIDIA user-mode driver, then xcl, then +0x4dbe2e9.
So the skips are not always right before it on the same thread. They may be a common symptom rather than the trigger.
A correction to our "the arguments were never written" reading: the "out of range, not run" check is already done on the GPU (indirect_guard.rs), so the logged values are what the GPU read when the call ran. Across our runs, 1,019 skips come from 9 compute programs (listed above for @psuedo-tty). The slots hold floats, packed colours and buffer descriptors, at argument addresses that move from frame to frame. That looks more like a reused per-frame ring than unwritten memory.
Next on our side: a run with XCL_INDIRECT_GUARD=compare. It separates "the ring was reused before the call ran" from "an upload of the title's CPU pages overwrote GPU-written arguments". We'll post what it shows.
AI use: an agent swarm: Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
The XCL_INDIRECT_GUARD=compare run, as promised (RTX 5090; this time the default UMA, not mixed):
59 out-of-range ExecuteIndirect records, and in none of them did the title's buffer differ from the memory window. The compare suffix never appeared, and the periodic difference counter never printed. So the garbage counts are the same bytes in both views: the memory really holds them when the call runs. It isn't a stale or mismatched view, and it isn't an upload of CPU pages landing over a GPU write that only one view sees. That points to reading (a): the argument slot was already reused, or never filled for this use, when the indirect call ran.
A new crash right next to them (first time in any of our runs): int3 (0x80000003) at +0x3bf4, 246.1 s, stack +0x4ddb15b, +0x4de13a0, +0x4de2cb6, … It came 73 ms after skips of the same compute programs as this issue's crashes (376a323cea463f28, 3402f74f1e2a90e0; argument records 0x20 apart), on another thread. 3.8 s later came a second exception: 0xc0000005 at +0x4dac5ae reading 0x100000000, also new. So the title can fail in more than one way after this work is skipped.
AI use: an agent swarm: Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
RTX 3090: the skipped 18567a5f0145bde9 calls read arguments that the title never wrote on the CPU: its CPU copy of them is all zeros. So "an upload of CPU pages is late or missing" is ruled out for that program, and the arguments come from a GPU pass.
@KDenKC, one limit of the XCL_INDIRECT_GUARD=compare result: both the title's buffer and the memory window are GPU views of the same video memory, so they agree by construction. That rules out a mismatch between the two views. It can't show a third case, where the title writes the arguments on the CPU and XCL hasn't uploaded them yet (XCL uploads only the blocks it has noticed being written lately). So I checked the CPU side directly.
Setup: RTX 3090 24 GB, NVIDIA 621.40, i5-13600K, Windows 11 26300, release. Tree nvidia-dev54225f58 + #609 + #2551, plus a local diagnostic (not in any PR). For each checked ExecuteIndirect, it reads the CPU's copy of the first 3 argument words when the call is recorded (ReadProcessMemory, so no faults). For an out-of-range record, it adds those words and a second read made when the log line is written. Env: XCL_DIRECT_DXIL=1 XCL_UMA_DRIVER=mixed:1536:1792 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PRESS_HOLD=3.5, A pressed every 4 s, one run of 760 s: 6,472 frames, no device removal, no crash.
when
GPU read (x, y, z)
CPU copy at record
CPU copy at log time
371.6 s
0xffff0f15, 0x1, 0x1
0, 0, 0 (138 ms before)
0, 0, 0
522.1 s
0x10c5, 0xffff0000, 0xa4ff0003
0, 0, 0 (145 ms before)
0, 0, 0
Both skips are from 18567a5f0145bde9, the same program as @psuedo-tty's. My earlier runs on this card had 40 skips, all of them from this one program.
The CPU side of those addresses holds zeros, while the GPU memory holds the 0xFFFF-topped ids you both describe. So the title doesn't write these arguments on the CPU. A GPU pass writes them. At the time of the call, the memory still held another pass's records, so either the producer hadn't run or it wrote elsewhere. That supports the ordering reading: the next thing to find is the pass that writes this address, and whether the GPU runs it before the ExecuteIndirect.
Not tested: the programs in this issue's crash family (376a323cea463f28, 3402f74f1e2a90e0, 4401d482ef24797c), which didn't skip on this card. It also doesn't cover the crash itself (none here), AMD, main, or the default UMA instead of mixed. It is one run.
AI use: Claude Code (Claude Opus 5.5) wrote the diagnostic, ran the title and drafted this comment; I checked it before posting.
@afpruivo, thank you, and you're right about the limit of our compare result: both sides are views of the same video memory, so it could only rule out a view mismatch. Your CPU-side read settles the part ours couldn't: zeros on the CPU, so a GPU pass writes these arguments and the question is ordering.
For "which pass writes this address", we have a piece that may help: a capture change (local, diagnostic only) that decodes the buffer descriptors in each dispatch's root tables at record time (address and size per slot), so a captured frame lists every pass whose views cover a given argument address, in order. The catch is getting a skip inside a captured frame, since they're rare. We'll add a trigger that captures the frame in which the first out-of-range record appears, run it, and post the producer candidates and their position relative to the ExecuteIndirect here. If you'd rather run it on the 3090 too, say so and we'll push the branch.
AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
@KDenKC, thank you for reading our result so carefully, and for the clear reply. Decoding the root tables' buffer descriptors at record time is a nice way to get from "a GPU pass writes these arguments" to "this pass, at this point in the frame". It answers the question our CPU read left open.
Thanks also for offering the branch. I think it's best if you run it first. Your RTX 5090s hit this far more often than our 3090: 1,019 skips across your logs, against 2 in a 760 s run here. Your trigger will catch a skip inside a captured frame much sooner on your machines. Once you post the producer candidates and where they run relative to the ExecuteIndirect, we'll gladly run the branch on the 3090. That would check the same program and order on a second card, and we'll post what we find here.
AI use: Claude Code (Claude Opus 5.5) drafted this; I checked it before posting.
A lead on the ordering question, from reading the code (not measured yet): on nvidia-dev54225f58, a cross-queue Wait64 can be skipped without any log line in two places in list_x.rs, and both are already fixed on other branches but not ported:
A wait answered from a CPU read.PendingWait::is_satisfied() reads the wait cell from CPU memory at submit, before the sync graph, and returns true when the cell is unreadable (let Some(cur) = self.read_value() else { return true; }). main fails closed there since bmjask's c7752525 and 40d3a312 (Tests: compare benchmark regression thresholds #2959 / D3D12.X: read wait cells without faulting #2960).
The written-ranges table.MAX_WRITTEN_RANGES is 256; past that, writes are merged into one bounding box, and has_prior_write() can then drop a later wait as "written earlier in this list". main tracks exact intervals since ce0eb60b; amd-dev also has Tiago Leal's a080eb6a (D3D12.X: a same-list write drops a later wait only when its value meets it #2506), which drops a wait only when the written value meets it.
One case looks unfixed everywhere: a cell that is readable but still holds an old value that already meets the wait (a reused counter), read before the GPU reset of that frame has run.
If a producer and its ExecuteIndirect are ordered by such a wait across queues, any of these would let the call run before its arguments are written, which is what @afpruivo's CPU-side zeros point at. Our capture run now carries counters for both sites, and we're porting the four commits onto nvidia-dev locally for an A/B on skips per minute. Results here.
AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
The measurement for the lead in my last comment: in our run, neither of the two silent Wait64 bypasses fired, so that lead does not explain the skips here.
Setup: RTX 5090 32 GB, driver 621.24, the retail title, nvidia-dev54225f58 plus local counters at the two places in list_x.rs and a capture trigger (not a PR), release, 4 windows, one run, 603 s after the world entry.
counter
total
a wait whose cell could not be read, taken as met
0
writes past the 256 tracked ranges, merged
0
waits dropped through the merged range
0
waits met by the value the CPU read
8,192 or more (the line is logged at powers of two)
Out-of-range ExecuteIndirect skips in the same run: 12 (1.2 per minute in the world), from several compute programs. Two came at the same moment with arguments 32 bytes apart.
No crash at +0x4dbd74d and no device removal in this run, so it says nothing about the crash itself.
What stays open is the last row: a wait that is met because the CPU's copy of the cell already holds a value, while the producer's GPU write has not run. No branch handles that, and our counter can't tell a correct early answer from a stale one.
The capture did not fire. It was armed on the first skipped program, and that program issued no ExecuteIndirect again in 568 s. The next run captures the frame of the next skip of any program.
So please don't spend time on porting those two fixes for this; I should have measured before pointing at them.
AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
Activity
SlopTart commentedon Nov 28, 2026
We cannot run retail titles, but the indirect-arguments machinery is red for us on the NVIDIA/Wine lane too, so counts in case the overlap with your 'the pass never wrote the buffer' theory helps:
linux/stack-nvidia-dev 901384f7under Wine, rig2 (GTX 1070) failedbind::gpu_two_pass_indirect_commands_keep_their_own_recordsand bothindirect_guardgarbage-count tests (logged on Linux (Wine + vkd3d-proton): status and tracking #3067, comment 7232642855)f64494d1(posted on that PR, comment 7233002155), rig2 failed 4gpu::recompheap_window tests plusbind::gpu_two_pass_indirect..., while rig1 (RX 7900 XT, Wine) passed all of them753e8b1a, rig2'sbind::gpu_two_pass_indirect...is green in the suiteSo NVIDIA-side indirect/window failures show up under Wine on two trees and not on AMD/Wine, which is at least the same vendor split shape you are chasing.
AI use: Hermes agent (local Qwen-class) ran the suites; I checked it before posting.
psuedo-tty commentedon Nov 28, 2026
Same skips here on an RTX 5090 (621.40), no crash yet, and one question: which program do your skipped ExecuteIndirects belong to?
What our logs show, in case it narrows yours:
18567a5f0145bde9, dispatched on a compute-type list. Noc0000005in those runs.0xffff01ef, 0xffff00ac, 0xffff00ad/0xf93, 0xffff0000, 0xffff0001/0x144, 0x1, 0xffff0002: 16-bit ids with0xFFFFabove, consecutive (ac/ad,0/1,1/2,3/4). That reads as another pass's records left at that offset from an earlier frame, i.e. this frame's arguments had not been written when the consumer ran.If your skipped program is the same hash, the crash and these skips are one thing and the place to look is what orders that program's producer before it. If it is a different one, they are two.
Not tested: the cause. This is a reading of logs, not a fix.
AI use: Claude Code (Claude Fable 5.2) read the run logs on my hardware and drafted this comment for human review.
KDenKC commentedon Nov 28, 2026
@psuedo-tty, thanks, useful. Yours is one of ours. Across our RTX 5090 logs there are 1,019 "out of range, not run" skips from 9 compute programs, and
18567a5f0145bde9is one of them (122 skips), with the same shape you see:0xffff1079, 0xffff0077, 0xffff0078, 16-bit ids with0xFFFFabove.4401d482ef24797c0x3f008081×3 (= 0.502f)9387facebc35be6d0x221b9bc0, 0x4, 0x120(a buffer V#: address0x4_221b9bc0, 0x120 bytes)1ada490879c33c0e0x685cd360, 0xe, 0x5c018567a5f0145bde90xffff1079, 0xffff0077, 0xffff0078a6724f20f309a4800x3f8ccccd×3 (= 1.1f)3402f74f1e2a90e00x20d940e0, 0x4, 0x120(another V#)The three crashes in this issue each came 6-12 ms after skips from
376a323cea463f28,3402f74f1e2a90e0and4401d482ef24797c, so the crash program is in that same family. And the slots hold other data, not stale counts: floats, packed colours and buffer descriptors. In our runs the argument addresses are all in one 0x420d…-0x4234… range that moves from frame to frame, which looks like a per-frame transient ring the title reuses. That fits your "an earlier frame's records at that offset".So we agree on where to look: what orders the producer before the consumer. We have two candidates, and a diagnostic that tells them apart:
XCL_INDIRECT_GUARD=compare(already in the tree, read-only) logs how often the title's buffer didn't show the counts the memory window holds. If that counter climbs with the skips it's (b); if it stays 0 it's (a). That's in one of our next runs. One difference: yours sit in a view window, while ours are in sparse VRAM window 0, so the same check on your side would show whether (b) can happen through a view as well.AI use: an agent swarm: Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
KDenKC commentedon Nov 28, 2026
An update with a third RTX 5090 occurrence, which weakens the timing link in the hypothesis above.
0xf1a8ecec8r13 0x71a8eced0,rdi 0xffffffff0xf1a909f88r13 0x71a909f90,rdi 0xffffffffnvidia-dev54225f58-based; level pages on)0xf1a901d98r13 0x71a901da0,rdi 0xffffffffread = r13 + 0xffffffff * 8, a zero-extended-1index, with the base in the same0x71a9…band. The stack is the same family:+0x4dbf9eb, then the NVIDIA user-mode driver, then xcl, then+0x4dbe2e9.indirect_guard.rs), so the logged values are what the GPU read when the call ran. Across our runs, 1,019 skips come from 9 compute programs (listed above for @psuedo-tty). The slots hold floats, packed colours and buffer descriptors, at argument addresses that move from frame to frame. That looks more like a reused per-frame ring than unwritten memory.Next on our side: a run with
XCL_INDIRECT_GUARD=compare. It separates "the ring was reused before the call ran" from "an upload of the title's CPU pages overwrote GPU-written arguments". We'll post what it shows.AI use: an agent swarm: Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
KDenKC commentedon Nov 28, 2026
The
XCL_INDIRECT_GUARD=comparerun, as promised (RTX 5090; this time the default UMA, not mixed):int3(0x80000003) at+0x3bf4, 246.1 s, stack+0x4ddb15b,+0x4de13a0,+0x4de2cb6, … It came 73 ms after skips of the same compute programs as this issue's crashes (376a323cea463f28,3402f74f1e2a90e0; argument records 0x20 apart), on another thread. 3.8 s later came a second exception:0xc0000005at+0x4dac5aereading0x100000000, also new. So the title can fail in more than one way after this work is skipped.AI use: an agent swarm: Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
afpruivo commentedon Nov 28, 2026
RTX 3090: the skipped
18567a5f0145bde9calls read arguments that the title never wrote on the CPU: its CPU copy of them is all zeros. So "an upload of CPU pages is late or missing" is ruled out for that program, and the arguments come from a GPU pass.@KDenKC, one limit of the
XCL_INDIRECT_GUARD=compareresult: both the title's buffer and the memory window are GPU views of the same video memory, so they agree by construction. That rules out a mismatch between the two views. It can't show a third case, where the title writes the arguments on the CPU and XCL hasn't uploaded them yet (XCL uploads only the blocks it has noticed being written lately). So I checked the CPU side directly.Setup: RTX 3090 24 GB, NVIDIA 621.40, i5-13600K, Windows 11 26300, release. Tree
nvidia-dev54225f58+ #609 + #2551, plus a local diagnostic (not in any PR). For each checked ExecuteIndirect, it reads the CPU's copy of the first 3 argument words when the call is recorded (ReadProcessMemory, so no faults). For an out-of-range record, it adds those words and a second read made when the log line is written. Env:XCL_DIRECT_DXIL=1 XCL_UMA_DRIVER=mixed:1536:1792 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PRESS_HOLD=3.5, A pressed every 4 s, one run of 760 s: 6,472 frames, no device removal, no crash.0xffff0f15, 0x1, 0x10, 0, 0(138 ms before)0, 0, 00x10c5, 0xffff0000, 0xa4ff00030, 0, 0(145 ms before)0, 0, 018567a5f0145bde9, the same program as @psuedo-tty's. My earlier runs on this card had 40 skips, all of them from this one program.0xFFFF-topped ids you both describe. So the title doesn't write these arguments on the CPU. A GPU pass writes them. At the time of the call, the memory still held another pass's records, so either the producer hadn't run or it wrote elsewhere. That supports the ordering reading: the next thing to find is the pass that writes this address, and whether the GPU runs it before the ExecuteIndirect.Not tested: the programs in this issue's crash family (
376a323cea463f28,3402f74f1e2a90e0,4401d482ef24797c), which didn't skip on this card. It also doesn't cover the crash itself (none here), AMD,main, or the default UMA instead ofmixed. It is one run.AI use: Claude Code (Claude Opus 5.5) wrote the diagnostic, ran the title and drafted this comment; I checked it before posting.
KDenKC commentedon Nov 28, 2026
@afpruivo, thank you, and you're right about the limit of our compare result: both sides are views of the same video memory, so it could only rule out a view mismatch. Your CPU-side read settles the part ours couldn't: zeros on the CPU, so a GPU pass writes these arguments and the question is ordering.
For "which pass writes this address", we have a piece that may help: a capture change (local, diagnostic only) that decodes the buffer descriptors in each dispatch's root tables at record time (address and size per slot), so a captured frame lists every pass whose views cover a given argument address, in order. The catch is getting a skip inside a captured frame, since they're rare. We'll add a trigger that captures the frame in which the first out-of-range record appears, run it, and post the producer candidates and their position relative to the ExecuteIndirect here. If you'd rather run it on the 3090 too, say so and we'll push the branch.
AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
afpruivo commentedon Nov 28, 2026
@KDenKC, thank you for reading our result so carefully, and for the clear reply. Decoding the root tables' buffer descriptors at record time is a nice way to get from "a GPU pass writes these arguments" to "this pass, at this point in the frame". It answers the question our CPU read left open.
Thanks also for offering the branch. I think it's best if you run it first. Your RTX 5090s hit this far more often than our 3090: 1,019 skips across your logs, against 2 in a 760 s run here. Your trigger will catch a skip inside a captured frame much sooner on your machines. Once you post the producer candidates and where they run relative to the ExecuteIndirect, we'll gladly run the branch on the 3090. That would check the same program and order on a second card, and we'll post what we find here.
AI use: Claude Code (Claude Opus 5.5) drafted this; I checked it before posting.
KDenKC commentedon Nov 28, 2026
A lead on the ordering question, from reading the code (not measured yet): on
nvidia-dev54225f58, a cross-queueWait64can be skipped without any log line in two places inlist_x.rs, and both are already fixed on other branches but not ported:PendingWait::is_satisfied()reads the wait cell from CPU memory at submit, before the sync graph, and returnstruewhen the cell is unreadable (let Some(cur) = self.read_value() else { return true; }).mainfails closed there since bmjask'sc7752525and40d3a312(Tests: compare benchmark regression thresholds #2959 / D3D12.X: read wait cells without faulting #2960).MAX_WRITTEN_RANGESis 256; past that, writes are merged into one bounding box, andhas_prior_write()can then drop a later wait as "written earlier in this list".maintracks exact intervals sincece0eb60b;amd-devalso has Tiago Leal'sa080eb6a(D3D12.X: a same-list write drops a later wait only when its value meets it #2506), which drops a wait only when the written value meets it.One case looks unfixed everywhere: a cell that is readable but still holds an old value that already meets the wait (a reused counter), read before the GPU reset of that frame has run.
If a producer and its
ExecuteIndirectare ordered by such a wait across queues, any of these would let the call run before its arguments are written, which is what @afpruivo's CPU-side zeros point at. Our capture run now carries counters for both sites, and we're porting the four commits ontonvidia-devlocally for an A/B on skips per minute. Results here.AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.
KDenKC commentedon Nov 28, 2026
The measurement for the lead in my last comment: in our run, neither of the two silent
Wait64bypasses fired, so that lead does not explain the skips here.Setup: RTX 5090 32 GB, driver 621.24, the retail title,
nvidia-dev54225f58plus local counters at the two places inlist_x.rsand a capture trigger (not a PR), release, 4 windows, one run, 603 s after the world entry.ExecuteIndirectskips in the same run: 12 (1.2 per minute in the world), from several compute programs. Two came at the same moment with arguments 32 bytes apart.+0x4dbd74dand no device removal in this run, so it says nothing about the crash itself.ExecuteIndirectagain in 568 s. The next run captures the frame of the next skip of any program.So please don't spend time on porting those two fixes for this; I should have measured before pointing at them.
AI use: an agent swarm: Claude Fable 5.2, Claude Opus 5.5, GPT-6.2-Sol and Gemini 4 Neon.