Crashing on loading #148

Closed
opened 2026-11-27 18:58:05 +00:00 by github-bot · 5 comments
Owner

@⁠wildkirov43 on GitHub · 2026-11-27 18:54 UTC · original

crashes.log

victory-20261127-215132-19124.crash.log
4070TIsu 32gb 7 5700x3d

**@⁠wildkirov43** on GitHub · 2026-11-27 18:54 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/148) [crashes.log](https://github.com/user-attachments/files/35526890/crashes.log) [victory-20261127-215132-19124.crash.log](https://github.com/user-attachments/files/35526893/victory-20261127-215132-19124.crash.log) 4070TIsu 32gb 7 5700x3d
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 18:58:05 +00:00
Author
Owner

@⁠wildkirov43 on GitHub · 2026-11-27 18:57 UTC · original

victory-nvidia-play-20261127-185023-19124.log

**@⁠wildkirov43** on GitHub · 2026-11-27 18:57 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/148#issuecomment-7226041959) [victory-nvidia-play-20261127-185023-19124.log](https://github.com/user-attachments/files/35527007/victory-nvidia-play-20261127-185023-19124.log)
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 20:08 UTC · original

Found it and fixed it in v2026.11.27.4: https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.4

The crash ("D3D12 XDXR Error: Failed to allocate upload buffer" right after the loading screen) happened because, on some PCs, the address range the game's ray tracing needs was already full by the first frame. The new exe reserves that range the moment it starts, and if it ever does run out, the game carries on instead of crashing. Replace your victory.exe with the new one. If it still crashes, please attach the new victory-nvidia-play-*.log and crashes.log.

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/148#issuecomment-7227211281) Found it and fixed it in **v2026.11.27.4**: https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.27.4 The crash ("D3D12 XDXR Error: Failed to allocate upload buffer" right after the loading screen) happened because, on some PCs, the address range the game's ray tracing needs was already full by the first frame. The new exe reserves that range the moment it starts, and if it ever does run out, the game carries on instead of crashing. Replace your victory.exe with the new one. If it still crashes, please attach the new `victory-nvidia-play-*.log` and `crashes.log`.
Author
Owner

@⁠humsterbumster on GitHub · 2026-11-27 20:09 UTC · original

Reproduced on Linux under Wine with the same signature, and it is not memory pressure.

Setup: Arch + NVIDIA RTX 5090 32 GB, driver 620.73.04, GE-Proton11-14's wine (11.0) + vkd3d-proton from Proton Experimental, Xvfb; this tree at 29d8dbf plus two upstream patches applied by hand: Marvisak/VIctory#2143 (constant table after instructions; without it every run loses the device with 0x887A0005 at world entry) and #120 (empty pipeline library asked for with a null blob; under vkd3d every start otherwise logs no host pipeline library: pipelines are not kept). Title directory read-only, nothing patched in the image.

Match: int3 at +0x5149aec with stack +0xa5db22, +0x5453ac7, +0x23d0f9a, +0x23d1211, +0x257035e, +0x221c29c, +0x2215eca; title report INSTANCE_LIST 45000/45000, BUILDING 21,256–22,438/22,500, TileHeap 4,654–4,740/6,236 MB, SRL fbk_stry000_FBK_STRY000_INTRO, Prestream, Paused: Yes, frames 1,383–1,439. Same stop as Marvisak/VIctory#698 and #1118.

What did not move it (one variable per run): VICTORY_QUEUE_WAIT=0 (1,439), no-drop waits VICTORY_PIPELINE_WAIT_MS=2000/VICTORY_SCREEN_WAIT_MS=2000 (1,416, but draws 1,262 → 3,278 and 0.9 fps), VICTORY_BVH_BUILDER=1 (1,383). Frame time varied 5×; the stop frame did not.

Full write-up with the arm table is on Marvisak/VIctory#698: https://github.com/Marvisak/VIctory/issues/698#issuecomment-7227222212

Two Linux/Wine notes for this tree: under vkd3d the pipeline library loads but every save reports bytes=0, so pipelines are not kept across launches; and victory warm without the full run environment reports 83560 made with 83560 have no host pipeline (Vice-Tay#188). Worth a note in the Linux docs alongside #120.

**@⁠humsterbumster** on GitHub · 2026-11-27 20:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/148#issuecomment-7227226079) Reproduced on Linux under Wine with the same signature, and it is not memory pressure. **Setup:** Arch + NVIDIA RTX 5090 32 GB, driver 620.73.04, GE-Proton11-14's wine (11.0) + vkd3d-proton from Proton Experimental, Xvfb; this tree at `29d8dbf` plus two upstream patches applied by hand: Marvisak/VIctory#2143 (constant table after instructions; without it every run loses the device with `0x887A0005` at world entry) and #120 (empty pipeline library asked for with a null blob; under vkd3d every start otherwise logs `no host pipeline library: pipelines are not kept`). Title directory read-only, nothing patched in the image. **Match:** `int3` at `+0x5149aec` with stack `+0xa5db22, +0x5453ac7, +0x23d0f9a, +0x23d1211, +0x257035e, +0x221c29c, +0x2215eca`; title report `INSTANCE_LIST 45000/45000`, `BUILDING 21,256–22,438/22,500`, `TileHeap 4,654–4,740/6,236 MB`, SRL `fbk_stry000_FBK_STRY000_INTRO`, `Prestream`, `Paused: Yes`, frames 1,383–1,439. Same stop as Marvisak/VIctory#698 and #1118. **What did not move it (one variable per run):** `VICTORY_QUEUE_WAIT=0` (1,439), no-drop waits `VICTORY_PIPELINE_WAIT_MS=2000`/`VICTORY_SCREEN_WAIT_MS=2000` (1,416, but draws 1,262 → 3,278 and 0.9 fps), `VICTORY_BVH_BUILDER=1` (1,383). Frame time varied 5×; the stop frame did not. Full write-up with the arm table is on Marvisak/VIctory#698: https://github.com/Marvisak/VIctory/issues/698#issuecomment-7227222212 **Two Linux/Wine notes for this tree:** under vkd3d the pipeline library loads but every save reports `bytes=0`, so pipelines are not kept across launches; and `victory warm` without the full run environment reports `83560 made` with `83560 have no host pipeline` (Vice-Tay#188). Worth a note in the Linux docs alongside #120.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-27 20:27 UTC · original

Fixed: the "D3D12 XDXR Error: Failed to allocate upload buffer" crash after the loading screen was fixed in v2026.11.27.4, and it's in the latest release too (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest). The exe now reserves the memory range the game's ray tracing needs as soon as it starts, before anything else can fill it. A player in #131 confirmed the game now loads and plays. If it still crashes for you on the latest release, comment here with the new victory-nvidia-play-*.log and I'll reopen.

**@⁠trustno1-coder** on GitHub · 2026-11-27 20:27 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/148#issuecomment-7227517681) Fixed: the "D3D12 XDXR Error: Failed to allocate upload buffer" crash after the loading screen was fixed in v2026.11.27.4, and it's in the latest release too (https://github.com/trustno1-coder/VIctory-NVIDIA/releases/latest). The exe now reserves the memory range the game's ray tracing needs as soon as it starts, before anything else can fill it. A player in #131 confirmed the game now loads and plays. If it still crashes for you on the latest release, comment here with the new `victory-nvidia-play-*.log` and I'll reopen.
Author
Owner

@⁠humsterbumster on GitHub · 2026-11-27 20:43 UTC · original

Follow-up: newest main e69e39c is not usable on this Wine host — three clean runs (defaults, defaults, VICTORY_RELAY=0) all lose the device with 0x887A0005 at 86/113/125 s, before the menu finishes loading, each flooding FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE. 29d8dbf + #2143 + #120 on the same box logs no FSR4 lines, boots the menus and reaches the intro prestream.

Probable cause: on 29d8dbf the loader refuses amd_fidelityfx_upscaler_xbox.dll as outside the host policy, so the title uses the cross-vendor FFX path; on e69e39c it reaches the FSR4 model, which only exists for RDNA4 (serialised ACO pipelines) and cannot deserialise on an NVIDIA device.

Details and the ask (switch or bisect) are on Marvisak/VIctory#698: https://github.com/Marvisak/VIctory/issues/698#issuecomment-7227770476

Meanwhile the paced run continues on the patched 29d8dbf tree.

**@⁠humsterbumster** on GitHub · 2026-11-27 20:43 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/148#issuecomment-7227772996) Follow-up: **newest main `e69e39c` is not usable on this Wine host** — three clean runs (defaults, defaults, `VICTORY_RELAY=0`) all lose the device with `0x887A0005` at 86/113/125 s, before the menu finishes loading, each flooding `FFX FSR4 ACO: DeserializeComputePipelineStateX FAILED hr=0x80004001 … falling back to NewBE`. `29d8dbf` + #2143 + #120 on the same box logs no FSR4 lines, boots the menus and reaches the intro prestream. Probable cause: on `29d8dbf` the loader refuses `amd_fidelityfx_upscaler_xbox.dll` as outside the host policy, so the title uses the cross-vendor FFX path; on `e69e39c` it reaches the FSR4 model, which only exists for RDNA4 (serialised ACO pipelines) and cannot deserialise on an NVIDIA device. Details and the ask (switch or bisect) are on Marvisak/VIctory#698: https://github.com/Marvisak/VIctory/issues/698#issuecomment-7227770476 Meanwhile the paced run continues on the patched `29d8dbf` tree.
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#148
No description provided.