Series S profile: boot hang in XMemVirtualAlloc since v2026.11.29.01 — caused by 78324212 (write-watch of title-placed reservations), confirmed by revert #3023

Open
opened 2026-11-29 19:35:56 +00:00 by github-bot · 2 comments
Owner

@⁠biishop on GitHub · 2026-11-29 19:34 UTC · original

Splitting this out of #2191: that issue's opening post is a Series X / RTX 5070 white-screen
stall, but every commenter there who names a profile hits a Series S-specific boot hang
with a different signature. I build from source, so I was able to bisect the cause and
confirm it by reverting one change. TL;DR: commit 78324212 ("perf(xmem): write-watch
large XMemAllocDefault allocations") hangs the Series S boot; building v2026.11.29.02 with
its watch_placement forced to false makes Series S boot normally again.

Symptom

  • Series S profile only; Series X works on the same build.
  • Play log stops right after title pipelines to start early pipelines=4023, the window
    goes Not Responding, one core is pinned at 100%.
  • No crash: crashes.log gets no entry from these runs (attached for completeness —
    its entries are from unrelated known issues: the non-16:9 crash #2290 and the
    bitcode.rs:872 translator panic).
  • The process is unkillable (taskkill /F hangs; the killing thread suspends itself —
    a thread stuck in kernel mode), and it can end in a full machine freeze (Kernel-Power 41
    • WHEA logged here once).
  • Only 1 victory.exe is running instead of the usual ~8.

Broken: v2026.11.29.01 and v2026.11.29.02 (hang reproduced immediately on both).
Last good: 9ce3cf9e (v2026.11.28.03). All built from source with
cargo build --release --locked -p victory.

Where it hangs

Comparing a good Series S run (9ce3cf9e) with the hanging one at the same point:

Good run — the big Series S graphics pool is allocated ~10 ms after the early list loads,
then the pipeline workers start:

INFO victory_gpu::pipeline::library: title pipelines to start early pipelines=3323
INFO victory_hle::modules::xmem: title memory asked for as protection 0x2004, kind 0x42000, flags 0x23: 1 times, 3977 MB, last 0x2000000000+0xf8900000
INFO victory_gpu::pipeline::make: pipeline workers workers=10

Hang (attached log victory-nvidia-20261129-194532.log) — the two small allocations that
immediately precede that pool go through, then nothing, ever:

INFO victory_gpu::pipeline::library: title pipelines to start early pipelines=4023
INFO victory_hle::modules::xmem: title memory asked for as protection 0x4, kind 0x203000, flags 0x3: 2 times, 82 MB, last 0x998710000+0x10000
INFO victory_hle::modules::xmem: title memory asked for as protection 0x4, kind 0x203000, flags 0x3: 4 times, 82 MB, last 0x998730000+0x10000
<log ends — the 3977 MB line and "pipeline workers" never appear>

So the title's thread never returns from XMemVirtualAlloc for its big pool
(3,977 MB, protection 0x2004, kind 0x42000, flags 0x23, title-chosen base
0x2000000000
). That is also why only one victory.exe is ever seen: the pipeline
workers (and the child processes) are started lazily after this point.

Why Series S only

78324212 added watch_placement: title-placed reservations (base != NULL) now get
MEM_WRITE_WATCH, where before only host-placed (constrained) allocations were watched.

  • The Series S pool is the one big allocation the title places itself, at
    0x2000000000 → newly write-watched by this commit → VirtualAlloc2 with
    MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH on a ~3.9 GB region at a fixed base
    apparently never returns (thread stuck in kernel, consistent with the unkillable
    process and the machine freezes).
  • The Series X pool (6,236 MB) is asked with base NULL (asked_at=0x0 in the logs)
    → it took the constrained path and was already write-watched before the commit →
    unaffected. This matches every report in #2191's comments: Series S hangs, switching
    to Series X works.

Two notes:

  • The absence of the "XMemVirtualAlloc without write watching" log line in the hang is
    expected after this commit (the region is now watched), so it is not evidence by
    itself; the missing note_protection ("1 times, 3977 MB") and "pipeline workers"
    lines are.
  • VICTORY_WATCH_LARGE_XMEM=0 does not help: it only gates the XMemAllocDefault
    heap path the same commit added, not watch_placement. There is currently no switch
    covering this, so users can't work around it without a rebuild (other than using the
    Series X profile).

