DRED breadcrumbs from a device loss: 168 command lists stopped at BEGIN_COMMAND_LIST, none started #1036

Open
opened 2026-11-25 17:01:00 +00:00 by Hugo373 · 0 comments
Hugo373 commented 2026-11-25 17:01:00 +00:00 (Migrated from github.com)
Contributor

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=1 armed, a device loss in the world produced breadcrumbs. They show
168 command lists stopped at BEGIN_COMMAND_LIST with done == 0, and one list
mid-execution at DISPATCH, command 701 of 811.

Every one of the 168 was submitted and never started.

Environment

GPU NVIDIA GeForce RTX 5080 Laptop, 16 GB
driver 621.01 / 32.0.16.2101
OS Windows 11, build 26300
CPU Core Ultra 7 255HX, 20 threads
tree fxceless/victory-fork @ 3973179
title game_scarlett_master.exe v1.0.2.1

Switches:

VICTORY_D3D12_DRED=1
VICTORY_DRIVER_WATCH=1
VICTORY_ASYNC_SUBMIT=1
VICTORY_INDIRECT_WINDOW=1
VICTORY_COPY_PLAIN=1
VICTORY_HEAP_SYNC_TABLES=1
VICTORY_CARD_FETCH_INFLIGHT=1
VICTORY_CARD_FETCH_INFLIGHT_MB=256

VICTORY_LATE_WAIT_LISTS left at its default of 256.

The failure

host GPU device removed after 7 submissions sent ahead (VICTORY_RELAY=1) of 73 lists;
breadcrumbs (done/count, list) [ ... ];
a list stopped at command 701 of 811 (op 6), commands 701..702 between its barriers:;
command 701 (op 6): no marker;
a list stopped at command 0 of 3 (op 46)      ... x168
device removed: (0x887A0006)

0x887A0006 is DXGI_ERROR_DEVICE_HUNG. 236 breadcrumb nodes total, 62 incomplete.

Op codes of the stopped lists

op constant lists
46 D3D12_AUTO_BREADCRUMB_OP_BEGIN_COMMAND_LIST 168
6 D3D12_AUTO_BREADCRUMB_OP_DISPATCH 2

All 168 BEGIN_COMMAND_LIST entries report 0/N. The one mid-flight list is at DISPATCH,
701 of 811, with no marker on it.

What we think this means

A DISPATCH at 701/811 with 168 never-started lists behind it reads as: one dispatch ran long
enough that the device was declared hung, and everything queued behind it never began.

We cannot separate two possibilities:

  • (a) the dispatch at 701 is itself at fault — an over-large or malformed dispatch;
  • (b) the dispatch is innocent, the device was already lost, and 701/811 is simply where the
    last surviving list happened to be.

A second loss on the same machine had no mid-flight list at all — only
BEGIN_COMMAND_LIST entries — which favours (b). We are not asserting either.

Two things that did not reproduce here

The driver watch never fired ahead of the loss. a253706 says "Every device loss here was
announced 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 nvlddmkm entry
(ID 153) appeared at the moment of the loss itself.

The loss did not reproduce under VICTORY_D3D12_DEBUG=1 in a 45-minute run. The debug
layer serialises API calls.

List count does not appear to be the whole story

Varying VICTORY_LATE_WAIT_LISTS on this machine:

lists in the air survived in the world
8 2,173 s, then hung
85 56 s, then hung
≤32 >594 s, healthy when stopped
≤96 >306 s, healthy when stopped

But a later run with VICTORY_LATE_WAIT_LISTS=32 set explicitly died in the loading screen,
before the first world frame
, reporting 42 lists in the air against a cap of 32, with 104
lists 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=0 has been the most reliable configuration here: over 11 minutes in the world
at ~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:

the pass over the heap per frame: 668.7 ms in its pass over textures picked by index;
18,026 buffer slots looked at by its pass over buffer views

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=1 and turning VICTORY_TEXTURE_MIP_DROP
off 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

  1. Is a BEGIN_COMMAND_LIST breadcrumb with done == 0 what a queue-depth loss looks like on
    other hardware, or is it specific to this driver?
  2. Is there a way to get a marker onto the dispatch at 701? no marker leaves us unable to say
    which pass it was.
  3. Should a low VICTORY_LATE_WAIT_LISTS be treated as a legitimate operating point, or does
    the 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_LISTS at its default. Losses came between 56 s and ~36 min after the first
world frame, always in the world, never in menus, with one exception noted above.


