DRED breadcrumbs from a device loss: 168 command lists stopped at BEGIN_COMMAND_LIST, none started #1036
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?
Imported from fxceless/victory-fork. Originally posted by Hugo373 on 2026-11-25T17:01:00Z.
DRED breadcrumbs from a device loss: 168 command lists never started
Summary
With
VICTORY_D3D12_DRED=1armed, a device loss in the world produced breadcrumbs. They show168 command lists stopped at
BEGIN_COMMAND_LISTwithdone == 0, and one listmid-execution at
DISPATCH, command 701 of 811.Every one of the 168 was submitted and never started.
Environment
fxceless/victory-fork@3973179game_scarlett_master.exev1.0.2.1Switches:
VICTORY_LATE_WAIT_LISTSleft at its default of 256.The failure
0x887A0006isDXGI_ERROR_DEVICE_HUNG. 236 breadcrumb nodes total, 62 incomplete.Op codes of the stopped lists
D3D12_AUTO_BREADCRUMB_OP_BEGIN_COMMAND_LISTD3D12_AUTO_BREADCRUMB_OP_DISPATCHAll 168
BEGIN_COMMAND_LISTentries report0/N. The one mid-flight list is atDISPATCH,701 of 811, with no marker on it.
What we think this means
A
DISPATCHat 701/811 with 168 never-started lists behind it reads as: one dispatch ran longenough that the device was declared hung, and everything queued behind it never began.
We cannot separate two possibilities:
last surviving list happened to be.
A second loss on the same machine had no mid-flight list at all — only
BEGIN_COMMAND_LISTentries — which favours (b). We are not asserting either.Two things that did not reproduce here
The driver watch never fired ahead of the loss.
a253706says "Every device loss here wasannounced that way 2.7 to 55 seconds ahead, and no run without them lost its device." On this
driver the System log had no display-driver entry before the loss; the only
nvlddmkmentry(ID 153) appeared at the moment of the loss itself.
The loss did not reproduce under
VICTORY_D3D12_DEBUG=1in a 45-minute run. The debuglayer serialises API calls.
List count does not appear to be the whole story
Varying
VICTORY_LATE_WAIT_LISTSon this machine:But a later run with
VICTORY_LATE_WAIT_LISTS=32set explicitly died in the loading screen,before the first world frame, reporting
42 listsin the air against a cap of 32, with 104lists stopped at
BEGIN_COMMAND_LIST.So the cap did not hold on that path. Either it bounds something other than the number this
message reports, or it is not enforced there. We have not determined which, and we are not
treating the cap as a fix.
VICTORY_RELAY=0has been the most reliable configuration here: over 11 minutes in the worldat ~4,900 draws/frame with no loss and no driver event, at the cost of the card sitting at
about 42 % busy.
Also measured: the heap pass is far slower here than the README reports
Not related to this crash. In gameplay, the largest single cost in the frame:
That is 51 % of a 1,318 ms frame. The README says of this pass: "the pass over the heap went
from 70–220 ms a frame to about 3."
Ours is 669 ms. We do not know whether that is a heavier scene, a regression, or something in
our configuration. Setting
VICTORY_HEAP_SYNC_TABLES=1and turningVICTORY_TEXTURE_MIP_DROPoff brought the frame to 674 ms at 4,922 draws with preparing at 127 ms, so the combination
helped a great deal here — but we did not separate the two.
What would help
BEGIN_COMMAND_LISTbreadcrumb withdone == 0what a queue-depth loss looks like onother hardware, or is it specific to this driver?
no markerleaves us unable to saywhich pass it was.
VICTORY_LATE_WAIT_LISTSbe treated as a legitimate operating point, or doesthe fact that it did not hold at 32 indicate a defect?
Reproduction
Reach the world — the opening cutscene, then the prison interior — and leave
VICTORY_LATE_WAIT_LISTSat its default. Losses came between 56 s and ~36 min after the firstworld frame, always in the world, never in menus, with one exception noted above.
Written with AI assistance.