Confirmation

Built v2026.11.29.02 with a one-line change neutralizing watch_placement
(let watch_placement = false && ... in crates/victory-hle/src/modules/xmem.rs),
same settings otherwise: Series S boots normally — the 3,977 MB allocation goes
through, pipeline workers starts, the usual ~8 victory.exe appear, and the game plays.

Suggested fix

Stop write-watching title-placed reservations (revert that part of 78324212), or gate
it behind a switch defaulting to off / skip it for very large commits, until whatever
makes the kernel call stall at a fixed base is understood.

Setup

RTX 4070 Ti 12 GB, 64 GB RAM, Windows 11 26H2 (build 26300), title build 1.0.2.1,
DLSS quality, FG 2x. Repro: Series S profile, launch — hangs before the menu, every time.

Suggested fix

Stop write-watching title-placed reservations (revert that part of 78324212), or gate
it behind a switch defaulting to off / skip it for very large commits, until whatever
makes the kernel call stall at a fixed base is understood.

Setup

RTX 4070 Ti 12 GB, 64 GB RAM, Windows 11 26H2 (build 26300), title build 1.0.2.1,
DLSS quality, FG 2x. Repro: Series S profile, launch — hangs before the menu, every time.

victory-nvidia-20261129-194532.log

**@⁠biishop** on GitHub · 2026-11-29 19:34 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3023) Splitting this out of #2191: that issue's opening post is a Series X / RTX 5070 white-screen stall, but every commenter there who names a profile hits a **Series S-specific boot hang** with a different signature. I build from source, so I was able to bisect the cause and confirm it by reverting one change. **TL;DR: commit 78324212 ("perf(xmem): write-watch large XMemAllocDefault allocations") hangs the Series S boot; building v2026.11.29.02 with its `watch_placement` forced to `false` makes Series S boot normally again.** ## Symptom - Series S profile only; Series X works on the same build. - Play log stops right after `title pipelines to start early pipelines=4023`, the window goes Not Responding, one core is pinned at 100%. - No crash: `crashes.log` gets **no entry** from these runs (attached for completeness — its entries are from unrelated known issues: the non-16:9 crash #2290 and the bitcode.rs:872 translator panic). - The process is unkillable (`taskkill /F` hangs; the killing thread suspends itself — a thread stuck in kernel mode), and it can end in a full machine freeze (Kernel-Power 41 + WHEA logged here once). - Only **1 victory.exe** is running instead of the usual ~8. Broken: v2026.11.29.01 and v2026.11.29.02 (hang reproduced immediately on both). Last good: `9ce3cf9e` (v2026.11.28.03). All built from source with `cargo build --release --locked -p victory`. ## Where it hangs Comparing a good Series S run (9ce3cf9e) with the hanging one at the same point: Good run — the big Series S graphics pool is allocated ~10 ms after the early list loads, then the pipeline workers start: ``` INFO victory_gpu::pipeline::library: title pipelines to start early pipelines=3323 INFO victory_hle::modules::xmem: title memory asked for as protection 0x2004, kind 0x42000, flags 0x23: 1 times, 3977 MB, last 0x2000000000+0xf8900000 INFO victory_gpu::pipeline::make: pipeline workers workers=10 ``` Hang (attached log `victory-nvidia-20261129-194532.log`) — the two small allocations that immediately precede that pool go through, then nothing, ever: ``` INFO victory_gpu::pipeline::library: title pipelines to start early pipelines=4023 INFO victory_hle::modules::xmem: title memory asked for as protection 0x4, kind 0x203000, flags 0x3: 2 times, 82 MB, last 0x998710000+0x10000 INFO victory_hle::modules::xmem: title memory asked for as protection 0x4, kind 0x203000, flags 0x3: 4 times, 82 MB, last 0x998730000+0x10000 <log ends — the 3977 MB line and "pipeline workers" never appear> ``` So the title's thread never returns from `XMemVirtualAlloc` for its big pool (3,977 MB, protection 0x2004, kind 0x42000, flags 0x23, **title-chosen base 0x2000000000**). That is also why only one victory.exe is ever seen: the pipeline workers (and the child processes) are started lazily after this point. ## Why Series S only 78324212 added `watch_placement`: title-**placed** reservations (base != NULL) now get `MEM_WRITE_WATCH`, where before only host-placed (`constrained`) allocations were watched. - The **Series S** pool is the one big allocation the title places itself, at `0x2000000000` → newly write-watched by this commit → `VirtualAlloc2` with `MEM_RESERVE | MEM_COMMIT | MEM_WRITE_WATCH` on a ~3.9 GB region at a fixed base apparently never returns (thread stuck in kernel, consistent with the unkillable process and the machine freezes). - The **Series X** pool (6,236 MB) is asked with base NULL (`asked_at=0x0` in the logs) → it took the `constrained` path and was already write-watched before the commit → unaffected. This matches every report in #2191's comments: Series S hangs, switching to Series X works. Two notes: - The absence of the "XMemVirtualAlloc without write watching" log line in the hang is *expected* after this commit (the region is now watched), so it is not evidence by itself; the missing `note_protection` ("1 times, 3977 MB") and "pipeline workers" lines are. - `VICTORY_WATCH_LARGE_XMEM=0` does **not** help: it only gates the `XMemAllocDefault` heap path the same commit added, not `watch_placement`. There is currently no switch covering this, so users can't work around it without a rebuild (other than using the Series X profile). ## Confirmation Built v2026.11.29.02 with a one-line change neutralizing `watch_placement` (`let watch_placement = false && ...` in `crates/victory-hle/src/modules/xmem.rs`), same settings otherwise: **Series S boots normally** — the 3,977 MB allocation goes through, `pipeline workers` starts, the usual ~8 victory.exe appear, and the game plays. ## Suggested fix Stop write-watching title-placed reservations (revert that part of 78324212), or gate it behind a switch defaulting to off / skip it for very large commits, until whatever makes the kernel call stall at a fixed base is understood. ## Setup RTX 4070 Ti 12 GB, 64 GB RAM, Windows 11 26H2 (build 26300), title build 1.0.2.1, DLSS quality, FG 2x. Repro: Series S profile, launch — hangs before the menu, every time. ## Suggested fix Stop write-watching title-placed reservations (revert that part of 78324212), or gate it behind a switch defaulting to off / skip it for very large commits, until whatever makes the kernel call stall at a fixed base is understood. ## Setup RTX 4070 Ti 12 GB, 64 GB RAM, Windows 11 26H2 (build 26300), title build 1.0.2.1, DLSS quality, FG 2x. Repro: Series S profile, launch — hangs before the menu, every time. [victory-nvidia-20261129-194532.log](https://github.com/user-attachments/files/35581321/victory-nvidia-20261129-194532.log)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 19:35:56 +00:00
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 19:57 UTC · original

