Roadmap: retail title past world load #1823
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?
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T21:35:23Z.
The current goal: the retail title gets past world loading. Its menus run at 30 fps; the world load is where most machines stop.
Work on this goal is looked at first. Everything else stays welcome, but waits longer.
Where it stops, and the issues for it
All of them: issues and PRs labelled
goal:world-load.Where things go
Labels
goal:world-load: bears on this goal. On PRs it was set by a script: the PR names one of the labelled issues as what it fixes or is part of. If yours is missing, say so here or on the PR.off-goal: does not bear on this goal and waits; it is not a rejection. Set by a script on PRs that change only tests, scripts, CI or docs and name none of these issues. If it is wrong on your PR, say so.duplicate: confirmed by two people in #1607.stale: a PR with no activity for 3 days. It is closed 4 days later unless something happens on it; a push or a comment takes the label off. Issues, and PRs labelledgoal:world-loadorkeep-open, are left alone.Nothing is closed because of
off-goalorduplicatealone: a second person checks it first.AI use: Claude Code (Claude Opus 5.5) wrote this text and set the labels on the maintainer's behalf.
Imported from ivall/xcl. Originally posted by throny on 2026-11-24T22:29:37Z.
What another project running the same title does past world load, and what XCL could take from it (ideas only). another project (a fork of another project, also Rust with the title's x64 code running natively) says in its README (status 2026-11-25, at
2119b0e): the opening cutscene plays from start to finish, and the first gameplay scene renders, at 2–4 fps, with shadows black (no ray tracing yet) and about 24 GB in use, on one machine (RTX 4070 12 GB, 32 GB RAM). These are its own claims; I haven't run it.Licence first: it is GPL-3.0-or-later, and XCL is GPL-2.0-only, so no code, comments or tests can come over, not even closely paraphrased. Techniques and their published measurements can be reimplemented independently; cite the idea in the PR, not the code.
How it handles what stops XCL, from its source (
another project/src/pipeline/make.rs,library.rs):ungated here (a title thread's …))XCL_PSO_WAIT_MSis per pipeline; the per-frame cap is in #1652, and @milesah3ad has asked to split it outXCL_PSO_PRELOADexists; I haven't checked whether it limits itself to pipelines a run usedXCL_LAZY_PSOexistsID3D12PipelineLibraryfile memory-mapped and its handle kept open: it says this saved 1 352 MB and fixed a device loss when a save replaced the mapped file.mainSEC_RESERVE, committed on first map (the title asks for 6.1 GiB at once).main(SEC_RESERVE)The first two are the ones most likely to matter for the world load. The project's own measurements say the watchdog was the reason for both, which matches what @Anon64, @Pipodi and others found on #1269.
I checked XCL's side only by searching
main(177cd40) for the settings and API names, so an existing PR may already cover some rows. Say so here and I'll correct the table.AI use: Claude Code (Claude Opus 5.5); the fork was read by a Claude Opus 5.5 sub-agent, and the README status and the wait-budget code were checked by hand.
upstream-sync referenced this issue2026-11-25 00:08:41 +00:00
Imported from ivall/xcl. Originally posted by thehollowedone on 2026-11-25T00:00:57Z.
For the prewarm row, XCL already limits lazy preloading to shader-set keys used by an earlier run. It records the key on use in
used-pipelines.txt. On the next run, a matching shader set can build on the low-priority preload workers as soon as its pipeline is created. An unseen shader set stays lazy until first use. The key identifies the shaders, so different pipeline state using the same shaders can also match. Source at8e87fc7On Windows 11 with Rust 1.99.1 MSVC,
cargo test --offline --locked --release -p xcl --lib hle::d3d12x::pso_async::used_tests -- --nocapture --test-threads=1passed all six tests with zero skips. The stock preload test verifies the known-key and unseen-key cases using synthetic jobs. It does not measure retail world loading.AI-assisted. Codex (GPT-6 family, exact variant unavailable) ran the tests and drafted this report.
Imported from ivall/xcl. Originally posted by tugasky on 2026-11-25T00:23:37Z.
For the "crashes on the way into the world" line: #1968
#1968 is a
0xC0000005read at0x3e0, at 290.069 s, on the world-load path —XCL_TITLE_COMMIT_CAP_MB=32768, commit 22 481 MB at the time, so not at the cap, and no0x8007000Eanywhere in the log.stack_callersresolves the only code frame on the stack toxcl.exe+0x1aa2b6=hle::d3d12x::real::translated_mesh_stream(real.rs:4468), which is why it is filed separately from #846, #1164 and #1401: those are faults in the title's own code, and this one lands in XCL's streaming path.What makes it a blocker for the goal rather than one more crash is what follows it. The process does not exit: 125 threads stay alive, 0 ms of CPU over 0.8 s, commit frozen, and
XCL_RUN_SECONDS=300never fires — onlyStop-Processended it. So the same run is both "the load crashed" (290 s) and "loading forever" (the 20 minutes after), which is the shape a player reports.On the same machine a run with a 40 960 MB cap reached the world-loading artwork and ran to its 420 s timeout with 5 396 frames and no exception, so the input and the hardware are not the obstacle — but it is one occurrence, and the report says so: the same press path at 32 768 MB ended in a
0xC0000409(XCL's own allocation abort, since fixed) on one attempt and anE_OUTOFMEMORYassert on another. A second occurrence with the exception line symbolised (#1811 does that for thread dumps) would settle it.AI-assisted (Claude) under my review; numbers from my runs, no game data.
Imported from ivall/xcl. Originally posted by philip-roy-jones on 2026-11-25T01:31:21Z.
PR #2038 makes the retail title start on GPUs without conservative rasterization, such as the Radeon RX 580 (AMD Polaris).
The RX 580's driver refuses every pipeline that asks for conservative rasterization (
E_INVALIDARG). After the refusal, XCL's fallback passes the console shaders to the driver, andamdxc64.dllends the process with0xc0000409before the first frame. That happens onmain656c0e8with default settings. #2038 turns the flag off whereD3D12_OPTIONSreports no tier. With it, the RX 580 shows the menus at 30 fps (1,216 frames in a 60 s smoke run) with no refused pipeline. #303 guards the same crash path from the other side.AI use: Claude Code (Claude Opus 5.5) ran the tests and wrote this comment.
Imported from ivall/xcl. Originally posted by humsterbumster on 2026-11-25T05:10:49Z.
Status from a Linux/NVIDIA box against the "past world load" goal, because the shape changed this week.
Where the retail title stops now (RTX 5090, 32 GB, NVIDIA 620.73.04, Wine 11 / Proton 11, XCL
aa9ab8a, vkd3d-proton masterec20719= 3.2.0 + the two-hunk relaxed-vtable change,-Db_ndebug=true)0x80000003atgame+0x4da6315(417 s), exit rc=1 (564 s),0xc0000005with a poison pattern inraxatgame+0x4f28df1(377 s). Three runs, three different end points in the title, no device removal.err:vulkan:vkCreateComputePipelines Exception 0xc0000005 in Unix call, at 193, 200, 242, 256 and 331 s (five legs, including one withXCL_DIRECT_DXIL=0and one withWINEDEBUG=err+all). On 3.2.0 that line is gone from every log, so the #1269/#2003 class of stop is no longer what is blocking this box.What still looks wrong on the way in
XCL_PSO_WAIT_MS=500the skip counters fall from 61,978/90,508 (draws/dispatches skipped) to 2,048, and the screen is identically black.D3D12.X: Write64 Signal ... would close a GPU cycle (waiters=...) – signalled on CPUrepeats through the load on 3.2.0 and did not appear on 3.1.VKD3D_CONFIG=ignore_shared_fence,single_queuechanges nothing measurable here (same timing, same failure shape).So on this machine the world-load blocker is no longer shader compile time or the driver's pipeline creation; it is whatever the title trips over ~6 minutes into prestream once the queues go idle. Next step is to find which resource/state the title expects at that point rather than to tune compile concurrency.
AI-assisted (omp / DeepSeek V4.1 Flash 1017), nv-linux class. No game data attached.
Imported from ivall/xcl. Originally posted by humsterbumster on 2026-11-25T06:00:08Z.
Correction to a detail in my previous comment: the 3.2.0 legs are not black for the whole story phase. Re-running with the warm pipeline cache, the title shows its splash artwork while it prestreams (~190 s after the account picker, 3840x2160) and the window goes black only when the intro scenario itself starts. The "0-2 presents per 2 s" figure covers both phases, and the failure signatures (title failfast at ~415 s cold,
+0x23cf683null write at 246 s warm) are unaffected.AI-assisted (omp / DeepSeek V4.1 Flash 1017), nv-linux class.
Imported from ivall/xcl. Originally posted by Pipodi on 2026-11-25T08:12:02Z.
The
goal:world-loadlabel is missing on #2018 and #2025. Both say "Part of #1269" in the description, like #1448 and #1692 below them in the same stack, which have the label.AI use: Claude Code with Claude Opus 5.5 wrote this.
Imported from ivall/xcl. Originally posted by CharlyRien on 2026-11-25T08:59:57Z.
A request for the lists and labels above: #697 bears directly on this goal and is neither listed nor labelled
goal:world-load, and the same goes for the PRs the world's geometry depends on, #541, #2092 and #1803.Why: on an RTX 3090 the retail title's world stays empty (nothing rasterised, flat grey behind the HUD) because its GPU-driven culling and its mesh programs read their data from the GPU view of the title's 24 GB reservation, which translated shaders cannot read today – that is #697. With those buffers made readable (local copies) on top of #541 + #2092 + #1803, geometry reaches the depth target and the G-buffer: https://github.com/xcl-dev/xcl/issues/697#issuecomment-7155524209 . So "Streamed textures and pages" covers the texture half (#1031, #1055, #1102) but not the buffer half, which is what keeps the world empty.
Setup in short (the full block is in the linked comment):
main689f2db+ #1329 (+ #1326, #1327), #1448, #1323, #889, #684, #929, #640, #1850, #765, #1982, #1405, #1464, three allocator-lifetime commits fromwondercrash/xcl, then #541, #2092's3442b58state, #1887, #1803, plus local changes;XCL_UMA_SHADOW=1 XCL_HEAP_WINDOWS=1; RTX 3090 24 GB (driver 616.56), Windows 11 22631; one clean run and one partial run.AI use: Claude Code (Claude Fable 5.2 coordinating, Claude Opus 5.5 for the ports and the runs) did this and drafted the comment.
Imported from ivall/xcl. Originally posted by ozimchuk on 2026-11-25T09:21:41Z.
A proposal for this goal from a Linux box (Wine + vkd3d-proton, NVIDIA (32-lane waves)): the runtime's allocations go to mimalloc instead of the process heap. Measured past the world load, on a tree of candidate PRs.
What stops the title after its world load here
XCL_THREAD_DUMP_AT, frames resolved against the build's debug info): the title's render thread spent about 40 % of its samples inside XCL creating resources for the title (SRV creation →resource_at→create_placed_resource_x→xg::Texture::new), most of that waiting on the process heap's lock. Its submit thread waited there too (sparse::before_execute,ExecuteCommandLists), and so did about 15 DirectStorage workers, which allocate, zero and free their buffers for every request.The change (3 files, +26; branch
mimalloc-allocator,94cff5donmain568e7db):mimalloc(MIT,default-features = false) asxcl.exe's#[global_allocator]. The lock file gains onlymimallocandlibmimalloc-sys. mimalloc keeps per-thread heaps, so a thread's allocations and frees take no shared lock.Measured (300 s runs, the same settings each,
XCL_PSO_WAIT_MS=50) onmainc4d37bewith the open PRs #455, #929, #1278, #1102, #1055, #1044, #495, #549, #751, #684, #494, #1512, #1513 and some local changes:Corrected: an earlier version of this comment said there was no crash in these runs and gave per-second figures over 300 s. Two of the three runs with mimalloc ended early (at 191 s and 215 s):
vkAllocateMemoryfailed while the NVIDIA driver was out of system memory (NV_ERR_NO_MEMORYin the kernel log), and the process aborted. The third ran the full 300 s; so did both runs without it. This tree without mimalloc has met the same driver limit before, later (after 5.5–8 min). Whether mimalloc itself raises the memory use or the title only gets there sooner, I have not measured yet.Why not on
mainitself:main568e7dbcrashes here at the world load (80–89 s), with and without mimalloc. The title's XG copy into its memory (xg::copy_from,hle/xg.rs:713) writes to an unmapped page; #2057 at4df1e6edoes the same here. Up to that point the two runs look alike. The tree above gets past it, and I am looking for which of its changes does that.Not measured: Windows. Its process heap has a low-fragmentation front end for small blocks, so the gain there may be smaller; large blocks (DirectStorage's buffers, uploads) still map and unmap per allocation. A run on Windows,
mainagainst the branch, would settle it.If this direction is welcome, I would open it as a PR (Part of #1701, which reports ~0.5 fps under Proton), with the suite and the smoke runs.
AI-assisted. Claude Code, Claude Opus 5.5.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-25T14:39:17Z.
@ivall one decision, then the sources. The goal above is reached on some trees (README: the NVIDIA integration branch #2057 enters the 3D world at ~5 fps; 4 people saw world geometry on 11-24, and 5 more reached the world today with the HUD or minimap up but the picture grey, flat green or black), but what is left between "past world load" and "playable" has no list or label yet. Would you add a second group (or a
goal:in-worldlabel) for it? A proposal, every line with a source:1. PRs that clear a wall on the way in and only wait
copy_fromguard): 11 test reports; on Linuxmaincrashes incopy_fromat the world load every time, this PR gets past it (ozimchuk). Waits for itsPR descriptioncheck. Not in #2057.E_OUTOFMEMORY(#333). Waits for a rebase; not in #2057.2. In the world, what keeps it from being playable
#101(#1452, #675): NVIDIA traced by @throny on #1269 (not the video-memory budget, corrected; no Xid or TDR: the runtime or driver removes the device), AMD by @DTsordas (an immediate GPU fault after a compute fan-out, 7162607999), RDNA3/Linux by @lucsoft (TCP page faults, #505). Moving it: #1993 kept an RTX 3060 presenting ~30 s past the first#101against 2–4 s without it (Natakout, 2 runs against 6); #1798 on #2057 took an RTX 4090 into the opening titles (minimalhipster990).3. Linux / RADV (our runs, RX 7900 XT, Mesa 26.2.5, 24 GB RAM,
main1a0bbe3+ #871 + #684 + #1860, 300 s each): on the default HLSL → DXC path, the in-game driver compile of one compute program of ~1 MB of DXIL went past 16 GB of RAM and the kernel killed the game (2 of 2 runs at a 16–18 GB cap). WithXCL_DIRECT_DXIL=1(+ #1860, without which dxil-spirv's recursion of #1805 overflows the stack) the same giants build in 4–11 s and the game stays at 11–14 GB: 4 runs, no OOM, no device removal. The world load then stops like everyone else's: frames stop 2–4 s after the first#101, GPU waits on values no queue submitted, nothing compiling. Also: pipelines prebuilt withxcl shaders --precompile --pipelinesare refused in the first game run after it (181 and 368compute retry, accepted in the next run), so the tool's blobs do not match what the title asks for. Our runs predate #2080 (direct programs split into pieces, merged 13:36 UTC), which should cut those compiles further. On RDNA4 under Winemaindoes not start the title without #871 (St5sz2Jk).4. What the projects further along do (VIctory forks, GPL-3.0: ideas only, no code), not yet in @throny's table above: textures allocated only for the mip levels the title holds (
VICTORY_LEVELS_ON_DEMAND, −3.1 GB of VRAM on a 12 GB card, fxceless/victory-fork); writes through any address of a multi-mapped page invalidate the copies made through its other addresses (same, vs #2293); programs that stop the AMD driver's compiler or take it minutes and tens of GB are left out (victory-amd; XCL: #1665). Status there: "Not playable yet: 2.5 to 4 frames per second", shadowed areas black, ~24 GB of RAM in use (fork README; an RTX 5080 run in its #921); on Linux/RADV, Scarlight spends 457 ms of a 602 ms frame waiting on pipelines and recommends 32 GB.What ends the reported runs, wall by wall, with the PRs on each: https://greemsc.github.io/xcl-campaigns/walls.html
AI use: Claude Code (Claude Opus 5.5) read the issues, PRs and the other projects' READMEs and wrote this; the numbers are the linked authors' (section 3: our runs).
Imported from ivall/xcl. Originally posted by kole07139 on 2026-11-25T15:40:11Z.
@ozimchuk, the Windows run you asked for. On an RTX 3070 8 GB / Windows 11, mimalloc made no difference past the world load: 0.115–0.122 presents/s and 678–799 dispatches/s after 120 s, with and without it. This fits your note that Windows' process heap has a low-fragmentation front end.
Setup
main:main568e7dbstops at the world load on this machine.4df1e6e, which is568e7db+ the world-load fixes.94cff5dcherry-picked (it applies unchanged;Cargo.lock,Cargo.toml,main.rs).XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_WATCH_HOT=0 XCL_NETWORK=0 XCL_ACTIVITY=1, noXCL_UMA_SHADOW.Runs (
activity (2 s)averages)0x887a0006at ~220 s0x887a0006at 84 s, during the world load0x887a0006(one per arm) are the GPU hangs this tree shows here at 84–220 s from run to run (#1452), so I do not read either as the allocator's.Not measured
AI use: Claude Code (Claude Opus 5.5) built both trees, ran the four runs, counted the log lines and wrote this comment. I watched the runs and checked it before posting.
Imported from ivall/xcl. Originally posted by veyn-sudo on 2026-11-25T17:52:31Z.
#2403 (the 512 MB shader code heap of NVIDIA's driver, likely the silent
0x887a0005of #1452 and #505) bears on "GPU hangs, waits and device removal". Could it getgoal:world-load? There's a test to run on other cards.AI use: Claude Code (Claude Opus 5.5) wrote this.
Imported from ivall/xcl. Originally posted by NWProgramming00 on 2026-11-25T18:32:54Z.
#2385 (sampled textures go without their top mips while video memory fills up) says "Part of #1773", which is in the memory group above, but it has no
goal:world-loadlabel. Could it get one?AI use: Claude Code (Claude Opus 5.5) wrote this.
Imported from ivall/xcl. Originally posted by microwave805 on 2026-11-25T18:43:31Z.
Could #1842 (
Tests: cover Direct DXIL Module::optimize passes and GPU execution) and #1843 (Tests: check per-lane Direct DXIL wave, mask, and far-jump parity on GPU) get thegoal:world-loadlabel? Both directly cover #1269's direct DXIL optimizer (Module::optimize) and per-lane DXIL lowering (which currently have active #1269 PRs landing daily), and both are already verified across RTX 3070, RTX 5070 Ti, AMD RX 9070 XT (native wave64), and Intel Arc A770 — they were only auto-labelledoff-goalbecause their descriptions didn't mention#1269.AI use: Antigravity (Gemini 4 Neon) drafted this request.
Imported from ivall/xcl. Originally posted by ozimchuk on 2026-11-25T18:48:06Z.
@kole07139 thank you, that is the run I asked for, and done carefully (alternating arms on the same caches, the cherry-pick applying unchanged).
Reading it as you do: on Windows the allocator makes no difference there. Your card is held by the GPU past the world load (one frame every ~8 s), so the heap lock never gets to matter. The difference I measured is a Wine one: Wine's process heap serialises on one lock, which Windows' low-fragmentation heap does not. So the proposal narrows to Linux / Wine (Proton). Without a run on Windows where the frame rate past the world load is set by the CPU, I would not claim a gain there.
If that is still worth having in
main, it could be limited to where it helps (selected at start under Wine, the process heap elsewhere) rather than replacing the allocator for everyone. I would wait for a maintainer's view before opening anything.AI-assisted. Claude Code, Claude Opus 5.5.
Imported from ivall/xcl. Originally posted by razormontana on 2026-11-25T20:14:37Z.
I’m testing bounded input staging reuse for small file reads on the default sequential DirectStorage decode path. I’ll compare allocation counts and run synthetic tests with mixed read sizes and a failed read followed by a successful one, keeping the codec and parallel scheduling the same.
Assisted by OpenAI Codex (GPT-6.2 Sol).
Imported from ivall/xcl. Originally posted by razormontana on 2026-11-25T20:16:23Z.
I’m taking the split-compute scratch admission race when independent command lists allocate concurrently. I’ll reserve the allowance before calling D3D12, release it if allocation fails, and check the shared 384 MiB budget and minimum per recording in a deterministic test.
Assisted by OpenAI Codex (GPT-6.2 Astra).
Imported from ivall/xcl. Originally posted by akimfomin on 2026-11-25T21:36:04Z.
Correction and measured follow-up (26 Nov). The older lane-local shortcut above can return incorrect pixels with adjacent Wave32 carry destinations, including on an ordinary HLSL path in XCL. We retired timings for that shortcut and reported the minimal witness and focused HLSL fix. PortBridge implemented a separate opt-in direct-DXIL consumer projection that preserves all original wave operations and reads a proven bit of the same SSA value. On the open raylib scene, with #2501/#2503/#2557 applied to both arms, D3D12 draw time fell 16.9–17.6% and Vulkan draw time 19.2–19.6% on two cameras. In a separate cold ordinary-XCL-translation plus D3D12-render test, the first verified image arrived 99–120 ms earlier in three pairs. All pixels matched. One MiniEngine filter showed no consistent GPU win. One RTX, no title-level or AMD/Intel confirmation. Raw evidence and replay · Independent test.
Following up here on the serial graphics PSO workstream. PortBridge tested a direct-DXIL pixel optimization that shares a guard across reads with the same condition while preserving the inactive path and read order. On RTX 4070 Ti SUPER (617.14), a synthetic 224-group divergent-window shader went from 4,168.748 to 412.822 ms for cold PSO creation. The ready draw took 86.528 and 86.016 µs. Pixels matched the CPU reference. An opt-in prototype for four root-UAV windows went from 531.532 to 246.251 ms on a separate 96-group fixture.
Coverage was narrow. Across 72 open pixel entries passed through XCL for structural comparison, one changed with one heap window and none changed with four heap or four root windows. Different offsets can genuinely change window selection through address carry. XCL application startup, native instruction bytes and any effect on #2403 remain unmeasured. The source-only patches, data and bounded reproducer are in the PortBridge report.
If anyone is already profiling cold graphics PSOs, an aggregate affected-shader count from a permitted workload or a paired synthetic run on AMD or Intel would help. GPU, driver, tested revision and timing medians are enough. Please keep shader dumps, title assets and private logs local.
Codex assisted the implementation, tests and report. Exact model variant unavailable.
Update (2026-11-26). With #2446 scalar reload CSE enabled, the two read fusions added zero changes across 194 validated open pixel entries with four root windows. The combined address passes showed no consistent cold win on two heavy Khronos Mobile NeRF variants. The follow-up isolates a larger cost: XCL can lower a mask write to the current lane’s bit when the existing analysis certifies that no whole-mask reader can observe it. In a D3D12 pipeline-creation fixture on RTX 4070 Ti SUPER, the two variants took 1653 → 625 ms and 1748 → 629 ms across five pairs each. A separate synthetic derivative and coverage check passed at 2,048 edge pixels. The fixture does not draw the original scene. This is an offline experiment; divergent helper-lane reconvergence, compatibility with #2501, AMD replication and title smoke still gate runtime use. Pinned PortBridge source and measurements · Voluntary AMD check
Imported from ivall/xcl. Originally posted by razormontana on 2026-11-25T22:49:11Z.
I’m taking the runtime pipeline-cache case where a slow compile no longer reaches disk once the in-memory blob cache fills. I’ll keep the existing RAM limits and cache eligibility rules, then check that a late qualifying blob is available on the next run with a synthetic saturated-cache fixture.
Imported from ivall/xcl. Originally posted by razormontana on 2026-11-25T22:49:14Z.
I’ll implement the missing DirectStorage
IDStorageQueueX1::EnqueueSetEventcompletion marker. A title thread waiting on that event currently sees no notification from the queue. I’ll check FIFO wakeup and normal submission with synthetic reads on the default and parallel paths.Imported from ivall/xcl. Originally posted by CowboyBingus on 2026-11-25T23:04:33Z.
Progress on this goal, details in https://github.com/xcl-dev/xcl/issues/505#issuecomment-7177113953: on an RTX 5070 Ti (NVIDIA 621.24), @MacieGx's lab branch
f959495+ #684, with the #2403 shader code limit lifted by a local driver-specific diagnostic (@vinhed's reservation raise, not something formain), ran 720 s with no device removal in two runs, and showed the title's movement hint ("Move around" / "Move the camera"), in one run from 274.9 s on. On the earlier lab commitb72aa23with the same local commits, the runs without that diagnostic ended in0x887a0005(2 of 2); the runs with it were not removed (2 of 2), one of them ending in the title's own null write at 249.9 s after GPU queue-wait timeouts.Still open on that path: the picture around the hint is plain white and a garbled tile mosaic; 1.52 presents/s over the last 220 s of one run; GPU queue waits that time out after 5 s in some runs. Whether the title takes movement input there is being tested now.
AI use: Claude Code (Claude Opus 5.5) ran this and wrote it.
Human edit:
As a tl;dr, XCL is now officially in-game with this title on Windows Nvidia with working controls.
Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-25T23:10:49Z.
#2508 (Pipeline Rebuild) bears on "Shader and pipeline compile time" above. It proposes how to restructure PSO preparation: one deduplicated job per pipeline, separately bounded translation / DXC / driver workers, trace-derived prewarming, and stall attribution first. It also covers fence-owned visibility for mirrors, sync cells and copyback. It is not listed here and has no
goal:world-loadlabel. As a result #2555 (xcl run: prepare shaders in the game window before title execution), which says "Part of #2508", has no label either. Could both get it? Or, if compile-time work should stay in #2088, could #2508 point there?AI use: Claude Code (Claude Opus 5.5) wrote this.
Imported from ivall/xcl. Originally posted by MacieGx on 2026-11-26T00:12:49Z.
Progress on this goal, details in https://github.com/xcl-dev/xcl/issues/505#issuecomment-7178514700: on an RTX 5080 16 GB with 32 GB RAM (NVIDIA 621.24), my lab branch got through the first cutscene and the prison to gameplay (movement hint, player control): 520 s, 6.3 min of world, no removal or stall. Two findings that bear on the issues above:
indirect_diffuse_lighting:CS_FinalGatherasks for ~115,200 groups in x on every ExecuteIndirect call; #1795's clamp cuts it to 65,535, so ~43 % of the pixels get no indirect diffuse light.The picture is still over-exposed, so this is not a working world yet.
AI use: Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by philip-roy-jones on 2026-11-26T00:38:15Z.
Update: I closed #2589. #2038 makes the same change on main, and amd-dev takes in main regularly.
#2589 ports #2038 to amd-dev. On a GPU without conservative rasterization (tier 0 on my RX 580), XCL now turns it off in the pipelines it makes instead of passing it through, so the driver builds them. On amd-dev the retail title's first such pipeline was refused in every form, and the process ended in AMD's shader compiler about 5 s later. It stays a draft until the RX 580 runs are in.
AI use: Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-26T01:10:29Z.
Graphics prewarm parity on
mainatb49be18.Verified: The folder/pack precompiler’s VS and PS jobs emit HLSL and call
dxc::compile_cacheddirectly. The runtime goes throughconsole_to_dxil_for, which attempts direct VS/PS lowering whenXCL_DIRECT_DXIL=all. The offline pass does not populate those direct translation entries. There is a second difference on the HLSL path. Offline per-stage options use the default static-sampler base. Runtime VS+PS passes the number of VS static samplers as the PS base. A PS that emits static samplers can therefore produce different HLSL with its actual VS partner, even if the standalone PS precompile succeeded. Offline graphics loop · Runtime VS and PS calls · Backend selectionA plausible source of residual translation or DXC work after warming is therefore a mismatch in the shader variant. This is separate from the offline tool’s compute-only native PSO output. Test the same graphics descriptor in fresh processes, starting from an empty DXIL cache, with the offline pass enabled and disabled. Log direct translation hits and the PS sampler base and HLSL cache key separately from the native create time. The frequency of affected pairs and the cost remain unmeasured.
AI use was OpenAI Codex (GPT-6, exact serving variant unavailable) for static review and drafting.
Imported from ivall/xcl. Originally posted by iggyvilla on 2026-11-26T02:15:09Z.
Got past the black screen to intro credits, on
mainalone + small PRsPinging @ivall, hopefully this information is useful.
Update from an RX 6650 XT (RDNA2, 8 GB), Ryzen 7 5700X, 32 GB RAM + 64 GB page file, Windows 11. What stops the retail title at world load on
main, what gets it past the black screen, and what we measured after that. All runs:XCL_NETWORK=0, 360 s walks from the same save, run back to back on one machine.1. What stops it on
mainmainstops presenting at 126–150 s and draws nothing after that (window black,0 FPS, process alive, no crash). Seen on55d64c2(126/142 s) and on08db802with #2118 (144/150 s). #2581 reports the same on an RTX 3050 (136 s, default settings).95cc13288a27a96e(2.4 MB DXIL). The AMD driver compiled it from 124 s until the run ended at 590 s and never finished. #2301's compact form (3.9 MB → 1.3 MB) did not finish on this card either (>230 s).XCL_PSO_WAIT_MSunset the wait is still unbounded, so the stop only moved by about 10 s.2. Past the black screen: #2615 + #2598 + #751
ExecuteIndirectrace that #2615 makes reachable by default. It is a small, separate PR.08db802. Two screenshots from the harness are below (from an earlier walk:main8a3f912with #2615's first form and #751). They are low resolution because the walk script captures them only to check that the title is still running.3. What limits it after that (measured with #2615 + #751)
08db802.XCL_PSO_PRELOADandXCL_HUGE_PSO_CONCURRENCY=3did not help here. Preload builds the ~1,545 known sets in 4 s. In 4 alternating walks, neither preload nor 3 slots changed presents (median 6–9 per 10 s) or total builds.CreateHeap … 0x8007000eand/orClose → 0x8007000e, then the title's ownint3. This is not the 85 GB commit limit; commit was only 66–74 GB.4. A GPU hang in #2118's put-off path
08db802, andmainitself withXCL_PSO_WAIT_MS=1. The device was removed (0x887a0007) at 175–222 s in 4 of 4 such walks.page fault at GPU VA 0x0; allocations there: [].5. What we would look at next
xcl shaders … --precompile --only cs --pipelines --used-only, withXCL_DIRECT_DXIL=1). We have not run it on RDNA2 yet; that is our next measurement. Also splitting the big programs (#2097) and keeping split programs' whole builds off the title thread (#2404;amd-devalready does this).XCL_TEXTURE_LEVEL_PAGES=1and the VRAM mirroring in #1773 are the obvious levers. We have not measured them yet.amd-devsolves the unbounded wait differently, with a 12 s per-frame window (XCL_PSO_FRAME_BUDGET_MS). #2615 is formain. On a merge intoamd-dev,amd-dev'spso_async.rsshould win.6. What others report (collected from issue threads; not reproduced by us)
main50a9fde+ a PR stack. As far as we found, this is the only frame posted from inside the world.Game State: Game Runningfor 5 min, intro mission streaming. Others hit the same fault at the start of the opening sequence.amd-dev):Game Runningfor ~2 min at 18–27 FPS, then0xc0000005.+0x23cf683self-kill NOPed.AI use: I directed the work and checked the result. Claude Code (Claude Opus 5.5, "coordinator") ran the agents and the interactive-session runs, read the diffs, and wrote this comment from the agents' notes, checking each number against them. Claude Code (Claude Opus 5.5) wrote #2615 and #2598 with their tests and did the hang and log analysis. Claude Code (Claude Sonnet 5.5) ran the suites, smoke runs and walks and analysed them. Muse Spark 1.3 agents did duplicate checks, throughput analysis from the logs, diff reviews, and collected the reports in section 6 from issue threads (images not downloaded). The screenshots are unedited captures from the walk harness, cropped to the game window.
Imported from ivall/xcl. Originally posted by lukastaro on 2026-11-26T02:28:03Z.
#2618 bears on frame time on Intel CPUs: the title paces its frames with
monitorx/mwaitx, which an Intel CPU lacks, soehemulated every one of them as an illegal-instruction exception. #2618 rewrites each site in place at its first fault (asclwbalready is). On an i7-14700K + RTX 5060 Ti (Windows 10), same build and settings with and without it, one run each: 1.24 → 2–3.5 presents/s in the world.AI use: Claude Code (Claude Opus 5.5) wrote this.
Imported from ivall/xcl. Originally posted by KOLESNiii on 2026-11-26T09:14:40Z.
Comparison with the public
DoubleGhosty/cool_foxmirror atf4b48ad, focused on reaching the world. It records reconstructable PSO recipes, including graphics state and stage/container references. Its opt-inwarm --usedreplays previously requested recipes in short-lived worker processes and relies on the driver's implicit cache. XCL already has shader-key history and a native blob store. The transferable improvement is to make observed graphics pairs and whole/split roles reconstructable for warming, using XCL's existing store. A persistent "bad" list needs driver-scoped outcomes and an explicit retry policy. Recipe capture · Replay · Worker policyThe frame-rate reports cover different profiles. The RX 7900 XTX Series X boat scene is reported at roughly 19–22 FPS. The RTX 5090 Series S residency comparison reports directional medians of 64.2 to 54.8 ms across sampled high-draw title-bar intervals. The source also has parallel command-list translation, asynchronous submission preparation, demand-loaded texture levels, and pressure gates for speculative uploads. The RTX comparison used warm caches. The published settings and runs have approximate lighting or known rendering and descriptor limitations. These are useful follow-ups after a textured world frame. AMD measured breakdown · RTX comparison · RTX launcher
For loading, the XCL experiments already point to graphics DXIL warming and selective warming of the whole forms still needed at submit. Keep the texture-upload publication and GPU-to-CPU visibility checks as separate gates when the first world frames are blank or wrong. Start with a matched save/profile and report time to the first textured world frame together with skipped draws/dispatches and driver errors. Related to #2088, #2404, #2551, #2600, #2613 and #2688.
AI use was OpenAI Codex (GPT-6, exact serving variant unavailable) for source comparison and drafting.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-26T10:39:12Z.
Additions to @throny's (#505) and @KOLESNiii's (above) notes on the VIctory family: five mechanisms in the
DoubleGhosty/cool_foxmirror atf4b48adthat neither covers, each mapped to the open XCL thread it bears on. Ideas in plain words only: VIctory is GPL-3.0, nothing from it can be ported, and nothing below is its code. Read from the sources; links point at the lines.queue.rsvalue_met,host.rslate_met_known). XCL'stry_gpu_waitarms a GPU wait as soon as the producingWrite64is recorded, which is theprod=qNone/ wait-before-signal line in #1452 and #2719.VICTORY_SHOW_AFTER=1); their note: all three device losses whose report had the address were page faults in a texture made and shown in the previous tenth of a second, and turning it on ended a loss about every 16 minutes, "likely fixed, not proven" (descriptor/host.rs,docs/findings.md).resource.rslet_go_idle). The release waits for in-flight submissions plus a lag of 16–64 submissions, added after device losses from freed memory (host.rsretire). Relevant to @joeypercia's eviction ofresource_at'sMADEmap on #2743. The padding twins there (bytes 0x04..0x08 of the key) came from the same source.victory-shader/src/io.rs,pipeline/host.rs). The two-pass path's cost was reported on #541.host/awake.rs). Off by default there; cheap to try on any XCL tree.Not checked: whether these hold on XCL's architecture (XCL writes PC descriptors when the title writes its own, so 2 and 3 do not map one to one), and none was run here. A wider read-only review of the walls, with our Linux / AMD numbers, is in #2743, #2615, #2127 and #846.
AI use: Claude Code (Claude Opus 5.5) read the sources with read-only agents, checked each link and wrote this.
Imported from ivall/xcl. Originally posted by MacieGx on 2026-11-26T12:14:21Z.
Our PRs #1385, #2229, #2246, #2513 and #2753 (the first contributions from this fork) have their
CIruns waiting for workflow approval (action_required), so the requiredBuild and test (Windows, no GPU)check never ran on them. Could a maintainer approve the runs? Each PR has the full suite and both regression runs in its description, and several have independent test reports from other contributors (NVIDIA and AMD).AI use: Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by JJAutoCompare on 2026-11-26T23:20:00Z.
Arc A770 world-load preflight on
mainTested: Clean
8b957bec6f82495aec940944c6bf47faa02db590, Windows 11 build 26200, Ryzen 7 3800X, Intel Arc A770 16 GB (32.0.101.9175), Rust 1.100.0 MSVC, release. Built withcargo build --locked --release -p xcl. Repeatedscripts/smoke.ps1 -Game <mapped SMB title folder> -Seconds 30 -StartupTimeoutSeconds 60with isolated local XCL data and network features off. The wrapper stopped with “XCL printed no log path”. A directxcl run <same folder>replay reproducedCreateProcessW: error 267before the guest started. This is the mapped-drive path case already covered by #579. The directory also had zero top-level executables, so fixing UNC resolution alone would be insufficient for this fixture. #961 tracks the separate network-root write overlay.Not tested: Guest startup, menu, world load, controller input, PSO timing and memory. There was no interactive Windows session. This run cannot establish an Arc rendering or performance blocker.
AI use: T3 Code / Codex (
gpt-6.2-sol) ran the preflight, repeated the launch, and wrote this report.Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-26T23:31:36Z.
Two PRs that name a labelled issue and have no
goal:world-loadlabel: #2443 and #2499. Both say "Part of #1452" in the description.AI use: Claude Code with Claude Fable 5.2 checked the labels and wrote this; I checked it.
Imported from ivall/xcl. Originally posted by afpruivo on 2026-11-27T15:03:07Z.
RTX 3090 24 GB: open PRs only (#2938 + #609), the retail title gets past world load into its first playable section about 3 minutes into the title, and in 4 of 8 runs stayed in it to the end of a 900 s run at 7–9 fps. The other 4 ended on the way in, intermittently (below). Not new that play can be reached (@MacieGx's 5080 and others above); what this adds is an Ampere card, a recipe from public PR heads, and how often it holds.
Setup
title: 3c290c16.xcl.exein a 2 GiB shader-heap profile (#2590).0567c713(it stacks #2844, #2926, #2936, #2937 and #2934 onmain8b957bec) + #609, merged locally; in some runs also #222998a629a3and/or #2753e07d03bf.XCL_DIRECT_DXIL=1 XCL_UMA_DRIVER=mixed:1536:1792 XCL_WATCH_TRAP=1 XCL_DECLARED_LDS=1 XCL_BYTE_STORE_CS=e166372fa54a77c7 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PRESS_HOLD=3.5 XCL_PRESS_A_AT=20,24,...(A every 4 s, held 3.5 s: tapped presses do not get past the credits), warm caches.What happens
XCL_FRAME_DUMP=10in one run: from ~180 s to the end the frames are the game's flat grey picture (#2229 is what fixes that) with the on-screen movement hints of the first playable section. The other runs show the same counts at the same times, but I only have frames from that one.+0x23cf683null write (#675) at 272–420 s, after presents fell to 0.1–0.4 fps and 219–248queue.Wait5 s timeouts from ~180 s0x80000003at+0x4da6315(#2140) at 143 s, during the load+0x23cf683ends as #2753's and posted that on #2753, then a rerun flipped both arms; corrected there. One run per arm is too few here.Not tested: more runs per tree; the 1 GiB heap; other cards; a colour picture (#2229 + #2753 together reached play only in runs that crashed).
AI use: Claude Code (Claude Opus 5.5) ran the runs, read the logs and frames and drafted this; checked by me before posting.
Imported from ivall/xcl. Originally posted by oni-swr on 2026-11-27T16:10:04Z.
RX 7800 XT (RDNA3, AMD): open PR heads on
main(#2938 + #609, afpruivo's recipe) do not get past ~90 s here: presents stop at 90-92 s in 2 of 2 runs.RX 7800 XT 16 GB, driver 32.0.31035.1003, Ryzen 7 5700X3D, 64 GB RAM, Windows 11 build 26200, release builds. Tree:
mainf9a0cb80+ #2938a76cc3e6+ #6091178e8a3, merged locally; the #2938 merge conflicted inuma_driver.rs(groom_withagainstmain's newergroom) and I keptmain's len-based defaults as thegroomarguments, so this is not exactly the PR head.Switches:
XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_RT_GATE=miss XCL_PREPARE=0 XCL_DIRECT_DXIL=1 XCL_UMA_DRIVER=mixed:1536:1792 XCL_WATCH_TRAP=1 XCL_DECLARED_LDS=1 XCL_TEXTURE_LEVEL_PAGES=1 XCL_PRESS_HOLD=3.5 XCL_PRESS_A_AT=20,24,28,...(A every 4 s, held 3.5 s). Left out:XCL_BYTE_STORE_CS=<hash>(a record hash from another title build, and an experimental switch). Warm global AMD driver cache, each run on an emptyXCL_DXIL_CACHE,XCL_RUN_SECONDS=600.The mixed window was created (
0x0+1536MB CUSTOM, write-watched, 0x60000000+1792MB GPU_UPLOAD, so Resizable BAR is on here). On this card the stop is the same one as on plain amd-dev (last present 94-104 s in my runs on7c795f5e, #2996), and the two runs differ a lot in how many split programs they had built by 600 s. So #2938 and #609 do not remove the RDNA3 world-load stop; I cannot say whether they change anything past it.Not tested: more than two runs, a cold AMD driver cache, the exact #2938 head (conflict above), the NVIDIA-only parts of the recipe.
AI use: Claude Code (Claude Sonnet 5.5) built, ran and drafted this. Aggregate numbers only.
Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-27T16:26:51Z.
RTX 3060 12 GB, NVIDIA: the recipe from #1833 (#2938 + #609 on
main) on a 12 GB card. Local video memory reaches 16.1 GB, the title stops presenting at ~990 s, then it ends with a null write at ~1018 s.Tree:
main+ #2938a76cc3e6+ #6091178e8a3, merged locally (64e09feb). Release build. Switches:XCL_DIRECT_DXIL=1 XCL_UMA_DRIVER=mixed:1536:1792 XCL_WATCH_TRAP=1 XCL_DECLARED_LDS=1 XCL_BYTE_STORE_CS=e166372fa54a77c7 XCL_TEXTURE_LEVEL_PAGES=1 XCL_ACTIVITY=1. A was pressed every 4 s. Warm caches, one run.0xc0000005in its own code, a write at address 0x0. There were no device removals and noDXGI_ERROR.So on a 12 GB card, local video memory alone goes about 4 GB over what the card has before the load finishes. #3025 and #3037 look aimed at this, and I can run them on this card next if that helps.
RTX 3060 12 GB (driver 581.80), i9-14900KF, 64 GB RAM, Windows 11 26200.
AI use: Claude Code (Claude Opus 5.5) ran the build and the runs and wrote this report.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-27T18:07:02Z.
RTX 5090 32 GB, afpruivo's recipe (#2938
0567c713+ #609) but without a shader-heap profile and without a cache that was already warm: no playable section in 2 runs. Each run got one cold-compile wall further, and both ended in0x887a0005inside a wall. It complements @afpruivo's 3090 result (above) and points at the two things we lacked.Setup: RTX 5090, driver 621.24, Ryzen 7 9800X3D, Windows 11, release. Their env as posted (
XCL_DIRECT_DXIL=1 XCL_UMA_DRIVER=mixed:1536:1792 XCL_WATCH_TRAP=1 XCL_DECLARED_LDS=1 XCL_BYTE_STORE_CS=e166372fa54a77c7 XCL_TEXTURE_LEVEL_PAGES=1,XCL_PRESS_HOLD=3.5, A every 4 s from 20 s), plusXCL_COHERENT_MB=4095. A data folder in which the terms had already been accepted. 900 s. No 2 GiB heap profile.0x887a0005at ~702 s of title time, inside the wall0x887a0005at ~224 s of title time, inside the new wallNot tested: the 2 GiB heap profile; a cache warmed by several chained runs; whether #2229 changes the walls.
AI use: Claude Code (Claude Opus 5.5) ran both runs and read the logs (t12) and wrote this comment; Gemini (Antigravity) copied the recipe and reviewed #609 for safety.
Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-27T18:13:06Z.
Correction to my 12 GB report above: I read the stop in presents as video memory running out, and that is probably wrong. On
main6089122a, the stop at ~188 s comes from a title thread compiling 28 huge graphics pipelines one after another (4–7 s each,driver blob absent). The same build run again, with those driver blobs on disk, presents to the end of its 300 s, with local video memory still about 6 GB over the card (details on #2595). The local and non-local numbers above still hold. I haven't checked whether the stop at ~990 s and the null write in that run have the same cause.AI use: Claude Code (Claude Opus 5.5) wrote this correction from its own runs.
Imported from ivall/xcl. Originally posted by tiagonleal on 2026-11-27T20:33:45Z.
RTX 5070 Ti 16 GB: @afpruivo's recipe (#2938 + #609) reached play in 2 of 2 runs here, at a median of 9 fps, but only with a local working-set cap; without it this 32 GB machine runs out of RAM about 20 s into the title.
Setup
a76cc3e6plus #609 head1178e8a3, merged locallyWhat happens with the cap
Update, same evening: #2229 and #2753 on top (same cap, same env)
+0x23cf683null write (#675) at 390 s and 479 s, after presents fell to 0 and 217 and 263queue.Waittimeouts+0x23cf683write at 439 s after 267 timeouts, the RAM guard ended the other two at 181 s and 328 sUpdate 2: four more runs of the base tree (#2938 + #609, cap 16 GB), driver cache now warm (11 cold compiles each)
+0x162fc8Not tested
xcl.exehas here: not verifiedAI use: Claude Code (Claude Fable 5.2 with Claude Sonnet 5.5 subagents) ran the runs, read the logs and drafted this.
Imported from ivall/xcl. Originally posted by Anon64 on 2026-11-27T22:01:24Z.
RTX 3060 12 GB: past the load stall for the first time on this card, at about 1.6 fps and about 2 100 draws per present, with #3039 + #2975 and
XCL_HUGE_PSO_CONCURRENCY=4.Tree: #3039 head
7cce7d3d(onnvidia-dev) + #2975 head4e52050c, merged locally, release. Env:XCL_TEXTURE_LEVEL_PAGES=1 XCL_TEXTURE_SYSMEM=1 XCL_DIRECT_DXIL=1 XCL_HUGE_PSO_CONCURRENCY=4 XCL_ACTIVITY=1 XCL_NETWORK=0, 8 preparation threads. A pressed every 4 s. 900 s, after three earlier runs of the same tree had filled the DXIL and driver-blob caches.What each piece did on this card (one run per step):
XCL_TEXTURE_SYSMEM=1): peak local video memory stays at 10–12 GB, against 16.8–19 GB without it (numbers on #3039). Without it, video memory is about 5 GB past the card.XCL_HUGE_PSO_CONCURRENCY=4: after the stop at ~128 s, the title waits on a queue of huge compute pipelines (1.1–1.4 MB DXIL, ~18 s each), built one at a time at the default 1. Each earlier run only reached part of that queue before 900 s. With 4 at once, the draws come back at ~480 s.The run, first frame at ~46 s:
ERRORlines. Exit 0x0 at the timer.Edit: second run, same tree and env but
XCL_HUGE_PSO_CONCURRENCY=8andXCL_FRAME_DUMP=100: draws come back at ~240 s, against ~480 s with 4. From ~420 s to the timer it holds ~110 presents a minute (~1.8 fps) at ~2 100 draws per present. 2 752 frames, peak commit 39 180 MB, local 12 308 MB, non-local 9 696 MB, exit 0x0, no device removals or crashes.The frame dumps show where it is. Before the stall, the dumped frames have a full picture (mean brightness 37–138 of 255). From the first dump after the stall to the end, every frame is black except the title's in-play UI: a controls hint drawn over a black scene. So on this card the title reaches play, and the UI is composited, but the 3D scene comes out black, close to the flat grey picture described above. That looks like the next thing to fix, and it's separate from memory. The machine has 64 GB of RAM, so this says nothing about 16 or 32 GB machines.
RTX 3060 12 GB (driver 581.80), i9-14900KF, 64 GB RAM, Windows 11 26200.
AI use: Claude Code (Claude Opus 5.5) built the tree, ran the title, read the logs and wrote this report.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-27T23:47:13Z.
RTX 5090: the retail title reaches its first playable section (the movement hints "Move around / Move the camera" are on screen) in 2 of 2 runs, with no device removal, once the shader heap is raised to 2 GiB and the graphics compile wall is prepared away. The world is mostly black (one flat grey letterboxed frame). It runs at about 1.2 fps, and both runs ended near the system commit limit.
Recipe (everything from public PR heads):
nvidia-dev-based #2829e2b2eaf2, plus only #758's journal code, plus the first-winsscale_indirect_pipelinefix from #2952 entry 6.stage.pyand prepared offline with--prepare-corpus(all 58,750 recipes). That's the route in #2088 7220952941.0x001ABC0F, as in #2403 / #2590).XCL_DIRECT_DXIL=1 XCL_HEAP_WINDOWS=1 XCL_COHERENT_MB=4095, #2829's preparation on. A held every 4 s (3.5 s holds) from the first frame, in a data folder where the terms were already accepted. RTX 5090 32 GB, driver 621.24, Ryzen 7 9800X3D, Windows 11.0xc0000005reading0x1in the title, two threads at oncestd::out_of_range, then0x800000030x887a0005) 7-75 s into the world (#2088 above). With it, there was no removal in either run.So roughly 18 GB looks committed by the driver or kernel on the title's behalf.Corrected: the gap between system commit and the process is a flat ~30 GB from the first second of the title (when local VRAM was 0.5 GB) to the end. It is the rest of this machine: other processes' private memory (~20.7 GB across ~460 processes in a live snapshot), OS shared memory (~5.3 GB) and kernel pools (~3.6 GB). It isn't driver commit for the title. XCL's own DEFAULT-heap VRAM counts one for one in its own commit, which is why the process reached ~43 GB. This machine's page file is small (11.3 GB, a 74.4 GB limit), and both ends came with about 1-2 GB of headroom left, which fits an allocation failing (the read of0x1).Not tested: a larger commit limit (page file); other GPUs; whether the ~18 GB of non-process commit is the driver's residency or something XCL could release.
AI use: Claude Code (Claude Opus 5.5) ran both runs and read the logs and frames (t12) and wrote this comment; Gemini (Antigravity) and Codex (GPT-6.2-Sol) built parts of the recipe.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-28T22:16:09Z.
Two design questions from an RTX 5090, before we build further on them. The aim is a long-term direction, so we don't polish structures that will have to change, and so it holds for low-end PCs and AMD as well. (Mesh shading is not one of them any more: native mesh is C4 on #3011, and we've claimed it there.)
What we measured (RTX 5090 32 GB, 621.24, the retail title in the world with 16 view windows and mixed UMA, a local line on
mainwith #3179, #3192 and #3094; one run per figure, so read them as orders of magnitude):real.rsdev_create_committed_resource_layout_x) receivescastableandformatsand drops them.The questions
RelaxedFormatCastingSupportedand per-format support; the copy stays where a device or a pair says no) as the direction for these views, in place of growing the copy path?The cast-list proof, done (edit): a GPU test on an RTX 5090 (621.24, D3D12 debug layer on) creates ONE 256x256 texture with the cast list
[R32_UINT, R9G9B9E5_SHAREDEXP], writes it through an R32_UINT UAV and reads it through an R9G9B9E5 SRV:RelaxedFormatCastingSupportedtrue; all 65,536 texels bit-exact against a CPU decode on the committed route (CreateCommittedResource3) and on the reserved one xcl uses (CreateReservedResource2,64KB_UNDEFINED_SWIZZLE, tiles mapped on a second queue); 0 debug-layer messages; no device removal. Not yet tested: in the title, AMD, Intel. We'd rather hear "not that way" now than after a large PR.Comments from anyone are welcome, not only the maintainers. We honestly don't know which way the project wants to go on these, and we'd rather not spend days building something that will have to be redone. If you've tried one of these directions, or know why it won't work, please say so.
AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.
Imported from ivall/xcl. Originally posted by CharlyRien on 2026-11-29T16:39:21Z.
In the world: #3089 (+ #3290) fixes two rendering defects on the retail title
Tested in game on RTX 3090 (stack and numbers in the test report on #3089: https://github.com/xcl-dev/xcl/pull/3089#issuecomment-7258980638):
XCL_DEPTH_UAV_TWIN=1fixes the 128-px light squares of the tiled lighting (3 → 0 at the same pose), and a half-black window view that came from the same lighting pass (black in 1 of 27 frames at that pose, against 72 of 72 without #3089).Neither PR has the
goal:world-loadlabel. They do not help reach the world, but they fix what the title draws once it is there. Could they be looked at, or labelled so they are not closed as stale?AI use: found and written with Claude Code (Claude Opus 5.5), checked and posted by me.
Imported from ivall/xcl. Originally posted by CharlyRien on 2026-11-29T19:58:10Z.
Correction to my comment above: #3089 fixes the light squares, but not the half-black window. The clean window in my first run did not reproduce without the dump switches. Details in the correction on #3089.
AI use: found and written with Claude Code (Claude Opus 5.5), checked and posted by me.
Imported from ivall/xcl. Originally posted by KDenKC on 2026-11-30T01:37:06Z.
Memory plan (commit ceiling and VRAM budget)
On our RTX 5090 32 GB (16 windows,
XCL_UMA_DRIVER=mixed:1536:1792), between two of our runs on the same route, without and withXCL_TEXTURE_LEVEL_PAGES=1(other stack changes between them too, so not a clean A/B), the run with it hadtarget pageslower by 4,349 MB (9,704 -> 5,355 MB), local VRAM by 4,686 MB (18,627 -> 13,941 MB), andD3D12 heapscommit by 4,716 MB (17,813 -> 13,097 MB). On AMD (#505, RX 7900 XT), crosettiremi hit allocation failure at a 28 GiB job limit and device removal at a 30 GiB limit (peak 30,841 MiB), and 16 GB NVIDIA runs sit 3.5–7 GB over VRAM budget.With
XCL_TEXTURE_LEVEL_PAGES=1measured,commit otheris now the #1 bottleneck: 15,372 MB (44.4%) steady-state and 25,481 MB (58.0% of 43,962 MB peak) during the compile wall. Two distinct compiler behaviors show up in the trace:1,150–1,350 s, 4 huge>=256 KBactive): finishing a single 1,059 KB compute compile droppedcommit otherby 1,091 MB (12,933 -> 11,842 MB), matchingreal.rs's ~1 GB per huge compile — keepingXCL_HUGE_PSO_CONCURRENCY=1(main's default) caps this wave on 32 GB machines.+10,668 MBspike (2,142–2,532 s,33,294 -> 43,962 MB, draining-10,398 MBby2,579.5 s): only 1>=256 KBcompile (ungated title thread) + 1<256 KBslow compile overlapped, and the drain completed before those compiles returned — so our guess (not confirmed) is the driver compiler's own memory and/or backgroundtranslate-ahead(52,298 -> 53,554DXIL/DXC jobs) rather thanXCL_HUGE_PSO_CONCURRENCYalone.What we are taking next:
#3026(XCL_RT_LEAVE_OUT, targeting the huge RT compute compiles),#2385(top-mip omit under VRAM pressure for 16 GB cards),#3047(drop retained whole DXIL on split compute), and#3158(pipeline_libraryno-copy load) — and post per-PR commit/VRAM GB numbers on the same 5090 route withXCL_HUGE_PSO_CONCURRENCY=1.commit otherand 2.6 GBVRAM otherbuckets inmemory_report.rs(two-pass buffers —745 MiBalive here — split scratch, upload/readback staging, translate-ahead / retained DXIL,pipeline_library, and titleVirtualAlloc/kernelxoverflow past the coherent window) so the next cuts target measured owners.What we leave to existing owners:
#3211deferred physical homes (#1916/#3123), section aliasing (#2307/#3074/#3075),#3395(XCL_LAZY_TARGETS=1),#3098(top-mip eviction),#3156(SetResidencyPriority),#3304(XCL_RAM_MBworking-set cap), and the#3011per-buffer redesigns.@Kalmarv — do you have any commit, VRAM-budget, or
memory_report.rswork in flight that we should avoid overlapping?Related:
#1833,#1773,#505,#2743,#3026,#2385,#3047,#3158,#3304,#3395,#3098,#3211,#3011.AI use: an agent swarm: Claude Opus 5.5, Claude Sonnet 5.5, GPT-6.2-Sol, Gemini 4 Neon and Gemini 3.8 Flash.