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

Open
opened 2026-11-26 03:56:08 +00:00 by github-bot · 0 comments
Owner

@⁠Ym1r1710 on GitHub · 2026-11-25 16:27 UTC · original

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.

**@⁠Ym1r1710** on GitHub · 2026-11-25 16:27 UTC · [original](https://github.com/fxceless/victory-fork/issues/1021) 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:56:08 +00:00
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/fxceless--victory-fork#1021
No description provided.