crash: random DEVICE_HUNG (0x887A0006) TDR timeouts on RTX 5060 8 GB, oldest submission, no fixed scene #4506
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#4506
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?
@eipastel on GitHub · 2026-11-30 21:31 UTC · original
What happens
Random
DEVICE_HUNG(0x887A0006) on an RTX 5060 8 GB: "relay: the device was lost before fence value N was reached". 15 times across 29–30/11, about 1 run in 3 on some days, including runs with no switches beyond the texture cap. It is not tied to a scene or a time: between 93 and 283 s after start, before, during and after the driver's shader compile. Unlike #4474 (0x887A0005 at the same frame every time), this one moves around.Setup
mainatc71899d9(30/11) and the commits before it, release and diag, Series S, DLSS Performance, no frame generation,VICTORY_TEXTURE_BUDGET_MB=2000.What the logs and Windows say
nvlddmkmevent 153 entries and aLiveKernelEvent 141report with a dump inC:\Windows\LiveKernelReports\WATCHDOG.!analyze -von one of them:VIDEO_ENGINE_TIMEOUT_DETECTED (141), stackdxgmms2!VidSchiCheckHwProgress -> VidSchiResetEngines -> TdrCollectDbgInfoStage1. So it is a TDR timeout (an engine made no progress for 2 s), not a page fault.sweepclean-ups, so the log does not say which list hung.VICTORY_D3D12_DRED=light, 300 s each, did not hang, so there is no DRED breadcrumb yet.Logs available on request.
@github-actions[bot] on GitHub · 2026-11-30 21:32 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@eipastel on GitHub · 2026-11-30 23:11 UTC · original
Play log of one of the hangs (a base run with no switches beyond
VICTORY_TEXTURE_BUDGET_MB=2000; the relay report with the fence values and the 'last 96 things done' is at the end): https://gist.github.com/eipastel/27fb84669ecfd2c1240860c789b2cc56 (raw: https://gist.githubusercontent.com/eipastel/27fb84669ecfd2c1240860c789b2cc56/raw/30505b99d3566de282c1a728d0205a820fcfaec3/victory-nvidia-20261130-160931.log). Posted as a gist because the file is 5.5 MB.There is no crash log for this run:
crashes.logwas last written on 27/11 and no*.crash.logwas made, since a device loss ends through the relay report rather than the crash reporter.@tyr0nsur on GitHub · 2026-11-30 23:31 UTC · original
The attached relay log is useful. It reports 90,651 submissions started and 90,627 marked finished, with fence 90,628 the first the relay could not reach. The
between submissionsphase describes the CPU submitting thread. Its parenthetical about no GPU work was misleading in this path, since earlier submissions can still be outstanding. #4595 corrects that line and prints the unfinished submission count. The fence and DRED records are still needed to identify the work that stalled.@eipastel on GitHub · 2026-11-30 23:59 UTC · original
@tyr0nsur here is a hang caught with DRED (diag build of
mainat43a32461,VICTORY_D3D12_DRED=light, same RTX 5060 8 GB, Series S, DLSS Performance, prison save,VICTORY_TEXTURE_BUDGET_MB=2000). It took 3 runs of 300 s; this one hung about 3 minutes into the world.What the device-removed data says:
victory host list 710. Every list after it is at command 0, i.e. never started.[compute 0452fc2d2e2fc4c3]as an indirect dispatch (indirect kind 2, max 1, the list's indirect execution 1), user data[0, 0, 0, 0, 16e4080, 20, 11, 26cf, 26ce, 0, 0, 0]. The commands around it (232 and 234) are the indirect dispatches of[compute fc5e66f8f873d3bb]and[compute 9146291b38ea9ce1], all between the same barriers.My reading, not verified: an indirect compute dispatch that never finishes (an argument buffer with a huge or stale group count, or a shader that loops on data that isn't there yet) rather than anything to do with memory.
DRED section on its own (
dred-20261130-205532.txt) and the full play log: https://gist.github.com/eipastel/3bb94c4d588c039291fd36a67e6486bc@eipastel on GitHub · 2026-12-01 02:45 UTC · original
The DRED result above looks like the same case as #3222 / #3686, on another program:
4fb416369fc50b6e, user data[0, 0, 0, 0, 12ba3e0, 0, 10, 0], no page fault.0452fc2d2e2fc4c3, user data[0, 0, 0, 0, 16e4080, 20, 11, 26cf, 26ce, 0, 0, 0], no page fault.Both have a table address at word 4 and small values at words 5-7, the layout #3686 describes (a descriptor table at word 4, root constants at words 5-7, the heap at word 8). #3686 says
host::indirects::slotstakes small root constants for heap slots. I have not checked0452fc2d2e2fc4c3's root layout or tested #3686 here, so this is a pointer, not a confirmation. If it helps, I can run #3686 on this card withVICTORY_D3D12_DRED=lightand report whether the hangs stop.@eipastel on GitHub · 2026-12-01 05:12 UTC · original
Tested #3686 on this card: 0 hangs in 6 runs of 300 s with DRED (against 1 in 6 on
mainyesterday). Details: #3686 (latest comment). Too few runs to call it fixed.