Regression in v2026.11.29.01 (#1041): start crash, 6.2 GB TileHeap no longer fits below 2^37 (RTX 4090, Windows) #2081

Open
opened 2026-11-29 09:13:40 +00:00 by botto854 · 11 comments
botto854 commented 2026-11-29 09:13:40 +00:00 (Migrated from github.com)
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by botto854 on 2026-11-29T09:13:40Z.


Release: v2026.11.29.01 (victory.exe SHA-256 0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd, matches the release). v2026.11.28.03 starts.
GPU: RTX 4090 24 GB, driver 617.14 — CPU: i9-14900K, 32 GB RAM — OS: Windows 11 Pro 26300 (native, not Wine)
Files: Series X, v1.0.2.1 — settings: 1440p, DLSS quality, FG auto, fps 1000

What happens: after the shader conversion a white window shows for a moment and closes.
3/3 runs with v2026.11.29.01, identical (also after the full shader rebuild). v2026.11.28.03 on the
same files starts and renders.

Crash: 0x80000003 (int3 / title assert) at victory-image-b99f876b74d4a77f.dll+0x1e6c284,
Game State System Init, Frame 0, TileHeap: used (0Mb) - total (6236Mb).
Not #2055 (different address, monitor is 16:9 2560x1440).

Cause: the same title request, placed differently by the two releases:

v2026.11.28.03: title memory asked for as protection 0x2004, kind 0x42000, flags 0x23: 1 times, 6236 MB, last 0x2000000000+0x185c00000
v2026.11.29.01: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=... (os error 8)

With 28.03 the TileHeap landed at exactly 128 GiB (0x2000000000), above the window. #1041 caps
address_range() at 2^37, and below that there is no 6.09 GiB hole left on this system. Commit is
not the problem (commit limit 161 GB, 140 GB free); os error 8 comes from the address requirements.
#1041's assumption "the title's pools fit below that many times over" does not hold here, and it
was only tested on Wine ("not tested on native Windows").

Memory map from the 29.01 minidump (MemoryInfoListStream, range 4–128 GiB):

AllocationBase Size Source
0x0100000000 24 GiB reserved title XMem (logged)
0x0700000000 24 GiB reserved title XMem (logged)
0x0D00000000–0x0E22600000 ~4.6 GiB committed title XMem (logged)
0x0F00000000 36 GiB reserved, 0 committed not in the XMem log, origin unknown
0x1800000000 28 GiB reserved, 0 committed not in the XMem log, origin unknown
0x1F7FFF0000–0x1FFFFF0000 32 x 64 MiB upload.rs reserve_space pool

Largest free hole left in the window: 3.46 GiB (at 0xE22600000), the next 2.00 GiB.

The two reservations of 36 GiB + 28 GiB take half of the window, at the same round addresses
(60 GiB, 96 GiB) in every run, with the same attributes as the title's 24 GiB blocks
(MEM_RESERVE, PAGE_NOACCESS, MEM_PRIVATE). Checked: no new note_protection key and 0 bytes
committed, so most likely not XMemVirtualAlloc; a plain D3D12 device on this machine reserves
nothing in [4 GiB, 2^37), so not the NVIDIA driver alone; no VIctory call site with these sizes or
addresses at the tag. Guess: the title or middleware reserves them directly via host VirtualAlloc.

Suggestion: if the capped placement fails, fall back to the old 40-bit range (as before #1041)
instead of returning null, or make room for the TileHeap before those 64 GiB get reserved.

Attached below (paths anonymized): play logs of both releases, crashes.log, crash.log. Minidump (27 MB) on request.

crashes.log
crash-v2026.11.29.01.crash.log
play-v2026.11.28.03-works.log
play-v2026.11.29.01-crash.log

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:6676987236 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081). Originally posted by [botto854](https://github.com/botto854) on 2026-11-29T09:13:40Z. --- **Release:** v2026.11.29.01 (victory.exe SHA-256 0d3dae51870bad44aa529c9fddd762a513d677ff8d08147134968ba7ed67dffd, matches the release). v2026.11.28.03 starts. **GPU:** RTX 4090 24 GB, driver 617.14 — **CPU:** i9-14900K, 32 GB RAM — **OS:** Windows 11 Pro 26300 (native, not Wine) **Files:** Series X, v1.0.2.1 — settings: 1440p, DLSS quality, FG auto, fps 1000 **What happens:** after the shader conversion a white window shows for a moment and closes. 3/3 runs with v2026.11.29.01, identical (also after the full shader rebuild). v2026.11.28.03 on the same files starts and renders. **Crash:** `0x80000003` (int3 / title assert) at `victory-image-b99f876b74d4a77f.dll+0x1e6c284`, Game State `System Init`, Frame 0, `TileHeap: used (0Mb) - total (6236Mb)`. Not #2055 (different address, monitor is 16:9 2560x1440). **Cause:** the same title request, placed differently by the two releases: ``` v2026.11.28.03: title memory asked for as protection 0x2004, kind 0x42000, flags 0x23: 1 times, 6236 MB, last 0x2000000000+0x185c00000 v2026.11.29.01: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=... (os error 8) ``` With 28.03 the TileHeap landed at exactly 128 GiB (0x2000000000), above the window. #1041 caps `address_range()` at 2^37, and below that there is no 6.09 GiB hole left on this system. Commit is not the problem (commit limit 161 GB, 140 GB free); os error 8 comes from the address requirements. #1041's assumption "the title's pools fit below that many times over" does not hold here, and it was only tested on Wine ("not tested on native Windows"). **Memory map from the 29.01 minidump** (MemoryInfoListStream, range 4–128 GiB): | AllocationBase | Size | Source | |---|---|---| | 0x0100000000 | 24 GiB reserved | title XMem (logged) | | 0x0700000000 | 24 GiB reserved | title XMem (logged) | | 0x0D00000000–0x0E22600000 | ~4.6 GiB committed | title XMem (logged) | | **0x0F00000000** | **36 GiB reserved, 0 committed** | **not in the XMem log, origin unknown** | | **0x1800000000** | **28 GiB reserved, 0 committed** | **not in the XMem log, origin unknown** | | 0x1F7FFF0000–0x1FFFFF0000 | 32 x 64 MiB | upload.rs `reserve_space` pool | Largest free hole left in the window: **3.46 GiB** (at 0xE22600000), the next 2.00 GiB. The two reservations of 36 GiB + 28 GiB take half of the window, at the same round addresses (60 GiB, 96 GiB) in every run, with the same attributes as the title's 24 GiB blocks (MEM_RESERVE, PAGE_NOACCESS, MEM_PRIVATE). Checked: no new `note_protection` key and 0 bytes committed, so most likely not XMemVirtualAlloc; a plain D3D12 device on this machine reserves nothing in [4 GiB, 2^37), so not the NVIDIA driver alone; no VIctory call site with these sizes or addresses at the tag. Guess: the title or middleware reserves them directly via host VirtualAlloc. **Suggestion:** if the capped placement fails, fall back to the old 40-bit range (as before #1041) instead of returning null, or make room for the TileHeap before those 64 GiB get reserved. Attached below (paths anonymized): play logs of both releases, crashes.log, crash.log. Minidump (27 MB) on request. [crashes.log](https://github.com/user-attachments/files/35567391/crashes.log) [crash-v2026.11.29.01.crash.log](https://github.com/user-attachments/files/35567392/crash-v2026.11.29.01.crash.log) [play-v2026.11.28.03-works.log](https://github.com/user-attachments/files/35567393/play-v2026.11.28.03-works.log) [play-v2026.11.29.01-crash.log](https://github.com/user-attachments/files/35567394/play-v2026.11.29.01-crash.log)
bstillbstill commented 2026-11-29 09:38:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by bstillbstill on 2026-11-29T09:38:37Z.


Same crash here on native Windows, and the fallback suggested above fixes it. I have a tested patch.

Setup: RTX 3090 Ti 24 GB (driver 621.40), i9-13900K, 32 GB RAM, Windows 11 build 26300, 3440x1440 monitor. Built from source at 829188e9 (release profile). Series X, -Res 1440, DLSS performance, FSR 3 frame generation.

Same signature:

WARN victory_hle::modules::xmem: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=Not enough memory resources are available to process this command. (os error 8)
VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 (breakpoint)

Before the update (64d4931) the same request landed at 0x2000000000, as in the report.

Patch: in XMemVirtualAlloc (crates/victory-hle/src/modules/xmem.rs), right after the first let mut at = allocate(kind);, retry with the uncapped range only when the capped placement fails. Everything that fits below 2^37 still goes there.

if at.is_null() && constrained {
    // No room below the by-address directory's 128 GiB (#1041): place it as the
    // console's field allows, as before, rather than failing the title's request.
    let bits = match (flags & ADDRESS_32BIT, flags >> 12 & 7) {
        (0, 0) => 40,
        (0, field) => 47 - field,
        _ => 32,
    };
    let uncapped = (1usize << bits) - 1;
    if uncapped > requirements.HighestEndingAddress as usize {
        requirements.HighestEndingAddress = uncapped as *mut c_void;
        at = allocate(kind);
        if !at.is_null() {
            tracing::warn!(size, at = format_args!("{at:p}"),
                "XMemVirtualAlloc: no room below 128 GiB, placed above it as before #1041");
        }
    }
}

Result: 4/4 starts reach the game (17–26 fps); the log shows the fallback: placed above it as before ... size=6538919936 at=0x1fffff0000. With FSR 3 frame generation on, every in-game present has it on.

Caveat: the TileHeap ends up mostly above 128 GiB again, the situation #218/#1041 was about. So this restores the 28.03 behaviour for the PCs that hit the refusal; it doesn't fix the underlying "no 6.1 GiB hole below 2^37". The real fix is probably what the report suggests next: making room for the TileHeap before the 36 + 28 GiB reservations take the window.

#2112 (RTX 3090, same refusal on start) looks like the same issue.

Separately, on a 3440x1440 monitor the start also crashed at +0x247af2d until I set VICTORY_NATIVE_SIZE=2560x1440, as confirmed in #2073.

Happy to open a PR with the patch if you want it.

(Found and tested with Claude Code, Claude Opus 5.5; tested on my PC as described above.)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253899550 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7253899550). Originally posted by [bstillbstill](https://github.com/bstillbstill) on 2026-11-29T09:38:37Z. --- Same crash here on native Windows, and the fallback suggested above fixes it. I have a tested patch. **Setup:** RTX 3090 Ti 24 GB (driver 621.40), i9-13900K, 32 GB RAM, Windows 11 build 26300, 3440x1440 monitor. Built from source at 829188e9 (release profile). Series X, `-Res 1440`, DLSS performance, FSR 3 frame generation. **Same signature:** ``` WARN victory_hle::modules::xmem: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=Not enough memory resources are available to process this command. (os error 8) VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 (breakpoint) ``` Before the update (64d4931) the same request landed at `0x2000000000`, as in the report. **Patch:** in `XMemVirtualAlloc` (`crates/victory-hle/src/modules/xmem.rs`), right after the first `let mut at = allocate(kind);`, retry with the uncapped range only when the capped placement fails. Everything that fits below 2^37 still goes there. ```rust if at.is_null() && constrained { // No room below the by-address directory's 128 GiB (#1041): place it as the // console's field allows, as before, rather than failing the title's request. let bits = match (flags & ADDRESS_32BIT, flags >> 12 & 7) { (0, 0) => 40, (0, field) => 47 - field, _ => 32, }; let uncapped = (1usize << bits) - 1; if uncapped > requirements.HighestEndingAddress as usize { requirements.HighestEndingAddress = uncapped as *mut c_void; at = allocate(kind); if !at.is_null() { tracing::warn!(size, at = format_args!("{at:p}"), "XMemVirtualAlloc: no room below 128 GiB, placed above it as before #1041"); } } } ``` **Result:** 4/4 starts reach the game (17–26 fps); the log shows the fallback: `placed above it as before ... size=6538919936 at=0x1fffff0000`. With FSR 3 frame generation on, every in-game present has it on. **Caveat:** the TileHeap ends up mostly above 128 GiB again, the situation #218/#1041 was about. So this restores the 28.03 behaviour for the PCs that hit the refusal; it doesn't fix the underlying "no 6.1 GiB hole below 2^37". The real fix is probably what the report suggests next: making room for the TileHeap before the 36 + 28 GiB reservations take the window. #2112 (RTX 3090, same refusal on start) looks like the same issue. Separately, on a 3440x1440 monitor the start also crashed at `+0x247af2d` until I set `VICTORY_NATIVE_SIZE=2560x1440`, as confirmed in #2073. Happy to open a PR with the patch if you want it. *(Found and tested with Claude Code, Claude Opus 5.5; tested on my PC as described above.)*
botto854 commented 2026-11-29 10:46:23 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by botto854 on 2026-11-29T10:46:23Z.


Root cause of the 36 + 28 GiB: NVIDIA's CUDA driver, called from DLSS (NGX).

I ran the game (v2026.11.29.01 + the #2133-style fallback, RTX 4090, driver 617.14) under cdb with breakpoints on ntdll!NtAllocateVirtualMemory(Ex) for reservations of 4 GiB or more. Abridged stacks:

=== EX size=0x900000000 (36 GiB) type=0x42000 reqbase=0xf00000000
KERNELBASE!VirtualAlloc2
nvcuda64 (6 frames)
nvwgf2umx!NVAPI_DirectMethods / NVAPI_Thunk
nvapi64_impl!nvapi_QueryInterface
nvngx_dlss (%LOCALAPPDATA%\victory\nvidia-sdk\Streamline\bin\x64\nvngx_dlss.dll)

=== EX size=0x700000000 (28 GiB) type=0x42000 reqbase=0x1800000000
(same stack: nvcuda64 <- nvwgf2umx <- nvapi64_impl <- nvngx_dlss)

So DLSS's NGX init goes through NVAPI into nvcuda64, which reserves 64 GiB as placeholders at the fixed addresses 60 GiB and 96 GiB, right inside [4 GiB, 2^37). That happens before the title asks for its 6.1 GiB TileHeap. The title's two 24 GiB pools and the TileHeap itself come from XMemVirtualAlloc as expected.

Cross-check: the unpatched official v2026.11.29.01 with F1 > DLSS = OFF and frame generation off starts. The TileHeap lands at 0xeea600000, below 128 GiB:

title memory asked for as protection 0x2004, kind 0x42000, flags 0x23: 1 times, 6236 MB, last 0xeea600000+0x185c00000

What this means:

  • It hits NVIDIA users with DLSS on; how big the CUDA reservations are probably depends on the card or driver (24 GB cards so far: 4090, 3090 Ti, 3090 in #2112). #2150 looks like the same refusal.
  • Workaround on the release: F1 > DLSS > OFF (and frame generation off), at the cost of image quality.
  • Possible real fix on top of the fallback in #2133 (which keeps the game starting but places the TileHeap above 2^37, #218): reserve room for the title's large pools in [4 GiB, 2^37) before Streamline/NGX loads, the way upload::reserve_space holds the upload pool, and hand it to the TileHeap request. Open question: what CUDA does when its preferred addresses are taken (it asks for fixed bases). That needs a test.

(Found with Claude Code: cdb breakpoints, then the DLSS-off run as a check.)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7254658575 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7254658575). Originally posted by [botto854](https://github.com/botto854) on 2026-11-29T10:46:23Z. --- **Root cause of the 36 + 28 GiB: NVIDIA's CUDA driver, called from DLSS (NGX).** I ran the game (v2026.11.29.01 + the #2133-style fallback, RTX 4090, driver 617.14) under cdb with breakpoints on `ntdll!NtAllocateVirtualMemory(Ex)` for reservations of 4 GiB or more. Abridged stacks: ``` === EX size=0x900000000 (36 GiB) type=0x42000 reqbase=0xf00000000 KERNELBASE!VirtualAlloc2 nvcuda64 (6 frames) nvwgf2umx!NVAPI_DirectMethods / NVAPI_Thunk nvapi64_impl!nvapi_QueryInterface nvngx_dlss (%LOCALAPPDATA%\victory\nvidia-sdk\Streamline\bin\x64\nvngx_dlss.dll) === EX size=0x700000000 (28 GiB) type=0x42000 reqbase=0x1800000000 (same stack: nvcuda64 <- nvwgf2umx <- nvapi64_impl <- nvngx_dlss) ``` So DLSS's NGX init goes through NVAPI into `nvcuda64`, which reserves 64 GiB as placeholders at the fixed addresses 60 GiB and 96 GiB, right inside [4 GiB, 2^37). That happens before the title asks for its 6.1 GiB TileHeap. The title's two 24 GiB pools and the TileHeap itself come from `XMemVirtualAlloc` as expected. **Cross-check:** the unpatched official v2026.11.29.01 with F1 > DLSS = OFF and frame generation off starts. The TileHeap lands at `0xeea600000`, below 128 GiB: ``` title memory asked for as protection 0x2004, kind 0x42000, flags 0x23: 1 times, 6236 MB, last 0xeea600000+0x185c00000 ``` **What this means:** - It hits NVIDIA users with DLSS on; how big the CUDA reservations are probably depends on the card or driver (24 GB cards so far: 4090, 3090 Ti, 3090 in #2112). #2150 looks like the same refusal. - **Workaround on the release:** F1 > DLSS > OFF (and frame generation off), at the cost of image quality. - **Possible real fix** on top of the fallback in #2133 (which keeps the game starting but places the TileHeap above 2^37, #218): reserve room for the title's large pools in [4 GiB, 2^37) before Streamline/NGX loads, the way `upload::reserve_space` holds the upload pool, and hand it to the TileHeap request. Open question: what CUDA does when its preferred addresses are taken (it asks for fixed bases). That needs a test. (Found with Claude Code: cdb breakpoints, then the DLSS-off run as a check.)
rias-of-gremory commented 2026-11-29 11:48:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by rias-of-gremory on 2026-11-29T11:48:14Z.


Same failure with the official release binary, so this is not a build or toolchain problem.Machine: RTX 5080 16 GB (driver 32.0.16.1714 / 617.14), Ryzen 7 5800X3D, 32 GB RAM, Windows 11 build 26300. Series X files, v1.0.2.1. Launcher settings: 1440p, DLSS Quality, frame generation off.Both the victory.exe from this release (SHA-256 0d3dae51...d67dffd) and a clean source build at 829188e fail identically, 3 runs out of 3:VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x247af2d #0 victory-image-...dll+0x247af2d #1 victory-image-...dll+0x2479430 #2 victory-image-...dll+0x19f4f54 #3 victory-image-...dll+0x580437e #4 victory-image-...dll+0x43a4911 #5 victory-image-...dll+0x224070b #6 victory-image-...dll+0x23cf00a #7 victory-image-...dll+0x2215eca #8 KERNEL32.DLL+0x2dda7 #9 ntdll.dll+0xc9c5cAbout 7 seconds after start, during System Init, before any frame is presented. The layer's last lines before the breakpoint are:xmem: XMemVirtualAlloc without write watching ... at=0x2cfd0000 size=193986560 kind=0x42000 flags=0x7xmem: title memory asked for as protection 0x1, kind 0x42000, flags 0x7: 1 times, 185 MBxmem: title memory asked for as protection 0x4, kind 0x203000, flags 0x3: 1 times, 84 MBThe title then takes the first-chance 0x80000003 and its own breakpad handler writes a minidump. No layer WARN or ERROR precedes it.The 27 November source build runs on the same machine at 20-25 fps in the world (loading screens 120 fps), same game files and same launcher, so this is a regression between that tree and this release rather than a configuration difference.Happy to run a diagnostic build with any logging you want.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7255360966 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7255360966). Originally posted by [rias-of-gremory](https://github.com/rias-of-gremory) on 2026-11-29T11:48:14Z. --- Same failure with the **official release binary**, so this is not a build or toolchain problem.**Machine:** RTX 5080 16 GB (driver 32.0.16.1714 / 617.14), Ryzen 7 5800X3D, 32 GB RAM, Windows 11 build 26300. Series X files, v1.0.2.1. Launcher settings: 1440p, DLSS Quality, frame generation off.Both the `victory.exe` from this release (SHA-256 `0d3dae51...d67dffd`) and a clean source build at `829188e` fail identically, 3 runs out of 3:```VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x247af2d #0 victory-image-...dll+0x247af2d #1 victory-image-...dll+0x2479430 #2 victory-image-...dll+0x19f4f54 #3 victory-image-...dll+0x580437e #4 victory-image-...dll+0x43a4911 #5 victory-image-...dll+0x224070b #6 victory-image-...dll+0x23cf00a #7 victory-image-...dll+0x2215eca #8 KERNEL32.DLL+0x2dda7 #9 ntdll.dll+0xc9c5c```About 7 seconds after start, during System Init, before any frame is presented. The layer's last lines before the breakpoint are:```xmem: XMemVirtualAlloc without write watching ... at=0x2cfd0000 size=193986560 kind=0x42000 flags=0x7xmem: title memory asked for as protection 0x1, kind 0x42000, flags 0x7: 1 times, 185 MBxmem: title memory asked for as protection 0x4, kind 0x203000, flags 0x3: 1 times, 84 MB```The title then takes the first-chance `0x80000003` and its own breakpad handler writes a minidump. No layer WARN or ERROR precedes it.The 27 November source build runs on the same machine at 20-25 fps in the world (loading screens 120 fps), same game files and same launcher, so this is a regression between that tree and this release rather than a configuration difference.Happy to run a diagnostic build with any logging you want.
P1ayer-1 commented 2026-11-29 18:20:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by P1ayer-1 on 2026-11-29T18:20:57Z.


Reproduces on an 8 GB card, so this is not a big-card or VRAM effect — RTX 3060 Ti 8 GB, Ryzen 5 3600X, 48 GB RAM, Windows 11 build 26300 (native), Series X files, 1440p, DLSS Quality, frame generation off.

  • v2026.11.29.01: XMemVirtualAlloc refused size=6538919936 on 5 of 6 runs, each halting at Game State: System Init, Frame: 0 with 0x80000003. The one run that got through placed the TileHeap at 0x822600000 instead, which is why it looks intermittent.
  • v2026.11.28.03, same files: the same request is placed at 0x2000000000 and the run lasted 17.5 h.
  • v2026.11.29.01 with only the address_range cap reverted (xmem.rs:165, back to (1 << bits) - 1): placed at 0x1fffff0000, no refusal, 256 frames rendered.

That is a one-variable A/B on the 2^37 cap from #1041, and it matches what #2133's fallback does. Confirmed that branch here too: 8 GB card, TileHeap at 0x1fffff0000, zero refusals, past System Init and rendering.

Worth noting #2356, #2167, #2150 and the rest of the "crashes immediately on .29.01" family look like this same failure, so the tracker has a fair number of duplicates of it.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7260410922 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7260410922). Originally posted by [P1ayer-1](https://github.com/P1ayer-1) on 2026-11-29T18:20:57Z. --- Reproduces on an **8 GB card**, so this is not a big-card or VRAM effect — RTX 3060 Ti 8 GB, Ryzen 5 3600X, 48 GB RAM, Windows 11 build 26300 (native), Series X files, 1440p, DLSS Quality, frame generation off. - `v2026.11.29.01`: `XMemVirtualAlloc refused size=6538919936` on **5 of 6 runs**, each halting at `Game State: System Init`, `Frame: 0` with `0x80000003`. The one run that got through placed the TileHeap at `0x822600000` instead, which is why it looks intermittent. - `v2026.11.28.03`, same files: the same request is placed at `0x2000000000` and the run lasted 17.5 h. - `v2026.11.29.01` with *only* the `address_range` cap reverted (`xmem.rs:165`, back to `(1 << bits) - 1`): placed at `0x1fffff0000`, no refusal, 256 frames rendered. That is a one-variable A/B on the `2^37` cap from #1041, and it matches what #2133's fallback does. Confirmed that branch here too: 8 GB card, TileHeap at `0x1fffff0000`, zero refusals, past `System Init` and rendering. Worth noting #2356, #2167, #2150 and the rest of the "crashes immediately on .29.01" family look like this same failure, so the tracker has a fair number of duplicates of it.
nancmd77 commented 2026-11-29 20:07:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by nancmd77 on 2026-11-29T20:07:56Z.


Still happens on v2026.11.29.03 (victory.exe SHA-256 70ad17b9ed02f396a2c512d933153a073716de4e2f9b41be6d19be89ac92c9a3), 3 of 3 starts.

RTX 5070 Ti, 32 GB RAM, Windows 11 Pro, Series X files v1.0.2.1, DLSS on.

Same signature:
XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 (os error 8)
unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 (System Init, frame 0)

Commit is not the issue (43.4 GB limit, 31.5 GB free). Rolled back to v2026.11.28.03 as a workaround.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7261832563 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7261832563). Originally posted by [nancmd77](https://github.com/nancmd77) on 2026-11-29T20:07:56Z. --- Still happens on v2026.11.29.03 (victory.exe SHA-256 70ad17b9ed02f396a2c512d933153a073716de4e2f9b41be6d19be89ac92c9a3), 3 of 3 starts. RTX 5070 Ti, 32 GB RAM, Windows 11 Pro, Series X files v1.0.2.1, DLSS on. Same signature: XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 (os error 8) unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 (System Init, frame 0) Commit is not the issue (43.4 GB limit, 31.5 GB free). Rolled back to v2026.11.28.03 as a workaround.
trustno1-coder commented 2026-11-29 20:36:28 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T20:36:28Z.


This issue has the start-up crash where Windows refuses the game's 6.5 GB reservation (XMemVirtualAlloc refused size=6538919936 ... os error 8, then +0x1e6c284). v2026.11.29.04 is a build with only one fix aimed at exactly this crash.

We couldn't reproduce the real crash here, so it may not fix it for you. Please try it and tell us here whether the game now starts, and attach the play log and crashes.log either way. If the play log has a line with no room at first in the title's window, include that line; it tells us whether this was the cause.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7262215529 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7262215529). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-29T20:36:28Z. --- This issue has the start-up crash where Windows refuses the game's 6.5 GB reservation (`XMemVirtualAlloc refused size=6538919936 ... os error 8`, then `+0x1e6c284`). [v2026.11.29.04](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.04) is a build with only one fix aimed at exactly this crash. We couldn't reproduce the real crash here, so it may not fix it for you. Please try it and tell us here whether the game now starts, and attach the play log and crashes.log either way. If the play log has a line with `no room at first in the title's window`, include that line; it tells us whether this was the cause.
botto854 commented 2026-11-29 20:53:37 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by botto854 on 2026-11-29T20:53:37Z.


Tested v2026.11.29.04 on the machine from my earlier comment (RTX 4090 24 GB, Windows 11 Insider 26300, Series X profile, 1440p, DLSS + frame generation). This is the setup where every start of v2026.11.29.01 died at the 6.5 GB reservation (3 of 3) before #2263.

Built from the v2026.11.29.04 tag with no other patches. 3 starts, 3 into the world, no crash, one of them with RAY TRACING on.

In all three play logs the 6.5 GB block is placed on the first request, at the address it was refused at before:

XMemVirtualAlloc without write watching (the title's own address, or a placeholder) at=0x1800000000 size=6538919936 kind=0x42000 flags=0x23 asked_at=0x0

No no room at first in the title's window line appears in any of them, and crashes.log has no new entry. So the spare reservation seems to keep that range free before the CUDA/DLSS reservation lands there, and the fallback path never ran here.

Control, same machine and settings right after, built from the v2026.11.29.03 tag: 3 starts, 3 crashes, each with

XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=... (os error 8)
unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284

So on this machine the crash still reproduces every time without the fix, and v2026.11.29.04 removes it.

From my side #2263 is no longer needed if this build goes into main. I'll close it once it's merged.

AI-assisted.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7262440406 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7262440406). Originally posted by [botto854](https://github.com/botto854) on 2026-11-29T20:53:37Z. --- Tested v2026.11.29.04 on the machine from my earlier comment (RTX 4090 24 GB, Windows 11 Insider 26300, Series X profile, 1440p, DLSS + frame generation). This is the setup where every start of v2026.11.29.01 died at the 6.5 GB reservation (3 of 3) before #2263. Built from the `v2026.11.29.04` tag with no other patches. **3 starts, 3 into the world, no crash**, one of them with RAY TRACING on. In all three play logs the 6.5 GB block is placed on the first request, at the address it was refused at before: ``` XMemVirtualAlloc without write watching (the title's own address, or a placeholder) at=0x1800000000 size=6538919936 kind=0x42000 flags=0x23 asked_at=0x0 ``` No `no room at first in the title's window` line appears in any of them, and crashes.log has no new entry. So the spare reservation seems to keep that range free before the CUDA/DLSS reservation lands there, and the fallback path never ran here. Control, same machine and settings right after, built from the `v2026.11.29.03` tag: **3 starts, 3 crashes**, each with ``` XMemVirtualAlloc refused size=6538919936 kind=0x42000 flags=0x23 error=... (os error 8) unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x1e6c284 ``` So on this machine the crash still reproduces every time without the fix, and v2026.11.29.04 removes it. From my side #2263 is no longer needed if this build goes into main. I'll close it once it's merged. AI-assisted.
rias-of-gremory commented 2026-11-29 21:09:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by rias-of-gremory on 2026-11-29T21:09:33Z.


v2026.11.29.04 tested — still crashes, but not on the refusal path

Binary I ran: victory.exe from this release, SHA-256 853765913a8a6c1ca32c00f6c35a56742f657be4ae5f620dc41b594d92cb9721 (matches your published hash). Series X profile, same game files, RTX 5080 16 GB, driver 617.14, 32 GB RAM, Win11 26300.

It crashes at the same point as before: images mapped, about 5 seconds later, during System Init, breakpad writes its crash log.

There is no XMemVirtualAlloc refused size=6538919936 line anywhere in the play log, and the new diagnostic never fired — no no room at first in the title's window line. So on this machine the 8 GB reserve is being taken and the game is not hitting the refusal path. The last alloc before the crash is a normal one:

XMemVirtualAlloc without write watching ... at=0x24560000 size=193986560 kind=0x42000 flags=0x7

Two things from this run that may be worth more than the crash itself:

1. Every crashing run uses the native-1920x1200-upscaler-quality-sdr image set. That folder was created by the first 29.11.29.01 run today (10:19). The last build that actually runs on this machine — 27 November — loads native-1440p-upscaler-quality-sdr and plays at 20-25 fps in the world, same files, same launcher.

2. The same 29.04 binary started with a bare run <game exe> --console series-x --execute gets into the game. Slowly, because a bare run carries none of the F1-menu settings (no DLSS, no frame generation), but it does reach the game. The crash only happens through the play/menu path — which is where the VICTORY_MENU_* switches and the upscaler image set come in.

So the first visible difference between "runs" and "crashes" on this machine is which native-* image set gets used, not the allocator refusing.

If 1920x1200 is not what a 1440p setting should be producing on a 16:9 display, that may be the bug. Happy to test a build that forces the 1440p image set, or to clear the image cache and report which folder it regenerates — whichever is more useful to you. Play log available if you want it.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7262651189 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7262651189). Originally posted by [rias-of-gremory](https://github.com/rias-of-gremory) on 2026-11-29T21:09:33Z. --- ## v2026.11.29.04 tested — still crashes, but not on the refusal path Binary I ran: `victory.exe` from this release, SHA-256 `853765913a8a6c1ca32c00f6c35a56742f657be4ae5f620dc41b594d92cb9721` (matches your published hash). Series X profile, same game files, RTX 5080 16 GB, driver 617.14, 32 GB RAM, Win11 26300. It crashes at the same point as before: images mapped, about 5 seconds later, during System Init, breakpad writes its crash log. There is **no** `XMemVirtualAlloc refused size=6538919936` line anywhere in the play log, and the new diagnostic never fired — no `no room at first in the title's window` line. So on this machine the 8 GB reserve is being taken and the game is not hitting the refusal path. The last alloc before the crash is a normal one: ``` XMemVirtualAlloc without write watching ... at=0x24560000 size=193986560 kind=0x42000 flags=0x7 ``` Two things from this run that may be worth more than the crash itself: **1. Every crashing run uses the `native-1920x1200-upscaler-quality-sdr` image set.** That folder was created by the first 29.11.29.01 run today (10:19). The last build that actually runs on this machine — 27 November — loads `native-1440p-upscaler-quality-sdr` and plays at 20-25 fps in the world, same files, same launcher. **2. The same 29.04 binary started with a bare `run <game exe> --console series-x --execute` gets into the game.** Slowly, because a bare run carries none of the F1-menu settings (no DLSS, no frame generation), but it does reach the game. The crash only happens through the play/menu path — which is where the `VICTORY_MENU_*` switches and the upscaler image set come in. So the first visible difference between "runs" and "crashes" on this machine is which `native-*` image set gets used, not the allocator refusing. If 1920x1200 is not what a 1440p setting should be producing on a 16:9 display, that may be the bug. Happy to test a build that forces the 1440p image set, or to clear the image cache and report which folder it regenerates — whichever is more useful to you. Play log available if you want it.
rias-of-gremory commented 2026-11-29 21:20:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by rias-of-gremory on 2026-11-29T21:20:39Z.


Build bisect on unchanged hardware: v2026.11.29.04 ignores the 1440p request, reports native 3840×2160 to the title, and dies on an image set no other build selects.

Same PC, same dump, same cache directory, same settings file, nothing changed and no reboot between the two runs below — one right after the other, tonight.

27 Nov build v2026.11.29.04
VICTORY_NATIVE_1440P 1 1
VICTORY_MENU_RES 1440 1440
display mode reported to the title 2560×1440 3840×2160
image set mapped native-1440p-upscaler-quality-sdr native-1920x1200-upscaler-quality-sdr
outcome plays (20–25 fps in world) crash ~5 s in, 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x247af2d, Game State / System Init

Logs: play-20261129-211630-26996.log (good) and victory-nvidia-play-20261129-211138-19488.log (crash), both in %LOCALAPPDATA%\victory\logs.

Notes that rule out the obvious alternatives:

  • Not a stale cache. I renamed native-1920x1200-upscaler-quality-sdr away before the run. The new build recreated it byte-for-byte (no shader recompile — the raw images were already in the cache root) and selected it again. The selection is deterministic, not left over from an older build.
  • Not the allocator. XMemVirtualAlloc refused size=6538919936 never appears in any log on this machine, so this isn't the #2167/#2150 path.
  • Not the launcher or the config. Both runs go through the same F1 menu system, with identical VICTORY_NATIVE_1440P=1 and VICTORY_MENU_RES=1440 on the process command line.
  • The 27 Nov binary is C:\vt5\release\victory.exe, 10,794,496 bytes; the 29.04 run is the release victory.exe from the tag.

Two questions this raises:

  1. What changed between 27 Nov and 29.04 in native-resolution reporting — the new build hands the title the monitor's native mode (3840×2160) while still being told 1440p is wanted.
  2. Where does an image set named native-1920x1200-… come from on a 3840×2160 (16:9) display, when the requested target is 2560×1440? 1920×1200 is neither the request nor the display mode, and it's 16:10 — it looks like a fallback that shouldn't be reachable.

Happy to run any diagnostic build against this machine — it reproduces every single time.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7262799492 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7262799492). Originally posted by [rias-of-gremory](https://github.com/rias-of-gremory) on 2026-11-29T21:20:39Z. --- Build bisect on unchanged hardware: **v2026.11.29.04 ignores the 1440p request, reports native 3840×2160 to the title, and dies on an image set no other build selects.** Same PC, same dump, same cache directory, same settings file, nothing changed and no reboot between the two runs below — one right after the other, tonight. | | 27 Nov build | v2026.11.29.04 | |---|---|---| | `VICTORY_NATIVE_1440P` | `1` | `1` | | `VICTORY_MENU_RES` | `1440` | `1440` | | display mode reported to the title | **2560×1440** | **3840×2160** | | image set mapped | `native-1440p-upscaler-quality-sdr` | `native-1920x1200-upscaler-quality-sdr` | | outcome | plays (20–25 fps in world) | **crash ~5 s in, `0x80000003` at `victory-image-b99f876b74d4a77f.dll+0x247af2d`**, Game State / System Init | Logs: `play-20261129-211630-26996.log` (good) and `victory-nvidia-play-20261129-211138-19488.log` (crash), both in `%LOCALAPPDATA%\victory\logs`. Notes that rule out the obvious alternatives: - **Not a stale cache.** I renamed `native-1920x1200-upscaler-quality-sdr` away before the run. The new build recreated it byte-for-byte (no shader recompile — the raw images were already in the cache root) and selected it again. The selection is deterministic, not left over from an older build. - **Not the allocator.** `XMemVirtualAlloc refused size=6538919936` never appears in any log on this machine, so this isn't the #2167/#2150 path. - **Not the launcher or the config.** Both runs go through the same F1 menu system, with identical `VICTORY_NATIVE_1440P=1` and `VICTORY_MENU_RES=1440` on the process command line. - The 27 Nov binary is `C:\vt5\release\victory.exe`, 10,794,496 bytes; the 29.04 run is the release `victory.exe` from the tag. Two questions this raises: 1. What changed between 27 Nov and 29.04 in **native-resolution reporting** — the new build hands the title the monitor's native mode (3840×2160) while still being told 1440p is wanted. 2. Where does an image set named **`native-1920x1200-…`** come from on a 3840×2160 (16:9) display, when the requested target is 2560×1440? 1920×1200 is neither the request nor the display mode, and it's 16:10 — it looks like a fallback that shouldn't be reachable. Happy to run any diagnostic build against this machine — it reproduces every single time.
rlenci99 commented 2026-11-30 04:34:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by rlenci99 on 2026-11-30T04:34:59Z.


v2026.11.29.04 and .05 start on an RTX 5090 with DLSS on (30 of 30), where v2026.11.29.01 crashed on every DLSS start. Unlike the 4090 above, every start with the default spare has one no room at first line.

Setup: RTX 5090 32 GB (driver 621.14), Ryzen 9 9950X3D2, 47 GB RAM, Windows 11 build 26200. Official exes: .04 (85376591…92cb9721, 19 starts), .05 (80612b22…30415a3f, 11). Series X, DLSS quality (one start performance), 4K in 26 starts and 1440p in 4; frame generation in 23, ray tracing in 4.

From a .05 start:

XMemVirtualAlloc ... at=0x1a00000000 size=6538919936 kind=0x42000 flags=0x23 asked_at=0x0
XMemVirtualAlloc: no room at first in the title's window size=3857252352 kind=0x42000 flags=0x23 ... (os error 8) largest_free_mb=25 free_runs=51 spare_given_back=true at=0x1d7e670000
.01 (crashed) 8 GiB spare (26 starts) VICTORY_TITLE_SPARE_MB=24576 (3 starts, .04)
52 GiB reservation 0x1100000000 0x2000000000 0x2000000000
36 GiB reservation 0x2000000000 0x1100000000 0x2d00000000
6.5 GB block refused, widest gap 6,144 MB 0x1a00000000 0x1024800000
no room at first – one per start none
the spare at the end – given back 24,576 MB, untouched

Reservation addresses are from VirtualQueryEx maps (22 of the 26 default starts were mapped). All maps also have 8,256 MB reserved at 0xe1c800000.

Measured

  • In 22 of the 26 default starts the request that found no room was the title's next kind=0x42000 flags=0x23 block (2,414 to 3,679 MB), in 4 a small one (8 to 32 MB); 1.1 to 3.0 s after the 6.5 GB block.
  • No XMem request was refused later (longest run 22 min). crashes.log has no start crash since the .01 ones; one .05 start with a non-default switch (VICTORY_WAVE_FOLDED=0) ended 2 min into the world with a device removal, not an XMem refusal.
  • In play the window is nearly full either way: 20 to 88 MB free at the end of 18 scripted default-spare runs, 49 to 164 MB in three maps taken in the middle of longer runs; 28 to 356 MB with 24 GiB, but there the whole spare is still held. DLSS and frame generation also run with 24 GiB.

On #3353 (6,300 MiB default): one .05 start with VICTORY_TITLE_SPARE_MB=6300 looked like the 8 GiB ones: 52 GiB block at 0x2000000000, 36 GiB at 0x1100000000, heap at 0x1a00000000 on the first request, then one no room at first for the next block (3,679 MB, largest_free_mb=2022), placed from the spare. Two things from this card for that change:

  • Here the spare's job is not the heap (placed on the first request in all 30 starts) but pushing the 52 GiB block out of the window. By the arithmetic below, 6,300 MiB still does that with about 150 MiB to spare (8,192 MiB: about 2 GiB).
  • The spare was used after the heap: in all 23 starts where the title's next large block (2,414 to 3,679 MiB) was the one refused, the widest free run was at most 2,159 MB and the block got its room from the spare. Releasing the spare once the heap is placed (an idea in #3273) would, by these numbers, leave that block without room on this card.

Inferred, not traced: the three reservations are nvcuda64's (trace above). From 0x1100000000 to the upload pool at 0x1f7fff0000 is 58 GiB less 64 KiB. The 8 GiB spare leaves just under 50, so the 52 GiB block goes to 2^37 and the 36 GiB one takes its place, with the heap right behind it. A 6,300 MiB spare leaves about 51.85 GiB, still short of 52; a 24 GiB spare leaves under 34, so both go above 2^37.

Read from the code, not tested: reserve_title_spare() (main.rs:603) runs before logging::init (:634), so its own lines never reach a play log, and before play::prepare (:622), so a victory-settings.txt line or --set does not reach it on a start from the desktop (I used a real environment variable).

Suggestions: when a request is refused, release only what it needs and keep the rest of the spare for later requests; log the spare once logging is up.

AI-assisted (Claude Code); logs on request.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7268902320 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7268902320). Originally posted by [rlenci99](https://github.com/rlenci99) on 2026-11-30T04:34:59Z. --- **v2026.11.29.04 and .05 start on an RTX 5090 with DLSS on (30 of 30), where v2026.11.29.01 crashed on every DLSS start. Unlike the 4090 above, every start with the default spare has one `no room at first` line.** **Setup:** RTX 5090 32 GB (driver 621.14), Ryzen 9 9950X3D2, 47 GB RAM, Windows 11 build 26200. Official exes: .04 (`85376591…92cb9721`, 19 starts), .05 (`80612b22…30415a3f`, 11). Series X, DLSS quality (one start performance), 4K in 26 starts and 1440p in 4; frame generation in 23, ray tracing in 4. From a .05 start: ``` XMemVirtualAlloc ... at=0x1a00000000 size=6538919936 kind=0x42000 flags=0x23 asked_at=0x0 XMemVirtualAlloc: no room at first in the title's window size=3857252352 kind=0x42000 flags=0x23 ... (os error 8) largest_free_mb=25 free_runs=51 spare_given_back=true at=0x1d7e670000 ``` | | .01 (crashed) | 8 GiB spare (26 starts) | `VICTORY_TITLE_SPARE_MB=24576` (3 starts, .04) | |---|---|---|---| | 52 GiB reservation | `0x1100000000` | `0x2000000000` | `0x2000000000` | | 36 GiB reservation | `0x2000000000` | `0x1100000000` | `0x2d00000000` | | 6.5 GB block | refused, widest gap 6,144 MB | `0x1a00000000` | `0x1024800000` | | `no room at first` | – | one per start | none | | the spare at the end | – | given back | 24,576 MB, untouched | Reservation addresses are from VirtualQueryEx maps (22 of the 26 default starts were mapped). All maps also have 8,256 MB reserved at `0xe1c800000`. **Measured** - In 22 of the 26 default starts the request that found no room was the title's next `kind=0x42000 flags=0x23` block (2,414 to 3,679 MB), in 4 a small one (8 to 32 MB); 1.1 to 3.0 s after the 6.5 GB block. - No XMem request was refused later (longest run 22 min). crashes.log has no start crash since the .01 ones; one .05 start with a non-default switch (`VICTORY_WAVE_FOLDED=0`) ended 2 min into the world with a device removal, not an XMem refusal. - In play the window is nearly full either way: 20 to 88 MB free at the end of 18 scripted default-spare runs, 49 to 164 MB in three maps taken in the middle of longer runs; 28 to 356 MB with 24 GiB, but there the whole spare is still held. DLSS and frame generation also run with 24 GiB. **On #3353 (6,300 MiB default):** one .05 start with `VICTORY_TITLE_SPARE_MB=6300` looked like the 8 GiB ones: 52 GiB block at `0x2000000000`, 36 GiB at `0x1100000000`, heap at `0x1a00000000` on the first request, then one `no room at first` for the next block (3,679 MB, `largest_free_mb=2022`), placed from the spare. Two things from this card for that change: - Here the spare's job is not the heap (placed on the first request in all 30 starts) but pushing the 52 GiB block out of the window. By the arithmetic below, 6,300 MiB still does that with about 150 MiB to spare (8,192 MiB: about 2 GiB). - The spare was used after the heap: in all 23 starts where the title's next large block (2,414 to 3,679 MiB) was the one refused, the widest free run was at most 2,159 MB and the block got its room from the spare. Releasing the spare once the heap is placed (an idea in #3273) would, by these numbers, leave that block without room on this card. **Inferred, not traced:** the three reservations are nvcuda64's (trace above). From `0x1100000000` to the upload pool at `0x1f7fff0000` is 58 GiB less 64 KiB. The 8 GiB spare leaves just under 50, so the 52 GiB block goes to 2^37 and the 36 GiB one takes its place, with the heap right behind it. A 6,300 MiB spare leaves about 51.85 GiB, still short of 52; a 24 GiB spare leaves under 34, so both go above 2^37. **Read from the code, not tested:** `reserve_title_spare()` (`main.rs:603`) runs before `logging::init` (`:634`), so its own lines never reach a play log, and before `play::prepare` (`:622`), so a `victory-settings.txt` line or `--set` does not reach it on a start from the desktop (I used a real environment variable). **Suggestions:** when a request is refused, release only what it needs and keep the rest of the spare for later requests; log the spare once logging is up. AI-assisted (Claude Code); logs on request.
4304-git commented 2026-11-30 05:13:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by 4304-git on 2026-11-30T05:13:46Z.


Same root as this issue, but on .05 even the first 24 GiB title block is refused

Environment

  • victory.exe v2026.11.29.05 — 15,810,048 B, SHA-256 80612b22a3cb76503a361caf241afd54d110c64ffc2a6e0efd9b7edb30415a3f
  • NVIDIA GeForce RTX 4090 (24 GB), driver 32.0.16.2140
  • Intel Core i9-14900K, 64 GB RAM
  • Windows 11, build 26200.9711 (the ProductName string still says "Windows 10 Pro")
  • Retail Series X files, GTA VI 1.0.2.1, TitleID 7952987A, 2560x1440 monitor
  • Launch line: victory.exe play <dump>\game_scarlett_master.exe --res 1440 --dlss quality --framegen 4
  • No preload sidecar involved — play was started directly, with no --preload process.

What happens

No window ever appears. It dies at the very first large title reservation:

WARN victory_hle::modules::xmem: XMemVirtualAlloc: no room at first in the title's window size=25769803776 kind=0x42000 flags=0x21 error=内存资源不足,无法处理此命令。 (os error 8) largest_free_mb=14335 free_runs=3 spare_given_back=true at=0x0
WARN victory_hle::modules::xmem: XMemVirtualAlloc refused size=25769803776 kind=0x42000 flags=0x21 error=... (os error 8)

followed by VIctory: unhandled exception 0x80000003 (top of stack #7 victory.exe+0xae5173).

25769803776 = 24 GiB, flags=0x21 = COMMIT|RESERVE, at=0x0 on the first attempt, free_runs=3 — the largest contiguous run left inside the window is 14,335 MB.

Commit is not the limiter (measured)

I raised the pagefile and re-ran the identical command line:

Pagefile Commit limit largest_free_mb
system-managed (default, d:\pagefile.sys 0 0) 69,369 MB 14,335
fixed d:\pagefile.sys 32768 32768 98,041 MB 14,335 — identical

So the request fails with 53 GB of physical RAM free and a 98 GB commit limit, which matches this issue's conclusion: the ceiling comes from the address window, not from commit. With TITLE_TOP_BITS = 37 the window is ~128 GiB and it is apparently already fragmented at 24 GiB-granularity before the first request lands (free_runs=3).

The build that works on the same machine, same files, same command line

A source build of main at 2026-11-29 04:58Z — 12,443,136 B, SHA-256 93e1371945e01824d660ffcb2108b6aead86e5d2dba970863abeb9d4d2ead988, i.e. before v2026.11.29.01 — starts immediately, renders at 1440p / DLSS quality / FG 4, holds ~20 fps, and exits through title suspended; ending the title with no crashes.log.

Nothing else on the system differs between the two runs — same pagefile, same driver, same dump, same switches.

I can attach the full 22 KB log or a minidump if that helps. I did not file this as a separate issue because #2081 / #3234 / #3242 look like the same root cause; please merge if you prefer.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7269469654 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2081#issuecomment-7269469654). Originally posted by [4304-git](https://github.com/4304-git) on 2026-11-30T05:13:46Z. --- **Same root as this issue, but on `.05` even the first 24 GiB title block is refused** ### Environment - `victory.exe` **v2026.11.29.05** — 15,810,048 B, SHA-256 `80612b22a3cb76503a361caf241afd54d110c64ffc2a6e0efd9b7edb30415a3f` - NVIDIA GeForce RTX 4090 (24 GB), driver `32.0.16.2140` - Intel Core i9-14900K, **64 GB** RAM - Windows 11, build `26200.9711` (the `ProductName` string still says "Windows 10 Pro") - Retail Series X files, GTA VI `1.0.2.1`, TitleID `7952987A`, 2560x1440 monitor - Launch line: `victory.exe play <dump>\game_scarlett_master.exe --res 1440 --dlss quality --framegen 4` - No preload sidecar involved — `play` was started directly, with no `--preload` process. ### What happens No window ever appears. It dies at the very first large title reservation: ```text WARN victory_hle::modules::xmem: XMemVirtualAlloc: no room at first in the title's window size=25769803776 kind=0x42000 flags=0x21 error=内存资源不足,无法处理此命令。 (os error 8) largest_free_mb=14335 free_runs=3 spare_given_back=true at=0x0 WARN victory_hle::modules::xmem: XMemVirtualAlloc refused size=25769803776 kind=0x42000 flags=0x21 error=... (os error 8) ``` followed by `VIctory: unhandled exception 0x80000003` (top of stack `#7 victory.exe+0xae5173`). `25769803776` = 24 GiB, `flags=0x21` = COMMIT|RESERVE, `at=0x0` on the first attempt, `free_runs=3` — the largest contiguous run left inside the window is **14,335 MB**. ### Commit is not the limiter (measured) I raised the pagefile and re-ran the identical command line: | Pagefile | Commit limit | `largest_free_mb` | | :-- | :-- | :-- | | system-managed (default, `d:\pagefile.sys 0 0`) | 69,369 MB | 14,335 | | fixed `d:\pagefile.sys 32768 32768` | **98,041 MB** | **14,335** — identical | So the request fails with 53 GB of physical RAM free and a 98 GB commit limit, which matches this issue's conclusion: the ceiling comes from the address window, not from commit. With `TITLE_TOP_BITS = 37` the window is ~128 GiB and it is apparently already fragmented at 24 GiB-granularity before the first request lands (`free_runs=3`). ### The build that works on the same machine, same files, same command line A source build of `main` at 2026-11-29 04:58Z — 12,443,136 B, SHA-256 `93e1371945e01824d660ffcb2108b6aead86e5d2dba970863abeb9d4d2ead988`, i.e. **before v2026.11.29.01** — starts immediately, renders at 1440p / DLSS quality / FG 4, holds ~20 fps, and exits through `title suspended; ending the title` with no `crashes.log`. Nothing else on the system differs between the two runs — same pagefile, same driver, same dump, same switches. I can attach the full 22 KB log or a minidump if that helps. I did not file this as a separate issue because #2081 / #3234 / #3242 look like the same root cause; please merge if you prefer.
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
trustno1-coder/VIctory-NVIDIA#2081
No description provided.