Thanks for the logs. Your run looks like v2026.11.29.02. v2026.11.29.03 is out now with fixes on top of it, including the tree flickering. Please try it and let us know here whether this is fixed. If it isn't, attach the play log and crashes.log from the v2026.11.29.03 run. The first start rebuilds the shader cache, so judge the second run.

**@⁠trustno1-coder** on GitHub · 2026-11-29 19:57 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3023#issuecomment-7261697836) Thanks for the logs. Your run looks like v2026.11.29.02. [v2026.11.29.03](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.03) is out now with fixes on top of it, including the tree flickering. Please try it and let us know here whether this is fixed. If it isn't, attach the play log and crashes.log from the v2026.11.29.03 run. The first start rebuilds the shader cache, so judge the second run.
Author
Owner

@⁠jhon17parizotto-byte on GitHub · 2026-11-29 20:00 UTC · original

Same Series S boot hang here, on a second machine (RTX 3060).

Setup: RTX 3060, driver 621.40, Intel Xeon E5-2680 v3, 64 GB RAM, Windows 11 build 26300, --console series-s.

Build Binary Pipeline early list Result
v2026.11.28.03 local build (tag + 3 patches*) loaded boots; the 3977 MB line appears
v2026.11.29.01 local build (tag + 2 patches*) 3405 hang
v2026.11.29.02 official victory.exe, SHA-256 21f7b43b…2c92 0 (minimal profile) hang
v2026.11.29.02 local build (tag + 2 patches*) 3405 hang

