Deterministic crash at +0x23cf683 on RTX 4060 8 GB / DDR4-2667 (Series X profile) #1497

Open
opened 2026-11-27 20:34:23 +00:00 by mointheflow · 3 comments
mointheflow commented 2026-11-27 20:34:23 +00:00 (Migrated from github.com)
Contributor

Imported from fxceless/victory-fork. Originally posted by mointheflow on 2026-11-27T20:34:23Z.


Hardware

  • GPU: NVIDIA GeForce RTX 4060 8 GB, driver 32.0.16.1088
  • CPU: AMD Ryzen 7 5700X, 8C/16T, Zen 3
  • RAM: 32 GB DDR4-2667, 2 DIMMs
  • OS: Windows 11 x64 (build 10.0.22000.0)
  • Free disk: ~165 GB

What worked

With the switch stack below, the fork actually got into the first scene and I was able to move Lucia around. Frames were ~1-2 fps but it was playable enough to walk around the prologue.

Crash

Deterministic crash at victory-image-b99f876b74d4a77f.dll+0x23cf683 (write 0x0: nothing mapped there), callers +0x2215c35 / +0x2215eca. Same offset across three separate runs. The title's own hang watchdog fires when frames exceed ~30 s.

Switch stack used

$env:VICTORY_BVH_BUILDER="0"
$env:VICTORY_SKIP_PIPELINES="20ab5ea44cad8dca"
$env:VICTORY_HEAP_WORKER="1"
$env:VICTORY_SETTLE_ROOM="1"
$env:VICTORY_LOOKUP_CACHE="1"
$env:VICTORY_BACK_OWN_VIEW="1"
$env:VICTORY_INDIRECT_GATHER="1"
$env:VICTORY_CARD_HASH_LEN="1"
$env:VICTORY_ABSENT_ONCE="1"
$env:VICTORY_PARALLEL_REFRESH="1"
$env:VICTORY_CARD_WINDOWS_MB="256"
$env:VICTORY_CARD_BUFFERS_MIN_KB="64"
$env:VICTORY_CARD_BUFFERS_MB="1280"
$env:VICTORY_SCRATCH_SPARE_MB="256"
$env:VICTORY_FILLS_PLAIN="1"
$env:VICTORY_COPY_PLAIN="1"
$env:VICTORY_STEP_INDEX="1"

Crash timeline

  • Got to first scene, moved Lucia (~frame 2443-3770 depending on run)
  • 1.1-2.4 fps, 400-950 ms/frame
  • Final crash at +0x23cf683
  • Last known state: system.memory.free ~4 GB, system.memory.swap.free ~420 MB, memory.load_percent 83-98%, committed memory ~25 GB
  • VRAM: card's own in use at most 8,912 MB vs budget 6,984-7,189 MB

Related to #2976 (RX 7600 8 GB black screen / Series S profile). This is the same faulting offset but on RTX 4060 8 GB / Series X profile, and the game actually rendered before dying.

Logs

Full crash logs available on request. The final crashlog is at C:\Users\moham\AppData\Local\Victory\cache\7952987a\temp\victory-20261127-211421-23064.crash.log (and earlier runs at 20:04:51 and 19:42:34).

