Ray tracing crashes: GPU device removed (0x887A0005) on RTX 4090 #2193

Open
opened 2026-11-29 10:23:25 +00:00 by fenfive-hub · 1 comment
fenfive-hub commented 2026-11-29 10:23:25 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by fenfive-hub on 2026-11-29T10:23:25Z.


Environment

  • GPU: NVIDIA GeForce RTX 4090 24 GB
  • RAM: 64 GB
  • OS: Windows 11
  • Build: v2026.11.29.01, plus PR #2148 applied by hand ("Retry deferred ray-tracing builder pipelines")

Symptoms

Turning on ray tracing (F1 RAY TRACING, VICTORY_BVH_BUILDER=1), then:

  1. Load a save.
  2. The cutscene after loading plays through to the end.
  3. Right around the camera cut to Jason — timing varies slightly (sometimes just before the cut, sometimes 1-2 s after) — the game crashes with GPU device removed.

This reproduces deterministically every time at the same spot — it is not a random TDR, but a specific scene (the transition into Jason's appearance) triggering the device removed.

Crash log (crashes.log + play log)

The crash is a GPU device removed, not a shader translation failure:

VIctory: host GPU failure: relay: the device was lost before fence value 41234 was reached (once it is, every fence reads u64::MAX); device removed: GPU 设备实例已经暂停 (0x887A0005); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command

0x887A0005 = DXGI_ERROR_DEVICE_REMOVED.

Crash stack (victory-image):

#0  victory-image-b99f876b74d4a77f.dll+0x2219650
#1  victory-image-b99f876b74d4a77f.dll+0x4fac413
#2  victory-image-b99f876b74d4a77f.dll+0x193e248
#3  victory-image-b99f876b74d4a77f.dll+0x34c001
...
#15 KERNEL32.DLL+0x2dda7
#16 ntdll.dll+0xc9c5c

Notes

  • The crash is deterministic at the Jason-appearance scene, not a random TDR — so it is very likely a specific ray-tracing pass/pipeline triggered when the camera shows Jason. The play log right before the crash shows a batch of -mask pipelines loading, then relay: device was lost before fence value ....
  • Multiple runs all crash with device removed (0x887A0005), at different fence values (52468, 42746, 41234...).
  • During warm-up, exactly 1 pipeline reports "no host pipeline"; the shader behind it fails to translate ("a lane mask holding lanes elsewhere read as data is not supported", hash dbdbf36298727135). That missing pipeline may be related, but the crash itself is the GPU device removed, which PR #2148 does not address.
  • Ray tracing off: game is stable.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6677582477 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2193). Originally posted by [fenfive-hub](https://github.com/fenfive-hub) on 2026-11-29T10:23:25Z. --- ## Environment - GPU: NVIDIA GeForce RTX 4090 24 GB - RAM: 64 GB - OS: Windows 11 - Build: v2026.11.29.01, plus PR #2148 applied by hand ("Retry deferred ray-tracing builder pipelines") ## Symptoms Turning on ray tracing (F1 RAY TRACING, `VICTORY_BVH_BUILDER=1`), then: 1. Load a save. 2. The cutscene after loading **plays through to the end**. 3. Right around the camera cut to Jason — timing varies slightly (sometimes just before the cut, sometimes 1-2 s after) — the game crashes with GPU device removed. This reproduces **deterministically every time at the same spot** — it is not a random TDR, but a specific scene (the transition into Jason's appearance) triggering the device removed. ## Crash log (crashes.log + play log) The crash is a GPU device removed, not a shader translation failure: ``` VIctory: host GPU failure: relay: the device was lost before fence value 41234 was reached (once it is, every fence reads u64::MAX); device removed: GPU 设备实例已经暂停 (0x887A0005); a diagnostics build with VICTORY_D3D12_DEBUG=1 names the command ``` 0x887A0005 = DXGI_ERROR_DEVICE_REMOVED. Crash stack (victory-image): ``` #0 victory-image-b99f876b74d4a77f.dll+0x2219650 #1 victory-image-b99f876b74d4a77f.dll+0x4fac413 #2 victory-image-b99f876b74d4a77f.dll+0x193e248 #3 victory-image-b99f876b74d4a77f.dll+0x34c001 ... #15 KERNEL32.DLL+0x2dda7 #16 ntdll.dll+0xc9c5c ``` ## Notes - The crash is deterministic at the Jason-appearance scene, not a random TDR — so it is very likely a specific ray-tracing pass/pipeline triggered when the camera shows Jason. The play log right before the crash shows a batch of `-mask` pipelines loading, then `relay: device was lost before fence value ...`. - Multiple runs all crash with device removed (0x887A0005), at different fence values (52468, 42746, 41234...). - During warm-up, exactly 1 pipeline reports "no host pipeline"; the shader behind it fails to translate ("a lane mask holding lanes elsewhere read as data is not supported", hash dbdbf36298727135). That missing pipeline may be related, but the crash itself is the GPU device removed, which PR #2148 does not address. - Ray tracing off: game is stable.
fenfive-hub commented 2026-11-29 10:33:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by fenfive-hub on 2026-11-29T10:33:20Z.


victory-nvidia-play-20261129-101847-16640.log

crashes.log

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7254512476 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2193#issuecomment-7254512476). Originally posted by [fenfive-hub](https://github.com/fenfive-hub) on 2026-11-29T10:33:20Z. --- [victory-nvidia-play-20261129-101847-16640.log](https://github.com/user-attachments/files/35568776/victory-nvidia-play-20261129-101847-16640.log) [crashes.log](https://github.com/user-attachments/files/35568779/crashes.log)
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
trustno1-coder/VIctory-NVIDIA#2193
No description provided.