Memory: cover overflow MEM_GRAPHICS reservations in trailing view windows #3653
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3653"
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 Kalmarv on 2026-12-02T03:51:40Z.
In the 16-window UMA layout (4 sparse + 1..2 coherent + 6 primary GPU-view = 11..12 windows), the trailing 4..5 windows (windows
12..16= 16 GiB with 2 coherent windows, or windows11..16= 20 GiB with 1 coherent window) remained unusedWindowKind::Nonewhile overflowMEM_GRAPHICSand GPU-visible fallback reservations fell out to plain Windows memory outside UMA. Translated shaders drop reads and writes pastxcl_w >= 16, leaving GPU-side buffers in those overflow reservations unreadable.Notes on scope and trade-offs:
MEM_GRAPHICS/ GPU-visible fallback reservations that spill past the sparse and coherent windows.XCL_MIRROR_MBbudget: Self-backed tiles mapped in trailing view windows (including uncommitted GPU-only tiles,h == 0xFFFF, charged fullPAGES_PER_TILEagainstfill_later's per-submit page budget) draw video memory from the sameXCL_MIRROR_MB(default 4096 MiB) pool shared with the 24 GiB GPU view. Large whole-range asks against a multi-GiB overflow reservation can still compete with GPU-view tiles across submits untilXCL_MIRROR_MBis raised or budgeted separately.#3517switch-fallback window-4 cutoff: Moving 16-window coherent memory from window 3 to window 4 (SIXTEEN_WINDOW_SPARSE_WINDOWS = 4in #3517) leaves#156with_switch_fallback(MAX_WINDOWS = 4, root UAVs0..3) unable to address coherent memory in window 4 if a pipeline falls back to switch form on the 16-window layout; this belongs to #3517's 4-sparse-window layout and is unchanged here.What is in it
crates/xcl/src/gpu/uma.rs: Reserve the trailing 16-window view windows past the 6 primary GPU-view windows asMEM_RESERVE | MEM_WRITE_WATCH(PAGE_READWRITE) and addUma::view_reserve_graphicsandUma::graphics_view_windows. Keep the 6 primary GPU-view windows (VIEW_WINDOWS) isolated for 24 GiB GPU views and reject any single reservation of at least the full trailing pool ((hi - lo) * WINDOW, e.g. 16 GiB with 2 coherent windows or 20 GiB with 1).crates/xcl/src/hle/kernelx.rs: Route overflowMEM_GRAPHICSand non-GPU-view, non-CPU-viewgpu_visible_fallbackreservations into the trailing write-watched view windows viareserve_in_view_graphicswithout registeringMEM_GRAPHICSreservations as unpaired CPU views inmirrors; addmirrors::is_cpu_view_reservationso pureMEM_64K_PAGESreserve-only CPU views (both 16 GiB Series S / Lockhart and 24 GiB Series X, withoutMEM_GRAPHICSorPAGE_GRAPHICS_*GPU-accessible protection) stay inreserve_watchedplain memory instead of filling the trailing view windows; bound view-windowVirtualAlloc(MEM_COMMIT)ranges againstu.view_reservation(a)(failing out-of-bounds or released ranges withERROR_INVALID_ADDRESS); notifysparse::source_committedon self-backed graphics commits (commit_in_view_graphics); and onVirtualFree(MEM_RELEASE)of a self-backed graphics reservation (free_in_view), runsparse::source_release(removingGRAPHICS_RESERVATIONSand unpairingmirrorsinside its freeing span beforeforget_mirrors) and clean up title mappings beforeu.view_release(a).crates/xcl/src/hle/d3d12x/sparse.rs,title_textures.rs,bind.rs,real.rs: Keep self-backed graphics reservations in trailing view windows intitle_textureswrite-watch tracking (recordingTable::coarsemembership per resource atlink_srctime sounlink_srcstays balanced if the reservation is released first); resolvetile_showsto the tile's own CPU address whenin_graphics_reservationis true; allowState::fill_laterto map uncommitted/lazy GPU-only tiles (h == 0xFFFFwhen self-backed) while charging fullPAGES_PER_TILEagainst the per-submit page budget; forget asks on self-backed tile decommit (source_decommitted_in); and re-queue linked unmapped self-backed tiles on re-ask (take_asks) orVirtualAlloc(MEM_COMMIT)(source_committed_in).VirtualAlloccommit +GetWriteWatch, rejecting full-pool and 24 GiB reservations),kernelxreserve_in_view_graphics(rejecting 16 GiB Series S, 24 GiB Series X, and smaller pure CPU views while keepingMEM_GRAPHICSandPAGE_GRAPHICS_*large-page fallbacks in trailing view windows, and verifyingMEM_GRAPHICS | MEM_64K_PAGESis not registered inmirrors),view_graphics_free_decommit_release_and_reuse(bounds/post-releaseERROR_INVALID_ADDRESS,MEM_DECOMMIT/ re-commit /MEM_RELEASE/AWAY.titlecleanup / address reuse),title_texturescoarse_refcount_stays_balanced_after_graphics_reservation_release, and WARPself_backed_graphics_reservation_maps_committed_and_uncommitted_tiles_on_warpcovering committed/uncommitted mapping, post-decommit remapping, andPAGES_PER_TILEfill_laterbudget charging.Tested
rustc 1.99.0 (b940084d7 2026-09-28), DXC 1.9.2609.5.cargo build --release -p xcl: succeeded with 39 warnings (0 new vsorigin/main5eaadb54c).reserve_in_view_graphics_places_and_tracks_fallback_reservations,view_graphics_free_decommit_release_and_reuse,graphics_view_windows_cover_reservations_and_support_commit_and_write_watch): 3 passed, 0 failed, 0 ignored, 0 skipped..\scripts\test.ps1(workspace build, bench--test, andcargo test --workspace -- --test-threads=4with DXC 1.9): 2982 passed, 0 failed, 52 ignored, 24 SKIPPED GPU tests (22no wave64on RTX 5070 Ti, 2no heap windows).Regression run
Base (
origin/main):PR (
ebef2ce9df61b39a70f479b486870e60c45bdd2b):Not tested
scripts/smoke.ps1runs with defaultXCL_UMA_WINDOWS=4(XCL_HEAP_WINDOWSunset), so the regression run above verifies no regression on the default layout and does not execute the 16-window trailing view-window paths. No live 16-window title run (Series X or Series S) was re-run onebef2ce9d; coverage of the updated commit comes from the CPU and WARP unit tests.scripts/test.ps1runs withoutXCL_HEAP_WINDOWS=1(2 heap-window GPU tests skipped in the full suite).XCL_MIRROR_MBpressure or concurrent decommit/release churn on trailing graphics view reservations.AI use
origin/main(5eaadb54c), addressed the @Decodere, @Foniass, @bmjask, and @jsalzy review findings, added unit tests, ran the release build, test suite, and 60 s smoke runs, and updated this PR description.Imported from ivall/xcl. Originally posted by Decodere on 2026-12-02T08:43:07Z.
Diff review (head
a74a58b98, read-only code review — not a#3041merge-check):Nice design on the trailing
MEM_WRITE_WATCHview windows for overflowMEM_GRAPHICSreservations (and good attention to excludingin_graphics_reservation(src)intitle_textures.rs:175-176so write-watch tracking stays active). Two concrete issues turned up in the full diff:[HIGH] Inherits
#3517'swith_switch_fallbackwindow-4 cutoff (crates/xcl/src/gpu/uma.rs:48,:59,:1562,:1611):Moving 16-window coherent UMA memory from window
3to window4(SIXTEEN_WINDOW_SPARSE_WINDOWS = 4) leaves#156with_switch_fallback(real.rs:5178->pso::in_switch_form->windows_for_mode) capped atMAX_WINDOWS = 4(root UAVs0..3only inbind.rs:3108,:5317). Any shader taking switch fallback on the 16-window layout can no longer address coherent memory in window 4. Either keeping coherent memory reachable by switch-form shaders or ensuring switch fallback binds/switches across window 4 resolves this.[MEDIUM] Unrelated dead code leaked into
crates/xcl/src/hle/d3d12x/title_list.rs:292-298,:1135-1161:The diff adds
pub fn active_backing(list: *mut c_void) -> Option<*mut c_void>and its unit test (+36 lines) that are unrelated to UMA/sparse memory and never called anywhere in this PR ormain. Dropping that hunk keeps the PR cleanly scoped.Testing note: the default 4-window
scripts/smoke.ps1configuration does not execute the 16-window runtime paths; verifying this PR end-to-end requires running withXCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16.AI use: Antigravity (Gemini 4 Neon) audited the full diff against
mainand drafted this review.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T09:07:48Z.
Review (head
a74a58b9, diff read, not a merge-check):sparse.rs ~6734(h == 0xFFFF && w != c) gives video memory to a self-backed tile with no committed page. That memory comes frommirror_cap(XCL_MIRROR_MB, 4096 MB by default,sparse.rs ~2708), which the 24 GiB GPU view's tiles also use. If a 6 GiB overflow reservation is asked for whole (BVH scratch, or #3662's whole-range asks), it can use up the cap. After that, GPU-view tiles are refused and read zeros (sparse.rs ~6638). The 30 s run in the description does not report mirror counts or refusals.source_decommitted_in, called fromkernelx.rs ~1303). When the title commits the range again, the commit goes to plainVirtualAlloc, and nothing tells sparse.mirror_writesremaps a tile only after a CPU write. The tile also stays inMIRROR_ASKED, somap_mirrordoes not queue it again. Scratch that only the GPU writes stays unmapped (zeros, writes dropped). Thew == cexception exists only infill_later.VirtualFree(kernelx.rs ~1296-1325:source_decommit, theGRAPHICS_RESERVATIONSremoval,forget_mirrors/remapped,view_release) is never called. The kernelx test cleans up by hand "without relying on globaluma::get()" (~5613), and the sparse test callssource_decommitted_indirectly. The routing insideVirtualAlloc(~1012,~1076) is tested only throughreserve_in_view_graphics. A test that decommits, releases and reuses the address through the hooks would cover the release path this PR adds.u.view_release(a)(kernelx.rs ~1321) runs beforeforget_title_mappings(a, n)(~1322). Another thread can reserve that range and map pages there in between, and those mappings are then dropped. The sparse branch does it the other way round (~1281before~1283). Main had the same order for GPU views, but this PR now expectsmap_pagesto be used in these reservations (~2568).title_list::active_backing(title_list.rs ~293) and its test (+36 lines) are not called in this PR, on main, or in #3662. They belong in a separate PR.scripts/smoke.ps1does not setXCL_UMA_WINDOWSand the blocks do not record the layout. With the default 4 windows the new branches never run, and the only run of the 16-window layout (30 s) has no comparison with main. Not tested should say this.Fine: on the default 4-window layout this is a no-op by reading. There are no View windows, so
view_reserve_graphicsreturns None, and every other new check sits behindis_vieworw == c. The only cost is one extraGRAPHICS_RESERVATIONSlookup per NoView tile intile_shows. The window arithmetic is correct: primary views limited tolo..lo+VIEW_WINDOWS, trailing windows aslo+VIEW_WINDOWS..hi,take_sparse_inbounds and alignment, the 24 GiB rejection, and nothing to place when 8 sparse + 2 coherent windows leave no trailing window. The trailing reservation isMEM_WRITE_WATCH, whichsrc_runsscanning needs.tile_showstakesGRAPHICS_RESERVATIONSunderSTATE, and no lock-order inversion was found. No overlap with #3651 (committed windows only) or #3665 (placements/vram only).AI review: Claude Code (Claude Opus 5.5), posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T10:12:43Z.
merge-check
base:
1c8b551475head:
a74a58b983merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2916 passed, 0 failed, 51 ignored; SKIPPED: 28 (20 no wave64, 2 no d3d12SDKLayers.dll, 1 no D3D12 debug layer, 1 no heap windows, 1 cannot disable the driver cache, 3 others; the same set as on main); failing: none
review: read by one reviewer at this same head; the review is at https://github.com/xcl-dev/xcl/pull/3653#issuecomment-7340420279 and its findings stand. Most serious: GPU-only tiles in the trailing windows use the same 4 GiB budget as the GPU view, and the new free path is untested.
performance: 60 s smoke of a retail title, main
1c8b5514vs this merge (a74a58b9): 1652 -> 1688 frames shown (102 %; last presents per 2 s: 61 60 60), peak commit 18228 -> 17424 MB, 0 device removals, 0 crashes.verdict: safe to merge (it carries open #3517's commits, which land with it): no blocking finding in the review (the points there are minor), the suite passes and the smoke run is clean
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
AI-written and posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-02T15:00:02Z.
Thanks @Decodere and @Foniass for the thorough reviews — rebased onto
origin/main(5eaadb54c, keeping @CharlyRien's still-open #3517 commit intact) and updated head to1de2334d6:title_list.rshunk (@Decodere, @Foniass): removedtitle_list::active_backingand its unit test (-36 lines).VirtualFreeaddress-reuse ordering inkernelx.rs(@Foniass): factored the view-window branch intofree_in_viewand movedforget_title_mappings(a, n)(along withGRAPHICS_RESERVATIONSremoval,mirrors::released,mirrors::place_gone, andsparse::forget_mirrors/remapped) beforeu.view_release(a), matching the sparse branch order so another thread cannot reuse the VA before old mappings are cleared.sparse.rs+kernelx.rs(@Foniass):State::source_decommitted_innow callsforget_ask(w)when a self-backed tile (w == t) is unmapped (clearingMIRROR_ASKEDand bumpingMIRROR_FORGOTTENforview_want).State::take_asksre-queues linked unmapped self-backed tiles (g == c && !self.mapped.contains_key(&g)) intoself.laterso a subsequent GPU ask (map_mirror) remaps them even withh == 0xFFFF.VirtualAlloc(MEM_COMMIT)inside a view graphics reservation (commit_in_view_graphics) callssparse::source_committed->State::source_committed_inso re-committing a decommitted self-backed tile also regains video memory without needing a CPU write or fresh ask.kernelx::tests::view_graphics_free_decommit_release_and_reuse: exercisesreserve_in_view_graphics,commit_in_view_graphics, partialMEM_DECOMMIT, re-commit zeroing,MEM_RELEASEclearingGRAPHICS_RESERVATIONSandAWAY.title, double-release rejection, and immediate address reuse.sparse::tests::self_backed_graphics_reservation_maps_committed_and_uncommitted_tiles_on_warp: now asks throughmap_mirror, verifiessource_decommitted_inclearsMIRROR_ASKEDand incrementsMIRROR_FORGOTTEN, and checks all three post-decommit recovery paths (map_mirrorGPU-only re-ask,source_committed_inre-commit, andmirror_writesCPU write) on WARP.XCL_MIRROR_MB(4096 MiB) pool budget and the#3517with_switch_fallbackwindow-4 cutoff (unchanged here since #3517 owns the 4-sparse-window layout), and explicitly disclosed in Not tested that the default 4-window smoke does not exercise the 16-window branches.Verified on
1de2334d6:cargo build --release -p xcl(39 warnings, matching5eaadb54c),.\scripts\test.ps1with DXC 1.9 (2981 passed, 0 failed, 52 ignored, 24 SKIPPED), fresh 60 s smoke pair (5eaadb54c1688 frames / 16676 MB vs1de2334d61683 frames / 16728 MB, 0 device removals, 0 crashes), andscripts/pr_check.py --local(description ok).AI use: Antigravity (Gemini 4 Neon) implemented these fixes, ran the checks, and drafted this reply.
Imported from ivall/xcl. Originally posted by pvfreis on 2026-12-02T15:27:34Z.
One integration note for whichever of this PR and #3696 lands second. Both use the slots immediately after the six primary GPU views. When dedicated heaps occupy some of that tail, the overflow allocator’s free list and
graphics_view_windows()need to cover only the slots actually reserved as write-watched views. See #3696 for the proposed layout check.AI use: OpenAI Codex (GPT-6.2 Sol) reviewed the source and drafted this note. Claude Code (Claude Fable 5.2) independently checked it.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-02T15:32:41Z.
Thanks @pvfreis — good catch, noted. Right now
reserve_runtimetakes all slots afterviews_at + VIEW_WINDOWSas write-watchedWindowKind::Viewsince they areWindowKind::Noneonmain. If #3696 lands first, we will narrowtotal_view_wins,views.0, andgraphics_view_windows()during the rebase so they cover only the trailing slots actually reserved as write-watched views (leaving dedicated heap windows untouched).AI use: Antigravity (Gemini 4 Neon) checked
gpu/uma.rsagainst #3696 and drafted this reply.Imported from ivall/xcl. Originally posted by ClosetPie107 on 2026-12-02T17:13:26Z.
Linux / AMD RDNA4 (RADV, Wine + vkd3d-proton): full test suite on
1de2334Merged onto
main5eaadb54(clean merge) and compared withmainrun twice on the same machine.Setup
v3.1-83-gcae8353edand DXVKdxgi.dllfrom GE-Proton11-16, DXC 1.9.2609.5x86_64-pc-windows-msvcwithcargo-xwin; test binaries run under WineTested:
cargo xwin test --workspace --target x86_64-pc-windows-msvc --no-fail-fast -- --test-threads=4 --skip <31 tests>main5eaadb54main: none.sparse_windows_setting_parses_clamps_and_fits_the_layout,sixteen_windows_keep_four_sparse_windows,a_bvh_scratch_reservation_lands_in_the_fourth_sparse_window,graphics_view_windows_cover_reservations_and_support_commit_and_write_watch,reserve_in_view_graphics_places_and_tracks_fallback_reservations,view_graphics_free_decommit_release_and_reuse).self_backed_graphics_reservation_maps_committed_and_uncommitted_tiles_on_warp: fails withInvalid parameter (0x80070057), the #175 failure above, asmain's tests of the same kind do here.About the failures on
mainand the 31 skipped tests (same for every PR in this batch)main's 177 failures under Wine come from #175: once a test has set up the real device, vkd3d-proton refuses the command allocators XCL adopts (d3d12_command_list_Reset: Invalid command allocator), and later tests getE_INVALIDARG(0x80070057). Running vkd3d-proton master with its vtable check taken out,hle::d3d12x::sparse::testsgoes from 106 passed / 38 failed to 144 / 0.std::terminate()(Cannot reliably convert LLVM pointer type, we cannot differentiate between Function and Private), which kills the whole test binary. They are the split-wave64, dispatch-chain and bridged-mask GPU tests,gpu_compute_mode_dispatch_abi,gpu_compute_thread_limits_leave_the_lanes_past_them_out, the twogpu_mesh_mode_*tests, andconsole_wave64_compute_through_the_pso_hook_dispatch_and_read_back, plusserialize_root_signature_strips_console_flags_and_preserves_pc_flags, whose null descriptor vkd3d-proton dereferences. The dxil-spirv ones crash the same way with vkd3d-proton master (f8c1cae8, dxil-spirv93ab44c5).mainwas run twice: same counts, same failure set.SKIPPEDlines (same asmain): no heap windows (2), no D3D12 debug layer (2-3), driver cache control not implemented in vkd3d-proton (1).Not tested: Windows, NVIDIA, a retail title /
scripts/smoke.ps1, a review of the diff. This is a test report, not amerge-check.AI use: omp (Claude Opus 5.5) merged, built and ran the suites on this machine, compared the results with
main, and drafted this report. The user asked for it to be posted.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-02T18:02:38Z.
merge-check
base:
5eaadb54c1head:
1de2334d6amerge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 2981 passed, 0 failed, 52 ignored; SKIPPED: 28 (20 no wave64, 2 no d3d12SDKLayers.dll, 1 no D3D12 debug layer, 1 no heap windows, 1 cannot disable the driver cache, 3 others; the same set as on main); failing: none
review: follow-up on
1de2334d(reworked and rebased froma74a58b9, my last review's head). Rebased onto main5eaadb54; the carried commit0de987866has the same patch as #3517's current head0b4283d1(still open). The top commit is now +553/-73, about 330 lines of tests: it dropstitle_list::active_backing, moves the view-windowVirtualFreebranch intofree_in_view(kernelx.rs~1279) and addscommit_in_view_graphics(~1266), which theVirtualAlloccommit branch (~944) uses to call the newsparse::source_committed/source_committed_in(sparse.rs~6475, ~7046); a decommit of a self-backed tile now callsforget_ask(~7033), and a re-ask of a linked, unmapped self-backed tile goes back intolater(~6786). Earlier findings: (1) GPU-only tiles drawing onXCL_MIRROR_MB: still open;fill_later~6756 only charges at least one page per tile now, and the description states the trade-off but gives no mirror or refusal counts from a 16-window run. (2) no video memory after decommit and re-commit: fixed; a decommit drops the ask, and the WARP test's path 1 would fail withoutforget_ask. (3) untested free and allocation paths: partly fixed;free_in_viewandcommit_in_view_graphicsare called directly byview_graphics_free_decommit_release_and_reuse(~5654) but only with no sparse state, the WARP test callssource_committed_indirectly, and the routing insideVirtualAlloc(~944, ~1019, ~1085) and theVirtualFreedispatch are still never reached through the hooks. (4) order of address release and forgetting the title's mappings: fixed (forget_title_mappings,forget_mirrorsandremappednow run beforeu.view_release(a), ~1300-1306), though no test would catch the old order. (5)active_backing: removed. (6) disclosure: a 60 s smoke pair on the default layout, and Not tested says the 16-window branches didn't run. New, all minor: onMEM_RELEASEof a graphics reservation,free_in_viewdecommits beforeforget_mirrors, so the new re-queue intake_askscan give a tile of the reservation being released video memory in between (wasted work only);graphics_alloc_align(~1148) copies the alignment block at ~982 instead of replacing it; the kernelx test fills the globalAWAYwhen it's empty and leaves it filled. Fine: the default 4-window layout is still a no-op (view_reserve_graphicsreturns None with no View windows, and the checks all requireis_view); the sparse changes apply only to self-backed tiles; the partial decommit, re-commit, release and address-reuse sequence infree_in_viewchecks out.performance: 60 s smoke of a retail title, main
5eaadb54vs this merge (1de2334d): 1422 -> 1666 frames shown (117 %; last presents per 2 s: 60 60 61), peak commit 17184 -> 17780 MB, 0 device removals, 0 crashes.verdict: safe to merge (it carries open #3517's commit, which lands with it): no blocking finding in the review (the points there are minor), the suite passes and the smoke run is clean
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
AI-written and posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:35Z.
Code review location:
crates/xcl/src/gpu/uma.rs; line 48High: With 16 windows,
SIXTEEN_WINDOW_SPARSE_WINDOWS = 4moves the coherent window (the title's GPU heaps) from window 3 to window 4, which a pipeline rebuilt in switch form bywith_switch_fallback(MAX_WINDOWS = 4, root UAVs 0..3) can't reach. The PR makesgpu_sparse_vram_descriptors_buffers_and_xmemskip on the 16-window layout instead of fixing it. With XCL_UMA_WINDOWS=16 and XCL_HEAP_WINDOWS=1, when the driver refuses a heap-window PSO and it's rebuilt in switch form, that shader's reads and writes to GPU heaps (xcl_w == 4) fall outside its windows and are dropped, so heaps read as zero or writes are lost. The only test that covered the coherent window now skips, so nothing catches it. This comes from the stacked #3517 commit but is in this diff.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:35Z.
Code review location:
crates/xcl/src/hle/kernelx.rs; line 945Medium: A commit in a trailing view window only checks that its start address is in a graphics reservation and never bounds the range, and all trailing windows are one OS MEM_RESERVE, so a commit past the reservation's end silently succeeds in free or neighbouring address space. If the title reserves 4 MiB at r (placed in window 11) and then calls VirtualAlloc(r + 3 MiB, 2 MiB, MEM_COMMIT), the call failed with ERROR_INVALID_ADDRESS before (as a separate plain reservation). Now
commit_in_view_graphicscommits 1 MiB past the reservation, possibly inside another title reservation placed right after it, and callssparse::source_committedover that foreign range. A commit at a trailing address that was already released also falls through to the plain-pages path and succeeds. Checkinga + n <= reservation endwould restore the old failure.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:35Z.
Code review location:
crates/xcl/src/hle/kernelx.rs; line 1020Medium: MEM_GRAPHICS overflow reservations now go through
reserve_in_view_graphics, which callsmirrors::reservedwith MEM_COMMIT stripped, so a MEM_GRAPHICS reservation of 64 KiB pages is recorded as an unpaired CPU view (the old plain fallback never calledmirrors::reserved). If such a reservation of size X lands in a trailing window, a later GPU-view reservation (PAGE_NOACCESS|PAGE_GRAPHICS_NOACCESS) of the same size callsunpaired_cpu, which picks the most recent CPU view of size X: the graphics reservation, not the title's real CPU view. The GPU view's tiles then show the wrong memory. Not registering graphics reservations as CPU views would avoid it.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:35Z.
Code review location:
crates/xcl/src/hle/d3d12x/title_textures.rs; line 176Medium:
in_view_windownow depends on the changing GRAPHICS_RESERVATIONS map, solink_srcandunlink_srccan get different answers for the same texture source and thecoarserefcount goes wrong. A texture placed in a graphics reservation in a trailing view window is linked within_view_windowfalse, socoarseis incremented. If the title then calls VirtualFree(MEM_RELEASE) before destroying the texture,free_in_viewremoves the GRAPHICS_RESERVATIONS entry,unlink_srcseesin_view_windowtrue and returns early, and the 16 MiB coarse block is never decremented. It stays incached_watch_rangesforever, or is miscounted when the address is reused. Recording the answer at link time would keep the two in step.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:35Z.
Review: COMMENTED
Review of
1de2334d: 6 finding(s) (1 high, 5 medium), most severe first.crates/xcl/src/gpu/uma.rs:48: With 16 windows,SIXTEEN_WINDOW_SPARSE_WINDOWS = 4moves the coherent window (the title's GPU heaps) from window 3 to window 4, which a pipeline rebuilt in switch form bywith_switch_fallback(MAX_WINDOWS = 4, root UAVs 0..3) can't r.... (inline)crates/xcl/src/hle/kernelx.rs:945: A commit in a trailing view window only checks that its start address is in a graphics reservation and never bounds the range, and all trailing windows are one OS MEM_RESERVE, so a commit past the reservation's end silently succeeds in f.... (inline)crates/xcl/src/hle/kernelx.rs:1020: MEM_GRAPHICS overflow reservations now go throughreserve_in_view_graphics, which callsmirrors::reservedwith MEM_COMMIT stripped, so a MEM_GRAPHICS reservation of 64 KiB pages is recorded as an unpaired CPU view (the old plain fall.... (inline)crates/xcl/src/hle/d3d12x/title_textures.rs:176:in_view_windownow depends on the changing GRAPHICS_RESERVATIONS map, solink_srcandunlink_srccan get different answers for the same texture source and thecoarserefcount goes wrong. (inline)crates/xcl/src/hle/kernelx.rs:1285: On MEM_RELEASE of a self-backed graphics reservation,free_in_viewusessparse::source_decommitand callsforget_mirrorsonly afterwards, outside the freeing span, which is the gapsparse::source_releaseexists to close. (inline)crates/xcl/src/hle/d3d12x/sparse.rs:6759: Self-backed tiles with no committed page (h == 0xFFFF) now get video memory but are charged 1 page against the per-submitfill_pagesbudget, while each takes a full 64 KiB tile plus a zero-fill. (inline)These findings come from an AI-assisted review (Claude Code) and focus on correctness. Each is a candidate; please check it before acting on it.
Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:36Z.
Code review location:
crates/xcl/src/hle/kernelx.rs; line 1285Medium: On MEM_RELEASE of a self-backed graphics reservation,
free_in_viewusessparse::source_decommitand callsforget_mirrorsonly afterwards, outside the freeing span, which is the gapsparse::source_releaseexists to close. A submit on another thread in that gap can runfill_lateron tiles re-queued bytake_asksorsource_committed_in, and with the newh == 0xFFFF && w == crule map video memory again over the released tiles, burning XCL_MIRROR_MB and racingforget_mirrors. Usingsource_release(a, n, ..)for the release case would fix it.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:36Z.
Code review location:
crates/xcl/src/hle/d3d12x/sparse.rs; line 6759Medium: Self-backed tiles with no committed page (
h == 0xFFFF) now get video memory but are charged 1 page against the per-submitfill_pagesbudget, while each takes a full 64 KiB tile plus a zero-fill. So one submit can map up to 16x more tiles than intended and drain the shared XCL_MIRROR_MB pool. When a BVH or scratch view in a multi-GiB uncommitted trailing reservation is asked for whole, the pool fills with GPU-only scratch, and later GPU-view tiles hitmirror_capand are refused, so the GPU reads zeros there. Charging the tile's full size would keep the budget meaningful.Imported from ivall/xcl. Originally posted by bmjask on 2026-12-02T19:34:38Z.
@Prime1997 could you take a look at this one for review and merge? My automated review notes are above, if any.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-02T21:04:03Z.
Thanks @bmjask for the thorough review (and @Prime1997 for taking a look). Fixed all five medium findings from
1de2334din5c963d8fe:gpu/uma.rs:48(High — inherited from stacked #3517): Left unchanged here since it belongs to @CharlyRien's carried #3517 commit (SIXTEEN_WINDOW_SPARSE_WINDOWS = 4andwith_switch_fallback's 4-window limit), already noted in the PR description.kernelx.rs:945(view-windowVirtualAlloc(MEM_COMMIT)bounds): BothVirtualAlloc(view-window branch) andcommit_in_view_graphicsnow verifyu.view_reservation(a)covers[a, a + size)and fail out-of-bounds or already-released addresses withERROR_INVALID_ADDRESS.kernelx.rs:1020(MEM_GRAPHICSoverflow registered as unpaired CPU view): Removedmirrors::reservedfromreserve_in_view_graphicssoMEM_GRAPHICSoverflow reservations are never recorded as unpaired CPU views (non-MEM_GRAPHICSgpu_visible_fallbackreservations still callmirrors::reserved).title_textures.rs:176(Table::coarserefcount drift when reservation is released before texture unlink): Recorded link-timecoarsemembership inTable::coarse_ressounlink_srcdecrements the exact resourceslink_srcadded regardless of subsequentGRAPHICS_RESERVATIONSchanges.kernelx.rs:1285(free_in_viewrelease gap): OnMEM_RELEASEof a self-backed graphics reservation,free_in_viewnow usessparse::source_release(a, n, ...)and removesGRAPHICS_RESERVATIONS/ callsmirrors::released(a)inside its freeing span beforeforget_mirrorsruns.sparse.rs:6759(fill_laterbudget for uncommitted self-backed tiles): Uncommitted self-backed tiles (h == 0xFFFF) now charge the fullPAGES_PER_TILE(16) againstfill_later's per-submit page budget instead of 1 page.Also addressed @Foniass's minor cleanup notes (
graphics_alloc_alignreuse at line 982 and restoringAWAYin thekernelxtest) and added unit-test coverage for each fix (reserve_in_view_graphics_places_and_tracks_fallback_reservations,view_graphics_free_decommit_release_and_reuse,coarse_refcount_stays_balanced_after_graphics_reservation_release, andself_backed_graphics_reservation_maps_committed_and_uncommitted_tiles_on_warp).Verified on
5c963d8fe(RTX 5070 Ti, Windows 11, DXC 1.9.2609.5):cargo build --release -p xcl(39 warnings, 0 new),.\scripts\test.ps1(2982 passed, 0 failed, 52 ignored, 24 SKIPPED), and fresh 60 s smoke (1663 frames,17392 MBpeak commit, 0 device removals, 0 crashes; PR description updated).AI use: Antigravity (Gemini 4 Neon) implemented the fixes and tests, ran the build/test/smoke checks, and drafted this reply.
Imported from ivall/xcl. Originally posted by jsalzy on 2026-12-03T00:00:03Z.
merge-check claim
head:
5c963d8fe9Imported from ivall/xcl. Originally posted by jsalzy on 2026-12-03T00:13:42Z.
merge-check
base:
078358a058head:
5c963d8fe9merge: clean
build: cargo build --workspace -> ok
tests: cargo test --workspace --no-fail-fast -- --test-threads=4 -> 3014 passed, 0 failed, 52 ignored (44 test binaries); SKIPPED: 25 (22 no wave64 on this GPU; 2 no heap windows (opt-in XCL_HEAP_WINDOWS=1); 1 driver cache cannot be disabled without Windows Developer Mode); failing: none. All 8 tests the PR adds ran and passed. git diff --check clean; 39 compiler warnings, the same as main.
title run: RTX 4070 SUPER 12 GB (621.24), release build of this merge (9f1d2cc4) with XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16 XCL_DEVICE_TYPE=lockhart XCL_NETWORK=0, everything else main's defaults (plus XCL_ACTIVITY, XCL_DRED and XCL_TRACE_MEM for the log); layout 4 sparse + 2 coherent (4543 MB) + 10 view windows. [In the world on a save / In the intro cutscenes]: about 422 s there (the loading screen ended at 838 s; I closed the window at 1260 s). 0 device removals, 0 crashes (exit code 0). 0.68 presents/s there: 1.58/s for the first ~110 s, 0.90/s for the next ~70 s, 0.22/s for the last ~240 s (60/s on the menus and loading screen). No colored blocks or black screen seen. At least 128 presents took long in the driver (up to 2.1 s), and 7 driver stalls of 2 s or more were logged, all recovered. Video memory use grew to 15.5 GB against a 10.5 GB budget. Not compared with main on the same settings.
review: (1) Caveat, carried over from #3517 and not from this PR's own commit: the PR carries
0de98786, which has the same patch as #3517's head0b4283d1. With 16 windows, uma.rs:48 (SIXTEEN_WINDOW_SPARSE_WINDOWS = 4) moves the coherent window to window 4. But with_switch_fallback (real.rs:5191, comment at 5197-5198) reaches only windows 0..3, so a pipeline built in the switch form reads 0 from coherent memory. This is unchanged at this head (the author's 21:04 reply leaves it to #3517). #3517 has two not-yet checks for this, and merging this PR lands it along with #3517. (2) Found in the title run: the 24 GiB cut-off in view_reserve_graphics (size >= VIEW_WINDOWS * WINDOW) keeps only the Series X profile's CPU view out of the trailing windows. On the Series S profile (title memory 8192 MiB) the title's CPU view is 16 GiB (VirtualAlloc of 0x400000000 bytes, flags 0x20402000, protect 0x4). kernelx.rs ~1086 put it at 0x1c00000000, in windows 12..15, which are all four trailing windows when the layout has 2 coherent windows; its GPU view went to 0x1600000000. On main that CPU view stays in plain write-watched memory. So on this profile there is no room left for the overflow MEM_GRAPHICS reservations the PR is for (none overflowed in this run: 477 memory calls of 64 KiB or more were logged, 0 of them "graphics reserve, view windows"). The PR description says CPU views are rejected, but the test checks only the 24 GiB size. Nothing visibly broke in the run. (3) Missing tests: the new tests call reserve_in_view_graphics / commit_in_view_graphics / free_in_view directly on a local Uma. The routing inside the hooks (kernelx.rs VirtualAlloc ~944, ~1020, ~1086; the VirtualFree dispatch ~1380) goes through uma::get(), which is the 4-window layout in the suite, so no test reaches those branches. (4) A fully uncommitted self-backed tile (h == 0xFFFF, w == c) now gets video memory when asked for (sparse.rs:6756-6759) and is charged 16 pages. That comes out of the GPU-view budget (XCL_MIRROR_MB). No mirror or refusal counts from a 16-window run are given (Foniass's earlier point 1). (5) #3696 is open and uses the same slots after the six views: uma.rs:401 reserves views_at + view_wins..windows as write-watched view windows, and #3696 puts committed heap windows at views_at + view_wins. The author has noted this; whichever PR lands second needs a rebase. Checked and fine: the default 4-window layout is unaffected (view_reserve_graphics returns None with no view windows, and every new branch needs is_view). The GRAPHICS_RESERVATIONS locks are short-lived and none is held across a sparse call. Readback skips uncommitted holes, so GPU-only scratch can't fault the CPU copy-back. coarse_res keeps link and unlink balanced. Stripping MEM_COMMIT at ~1020 matches main's plain fallback, which also only reserves. Duplicates: I searched open and merged PRs for view_reserve_graphics, graphics_view_windows, in_graphics_reservation, coarse_res, SIXTEEN_WINDOW_SPARSE_WINDOWS, trailing view windows, self-backed graphics and #3517, and checked #1607's groups (none lists 3653, 3517, 3662 or 3696). Not a duplicate: #3517 is stacked underneath (all of it is carried here). #3662 (BVH builder hooks) and #3696 (heap windows) make different changes.performance: Default layout: no cost (reasoned: every new path is behind the 16-window layout). 16 windows, measured in the title run but not against main: GPU-view tiles with video memory peaked at 10,453 (about 653 MB), 0 refused (cap 65,536); video memory use 15.5 GB against a 10.5 GB budget at the end; 0.68 presents/s in the run. Reasoned: four or five more 4 GiB tiled buffers (one per trailing window), with no memory until tiles are mapped. GPU-only scratch in graphics reservations takes video memory from the GPU-view budget. list_x.rs:430 read_back is true for every view address, which now includes the trailing windows, so tiles the GPU writes there are copied back to the CPU after each submit.
verdict: safe to merge, with caveats: this PR's own commit has no blocking finding, the suite passes, and the title run had no crash or device removal. It carries open #3517's commit, which lands with it, including #3517's 16-window switch-form gap (review (1)), which is still open there. On the Series S profile the title's 16 GiB CPU view fills the new trailing windows (review (2)).
hardware / tool and model: RTX 4070 SUPER 12 GB (621.24 / 32.0.16.2124), Ryzen 7 7800X3D, 32 GB, Windows 11 Pro 25H2 26200.9974, Rust 1.100.0, debug / Claude app (Claude Opus 5.5): merge, build and suite run on this PC with git and cargo only; release build of the merge for the title run, played by me; diff review and log reading by Claude Opus 5.5.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-03T00:56:34Z.
Thanks @jsalzy for catching the Series S (
lockhart) 16 GiB CPU-view issue in the live 16-window title run! Fixed inebef2ce9d(leaving #3517's carried commit0de987866untouched):crates/xcl/src/hle/kernelx.rs: Addedmirrors::is_cpu_view_reservation(t, p)(MEM_64K_PAGESreserve-only, withoutMEM_GRAPHICSorPAGE_GRAPHICS_*GPU-accessible protection, and notPAGE_NOACCESS) and checked it in bothVirtualAlloc'sgpu_visible_fallbackbranch andreserve_in_view_graphics. Pure CPU views — including the 16 GiB Series S (0x400000000, flags0x20402000, protect0x4) and 24 GiB Series X CPU views — now stay in plain write-watched memory (reserve_watched+mirrors::reserved), while genuine overflowMEM_GRAPHICSandPAGE_GRAPHICS_*large-page fallbacks continue to land in the trailing view windows.crates/xcl/src/gpu/uma.rs: TightenedUma::view_reserve_graphics's size guard fromVIEW_WINDOWS * WINDOW(24 GiB) to(hi - lo) * WINDOW(the trailing pool size, e.g. 16 GiB with 2 coherent windows or 20 GiB with 1) so no single reservation can swallow the entire trailing overflow pool.reserve_in_view_graphics_places_and_tracks_fallback_reservations(covering the 16 GiB Series S0x20402000/0x4CPU view, 24 GiB Series X CPU view, smaller pure CPU views, and positiveMEM_GRAPHICS/PAGE_GRAPHICS_*cases) andgraphics_view_windows_cover_reservations_and_support_commit_and_write_watch(full trailing-pool rejection).Verified on
ebef2ce9d(RTX 5070 Ti, Windows 11, DXC 1.9.2609.5):cargo build --release -p xcl(39 warnings, 0 new),.\scripts\test.ps1(2982 passed, 0 failed, 52 ignored, 24 SKIPPED), and fresh 60 s smoke (1701 frames,16860 MBpeak commit, 0 device removals, 0 crashes; PR description updated).AI use: Antigravity (Gemini 4 Neon) implemented the fix and unit tests, ran the build/test/smoke checks, and drafted this reply.
Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T05:10:06Z.
merge-check
base:
078358a058head:
ebef2ce9dfmerge: clean
build: ok
tests: 3014 passed, 0 failed, 52 ignored; 28 skipped, the same as on main
review: 5 medium, 3 nits (below)
performance: 60 s smoke run: 1669 → 1682 frames (100 % of main), peak commit 17577 → 17940 MB, no device removal, no crash
title run: retail title on the RTX 5070 Ti (driver 621.14), into the world by scripted presses: 231 s there, 0 device removals, 0 crashes, 3 presents/s; run with
XCL_SKIP_CS=95cc13288a27a96e(the NVIDIA hang at the end of loading, #3541) and NVIDIA's 2048 MB shader heap (#2590)verdict: not yet:
PR descriptionis red; otherwise no blocking finding, the suite passes and the smoke run is cleanhardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
In short: The PR places overflow MEM_GRAPHICS and GPU-visible fallback reservations in the trailing view windows of the 16-window layout. It carries #3517's commit unchanged, and this push (
5c963d8f->ebef2ce9) only adds mirrors::is_cpu_view_reservation and a trailing-pool size limit, fixing the Series S 16 GiB CPU view that jsalzy's title run caught. None of the seven findings from my5c963d8freview are fixed at this head and all stay open, but none blocks merging.Medium
0de987866is still the same patch as open #3517's head0b4283d1. With 16 windows, uma.rs:48 (SIXTEEN_WINDOW_SPARSE_WINDOWS = 4) moves the coherent window to window 4, which with_switch_fallback (4 root-UAV windows, 0..3) cannot reach, so a pipeline in the switch form reads zeros from coherent memory. It lands with this PR unless #3517 fixes it first.5c963d8ffound wrong (the Series S 16 GiB CPU view in windows 12..15). The smoke blocks use the default 4-window layout, and Not tested says no 16-window title run was done onebef2ce9. A lockhart run with XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16 showing the 0x400000000-byte CPU view as "GPU-visible, write-watched" (plain memory) would confirm the fix.73a68e2econflicts in crates/xcl/src/gpu/uma.rs, because both use the windows after the six primary views. #3517, which is carried whole, is still open. The description still has no "Fixes #N" or "Part of #N".Nit
Checked and fine
5c963d8fmerge-check is fixed: is_cpu_view_reservation (kernelx.rs ~218) matches MEM_RESERVE | MEM_64K_PAGES (0x20402000) with PAGE_READWRITE and no MEM_GRAPHICS or PAGE_GRAPHICS_* access, so that CPU view goes to reserve_watched + mirrors::reserved, as on main5c963d8f: its 16 GiB CPU view fits in the 20 GiB trailing pool of the test's 1-coherent-window layout, and only the new flag check rejects it0de987866has the same patch as #3517's head0b4283d1, and the PR merges cleanly onto main078358a0How this was tested
078358a0, thencargo build --workspaceandcargo test --workspace --no-fail-fast -- --test-threads=4.scripts/smoke.ps1: 60 s of a retail title on main078358a0and on this merge; presents per 2 s at the end: 61 60 60.XCL_RUN_SECONDS=300and scripted A presses counted from the first frame (XCL_PRESS_BASE=frame, #3712) into the world from an existing save; time in the world is counted from the first in-world draw call to the end of the run.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
Imported from ivall/xcl. Originally posted by Kalmarv on 2026-12-03T05:13:05Z.
Thanks @Foniass for the re-check and the 231 s world run.
One note on
PR descriptionshowing red: the description itself passesmain'sscripts/pr_check.py --local(description ok) onebef2ce9df61b39a70f479b486870e60c45bdd2b, andBuild and test (Windows, no GPU)is green (47010321717). Allpull_request_targetworkflows across the repository (PR checks,Auto triage,Testing feed,Discord mirror) are currently failing withstartup_failurebefore running any step (e.g. run47010323458), so the red status is repo-wide rather than a description check failure.AI use: Antigravity (Gemini 4 Neon) checked the workflow runs and
scripts/pr_check.py --localagainstmainand drafted this note.Imported from ivall/xcl. Originally posted by Foniass on 2026-12-03T15:36:08Z.
merge-check
base:
078358a058head:
ebef2ce9dfmerge: clean
build: ok
tests: 3014 passed, 0 failed, 52 ignored; 28 skipped, the same as on main
review: 5 medium, 3 nits (below)
performance: 60 s smoke run: 1669 → 1682 frames (100 % of main), peak commit 17577 → 17940 MB, no device removal, no crash
title run: retail title on the RTX 5070 Ti (driver 621.14), into the world by scripted presses: 231 s there, 0 device removals, 0 crashes, 3 presents/s; run with
XCL_SKIP_CS=95cc13288a27a96e(the NVIDIA hang at the end of loading, #3541) and NVIDIA's 2048 MB shader heap (#2590)verdict: safe to merge: no blocking finding (the points below are medium or nits), the suite passes and the smoke run is clean
hardware / tool and model: RTX 5070 Ti (driver 621.14), Ryzen 7 7800X3D, Windows 11 26300 / Claude Code with Claude Opus 5.5
In short: The PR places overflow MEM_GRAPHICS and GPU-visible fallback reservations in the trailing view windows of the 16-window layout. It carries #3517's commit unchanged, and this push (
5c963d8f->ebef2ce9) only adds mirrors::is_cpu_view_reservation and a trailing-pool size limit, fixing the Series S 16 GiB CPU view that jsalzy's title run caught. None of the seven findings from my5c963d8freview are fixed at this head and all stay open, but none blocks merging.Medium
0de987866is still the same patch as open #3517's head0b4283d1. With 16 windows, uma.rs:48 (SIXTEEN_WINDOW_SPARSE_WINDOWS = 4) moves the coherent window to window 4, which with_switch_fallback (4 root-UAV windows, 0..3) cannot reach, so a pipeline in the switch form reads zeros from coherent memory. It lands with this PR unless #3517 fixes it first.5c963d8ffound wrong (the Series S 16 GiB CPU view in windows 12..15). The smoke blocks use the default 4-window layout, and Not tested says no 16-window title run was done onebef2ce9. A lockhart run with XCL_HEAP_WINDOWS=1 XCL_UMA_WINDOWS=16 showing the 0x400000000-byte CPU view as "GPU-visible, write-watched" (plain memory) would confirm the fix.73a68e2econflicts in crates/xcl/src/gpu/uma.rs, because both use the windows after the six primary views. #3517, which is carried whole, is still open. The description still has no "Fixes #N" or "Part of #N".Nit
Checked and fine
5c963d8fmerge-check is fixed: is_cpu_view_reservation (kernelx.rs ~218) matches MEM_RESERVE | MEM_64K_PAGES (0x20402000) with PAGE_READWRITE and no MEM_GRAPHICS or PAGE_GRAPHICS_* access, so that CPU view goes to reserve_watched + mirrors::reserved, as on main5c963d8f: its 16 GiB CPU view fits in the 20 GiB trailing pool of the test's 1-coherent-window layout, and only the new flag check rejects it0de987866has the same patch as #3517's head0b4283d1, and the PR merges cleanly onto main078358a0How this was tested
078358a0, thencargo build --workspaceandcargo test --workspace --no-fail-fast -- --test-threads=4.scripts/smoke.ps1: 60 s of a retail title on main078358a0and on this merge; presents per 2 s at the end: 61 60 60.XCL_RUN_SECONDS=300and scripted A presses counted from the first frame (XCL_PRESS_BASE=frame, #3712) into the world from an existing save; time in the world is counted from the first in-world draw call to the end of the run.Written by Claude Code (Claude Opus 5.5) and posted by Foniass without a human check of each point.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.