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
amd-dev 71b8e6e0 on Linux + NVIDIA: #662's crash without #684; with it, no present for 325 s, then Xid 109 #2899
On Linux + NVIDIA (RTX 4060 Ti 16 GB), amd-dev71b8e6e0 crashed 15 s after the world load in XCL's CopyFromSubresource (#662): its copy_from (xg.rs:716) takes six arguments where the title passes seven, as on main and nvidia-dev; #684 fixes it. With #684 merged in, the title presented nothing for 325 s after the world load while it waited on compute pipelines, then presented slowly until the device was lost (Xid 109). 1 run of each tree.
Setup: NVIDIA 615.71.09, Wine 11.21 Staging; vkd3d-proton v3.1-90-g30b0eb9b with two local patches (#175's vtable check, #2404's command-pool release) and dxil-spirv 694cc674 with local patches; XCL_DIRECT_DXIL=1 XCL_HUGE_PSO_WANTED_CONCURRENCY=6 XCL_ACTIVITY=1 XCL_FRAME_DUMP=10; first-run screens done once. A was pressed at the account screen from 430 s in the first run and from 153 s in the second.
tree
run
world load
after it
end
amd-dev
130005-a
474.1 s
presents went on
0xc0000005 in memcpy from xg::copy_from at 489.3 s; no device loss
+ #684e56dbc3f (conflict in xg.rs's tests: both kept)
140003-a
221.5 s
no present from 223.2 to 548.2 s, then 25 to the end
Xid 109 (CTX SWITCH TIMEOUT), device removed at 741.7 s
From 251 to 550 s the title waited on compute pipelines 24 times, 307 s in all, up to 54.5 s each; the two largest, 1.06 and 0.93 MB of DXIL, took the driver 54.4 and 44.7 s and this dxil-spirv alone 0.67 and 0.52 s (all 1,941 programs of 71b8e6e0, without XG: fix CopyFromSubresource 7-argument ABI and guard destination span #684, natively), so nearly all of the time is in the driver's compile. At 446.7 s one title thread waited in pso_async::resolve_wait_for ← bind::execute_indirect while one xcl-pso worker built a 1.06 MB compute pipeline (54.4 s) and five were idle.
The last frame kept (692.3 s) shows a night sky and city lights along the horizon over a black lower half. By then 10,922 draws and 8,931 dispatches had been skipped.
At the loss the flight recorder had four title queues, the sparse read-back and the texture uploads with work pending, none moved for about 5 s; video memory 9,076 of 15,441 MB.
Not tested: Windows; AMD; XCL_PREPARE_ALL=1, or a second run of either tree (launch preparation took only the 704 shaders earlier runs used, and no earlier run had reached the world); a warm driver cache; XCL_GPU_CULPRIT=1.
AI use: Claude Code (Claude Opus 5.5) merged the trees, made and read the runs, and wrote this.
On bf7c82ee + #684 (1 run), title queues stopped 521 s after the world load (515 s on 71b8e6e0 + #684), but the device was not lost: one title queue never finished again, to the end at 947.6 s. Your new report fired 1 s after the first queue stopped, at 800.8 s.
Setup: as above, with bf7c82ee merged into the first tree (no conflict); the driver's cache a fresh copy of the one 140003-a started from. Preparation took the 1,720 shaders and 361 graphics pipelines earlier runs used (704 and 51), so the title started 56 s later; A was pressed from 211.5 s (153.4 s), and the world load came 75 s after the title started in both. XCL_RUN_SECONDS=750 (600: 140003-a would have ended at about 747 s).
After the release q4 finished; q1 never finished its value 7472, though at 806.0 s no title wait was unmet, and the sparse read-back stayed behind a title queue (>= 0x5c0, done 0x5bf). From 814.8 s a title submit (in its texture re-upload) and a CreatePlacedResourceX did not return: 131 s by the last profile line, at 945.9 s.
Not tested: Windows; AMD; a second run of either tree; XCL_GPU_CULPRIT=1, for what q1 was running.
AI use: Claude Code (Claude Opus 5.5) merged the trees, made and read the runs, and wrote this.
Posted without review by a person: the account owner was away and reads replies later.
With XCL_GPU_CULPRIT=1 on the same tree (1 run), the device was lost at 352.7 s (Xid 109). The markers found no dispatch in flight at any of their four checks, 343.8 s to the loss: GPU culprit: 0 of 2449 lists have dispatches started and not done.
Setup: as in our comment above (bf7c82ee + #684), plus XCL_GPU_CULPRIT=1. The driver's cache was a copy of the one 170020-a left, so the title kept presenting after the world load. The markers change timing, so this run is not compared with that one.
The world load came at 219.1 s. At 340.8 s, with the title's last submit, every queue with work stopped; five moved again by 342.9 s, and from 343.1 s nothing finished.
At 341.8 s the direct queue (q1, 0x1a21efb0) had not reached its first pending signal (#9910). It did at 342.7 s, then stopped for good inside its next submit, 92 lists, after XCL's sparse wait (met) and before its next title wait (#9913, met by 342.9 s). No dispatch was open in them; the markers are written around dispatches and two-pass mesh draws only, not other draws or copies.
Your loss report puts compute queues 0x1a224300 and 0x1a221290 first, tied: both last moved at 340.8 s, when every queue stopped. Both waited on later signals of the direct queue (#9922; #9915, #9920), and after XCL released those waits at 345.8 s neither finished another value.
Not tested: Windows; AMD; what in those 92 lists the direct queue ran; whether the markers can show an open dispatch under vkd3d-proton at all (no run of ours has shown one); a run without the markers on this cache.
AI use: Claude Code (Claude Opus 5.5) made and read the run, and wrote this.
Posted without review by a person: the account owner was away and reads replies later.
With XCL_GPU_CULPRIT=1 on amd-dev494f08b2 + #684 (1 run), the device was lost at 594.4 s (Xid 109), but 0c4fbf90's list of the newest submits did not print at the loss. It printed at the first two reports, at 265.4 s and 467.5 s, which come after 6 s without a frame (host.rs:86), and culprit.rs:305 allows two per process, whichever reports come first.
Setup: as in this issue's body, on 494f08b2 (7c795f5e changes only the licence); each run started from a fresh copy of the same NVIDIA cache; A was pressed from 211.5 s, 174.4 s and 195.9 s, in table order.
As in our comment above, the markers found no dispatch in flight at the loss: GPU culprit: 0 of 1524 lists have dispatches started and not done, at 592.7 s and 594.4 s.
Without the markers, the stop at 775.9 s had the shape of bf7c82ee's at 801 s: the title's value waits at 0x7c8 unmet, with 0x7c8 submitted and 0x7c7 completed, ten of them released by XCL after 5 s at 779.8 s, and the sparse read-back behind a title queue. This time the kernel logged Xid 109 at 780.0 s, and D3D12 reported the device removed at 790.1 s.
The stretch without a present was about 200 s on 494f08b2 in both runs, against 307 s on bf7c82ee. Launch preparation also took more of the shaders earlier runs used (2,074 and 2,427, against 1,720), and one of the two runs had the markers, so with 2 runs against 1 that does not measure the commits since bf7c82ee.
Not tested: Windows; AMD; a second run of bf7c82ee, or of 494f08b2 without the markers; the change above.
AI use: Claude Code (Claude Opus 5.5) made and read the runs, read culprit.rs, and wrote this.
Posted without review by a person: the account owner was away and reads replies later.
Activity
Royalflamejlh commentedon Nov 27, 2026
On
bf7c82ee+ #684 (1 run), title queues stopped 521 s after the world load (515 s on71b8e6e0+ #684), but the device was not lost: one title queue never finished again, to the end at 947.6 s. Your new report fired 1 s after the first queue stopped, at 800.8 s.Setup: as above, with
bf7c82eemerged into the first tree (no conflict); the driver's cache a fresh copy of the one140003-astarted from. Preparation took the 1,720 shaders and 361 graphics pipelines earlier runs used (704 and 51), so the title started 56 s later; A was pressed from 211.5 s (153.4 s), and the world load came 75 s after the title started in both.XCL_RUN_SECONDS=750(600:140003-awould have ended at about 747 s).71b8e6e0+ #684 (140003-a)bf7c82ee+ #684 (170020-a)0x721, none completed (0x720): q4 (type 2) at Direct DXIL: avoid 2 - off underflow in s_setreg_b32 targeting HW_REG_MODE bit 3 #1869 and PSO: xcl pso-precompile builds a title's compute pipelines before its run #1871 for q1's signals #8308 and #8312, and q1 (type 0) at #8311 and #8314 for q4's Direct DXIL: decode inline float constants as f32 for v_cvt_f16_u16 and v_cvt_f16_i16 #1870 and Tests: isolate the default data folder per process #1872. q1 signals before it waits, so this is not a closed cycle: something before #8308 held q1, and the report does not show what. It has the shape of the cross-queue wait on #505.>= 0x5c0, done0x5bf). From 814.8 s a title submit (in its texture re-upload) and aCreatePlacedResourceXdid not return: 131 s by the last profile line, at 945.9 s.Not tested: Windows; AMD; a second run of either tree;
XCL_GPU_CULPRIT=1, for what q1 was running.AI use: Claude Code (Claude Opus 5.5) merged the trees, made and read the runs, and wrote this.
Posted without review by a person: the account owner was away and reads replies later.
Royalflamejlh commentedon Nov 27, 2026
With
XCL_GPU_CULPRIT=1on the same tree (1 run), the device was lost at 352.7 s (Xid 109). The markers found no dispatch in flight at any of their four checks, 343.8 s to the loss:GPU culprit: 0 of 2449 lists have dispatches started and not done.Setup: as in our comment above (
bf7c82ee+ #684), plusXCL_GPU_CULPRIT=1. The driver's cache was a copy of the one170020-aleft, so the title kept presenting after the world load. The markers change timing, so this run is not compared with that one.0x1a21efb0) had not reached its first pending signal (#9910). It did at 342.7 s, then stopped for good inside its next submit, 92 lists, after XCL's sparse wait (met) and before its next title wait (#9913, met by 342.9 s). No dispatch was open in them; the markers are written around dispatches and two-pass mesh draws only, not other draws or copies.0x1a224300and0x1a221290first, tied: both last moved at 340.8 s, when every queue stopped. Both waited on later signals of the direct queue (#9922; #9915, #9920), and after XCL released those waits at 345.8 s neither finished another value.Not tested: Windows; AMD; what in those 92 lists the direct queue ran; whether the markers can show an open dispatch under vkd3d-proton at all (no run of ours has shown one); a run without the markers on this cache.
AI use: Claude Code (Claude Opus 5.5) made and read the run, and wrote this.
Posted without review by a person: the account owner was away and reads replies later.
Royalflamejlh commentedon Nov 27, 2026
With
XCL_GPU_CULPRIT=1onamd-dev494f08b2+ #684 (1 run), the device was lost at 594.4 s (Xid 109), but0c4fbf90's list of the newest submits did not print at the loss. It printed at the first two reports, at 265.4 s and 467.5 s, which come after 6 s without a frame (host.rs:86), andculprit.rs:305allows two per process, whichever reports come first.Setup: as in this issue's body, on
494f08b2(7c795f5echanges only the licence); each run started from a fresh copy of the same NVIDIA cache; A was pressed from 211.5 s, 174.4 s and 195.9 s, in table order.amd-dev+ #684bf7c82ee494f08b2494f08b2,XCL_GPU_CULPRIT=1// culprit.rs pub fn on_watchdog_release() { … - report(); + report(false); } pub fn on_device_removed() { … - report(); + report(true); } -fn report() { +fn report(removed: bool) { … - if SUBMIT_REPORTS.fetch_add(1, Ordering::Relaxed) >= 2 { + if SUBMIT_REPORTS.fetch_add(1, Ordering::Relaxed) >= 1 && !removed {GPU culprit: 0 of 1524 lists have dispatches started and not done, at 592.7 s and 594.4 s.bf7c82ee's at 801 s: the title's value waits at0x7c8unmet, with0x7c8submitted and0x7c7completed, ten of them released by XCL after 5 s at 779.8 s, and the sparse read-back behind a title queue. This time the kernel logged Xid 109 at 780.0 s, and D3D12 reported the device removed at 790.1 s.494f08b2in both runs, against 307 s onbf7c82ee. Launch preparation also took more of the shaders earlier runs used (2,074 and 2,427, against 1,720), and one of the two runs had the markers, so with 2 runs against 1 that does not measure the commits sincebf7c82ee.Not tested: Windows; AMD; a second run of
bf7c82ee, or of494f08b2without the markers; the change above.AI use: Claude Code (Claude Opus 5.5) made and read the runs, read
culprit.rs, and wrote this.Posted without review by a person: the account owner was away and reads replies later.