* The local patches are an XMA decoder thread priority change and mimalloc as the process allocator, plus a DLSS range change on .28.03 only. None of them touches xmem.rs.

Signature: in all three hung runs, the log stops around title pipelines to start early and the small 82 MB title memory asked for lines. The protection 0x2004, kind 0x42000, flags 0x23 ... 3977 MB ... 0x2000000000 line never appears. In our two local-build runs, pipeline workers workers=16 was still logged after those lines, and then nothing.

In the last run, one core was pinned, private memory stayed flat at about 4 GB, and the window was "Not Responding". About 53 GB of RAM was free shortly before launch (fresh reboot). The process could not be ended and Windows had to be restarted. After the v2026.11.29.01 run, Windows services also stopped responding; I have not proven that the game caused that.

I did not test your watch_placement = false revert, so this confirms the signature, not the cause. The v2026.11.29.02...v2026.11.29.03 compare does not list xmem.rs, so I expect .29.03 to be affected as well (not tested).

**@⁠jhon17parizotto-byte** on GitHub · 2026-11-29 20:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/3023#issuecomment-7261730437) Same Series S boot hang here, on a second machine (RTX 3060). **Setup:** RTX 3060, driver 621.40, Intel Xeon E5-2680 v3, 64 GB RAM, Windows 11 build 26300, `--console series-s`. | Build | Binary | Pipeline early list | Result | |---|---|---|---| | v2026.11.28.03 | local build (tag + 3 patches*) | loaded | boots; the 3977 MB line appears | | v2026.11.29.01 | local build (tag + 2 patches*) | 3405 | hang | | v2026.11.29.02 | official `victory.exe`, SHA-256 `21f7b43b…2c92` | 0 (minimal profile) | hang | | v2026.11.29.02 | local build (tag + 2 patches*) | 3405 | hang | \* The local patches are an XMA decoder thread priority change and mimalloc as the process allocator, plus a DLSS range change on .28.03 only. None of them touches `xmem.rs`. **Signature:** in all three hung runs, the log stops around `title pipelines to start early` and the small 82 MB `title memory asked for` lines. The `protection 0x2004, kind 0x42000, flags 0x23 ... 3977 MB ... 0x2000000000` line never appears. In our two local-build runs, `pipeline workers workers=16` was still logged after those lines, and then nothing. In the last run, one core was pinned, private memory stayed flat at about 4 GB, and the window was "Not Responding". About 53 GB of RAM was free shortly before launch (fresh reboot). The process could not be ended and Windows had to be restarted. After the v2026.11.29.01 run, Windows services also stopped responding; I have not proven that the game caused that. I did not test your `watch_placement = false` revert, so this confirms the signature, not the cause. The v2026.11.29.02...v2026.11.29.03 compare does not list `xmem.rs`, so I expect .29.03 to be affected as well (not tested).
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#3023
No description provided.