RTX 5060 8GB / 16GB RAM: deterministic crash 0xc0000005 at +0x23cf683 on the loading screen (4/4 runs, also with DLSS and frame generation off) #1654

Closed
opened 2026-11-28 23:08:08 +00:00 by github-bot · 6 comments
Owner

@⁠DanielAlexssander on GitHub · 2026-11-28 23:05 UTC · original

System

  • GPU: NVIDIA GeForce RTX 5060 (8 GB), driver 617.42
  • OS: Windows 11 (build 26200), 16 GB RAM, ~99 GB total commit (paging files)
  • Launcher: scripts\play-foxhound.ps1, release build, repo at 77df871

What happens

The game reaches the loading screen (black screen, ~60 fps, 9 draws/frame), then crashes in the title's own code. Breakpad starts an upload (blocked by the port, as intended).

Crash (identical in 4 runs, registers too)

VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there)
  rax 0x0 rbx 0x0 rcx 0x90024c348 rdx 0x1 ... r8 0x9072a0c40 r9 0x9072a0e20
  #0 victory-image-...dll+0x23cf683
  #1 victory-image-...dll+0x2215c35
  #2 victory-image-...dll+0x2215eca
  #3 KERNEL32.DLL+0x2dda7
  #4 ntdll.dll+0xc9c5c

Runs

# Profile Settings Memory load at crash
1 Series X DLSS quality + frame generation 2x 98 % (~260 MB free)
2 Series S DLSS performance + frame generation 2x 82 % (2.8 GB free)
3 Series S VICTORY_TEXTURE_ROOM_PERCENT=60 93 % (1.1 GB free)
4 Series S DLSS off, frame generation off (victory-settings.txt removed) 87 % (2.0 GB free)

Same address every time, so it is not DLSS or frame generation, not the Series X/S profile, not the texture budget, and not simply running out of RAM (paging file had 50+ GB free).

Warnings before the crash

shader does not translate; its pipelines' draws are dropped stage="compute"
  error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported

(3 distinct hashes in runs 3 and 4), plus a dispatch without a host pipeline dropped and host memory pressure: limiting texture prefetch.

My guess, not verified: the title waits for the result of a compute program that was dropped (wave64 on a wave32 GPU) and later writes through a null pointer. Possibly related: #1580 (same GPU class, 8 GB / 16 GB), though that one is an OOM crash.

Full logs available on request.

**@⁠DanielAlexssander** on GitHub · 2026-11-28 23:05 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654) ### System - GPU: NVIDIA GeForce RTX 5060 (8 GB), driver 617.42 - OS: Windows 11 (build 26200), 16 GB RAM, ~99 GB total commit (paging files) - Launcher: `scripts\play-foxhound.ps1`, release build, repo at `77df871` ### What happens The game reaches the loading screen (black screen, ~60 fps, 9 draws/frame), then crashes in the title's own code. Breakpad starts an upload (blocked by the port, as intended). ### Crash (identical in 4 runs, registers too) ``` VIctory: unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there) rax 0x0 rbx 0x0 rcx 0x90024c348 rdx 0x1 ... r8 0x9072a0c40 r9 0x9072a0e20 #0 victory-image-...dll+0x23cf683 #1 victory-image-...dll+0x2215c35 #2 victory-image-...dll+0x2215eca #3 KERNEL32.DLL+0x2dda7 #4 ntdll.dll+0xc9c5c ``` ### Runs | # | Profile | Settings | Memory load at crash | |---|---------|----------|----------------------| | 1 | Series X | DLSS quality + frame generation 2x | 98 % (~260 MB free) | | 2 | Series S | DLSS performance + frame generation 2x | 82 % (2.8 GB free) | | 3 | Series S | `VICTORY_TEXTURE_ROOM_PERCENT=60` | 93 % (1.1 GB free) | | 4 | Series S | **DLSS off, frame generation off** (`victory-settings.txt` removed) | 87 % (2.0 GB free) | Same address every time, so it is not DLSS or frame generation, not the Series X/S profile, not the texture budget, and not simply running out of RAM (paging file had 50+ GB free). ### Warnings before the crash ``` shader does not translate; its pipelines' draws are dropped stage="compute" error=converter shader.dxil v1: GFX10 code at 0x0: no wave32 lowering for this wave64 program is not supported ``` (3 distinct hashes in runs 3 and 4), plus `a dispatch without a host pipeline dropped` and `host memory pressure: limiting texture prefetch`. My guess, not verified: the title waits for the result of a compute program that was dropped (wave64 on a wave32 GPU) and later writes through a null pointer. Possibly related: #1580 (same GPU class, 8 GB / 16 GB), though that one is an OOM crash. Full logs available on request.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 23:08:08 +00:00
Author
Owner

