VICTORY_D3D12_DRED=1 costs about 28 ms a frame on an RTX 5080 (diag build) #1019

Open
opened 2026-11-25 16:27:12 +00:00 by Ym1r1710 · 0 comments
Ym1r1710 commented 2026-11-25 16:27:12 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by Ym1r1710 on 2026-11-25T16:27:12Z.


Heads up for anyone comparing frame times: in a diagnostics build, VICTORY_D3D12_DRED=1 is not free. With it on, every draw and dispatch builds its full op text (pipeline, user data, views) and sets a marker for the removal report (HostList::note in host.rs, op_text in draw.rs). That runs on the title's recording threads, so it adds straight to the frame.

RTX 5080 16 GB, 7800X3D, Windows 11, diag build of current main plus a few open PRs, first cell, same switches both times (TEXTURE_NO_WAIT, INDIRECT_WINDOW, DSTORAGE_NOTIFY, ASYNC_SUBMIT, QUEUE2, RELAY=2, COPY_PLAIN, AMBIENT=0.6). Both runs to world+800, last 14 frame-rate lines:

median ms/frame range
DRED=1 149.7 146-181
DRED unset 122 112-140

So about 28 ms a frame, 6.7 -> 8.2 fps here, picture the same. My run script had DRED on by default the whole time, so all my earlier numbers were ~20% slow. Might explain some of the spread between people's results on similar hardware (#921 had 118-133 ms on the same card and CPU).

Not saying turn it off when chasing a device loss, it's the thing that tells you which pipeline did it. Just worth leaving off for speed runs, or noting it when posting numbers.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6608894231 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/1021). Originally posted by [Ym1r1710](https://github.com/Ym1r1710) on 2026-11-25T16:27:12Z. --- Heads up for anyone comparing frame times: in a diagnostics build, `VICTORY_D3D12_DRED=1` is not free. With it on, every draw and dispatch builds its full op text (pipeline, user data, views) and sets a marker for the removal report (`HostList::note` in host.rs, `op_text` in draw.rs). That runs on the title's recording threads, so it adds straight to the frame. RTX 5080 16 GB, 7800X3D, Windows 11, diag build of current main plus a few open PRs, first cell, same switches both times (TEXTURE_NO_WAIT, INDIRECT_WINDOW, DSTORAGE_NOTIFY, ASYNC_SUBMIT, QUEUE2, RELAY=2, COPY_PLAIN, AMBIENT=0.6). Both runs to world+800, last 14 frame-rate lines: | | median ms/frame | range | |---|---|---| | DRED=1 | 149.7 | 146-181 | | DRED unset | 122 | 112-140 | So about 28 ms a frame, 6.7 -> 8.2 fps here, picture the same. My run script had DRED on by default the whole time, so all my earlier numbers were ~20% slow. Might explain some of the spread between people's results on similar hardware (#921 had 118-133 ms on the same card and CPU). Not saying turn it off when chasing a device loss, it's the thing that tells you which pipeline did it. Just worth leaving off for speed runs, or noting it when posting numbers.
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#1019
No description provided.