GPU device removed (0x887A0005) with VICTORY_BVH_BUILDER=1 on an 8 GB card under memory pressure; HW RT survives the same runs #4933
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#4933
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?
@RomanFama592 on GitHub · 2026-12-01 14:32 UTC · original
What happened
With the software ray tracing on (
VICTORY_BVH_BUILDER=1, F1 "RAY TRACING"), the host device is removed (0x887A0005) in about 1 of 5 runs, 1 to 3 minutes into the world, at different places (gas station at night, open roads). The game closes with "host GPU failure". With the same settings and plans,VICTORY_HW_RT=1(hardware ray tracing) never lost the device, and ray tracing off never did either.Automatic runs (victory-probe-mod, #2825), same save, same places, Series S profile:
VICTORY_BVH_BUILDER=1VICTORY_HW_RT=1In every run the card is past its own memory: about 9-10 GB of the PC's memory is used by the card (Windows "GPU Process Memory\Shared Usage"), with 3-6 GB/s of PCIe traffic. The texture queue logged "no room, new textures wait" right before the first loss. With software RT, one compute dispatch (
c42a31951201f9a0) takes 18.9 ms a frame of card time (diagnostics build,VICTORY_GPU_TIMES=1); hardware RT builds its structures in 0.9 ms.What the log says when the device went (two of the three runs):
No nvlddmkm TDR event was logged by Windows at those times. I have not run a diagnostics build with
VICTORY_D3D12_DEBUG=1yet.Related, not the same evidence: #4474 (RTX 4090, both RT switches, same scene change every time), #4324 (
VICTORY_HW_RT=1only, fixed byLIFT=0).GPU and driver
NVIDIA GeForce RTX 4060 Ti 8 GB, driver 610.88 (32.0.16.1088). DXGI budget about 7.2 GB.
CPU, RAM and Windows version
AMD Ryzen 9 5900X, 64 GB RAM, Windows 11 build 26300.
VIctory release or commit
main at
7d93ee07(local release build).Settings
Series S, picture 720 (DLSS quality), plus
VICTORY_BVH_BUILDER=1,VICTORY_RESIDENCY_PRIORITY=1,VICTORY_FIRST_UPLOAD_GUARD=1,VICTORY_SAMPLED_EVICT=1,VICTORY_CARD_ROOM_FOR_TARGETS_MB=3072,VICTORY_CCD_SPLIT=1,VICTORY_SUBMIT_SPLIT=1,VICTORY_NATIVE_SIZE=2560x1440. Also lost at picture 540 (DLSS performance).Logs
The ERROR lines above are from the play logs of those runs;
crashes.loghas the same three "host GPU failure ... 0x887A0005" entries. I can attach the full play logs.Are you working on a fix?
No.
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 14:35 UTC · original
I checked
removal_contextinhost.rsat7d93ee07. The wording “nothing of ours was running on the card” comes from the submitting thread’s phase. The relay still had an outstanding fence in both excerpts, and the submission counters had gaps of 11 and 25. Those lines alone cannot establish that the GPU queue was idle when the device was lost.For the debug-layer run you mentioned, could you share the first D3D12 error, if any, and the device-removal reason from that same run? That would help correlate the loss with a specific command or resource. This is from static review.
AI-assisted with OpenAI Codex.