Regression in v2026.11.29.01 (#1041): start crash, 6.2 GB TileHeap no longer fits below 2^37 (RTX 4090, Windows) #2081
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#2081
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@botto854 on GitHub · 2026-11-29 09:13 UTC · original
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) atvictory-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:
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 isnot 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):
reserve_spacepoolLargest 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_protectionkey and 0 bytescommitted, 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
@bstillbstill on GitHub · 2026-11-29 09:38 UTC · original
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:
Before the update (
64d4931) the same request landed at0x2000000000, as in the report.Patch: in
XMemVirtualAlloc(crates/victory-hle/src/modules/xmem.rs), right after the firstlet mut at = allocate(kind);, retry with the uncapped range only when the capped placement fails. Everything that fits below 2^37 still goes there.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
+0x247af2duntil I setVICTORY_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.)
github-bot referenced this issue2026-11-29 09:50:27 +00:00
@botto854 on GitHub · 2026-11-29 10:46 UTC · original
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: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 fromXMemVirtualAllocas 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:What this means:
upload::reserve_spaceholds 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.)
github-bot referenced this issue2026-11-29 11:12:07 +00:00
@rias-of-gremory on GitHub · 2026-11-29 11:48 UTC · original
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.exefrom this release (SHA-2560d3dae51...d67dffd) and a clean source build at829188efail 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-chance0x80000003and 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 on GitHub · 2026-11-29 18:20 UTC · original · edited 2026-11-29 18:24 UTC
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=6538919936on 5 of 6 runs, each halting atGame State: System Init,Frame: 0with0x80000003. The one run that got through placed the TileHeap at0x822600000instead, which is why it looks intermittent.v2026.11.28.03, same files: the same request is placed at0x2000000000and the run lasted 17.5 h.v2026.11.29.01with only theaddress_rangecap reverted (xmem.rs:165, back to(1 << bits) - 1): placed at0x1fffff0000, no refusal, 256 frames rendered.That is a one-variable A/B on the
2^37cap from #1041, and it matches what #2133's fallback does. Confirmed that branch here too: 8 GB card, TileHeap at0x1fffff0000, zero refusals, pastSystem Initand 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 on GitHub · 2026-11-29 20:07 UTC · original
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 on GitHub · 2026-11-29 20:36 UTC · original
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.@botto854 on GitHub · 2026-11-29 20:53 UTC · original
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.04tag 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:
No
no room at first in the title's windowline 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.03tag: 3 starts, 3 crashes, each withSo 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 on GitHub · 2026-11-29 21:09 UTC · original
v2026.11.29.04 tested — still crashes, but not on the refusal path
Binary I ran:
victory.exefrom this release, SHA-256853765913a8a6c1ca32c00f6c35a56742f657be4ae5f620dc41b594d92cb9721(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=6538919936line anywhere in the play log, and the new diagnostic never fired — nono room at first in the title's windowline. 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:Two things from this run that may be worth more than the crash itself:
1. Every crashing run uses the
native-1920x1200-upscaler-quality-sdrimage 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 — loadsnative-1440p-upscaler-quality-sdrand 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 --executegets 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 theVICTORY_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 on GitHub · 2026-11-29 21:20 UTC · original
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.
VICTORY_NATIVE_1440P11VICTORY_MENU_RES14401440native-1440p-upscaler-quality-sdrnative-1920x1200-upscaler-quality-sdr0x80000003atvictory-image-b99f876b74d4a77f.dll+0x247af2d, Game State / System InitLogs:
play-20261129-211630-26996.log(good) andvictory-nvidia-play-20261129-211138-19488.log(crash), both in%LOCALAPPDATA%\victory\logs.Notes that rule out the obvious alternatives:
native-1920x1200-upscaler-quality-sdraway 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.XMemVirtualAlloc refused size=6538919936never appears in any log on this machine, so this isn't the #2167/#2150 path.VICTORY_NATIVE_1440P=1andVICTORY_MENU_RES=1440on the process command line.C:\vt5\release\victory.exe, 10,794,496 bytes; the 29.04 run is the releasevictory.exefrom the tag.Two questions this raises:
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 on GitHub · 2026-11-30 04:34 UTC · original
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 firstline.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:
VICTORY_TITLE_SPARE_MB=24576(3 starts, .04)0x11000000000x20000000000x20000000000x20000000000x11000000000x2d000000000x1a000000000x1024800000no room at firstReservation addresses are from VirtualQueryEx maps (22 of the 26 default starts were mapped). All maps also have 8,256 MB reserved at
0xe1c800000.Measured
kind=0x42000 flags=0x23block (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.VICTORY_WAVE_FOLDED=0) ended 2 min into the world with a device removal, not an XMem refusal.On #3353 (6,300 MiB default): one .05 start with
VICTORY_TITLE_SPARE_MB=6300looked like the 8 GiB ones: 52 GiB block at0x2000000000, 36 GiB at0x1100000000, heap at0x1a00000000on the first request, then oneno room at firstfor the next block (3,679 MB,largest_free_mb=2022), placed from the spare. Two things from this card for that change:Inferred, not traced: the three reservations are nvcuda64's (trace above). From
0x1100000000to the upload pool at0x1f7fff0000is 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 beforelogging::init(:634), so its own lines never reach a play log, and beforeplay::prepare(:622), so avictory-settings.txtline or--setdoes 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 on GitHub · 2026-11-30 05:13 UTC · original
Same root as this issue, but on
.05even the first 24 GiB title block is refusedEnvironment
victory.exev2026.11.29.05 — 15,810,048 B, SHA-25680612b22a3cb76503a361caf241afd54d110c64ffc2a6e0efd9b7edb30415a3f32.0.16.214026200.9711(theProductNamestring still says "Windows 10 Pro")1.0.2.1, TitleID7952987A, 2560x1440 monitorvictory.exe play <dump>\game_scarlett_master.exe --res 1440 --dlss quality --framegen 4playwas started directly, with no--preloadprocess.What happens
No window ever appears. It dies at the very first large title reservation:
followed by
VIctory: unhandled exception 0x80000003(top of stack#7 victory.exe+0xae5173).25769803776= 24 GiB,flags=0x21= COMMIT|RESERVE,at=0x0on 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:
largest_free_mbd:\pagefile.sys 0 0)d:\pagefile.sys 32768 32768So 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 = 37the 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
mainat 2026-11-29 04:58Z — 12,443,136 B, SHA-25693e1371945e01824d660ffcb2108b6aead86e5d2dba970863abeb9d4d2ead988, i.e. before v2026.11.29.01 — starts immediately, renders at 1440p / DLSS quality / FG 4, holds ~20 fps, and exits throughtitle suspended; ending the titlewith nocrashes.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.