RTX 5060 Laptop (8 GB): menus 30 fps and the world renders, but it dies at ~70–80 s — title_memory_budget_mb is 13,824 MB regardless of the adapter's memory #1337
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl#1337
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?
@yangzj0844 on GitHub · 2026-11-24 14:58 UTC · original
First: the
bcpack/victory.rsmerge works. BCPack refusals went from 512 to 0 and the loading art is now pixel-correct instead of garbled. The pipeline priority work (930e8b4) also removed a 58,743-pipeline stall on the load screen. This report is what is left.Environment
ProductNamestill reads "Windows 10 Home China"; stale on upgraded installs — build 26300,BuildLabEx=26100.1...ge_releaseand the centred taskbar confirm Windows 11)D3D12Core.dll10.0.26100.9549 (SM 6.6 + mesh shaders)Windows Kits\10\bin\10.0.26100.0\x64930e8b4(main, 2026-11-24),cargo build --release --workspace1.0.2.1,7952987A, Series X mode (device_type = "anaconda")What works
report.json→d3d12.presents) — the best of the dayFailure A / B — two failure modes at the same point
Both happen at ~70–85 s, exactly when the world starts streaming, and which one you get depends on the title budget:
A.
E_OUTOFMEMORYburst, then the title asserts (seen withtitle_memory_mb = 4096)B. device removed, no OOM (seen with
title_memory_mb = 4096and defaults)The title asserts on the
E_OUTOFMEMORYrather than skipping the page. On screen the frame is garbled rather than black, because pages that never arrived keep stale heap contents.In other words the budget does not fix anything, it only chooses the failure mode: a lower budget makes the page allocation fail earlier and cleanly (assert), a higher one lets the page set grow until the device itself goes away. On console neither path can fail, so the title has no branch for it.
Why the budget knob only moves the wall
crates/xcl/src/config.rs:Measured on this card (values tried across the day; the exact failure mode alternates as described above):
title_memory_mb0(→ 13,824 MB)61444096So the budget does change the failure point, but never removes it: the title's asset set simply exceeds what an 8 GB part can hold, and it has no graceful path for a page that cannot be created.
Question 1: is a VRAM-aware budget planned —
IDXGIAdapter3::QueryVideoMemoryInfo(Budget) or aDXGI_ADAPTER_DESC1::DedicatedVideoMemory-derived cap — instead of the fixed 13,824 MB?Question 2: when
CreateHeap/CreateCommittedResourcefail for a tile pool, would it be better for XCL to hand the title a dropped page (null/zero view) and keep running instead of letting it assert?Question 3: is the first world frame expected to be split into smaller submissions? A single very heavy batch cannot finish inside the default 2 s TDR, which is the other way this dies (
0x887a0007).XCL_SPLIT_MIDLIST_WAIT(default on) did not change it.Failure C —
lockhartasserts after ~24 sSince an 8 GB card is Series S class, I tried the cheaper profile (
device_type = "lockhart"). It reaches 204 presented frames, then0x80000003atgame_scarlett_master.exe+0xcc2834, after hitting these stubs:Question 4: is
lockhartmeant to work today? If Series S is the 8 GB profile, it is the most useful target for cards like mine.Knobs I tried, with the measured effect (so nobody repeats them)
XCL_PSO_PRELOAD=0XCL_PSO_WAIT_MS=200XCL_UMA_MB=512+XCL_COHERENT_MB=128XCL_WAIT_TIMEOUT_MS=20000raytracing = "off"XCL_PIPELINE_THREADS=12(default 4)Best configuration measured: default preload,
title_memory_mb = 4096,raytracing = "auto",XCL_PIPELINE_THREADS = 12, 960×540 window → 1,750 frames at 30 fps, no OOM, then Failure B at 80.5 s.Can provide
xcl.logandreport.jsonfor every run above (8 logged runs today, ~2.5–4 MB each)XCL_*variable you want isolatedThe GPU is a laptop part sharing its 8 GB with the desktop compositor, so the effective budget is ~6.8 GB — below what the README targets ("fits a 32 GB machine; ~15 GB committed in the menus"). I am reporting it because the Series S profile exists, and because the assert-on-OOM path may be worth handling regardless of card size.
Written from the logs by an AI assistant; the machine's owner ran everything and reviewed this text. No game files are attached.
Related issues — and how this host differs
title I see:
compiling shaders: 0 running, 0 done, 57587 pipelines queued, with 30 fpson the loading screen. My run shows
58,743 pipelines queued— same async queue, secondGPU, so that is reproduced on both 12 GB and 8 GB NVIDIA parts.
screen correctly (the Lucia art, pixel-correct after the BCPack merge) and then dies at
~70–80 s when streaming starts, so the async queue is not the blocker here — the
VRAM/page failure is.
still-building background pipelines as queued) both look relevant to that shared symptom;
I am not duplicating them here.
##Attachments
XCL-930e8b4-1750frames-device-removed.txt
XCL-930e8b4-OOM-65-burst.txt
XCL-report.json.txt
@pickles976 on GitHub · 2026-11-24 15:15 UTC · original
Two things before anyone touches the streaming code — the number in your title line has a source and an existing (undocumented) override:
config.rs:117—title_memory_budget_mb():0(the default) means the console's budget: 13,824 MiB for Series X, 8,192 for Series S; any explicittitle_memory_mb = Nreplaces it. So on your 8 GB host the title is being handed a Series X texture budget by design, and its streaming manager then plans against ~2× your VRAM — your "dies when streaming starts" timeline (~70–80 s) is exactly what over-planning predicts. Immediate A/B:title_memory_mb = 6144in your config (host 8 GB − desktop headroom ≈ 6.5, rounded down), everything else unchanged. If the death moves or disappears, the report becomes the canonical evidence for (2).title_memory_mb == 0and the budget exceeds the adapter's DXGIDedicatedMemory, log a one-line startup warning naming both numbers (and optionally clamp) — today's failure is invisible in config and only shows up as a runtime death 70 seconds in. The knob also belongs in the README next to the other memory options; your report is effectively its first documentation.930e8b4means your runs still have it. If the clamped budget changes where you die but not that you die, check whether the texture-page failures became0x89240009refusals before filing it as a new class.@vitalityscripts on GitHub · 2026-11-24 21:29 UTC · original
Same wall on an RTX 3070 Ti 8 GB (desktop, 32 GB RAM, i7-12700K): what moved it for us
Measured with a 2 s tracker (DXGI local VRAM, process commit, presents), same point in the run each time:
title_memory_mb = 4096only took peak from 8.7 to 8.2 GB here, and the run got less far.The freeze after that was not memory. Thread dumps during the stall showed 11 of 12 PSO threads (
xcl-pso-*binds andxcl-pso-pre-*preload) insidenvgpucomp64.dll, building uncached compute pipelines (≥256 KB DXIL, 3–19 min each on this card). VRAM and target pages were flat during the stall; commit grew ~5 GB, which looks like the driver's compiler. Precompiling the journal offline (xcl pipelines) fixed the loading screens and the early stalls. Notes on that:real::warm_oncegives big compute pipelines one-at-a-time turns (BIG_COMPILES, most 1), soxcl pipelinesran on one core. Allowing ~20 at once within a RAM limit took it from ~5/min to ~18–30/min.PROCESS_POWER_THROTTLING_EXECUTION_SPEEDfixed that.Measured on my PC, with Claude and Codex doing the analysis.
@yangzj0844 on GitHub · 2026-11-24 23:31 UTC · original
A/B done, as asked — same build, same config, only
title_memory_mbdiffers.Build:
20cf130(main, 2026-11-25) — this also brings the direct-DXIL backend and#1747, so both arms below are on that build, unlike the numbers in my first report. Both runs used the same binary (built from20cf130, two minutes apart); onlytitle_memory_mbdiffers.Everything else identical:
device_type = anaconda,raytracing = "auto", window 960×540,XCL_PIPELINE_THREADS = 12, TdrDelay default (key absent), 8 GB card.title_memory_mb0x8007000E61440x80000003at+0x193e00f,rax=0x8007000e40960x80000003at+0x193e00f,rax=0x8007000eSo 6144 shifts the death ~8 s later and buys ~127 more presented frames, but it does not remove it — both arms assert on the same
E_OUTOFMEMORYat the same address. That matches @vitalityscripts' note that the budget alone cannot hold the pool (GPU-written pages are pinned) and that#1514/#800are what actually moved things for them: the Series X budget is a real contributor, but not the whole story on 8 GB.Re your point 3 (
#549and the0x89240009check): the page failures stayed0x8007000E, no0x89240009page refusals. The one0x89240009across both runs is a DirectStorage request, and it appears only in the 4096 arm:One more data point for @vitalityscripts' compile finding — this is the 6144 arm, cold cache:
In the 4096 arm (cache warm from that first run) the 494 KB pipeline was not rebuilt at all: the largest compile was 181,100 B -> 5 ms. So the stalls are compile-bound and cache-shaped, which supports precompiling the journal — but note
xcl --helpon20cf130only listsrun / inspect / disasm / shaders / rpf, there is noxcl pipelinessubcommand yet, so there is no offline precompile path for us to try today.Also worth recording: on this build the loading screen runs at a steady 30 fps (30.0 / 30.0 / 27.8 / 30.0 over the last 300 frames) and presented 1,757 frames — the best of all runs so far, up from 1,750 on
930e8b4.@yangzj0844 on GitHub · 2026-11-25 14:50 UTC · original
The memory side of this issue is fixed on
06c9f55— zero out-of-memory messages in a 234 s run — and what is left is a different failure, so I am recording it here rather than opening a new report.The runs, same host, same config
0x8007000E20cf130(title_memory_mb = 6144)62265d3cbc296a06c9f550x887A0007at 196.4 sConfig throughout:
device_type = "anaconda",title_memory_mb = 4096,raytracing = "auto", 960×540,XCL_PIPELINE_THREADS = 12,XCL_DIRECT_DXIL = 1(CS direct 10 / HLSL fallback 0).What
06c9f55does insteadFrame rate decays steadily from the moment the world starts, and then the GPU stops answering:
There are 86
WARNlines before the removal, and none of them is about an allocation failing; the two kinds that stand out are:so 40 mesh-pipeline draws are dropped for the whole run, and the ray-tracing BVH is empty (
raytracing = "auto"). Neither is obviously the cause of the hang, but they are the state the title is in when it happens.After the removal the title keeps running for another 38 s and then asserts on the resource creation it was in the middle of:
rsiholding0x887A0005says the creation was handed the already-removed device, i.e. the assert is a symptom, not the cause.The decay is the part I cannot attribute: it looks like work per frame grows (submissions, or a shader that loops longer as state accumulates) until one command exceeds the TDR limit. Frames keep being presented right up to the removal, so it is not a stall waiting on the title.
Two smaller observations from the same log, in case they matter:
Nothing here is a request — the report exists so the next reader knows the OOM timings above are now stale, and that the remaining wall on an 8 GB card is this decay rather than the page budget. Say the word if you want
XCL_ACTIVITY=1numbers or a log attached.@b3IKK on GitHub · 2026-11-25 15:52 UTC · original
A cross-reference for the post-OOM wall, from a 16 GB card, because it suggests the decay-then-death is not about 8 GB of VRAM.
Setup: RTX 5080 16 GB (driver 32.0.16.1088), retail 1.0.2.1,
main426a5a7, 600 s run, A pressed at 33 s, default settings exceptXCL_PSO_WAIT_MS=50(so a bind does not wait for an unbuilt compute pipeline). Notitle_memory_mboverride; zero0x8007000Elines; local video memory stayed at ~15.4 GB of 16 at the end.unhandled exception 0x80000003 in game_scarlett_master.exe+0x4da6315, the stop listed from #1164. No device removal; the process then stayed alive with no further log line (ended after ~16 minutes;XCL_RUN_SECONDSnever got to run).So the same shape as your
06c9f55run - the title keeps presenting past the load, then ends on the GPU side rather than on memory - appears on a card with twice the VRAM, with the difference that the end is the title's ownint3here and0x887A0007there. With the default wait, my card never reaches that point in 600 s: frames stop at 96 s and the run spends the rest of the minute compiling, so the post-load wall is only reachable when the compile wait is bypassed (or, on your machine, whenXCL_DIRECT_DXIL=1makes the compiles cheap enough).The
XCL_ACTIVITY=1numbers and the log you offered would be worth having: the decay from 16.6 to 5.0 fps with frames still being presented is the part I cannot reproduce here.AI use: OpenCode, Claude Fable 5.2 ran the 5080 run on this machine, read the log and wrote this.
@b3IKK on GitHub · 2026-11-25 17:52 UTC · original
A 16 GB-card update that finally reaches the world, then hits a different wall.
Setup: RTX 5080 16 GB (driver 32.0.16.1088), retail 1.0.2.1,
0829441, warm driver cache (zero cold compute compiles in the run),XCL_PSO_WAIT_MS=50, 600 s, A pressed at 33 s.0xc0000005ingame_scarlett_master.exe+0x4e8b4be(read at0xffffffffffffffff), raised on several threads.<1831.06, 140.08, 2.82>, camera front<0.339, -0.941, 0.004>, 845 streaming requests, tile heap 3974/6236 MB, current SRLfbk_stry000_FBK_STRY000_INTROin Prestream, andUnsignaled CrossQueueBarrier: 41710ff6.So the world exists (player, camera and streaming are live); the crash is in the intro prestream, not in the load. The compile wall is bypassable with a fully warm cache; this crash is the next wall. A default-wait run is running now to see whether
XCL_PSO_WAIT_MS=50(which skips dispatches) contributes to it.AI use: OpenCode, Claude Fable 5.2 ran the 5080 test, read the log and the title's crash log and wrote this.
@b3IKK on GitHub · 2026-11-25 19:07 UTC · original
Correction to my comments above: those runs left
XCL_DIRECT_DXILunset and were therefore on the HLSL path, which is why they reportedcompute split: 0. The fence/wait lead was from that backend. On the direct backend (XCL_DIRECT_DXIL=1) the same retail 1.0.2.1 title behaves differently:The fourth run regressed because it hit a new set of whole forms: ~900 KB DXIL compiles on title threads at 93, 135, 176, 224, 265, 303, 357, 398, 437, 474, 505 and 580 s, one after another — the ExecuteIndirect whole-form fallback that #2404 targets. A 600 s run of
68a284a+ #2404 + #2097 with the same settings is running now; the result will go on #2404.AI use: OpenCode, Claude Fable 5.2 ran the four direct runs on this machine and wrote this.
@NWProgramming00 on GitHub · 2026-11-26 08:35 UTC · original
@yangzj0844 @vitalityscripts, would one of you run #2385 on your 8 GB card? It is the case it is meant for, and no one has tested it on 8 GB yet.
What #2385 does: past 75 % of the local video-memory budget, new sampled textures get no memory for their largest mips, and their views are clamped to the first mip they have. Render targets and UAV textures keep all their memory. On a 12 GB RTX 4070, @Royalflamejlh measured about 3 GB less spill into non-local memory (in the PR's comments); on my 16 GB card the budget only fills late.
The A/B, same build, same config, in turn:
What would settle it (numbers only, no frames or title files):
video memory is filling upline (its time);memory:line: local / non-local video memory, target pages, and thetop mipscounts.If the run dies earlier for another reason (the wall after the memory fix, above), that is useful to know too: say where it stopped in both.
AI use: Claude Code (Claude Opus 5.5) wrote this request for the PR's author.