@⁠Jesper-Andersson on GitHub · 2026-11-28 23:07 UTC · original

This address is the title's own hang watchdog, not a real crash: write 0x0 at +0x23cf683 with these registers is the same signature as #846 and #1428. As #1428 worked out, a title thread deliberately writes to address 0 when the game's heartbeat hasn't moved for about 30 seconds. On your PC the loading screen (memory load 82-98 % in your table) probably stalls that long, and the watchdog ends the run.

  • On current main there's a workaround from #1428, VICTORY_POKE=71b6340:1 (sets the watchdog's quit flag), but it needs a diagnostics build (--features diagnostics); a release build like yours ignores it.
  • Open PR #1609 (not merged yet) sets the quit flag at start by default, and only when the trap bytes match, so other title versions are left alone; VICTORY_TITLE_WATCHDOG=1 turns the watchdog back on. The trade-off: a real deadlock then freezes the game instead of ending it.

Either may get you past the loading screen, or at least show whether it is slow or truly stuck (#1428 notes the poke hides a stall rather than fixing it). Whatever makes the loading stall for 30 s (memory pressure on 16 GB, or the refused wave64 programs in your log, #1435) is a separate question.

This was written with AI assistance (Claude Code).

**@⁠Jesper-Andersson** on GitHub · 2026-11-28 23:07 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654#issuecomment-7247218269) This address is the title's own hang watchdog, not a real crash: `write 0x0 at +0x23cf683` with these registers is the same signature as #846 and #1428. As #1428 worked out, a title thread deliberately writes to address 0 when the game's heartbeat hasn't moved for about 30 seconds. On your PC the loading screen (memory load 82-98 % in your table) probably stalls that long, and the watchdog ends the run. - On current main there's a workaround from #1428, `VICTORY_POKE=71b6340:1` (sets the watchdog's quit flag), but it needs a diagnostics build (`--features diagnostics`); a release build like yours ignores it. - Open PR #1609 (not merged yet) sets the quit flag at start by default, and only when the trap bytes match, so other title versions are left alone; `VICTORY_TITLE_WATCHDOG=1` turns the watchdog back on. The trade-off: a real deadlock then freezes the game instead of ending it. Either may get you past the loading screen, or at least show whether it is slow or truly stuck (#1428 notes the poke hides a stall rather than fixing it). Whatever makes the loading stall for 30 s (memory pressure on 16 GB, or the refused wave64 programs in your log, #1435) is a separate question. This was written with AI assistance (Claude Code).
Author
Owner

@⁠PYTHONRETARDE on GitHub · 2026-11-28 23:11 UTC · original

Same watchdog on AMD: RX 7800 XT 16 GB / Ryzen 5 5600 / 16 GB RAM, and how it changes with the title patches

Confirming this on an AMD card. Same address and same stack (+0x23cf683 ← +0x2215c35 ← +0x2215eca), 3 out of 3 runs, at the menus / loading screen about 1–1.5 min after start.

System: Windows 11 26200, Ryzen 5 5600 (6 cores), 16 GB RAM, page file 48–64 GB, RX 7800 XT 16 GB (driver 32.0.32029.2010, Resizable BAR on). Series X, native 1440p, DLSS off, release build. Switches on top of the launcher's: VICTORY_WINDOWS_BAR_MB=3072, VICTORY_TEXTURE_ROOM_PERCENT=62, VICTORY_PORT_CONSTANTS=1, VICTORY_ASYNC_SUBMIT=1 (F1).

What I saw after updating from f4608f0 to d4b5d51 (with a fresh -Preload of the new build, 49.5 min):

Run Result
Defaults (F1 cap "none", so VICTORY_TITLE_FPS=59) ×2 watchdog at +0x23cf683 on the loading screen
VICTORY_TITLE_FPS=off (title's own 30) same watchdog, so the 59 fps patch isn't it
VICTORY_TITLE_PATCHES=0 (no "upscaler choice" patches) no watchdog, but the window stopped responding while loading into the world (Windows "Application Hang" ~1.5 min in)

Same PC, same settings on f4608f0: stable, 15–26 min sessions in the world, no watchdog. I've rolled back to it for now.

This fits the explanation above: something in the newer build makes loading stall past the 30 s heartbeat on 16 GB machines. With the title patches off it stalls without the watchdog firing in time, so it shows up as a frozen window instead. Happy to test PR #1609 or any other build/switch.

Note: my build has two local changes on top of upstream: (1) three byte-checked writes in CSettingsManager::ApplySettings (draw distance / small-object cull / vehicle LOD bias, ported from VIctory-Hydra's engine.rs), and (2) DXGI_MWA_NO_ALT_ENTER set for every swap chain (on AMD, Alt+Enter otherwise froze the picture with presents refused 0x887A0001). f4608f0 ran stably with the same two changes, but I haven't tested d4b5d51 without them.

This was written with AI assistance (Claude Code).

**@⁠PYTHONRETARDE** on GitHub · 2026-11-28 23:11 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654#issuecomment-7247261223) **Same watchdog on AMD: RX 7800 XT 16 GB / Ryzen 5 5600 / 16 GB RAM, and how it changes with the title patches** Confirming this on an AMD card. Same address and same stack (`+0x23cf683` ← `+0x2215c35` ← `+0x2215eca`), 3 out of 3 runs, at the menus / loading screen about 1–1.5 min after start. **System:** Windows 11 26200, Ryzen 5 5600 (6 cores), 16 GB RAM, page file 48–64 GB, RX 7800 XT 16 GB (driver 32.0.32029.2010, Resizable BAR on). Series X, native 1440p, DLSS off, release build. Switches on top of the launcher's: `VICTORY_WINDOWS_BAR_MB=3072`, `VICTORY_TEXTURE_ROOM_PERCENT=62`, `VICTORY_PORT_CONSTANTS=1`, `VICTORY_ASYNC_SUBMIT=1` (F1). **What I saw after updating from `f4608f0` to `d4b5d51`** (with a fresh `-Preload` of the new build, 49.5 min): | Run | Result | |---|---| | Defaults (F1 cap "none", so `VICTORY_TITLE_FPS=59`) ×2 | watchdog at `+0x23cf683` on the loading screen | | `VICTORY_TITLE_FPS=off` (title's own 30) | same watchdog, so the 59 fps patch isn't it | | `VICTORY_TITLE_PATCHES=0` (no "upscaler choice" patches) | no watchdog, but the window stopped responding while loading into the world (Windows "Application Hang" ~1.5 min in) | **Same PC, same settings on `f4608f0`:** stable, 15–26 min sessions in the world, no watchdog. I've rolled back to it for now. This fits the explanation above: something in the newer build makes loading stall past the 30 s heartbeat on 16 GB machines. With the title patches off it stalls without the watchdog firing in time, so it shows up as a frozen window instead. Happy to test PR #1609 or any other build/switch. **Note:** my build has two local changes on top of upstream: (1) three byte-checked writes in `CSettingsManager::ApplySettings` (draw distance / small-object cull / vehicle LOD bias, ported from VIctory-Hydra's `engine.rs`), and (2) `DXGI_MWA_NO_ALT_ENTER` set for every swap chain (on AMD, Alt+Enter otherwise froze the picture with presents refused `0x887A0001`). `f4608f0` ran stably with the same two changes, but I haven't tested `d4b5d51` without them. *This was written with AI assistance (Claude Code).*
Author
Owner

@⁠MidasRX on GitHub · 2026-11-28 23:14 UTC · original

pray and it will work

**@⁠MidasRX** on GitHub · 2026-11-28 23:14 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654#issuecomment-7247293817) pray and it will work
Author
Owner

@⁠MaurycyBartczak on GitHub · 2026-11-29 00:10 UTC · original

For anyone landing here: #628 and #846 found that on Windows this watchdog mostly hits the first start of a fresh build. Then most compute pipelines are new, and the title's load waits on them past its 30 s heartbeat. Two workarounds help: a preload (victory play --preload, or -Preload / VICTORY_PRELOAD=1 with the scripts) and VICTORY_PIPELINE_COMPUTE_WAIT=0.

The preload confirms it here. Setup: RTX 5070 Ti 16 GB, Ryzen 7 9800X3D, 64 GB RAM, Windows 11, release build of 77df871, built from source. Without a preload, the first start crashed at +0x23cf683 47 s into the story load. After a 23.5 min preload, the same build loaded and ran for about 1 h 25 min with no crash.

With 16 GB of RAM, as in this issue and the AMD report above, the preload did not help, so that case may be a different stall.

AI-assisted (Claude Code); no game files attached.

**@⁠MaurycyBartczak** on GitHub · 2026-11-29 00:10 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654#issuecomment-7247923679) For anyone landing here: #628 and #846 found that on Windows this watchdog mostly hits the first start of a fresh build. Then most compute pipelines are new, and the title's load waits on them past its 30 s heartbeat. Two workarounds help: a preload (`victory play --preload`, or `-Preload` / `VICTORY_PRELOAD=1` with the scripts) and `VICTORY_PIPELINE_COMPUTE_WAIT=0`. The preload confirms it here. Setup: RTX 5070 Ti 16 GB, Ryzen 7 9800X3D, 64 GB RAM, Windows 11, release build of `77df871`, built from source. Without a preload, the first start crashed at `+0x23cf683` 47 s into the story load. After a 23.5 min preload, the same build loaded and ran for about 1 h 25 min with no crash. With 16 GB of RAM, as in this issue and the AMD report above, the preload did not help, so that case may be a different stall. AI-assisted (Claude Code); no game files attached.
Author
Owner

@⁠kongmuqiu on GitHub · 2026-11-29 15:58 UTC · original

A first-parent bisect for this crash, with the title's own ray tracing on.

Host: RTX 4070 Laptop GPU 8 GB, i9-13900HX, Windows 11 26300, release build, Series S, DLSS Quality, frame generation off, VICTORY_BVH_BUILDER=1, VICTORY_AMBIENT=0, otherwise the launcher's settings. Each step builds the commit, loads the same save, and counts it bad on unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0) during the load, good once the scene is reached and sampled.

  • 93008750 good, 923e38cc bad. The bad case is deterministic, and it is the same with an empty VICTORY_CACHE_DIR.
  • git bisect --first-parent steps: dc5b8db2 bad, 1aeb43e7 good, 59c0f9ee bad, 78c9ec38 good, 41c1805d bad, 17612c32 bad, f757138f good.
  • First bad: 17612c32 (Merge pull request #243, "a dispatch waits for its compute pipeline until it is made").
  • 923e38cc with VICTORY_PIPELINE_COMPUTE_WAIT=0: no crash; the scene loads and plays.

This fits the watchdog reading above: since #243 a dispatch whose compute pipeline is being made blocks until it is made, and with the structure builder on, the load meets enough new compute programs to stall the title's heartbeat past its limit.

**@⁠kongmuqiu** on GitHub · 2026-11-29 15:58 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654#issuecomment-7258514503) A first-parent bisect for this crash, with the title's own ray tracing on. **Host:** RTX 4070 Laptop GPU 8 GB, i9-13900HX, Windows 11 26300, release build, Series S, DLSS Quality, frame generation off, `VICTORY_BVH_BUILDER=1`, `VICTORY_AMBIENT=0`, otherwise the launcher's settings. Each step builds the commit, loads the same save, and counts it bad on `unhandled exception 0xc0000005 at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0)` during the load, good once the scene is reached and sampled. - `93008750` good, `923e38cc` bad. The bad case is deterministic, and it is the same with an empty `VICTORY_CACHE_DIR`. - `git bisect --first-parent` steps: dc5b8db2 bad, 1aeb43e7 good, 59c0f9ee bad, 78c9ec38 good, 41c1805d bad, 17612c32 bad, f757138f good. - **First bad: `17612c32` (Merge pull request #243, "a dispatch waits for its compute pipeline until it is made").** - `923e38cc` with `VICTORY_PIPELINE_COMPUTE_WAIT=0`: no crash; the scene loads and plays. This fits the watchdog reading above: since #243 a dispatch whose compute pipeline is being made blocks until it is made, and with the structure builder on, the load meets enough new compute programs to stall the title's heartbeat past its limit.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 15:41 UTC · original

Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.

If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:

  1. The play log: the newest victory-nvidia-play-<date>-<time>-<number>.log in %LOCALAPPDATA%\victory\logs\.
  2. The crash log: %LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest .crash.log in %LOCALAPPDATA%\VIctory\data\7952987A\temp\ if there is one from that run.
**@⁠trustno1-coder** on GitHub · 2026-11-30 15:41 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/1654#issuecomment-7283413465) Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is [v2026.11.30.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.30.01). If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run: 1. The play log: the newest `victory-nvidia-play-<date>-<time>-<number>.log` in `%LOCALAPPDATA%\victory\logs\`. 2. The crash log: `%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log`, plus the newest `.crash.log` in `%LOCALAPPDATA%\VIctory\data\7952987A\temp\` if there is one from that run.
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#1654
No description provided.