Crashing on some scenarios with lots of lights. #4470

Open
opened 2026-11-30 20:46:55 +00:00 by github-bot · 2 comments
Owner

@⁠FouKBR on GitHub · 2026-11-30 20:44 UTC · original

Crashing on some scenarios with lots of lights. RT off. Playing on cp 3.

9800x3d
4070s
32gb 6000

victory-nvidia-play-20261130-202315-8160.log

crashes.log

F1 preload shaders doesn't work.

**@⁠FouKBR** on GitHub · 2026-11-30 20:44 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4469) Crashing on some scenarios with lots of lights. RT off. Playing on cp 3. 9800x3d 4070s 32gb 6000 [victory-nvidia-play-20261130-202315-8160.log](https://github.com/user-attachments/files/35642323/victory-nvidia-play-20261130-202315-8160.log) [crashes.log](https://github.com/user-attachments/files/35642349/crashes.log) F1 preload shaders doesn't work.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-30 20:46:55 +00:00
Author
Owner

@⁠tyr0nsur on GitHub · 2026-12-01 00:17 UTC · original

A likely cause, now reproduced in isolation on an RTX 4060: #3901 traced this exact Close() failure to the placed-twin copy in list.rs (copy_texture_region). placed_twins pairs twins by block size only, so a BC3 texture can be copied into a BC7 twin, and D3D12 refuses that copy across format families when the list closes (0x80070057). The fix is #4080 (the copy goes through a buffer). Its unit test fails Close() the same way on an RTX 4060 and passes with the fix (results).

Until it is merged, a run with the placed-twin copies off should avoid the crash, if this is the cause: victory.exe play --set VICTORY_PLACED_COPIED=0 (or -More VICTORY_PLACED_COPIED=0 on the script launcher). It is the behaviour from before those copies were ported, so a few textures that share memory may be stale. If the crash still happens with it, the debug-layer message is still the way to name the command, as asked above.

AI-assisted with Claude Code.

**@⁠tyr0nsur** on GitHub · 2026-12-01 00:17 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4469#issuecomment-7296159909) A likely cause, now reproduced in isolation on an RTX 4060: #3901 traced this exact `Close()` failure to the placed-twin copy in `list.rs` (`copy_texture_region`). `placed_twins` pairs twins by block size only, so a BC3 texture can be copied into a BC7 twin, and D3D12 refuses that copy across format families when the list closes (`0x80070057`). The fix is #4080 (the copy goes through a buffer). Its unit test fails `Close()` the same way on an RTX 4060 and passes with the fix ([results](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4080)). Until it is merged, a run with the placed-twin copies off should avoid the crash, if this is the cause: `victory.exe play --set VICTORY_PLACED_COPIED=0` (or `-More VICTORY_PLACED_COPIED=0` on the script launcher). It is the behaviour from before those copies were ported, so a few textures that share memory may be stale. If the crash still happens with it, the debug-layer message is still the way to name the command, as asked above. AI-assisted with Claude Code.
Author
Owner

@⁠FouKBR on GitHub · 2026-12-01 01:28 UTC · original

Still crashing after setting VICTORY_PLACED_COPIED=0. Log shows:
relay: the device was lost before fence value 757984 was reached; device removed (0x887A0006, DXGI_ERROR_DEVICE_HUNG)

crashes.log

log.txt

log too big to upload

**@⁠FouKBR** on GitHub · 2026-12-01 01:28 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/4469#issuecomment-7297533834) Still crashing after setting VICTORY_PLACED_COPIED=0. Log shows: relay: the device was lost before fence value 757984 was reached; device removed (0x887A0006, DXGI_ERROR_DEVICE_HUNG) [crashes.log](https://github.com/user-attachments/files/35650426/crashes.log) [log.txt](https://github.com/user-attachments/files/35650430/log.txt) log too big to upload
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/trustno1-coder--VIctory-NVIDIA#4470
No description provided.