play.ps1: device-removed data keeps page faults only by default (breadcrumbs cost ~37 ms of card time a frame) #713
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!713
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-713"
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?
@kibagami-nc on GitHub · 2026-11-28 04:14 UTC · original
kibagami-nc:scripts/play-dred-faults-by-default→main· +4 −1 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCRebased on main (
f9dfb76f). The conflict was the settings line that #927 changed (VICTORY_CARD_AWAKEis no longer set there): main's line is kept, withVICTORY_D3D12_DRED = 'faults'. The script parses, stays ASCII with CRLF line ends.The problem
scripts\play.ps1runs the diagnostics build (target\diag, its default) withVICTORY_D3D12_DRED=light. That forces the runtime's auto-breadcrumbs on (SetAutoBreadcrumbsEnablement), so every command on the card writes a breadcrumb after itself. On NVIDIA this costs a lot of card time.TaynanGT/Vice-Tay#274 measured it on an RTX 2080 Ti (Series S, the prologue: café then cell, PresentMon for card time):
lightfaultsTaynanGT/Vice-Tay#115 saw the same direction on an RTX 3080 Ti.
The change
play.ps1setsVICTORY_D3D12_DRED=faultsby default, and its header says why and how to get the breadcrumbs back.faultskeeps: the page-fault report after a device loss, which gives the faulting address and the allocations near it. It drops the breadcrumbs.-More @{VICTORY_D3D12_DRED='light'}.The release
victory.exe(play) is not concerned: DRED is only built into the diagnostics build.This is a port of cafeoh's change (TaynanGT/Vice-Tay#274). That script differs from this one, so the change is made by hand here.
Tests
[System.Management.Automation.Language.Parser]::ParseFile: 0 errors).9c3ce22e04to0519b67745