<!-- greyfinch-sync:fxceless/victory-fork:issue:6654065708 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/1497). Originally posted by [mointheflow](https://github.com/mointheflow) on 2026-11-27T20:34:23Z. --- ## Hardware - GPU: NVIDIA GeForce RTX 4060 8 GB, driver 32.0.16.1088 - CPU: AMD Ryzen 7 5700X, 8C/16T, Zen 3 - RAM: 32 GB DDR4-2667, 2 DIMMs - OS: Windows 11 x64 (build 10.0.22000.0) - Free disk: ~165 GB ## What worked With the switch stack below, the fork actually got into the first scene and I was able to move Lucia around. Frames were ~1-2 fps but it was playable enough to walk around the prologue. ## Crash Deterministic crash at `victory-image-b99f876b74d4a77f.dll+0x23cf683` (write 0x0: nothing mapped there), callers `+0x2215c35` / `+0x2215eca`. Same offset across three separate runs. The title's own hang watchdog fires when frames exceed ~30 s. ## Switch stack used ```powershell $env:VICTORY_BVH_BUILDER="0" $env:VICTORY_SKIP_PIPELINES="20ab5ea44cad8dca" $env:VICTORY_HEAP_WORKER="1" $env:VICTORY_SETTLE_ROOM="1" $env:VICTORY_LOOKUP_CACHE="1" $env:VICTORY_BACK_OWN_VIEW="1" $env:VICTORY_INDIRECT_GATHER="1" $env:VICTORY_CARD_HASH_LEN="1" $env:VICTORY_ABSENT_ONCE="1" $env:VICTORY_PARALLEL_REFRESH="1" $env:VICTORY_CARD_WINDOWS_MB="256" $env:VICTORY_CARD_BUFFERS_MIN_KB="64" $env:VICTORY_CARD_BUFFERS_MB="1280" $env:VICTORY_SCRATCH_SPARE_MB="256" $env:VICTORY_FILLS_PLAIN="1" $env:VICTORY_COPY_PLAIN="1" $env:VICTORY_STEP_INDEX="1" ``` ## Crash timeline - Got to first scene, moved Lucia (~frame 2443-3770 depending on run) - 1.1-2.4 fps, 400-950 ms/frame - Final crash at `+0x23cf683` - Last known state: `system.memory.free` ~4 GB, `system.memory.swap.free` ~420 MB, `memory.load_percent` 83-98%, committed memory ~25 GB - VRAM: card's own in use at most 8,912 MB vs budget 6,984-7,189 MB ## Related Related to #2976 (RX 7600 8 GB black screen / Series S profile). This is the same faulting offset but on RTX 4060 8 GB / Series X profile, and the game actually rendered before dying. ## Logs Full crash logs available on request. The final crashlog is at `C:\Users\moham\AppData\Local\Victory\cache\7952987a\temp\victory-20261127-211421-23064.crash.log` (and earlier runs at 20:04:51 and 19:42:34).
Ym1r1710 commented 2026-11-27 20:37:04 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by Ym1r1710 on 2026-11-27T20:37:04Z.


I've hit the same address a few times on a 5080, so some notes on what it is.

+0x23cf683 isn't really the crash itself. It's the title's own hang watchdog ending the process on purpose: a thread of the title's (around RVA 0x2215a60, which is where your +0x2215c35 / +0x2215eca callers sit) wakes about once a second and counts rounds in which the other threads make no progress. Past its limit it calls the function that writes to 0x0. So any stall of roughly half a minute ends up at exactly this offset, which is why it looks deterministic.

In my cases the cause was always a hang on the emulator side: every line the emulator logs on its own clock stopped several seconds before the kill (in one case a thread waiting on a lock it held itself). Worth checking in your logs whether the frame / timing lines stop some seconds before the crash, and which thread was last busy.

On your machine I'd look at memory first: swap at ~420 MB free with load at 83-98 % and the card over its budget (8.9 GB used vs ~7 GB) means paging stalls are very likely at 400-950 ms a frame, and one long enough stall is all the watchdog needs. Fewer card buffers (VICTORY_CARD_BUFFERS_MB lower than 1280 on an 8 GB card) and a bigger page file might keep you out of it.

For testing only, NOPing the watchdog's checks keeps the process alive so you can see where it's stuck, but it hides the hang rather than fixing it.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7227678033 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/1497#issuecomment-7227678033). Originally posted by [Ym1r1710](https://github.com/Ym1r1710) on 2026-11-27T20:37:04Z. --- I've hit the same address a few times on a 5080, so some notes on what it is. +0x23cf683 isn't really the crash itself. It's the title's own hang watchdog ending the process on purpose: a thread of the title's (around RVA 0x2215a60, which is where your +0x2215c35 / +0x2215eca callers sit) wakes about once a second and counts rounds in which the other threads make no progress. Past its limit it calls the function that writes to 0x0. So any stall of roughly half a minute ends up at exactly this offset, which is why it looks deterministic. In my cases the cause was always a hang on the emulator side: every line the emulator logs on its own clock stopped several seconds before the kill (in one case a thread waiting on a lock it held itself). Worth checking in your logs whether the frame / timing lines stop some seconds before the crash, and which thread was last busy. On your machine I'd look at memory first: swap at ~420 MB free with load at 83-98 % and the card over its budget (8.9 GB used vs ~7 GB) means paging stalls are very likely at 400-950 ms a frame, and one long enough stall is all the watchdog needs. Fewer card buffers (VICTORY_CARD_BUFFERS_MB lower than 1280 on an 8 GB card) and a bigger page file might keep you out of it. For testing only, NOPing the watchdog's checks keeps the process alive so you can see where it's stuck, but it hides the hang rather than fixing it.
mointheflow commented 2026-11-27 21:01:36 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by mointheflow on 2026-11-27T21:01:36Z.


Update: Game ran successfully

With the updated switch stack (lower VICTORY_CARD_BUFFERS_MB=256 and other optimizations), the game actually ran without the watchdog crash.

  • Got into the first scene and moved Lucia.
  • Frame rate: ~1.6 fps, 637.1 ms/frame.
  • VRAM: card's own in use at most 7,367 MB vs ~7,040 MB budget.
  • System RAM: ~6.8 GB free, committed ~22 GB.
  • The deterministic crash at +0x23cf683 did NOT fire this run (the title kept running).
  • Before the run: VICTORY_BVH_BUILDER=0, VICTORY_SKIP_PIPELINES=20ab5ea44cad8dca, plus other switches from the earlier stack.
  • Final fps line before closing: 1.6 fps, 637.1 ms/frame.

What this means: The title no longer hits the watchdog null-write crash on this hardware with these switches. The remaining slowness is due to copy-back overhead (565 ms per frame) and VRAM pressure. Further reducing VICTORY_CARD_BUFFERS_MB and/or increasing Windows page file size may extend runs further.

Logs: The full run log is in the issue attachments.

Labels: area: gpu, run report, gpu: nvidia

<!-- greyfinch-sync:fxceless/victory-fork:comment:7228063247 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/1497#issuecomment-7228063247). Originally posted by [mointheflow](https://github.com/mointheflow) on 2026-11-27T21:01:36Z. --- ## Update: Game ran successfully With the updated switch stack (lower `VICTORY_CARD_BUFFERS_MB=256` and other optimizations), the game actually ran without the watchdog crash. - Got into the first scene and moved Lucia. - Frame rate: ~1.6 fps, 637.1 ms/frame. - VRAM: card's own in use at most 7,367 MB vs ~7,040 MB budget. - System RAM: ~6.8 GB free, committed ~22 GB. - The deterministic crash at `+0x23cf683` did NOT fire this run (the title kept running). - Before the run: `VICTORY_BVH_BUILDER=0`, `VICTORY_SKIP_PIPELINES=20ab5ea44cad8dca`, plus other switches from the earlier stack. - Final fps line before closing: 1.6 fps, 637.1 ms/frame. **What this means:** The title no longer hits the watchdog null-write crash on this hardware with these switches. The remaining slowness is due to copy-back overhead (565 ms per frame) and VRAM pressure. Further reducing `VICTORY_CARD_BUFFERS_MB` and/or increasing Windows page file size may extend runs further. **Logs:** The full run log is in the issue attachments. **Labels:** area: gpu, run report, gpu: nvidia
mointheflow commented 2026-11-28 20:44:19 +00:00 (Migrated from github.com)
Author
Contributor

Imported from fxceless/victory-fork. Originally posted by mointheflow on 2026-11-28T20:44:19Z.


Major progress update — reached the Lucia bank robbery mission

Hardware

  • GPU: NVIDIA RTX 4060 8 GB
  • CPU: AMD Ryzen 7 5700X
  • RAM: 32 GB DDR4-2667
  • OS: Windows 11

Latest gameplay result

  • Successfully loaded into the bank robbery mission involving Lucia.
  • I was able to aim and control the character during gameplay.
  • Performance was approximately 5 FPS.
  • Characters and parts of the environment were still rendered incorrectly, often appearing as black silhouettes.

This is a meaningful step beyond the earlier prologue test, where I could move Lucia at roughly 1–2 FPS. The latest run demonstrates that the game can progress into an actual mission and accept player input on this RTX 4060 system. It is not yet fully playable: performance is very low and rendering correctness remains a major issue.

Relevant prior diagnostics

  • Earlier runs showed texture-upload refusals under VRAM budget pressure.
  • A test with VICTORY_VRAM_EVICT=80 and VICTORY_SLOT_EVICT=1 showed zero successful evictions in the captured statistics.
  • Some attempts crashed during or shortly after loading.
  • A separate 5.9 FPS diagnostic sample showed only 11 draws/frame, so I am not treating that as representative gameplay performance.

Current priorities

  1. Investigate the black-silhouette rendering problem. Possible areas include shader translation, texture residency/upload, descriptors/material handling, and lighting. The cause is not yet established.
  2. Diagnose the intermittent crashes using crash reports/DRED.
  3. Profile actual gameplay frame time and separate CPU-side preparation, GPU work, texture refresh, and copy-back costs.

The successful mission run used the Neptune_VI launcher with the -Ram32 profile and both experimental eviction switches disabled. I am preserving that as the current demonstration baseline.

This is a report of observed behavior, not a claim that the game is fully playable or that the rendering/memory issues are solved.

<!-- greyfinch-sync:fxceless/victory-fork:comment:7245503822 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/issues/1497#issuecomment-7245503822). Originally posted by [mointheflow](https://github.com/mointheflow) on 2026-11-28T20:44:19Z. --- ## Major progress update — reached the Lucia bank robbery mission **Hardware** - GPU: NVIDIA RTX 4060 8 GB - CPU: AMD Ryzen 7 5700X - RAM: 32 GB DDR4-2667 - OS: Windows 11 **Latest gameplay result** - Successfully loaded into the bank robbery mission involving Lucia. - I was able to aim and control the character during gameplay. - Performance was approximately **5 FPS**. - Characters and parts of the environment were still rendered incorrectly, often appearing as black silhouettes. This is a meaningful step beyond the earlier prologue test, where I could move Lucia at roughly 1–2 FPS. The latest run demonstrates that the game can progress into an actual mission and accept player input on this RTX 4060 system. It is not yet fully playable: performance is very low and rendering correctness remains a major issue. **Relevant prior diagnostics** - Earlier runs showed texture-upload refusals under VRAM budget pressure. - A test with `VICTORY_VRAM_EVICT=80` and `VICTORY_SLOT_EVICT=1` showed zero successful evictions in the captured statistics. - Some attempts crashed during or shortly after loading. - A separate 5.9 FPS diagnostic sample showed only 11 draws/frame, so I am not treating that as representative gameplay performance. **Current priorities** 1. Investigate the black-silhouette rendering problem. Possible areas include shader translation, texture residency/upload, descriptors/material handling, and lighting. The cause is not yet established. 2. Diagnose the intermittent crashes using crash reports/DRED. 3. Profile actual gameplay frame time and separate CPU-side preparation, GPU work, texture refresh, and copy-back costs. The successful mission run used the Neptune_VI launcher with the `-Ram32` profile and both experimental eviction switches disabled. I am preserving that as the current demonstration baseline. This is a report of observed behavior, not a claim that the game is fully playable or that the rendering/memory issues are solved.
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
fxceless/victory-fork#1497
No description provided.