Written with AI assistance.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6609521214 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/1038). Originally posted by [Hugo373](https://github.com/Hugo373) on 2026-11-25T17:01:00Z. --- # DRED breadcrumbs from a device loss: 168 command lists never started ## Summary With `VICTORY_D3D12_DRED=1` armed, a device loss in the world produced breadcrumbs. They show **168 command lists stopped at `BEGIN_COMMAND_LIST` with `done == 0`**, and one list mid-execution at `DISPATCH`, command 701 of 811. Every one of the 168 was submitted and never started. ## Environment | | | |---|---| | GPU | NVIDIA GeForce RTX 5080 Laptop, 16 GB | | driver | 621.01 / 32.0.16.2101 | | OS | Windows 11, build 26300 | | CPU | Core Ultra 7 255HX, 20 threads | | tree | `fxceless/victory-fork` @ `3973179` | | title | `game_scarlett_master.exe` v1.0.2.1 | Switches: ``` VICTORY_D3D12_DRED=1 VICTORY_DRIVER_WATCH=1 VICTORY_ASYNC_SUBMIT=1 VICTORY_INDIRECT_WINDOW=1 VICTORY_COPY_PLAIN=1 VICTORY_HEAP_SYNC_TABLES=1 VICTORY_CARD_FETCH_INFLIGHT=1 VICTORY_CARD_FETCH_INFLIGHT_MB=256 ``` `VICTORY_LATE_WAIT_LISTS` left at its default of 256. ## The failure ``` host GPU device removed after 7 submissions sent ahead (VICTORY_RELAY=1) of 73 lists; breadcrumbs (done/count, list) [ ... ]; a list stopped at command 701 of 811 (op 6), commands 701..702 between its barriers:; command 701 (op 6): no marker; a list stopped at command 0 of 3 (op 46) ... x168 device removed: (0x887A0006) ``` `0x887A0006` is `DXGI_ERROR_DEVICE_HUNG`. 236 breadcrumb nodes total, 62 incomplete. ### Op codes of the stopped lists | op | constant | lists | |---:|---|---:| | 46 | `D3D12_AUTO_BREADCRUMB_OP_BEGIN_COMMAND_LIST` | 168 | | 6 | `D3D12_AUTO_BREADCRUMB_OP_DISPATCH` | 2 | All 168 `BEGIN_COMMAND_LIST` entries report `0/N`. The one mid-flight list is at `DISPATCH`, 701 of 811, with no marker on it. ## What we think this means A `DISPATCH` at 701/811 with 168 never-started lists behind it reads as: one dispatch ran long enough that the device was declared hung, and everything queued behind it never began. We cannot separate two possibilities: - **(a)** the dispatch at 701 is itself at fault — an over-large or malformed dispatch; - **(b)** the dispatch is innocent, the device was already lost, and 701/811 is simply where the last surviving list happened to be. A second loss on the same machine had **no mid-flight list at all** — only `BEGIN_COMMAND_LIST` entries — which favours (b). We are not asserting either. ## Two things that did not reproduce here **The driver watch never fired ahead of the loss.** `a253706` says *"Every device loss here was announced 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 `nvlddmkm` entry (ID 153) appeared at the moment of the loss itself. **The loss did not reproduce under `VICTORY_D3D12_DEBUG=1`** in a 45-minute run. The debug layer serialises API calls. ## List count does not appear to be the whole story Varying `VICTORY_LATE_WAIT_LISTS` on this machine: | lists in the air | survived in the world | |---:|---:| | 8 | 2,173 s, then hung | | 85 | 56 s, then hung | | ≤32 | >594 s, healthy when stopped | | ≤96 | >306 s, healthy when stopped | But a later run with `VICTORY_LATE_WAIT_LISTS=32` set explicitly died **in the loading screen, before the first world frame**, reporting `42 lists` in the air against a cap of 32, with 104 lists 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=0` has been the most reliable configuration here: over 11 minutes in the world at ~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: ``` the pass over the heap per frame: 668.7 ms in its pass over textures picked by index; 18,026 buffer slots looked at by its pass over buffer views ``` 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=1` and turning `VICTORY_TEXTURE_MIP_DROP` off 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 1. Is a `BEGIN_COMMAND_LIST` breadcrumb with `done == 0` what a queue-depth loss looks like on other hardware, or is it specific to this driver? 2. Is there a way to get a marker onto the dispatch at 701? `no marker` leaves us unable to say which pass it was. 3. Should a low `VICTORY_LATE_WAIT_LISTS` be treated as a legitimate operating point, or does the 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_LISTS` at its default. Losses came between 56 s and ~36 min after the first world frame, always in the world, never in menus, with one exception noted above. --- Written with AI assistance.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
fxceless/victory-fork#1036
No description provided.