Repository navigation
D3D12.X: XCL_VIEW_MEM=1 maps the title's GPU-view memory into heap windows 4..15 - #3097
CharlyRien wants to merge 7 commits into
Conversation
|
I checked content refresh on RTX 5070 / NVIDIA 616.92 at head
Two fresh processes produced the same result. A write outside the sampled bytes can therefore remain stale beyond the one-second recheck interval until a sampled byte also changes. This is the consequence of the sampled-signature heuristic, not a measured retail failure. The fixture did not exercise mirror registration, full draw binding, or a title workload. AI use: OpenAI Codex with GPT-6.2 Astra built and ran the check; Codex reviewed and prepared this report. |
|
I checked descriptor ranges at the GPU-view boundary on head A 32-byte buffer descriptor starting 16 bytes below window 4 overlaps the GPU-view region by 16 bytes, but the helper returned This establishes range classification in the synthetic boundary case, not that a retail title supplies such a descriptor. If crossing ranges are valid for this address space, intersecting the full byte interval with the view region at each entry point would retain the overlapping portion; that needs validation against address and overflow semantics. AI use: OpenAI Codex with GPT-6.2 Astra built and ran the probe; Codex reviewed and prepared this report. |
fe7a852 to
2c501cf
Compare
|
I reran the same native RTX 5070 / NVIDIA 616.92 tile-refresh fixture from my earlier report on updated head With 1.1 seconds between calls, fenced GPU readback for offsets 16 / 256 was:
On the previous head, the second phase remained AI use: OpenAI Codex with GPT-6.2 Astra ran the retest; Codex reviewed and prepared this report. |
|
@andrewDoing thank you for both checks, and for rerunning the first one.
Setup for the numbers above: RTX 3090 24 GB (Resizable BAR off), driver 616.56, Ryzen 9 5950X, 32 GB RAM, Windows 11 22631, Rust 1.100.0; head AI use: Claude Code, model Claude Opus 5.5, made the two fixes, ran the tests above and wrote this reply. |
|
I retested the view-window boundary from my earlier report on updated head Four fresh-process cases covered the lower and upper edges for both a 32-byte table V# and a root address (1 KiB configured). A range exactly outside the region uploaded zero tiles; a range crossing each edge by 16 bytes uploaded one. Fenced GPU readback found the two expected sentinel bytes ( This validates the tested crossing ranges and tile contents. The sentinel check does not prove byte-granular clipping or shader sampling, and no retail title was tested. AI use: OpenAI Codex with GPT-6.2 Astra built and ran the checks; Codex reviewed and prepared this report. A separate native readable-source control on the same head also passed: after decommitting a populated 64 KiB source page, fenced GPU readback returned zeros; after recommitting the same virtual address and writing |
f9cfb95 to
fe2d5b7
Compare
|
@andrewDoing thanks for the boundary retest and the decommit control on Since then the head moved to The description now has our suite and AI use: Claude Code, model Claude Opus 5.5, compared the two heads and wrote this reply. |
|
Ran the GPU-view memory tests at Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, wave32 only, 16 GB) driver 32.0.16.2124, Intel Core i5-12400F, 64 GB RAM, rustc 1.100.0 (0ef1bc386 2026-11-09), MSVC 14.44.35207, DXC 1.9.2609.5, debug build. All six tests matching Not tested: a title with AI-assisted (OpenCode), model: DeepSeek V4.1 Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the tests, wrote this report; the worktree was not modified; no game data was used. |
RTX 4090 test of #3097On clean head TestedWindows 11 build 26300, Ryzen 7 5800X3D, 32 GB RAM, RTX 4090 24 GB, NVIDIA 621.40, Rust 1.99.1 MSVC, Windows SDK DXC 1.9.2602.17. Separate clean worktrees at main
The seven head failures also failed on main. Six are the GPU failures listed in #3093. The seventh is Title comparisonFor both world runs I used the same PR release executable, verified copies of the same Series X save, separate initially empty XCL caches and the driver-managed NVIDIA cache. Order was off, then on, once each. Common settings included
With the switch on, XCL initialized windows 4 through 15. At 394.2 s it reported 298 MB, 4,779 resident tiles, five pools, 4,779 uploads, 5,714 checks, 3,048 source misses, zero pool-full returns and zero page-gone drops. The first logged misses had no page mapping and a CPU-view address, with no physical page reported there. These are event counters. Driver compute pipeline builds still started at 394.74 s off and 389.86 s on. The captures end at loading artwork, so there is no matched world geometry or camera response to compare here. Regression runClean release builds from Main PR head AI use: OpenAI Codex (GPT-6) ran the builds and tests, prepared the replay comparisons, inspected the logs and images, and drafted this report. |
|
@minimalhipster990 thanks for the suite and the smoke pair on the 4090. The head at 95 % of On reaching the world: our 200 s runs press A every 0.5 s from 4 to 100 s, then every 2 s ( If you have the time, one more pair with that press schedule and a cache warmed by a first launch would help: the AI use: Claude Code, model Claude Opus 5.5, read the thread and wrote this reply. |
|
@CharlyRien I repeated the off/on pair on clean Same RTX 4090 24 GB, NVIDIA 621.40, Ryzen 7 5800X3D, 32 GB, Windows 11 build 26300 and Series X checkpoint as in my earlier report. I used the same release executable, a fresh copy of the same save and a byte-verified copy of the cache produced by the first 395 s launch (1,022 files) for each run. Both logs report at least 128 pipelines built from a previous run's driver blobs. The NVIDIA system cache remained driver-managed.
Final totals with the switch on, verbatim: The counter stood at 852 uploads at 148.105 s. A further 4,086 uploads were recorded with no subsequent present. Driver compute compiles were still starting at 385.686 s off and 388.454 s on. We can confirm that the title populated the view windows during this transition. Their use by geometry visible in a presented world frame remains open. Additional attempt to capture the world. I also ran one separate pair with AI use: OpenAI Codex (GPT-6) ran the tests, checked the logs and sampled images, and drafted this reply. |
|
Follow-up on the three courtyard pipelines. With the indirect route from #2092 ported onto the same local #3097 configuration, 4 of 13,791 verified commands carried nonzero work. The GPU argument buffers contained 3,140 compute groups and 7,253 mesh groups. The other 13,787 already had zero X at the GPU rewrite input. All eight fenced RT0 readbacks still matched the skip-path control byte-for-byte (all zero RGBA). Per-shader counts, readback method and coverage on #2092 Selective mesh-slot comparison. On the RTX 4090 (621.40), I ran the same local release executable based on I sampled the title's own
What reaches PresentX after the BC1 pause. I repeated the 395 s run on the RTX 4090 (driver 621.40) with a local diagnostic build of I copied the title's single 3840×2160 RGBA8 plane and the swap-chain buffer on the same queue after the presenter's copy, then compared every texel after the fence. Zero differing RGBA pixels in all nine pairs, including two full-colour loading controls. The 26.975 s gap ended at frame 1630. Across seven samples (offsets 0, 1, 2, 5, 15, 40, 80), four planes were nearly black (max RGB 2/2/2) and three were dark green (34/80/2). Both patterns match the earlier loading illustration at frame 1523 when contrast is expanded (cropped 64×36 grid correlations 0.936 and 0.938). The title was already supplying these images before the swap-chain copy. World visibility is still unverified. Three MS/PS pairs from the six-target courtyard pass on #3094 also reached the MS-in-AS-slot refusal on this #3097 build. I matched both shader hashes and the ordered RT formats Built with Follow-up on the BC1 readbacks. On the RTX 4090 I tested a local prototype based on
For each run I read all 51,437,568 destination bytes back and compared them with the expected texture layout. All matched. Both runs exited 0. With 4 KiB writes the seven post-gap RGB samples had channel values of 0 or 1 out of 255. With 64 KiB writes all 13 samples were fully black. One replay per setting. I also ran @CharlyRien, the 4090 reached presentation again with the view windows active. Removing view-pool pressure still left a flat final image. I followed up on the 5 s queue timeout on clean I changed
Presentation resumed after a roughly 78 s gap in both runs. The post-gap images were byte-identical within each run. The tint differed between runs, and the center 896×420 pixels varied by at most one 8-bit step per channel within either image. No world geometry was identifiable at either pool size. After averaging the center crop to 64×36 and stretching its contrast, the faint spatial pattern matches the earlier loading illustration (figure beside a car). The best brightness correlations against the saved loading samples were 0.799 at 1 GiB and 0.953 at 3 GiB. The thread-sampling replay independently retained the same illustration in frame 1691 (0.982). Where the queue was waiting. A further 1 GiB run with Timing the readback. I added local timers to release
In each gap, three distinct BC1 UNORM textures accounted for nearly all the hold time. For each texture all 4,186 pages changed and were written successfully (17,145,856 bytes). With views on, the three holds lasted 42.83, 38.99 and 35.65 s. A recording thread waited 42.10 s in Both runs exited 0. The 6 post-gap RGB samples with views on and the 8 with views off were identical within each run and still showed faint loading artwork. This locates a CPU-side stall with either setting. The clean and instrumented runs had different gap lengths. The timing does not establish what causes the dark output. Per-page timing on the three BC1 textures. I repeated the 395 s pair on a second local release build of the same head, views off first. This time I timed every native call on those textures. Each run made 12,558 calls to each API and successfully wrote 51,437,568 bytes.
Each API took about half the loop time in both runs. In all 12,555 adjacent page pairs per run, the previous query already covered the next page and the new query confirmed the same region end, allocation base, state, protection and type. A 4 KiB versus 64 KiB comparison could test whether fewer queries and writes help, with partial-write, remap and fence-completion checks. Both runs exited 0. The five post-gap RGB samples with views on and seven with views off again showed faint loading artwork. AI use: OpenAI Codex (GPT-6) instrumented the local builds, ran the tests, checked the timings and frame pixels, resolved the earlier XCL stacks against the release PDB, and drafted this report. |
|
Test report for That's 100.2 % of Not tested: default heap windows only (no AI use: Claude Code (Claude Opus 5.5) built both commits, ran the smoke runs and wrote this report. |
fe2d5b7 to
b11f2ea
Compare
|
Rebased on What changed in the rebase:
For comparison, The branch merges with Setup: RTX 3090 24 GB (Resizable BAR off), driver 616.56, Ryzen 9 5950X, 32 GB RAM, Windows 11 22631, Rust 1.100.0, release tests, AI use: Claude Code with Claude Opus 5.5 did the rebase and the port to |
With XCL_HEAP_WINDOWS=1 a translated program takes memory window k from descriptor MEM_HEAP_BASE + k of the shared heap, and both translators stop at the unified block's own window count (an address past it reads 0). The heap already reserves MAX_HEAP_WINDOWS (16) window slots, but only the layout's windows are written; the others were never read. Both translators now let a heap-window program select any of the 16 slots (HLSL: mem_accessors; direct DXIL: lower_mem::heap_window_bound, translator version 13), and set_window_views gives every slot past the layout's windows a null UAV, which reads 0 and drops writes, as the old bound did. The test runner's heap (run_in_arena) does the same. Nothing changes for a title: an address outside the windows still reads 0. It lets memory XCL maps into those slots later (the title's memory outside the unified block) be read without translating the shaders again. Main already gives a `(0, 0)` window and the slots up to 4 null views; this extends that to the 16 slots (set_window_views writes MAX_HEAP_WINDOWS views, the completeness rule still follows the layout). Tests: the HLSL bound for 2 / 4 / 8 / 16 windows and without heap windows, the direct bound, the null views set_window_views makes for 1, 8 and 16 windows. gpu_heap_windows_reject_out_of_uma_aliasing and gpu_heap_windows_divergent_lanes_match_switch_form read window 4 of a 2-window arena: a null slot now. Ported from the lab tree where MacieGx made the shader side reach the slots past the unified block (HLSL and direct DXIL). Co-Authored-By: CharlyRien <9572419+CharlyRien@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- runner::dispatch_with (the backend-hook PSOs of gpu_compute_e2e): heap slots 0..MAX_WINDOWS stay views of `mem`, as the root form's four windows, and the slots past them are null views, as run_in_arena and the runtime. - heap_windows_select_every_heap_slot: the case without heap windows now checks the switch over the program's own windows (case 1 present, case 2 absent, no descriptor heap), instead of an assertion that held by construction. From an independent review of the PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gpu::uma::tests::expanded_heap_window_shaders_translate_and_validate asserted that the HLSL heap accessors range-check against the program's own window count (8); with the previous commits a heap-window program selects every heap window slot, so the bound is 16 for 8 and 16 windows alike. Found by the full suite on this PR's head. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ndows 4..15 A retail title gives the GPU addresses in its "GPU view" (a reservation with no CPU access, kernelx::mirrors), outside the unified block. Translated shaders read 0 there. With XCL_VIEW_MEM=1 (off by default; needs XCL_HEAP_WINDOWS=1 and the 4-window unified block) windows 4..15 are reserved buffers in heap window slots 4..15, whose 64 KiB tiles are mapped from pools and filled on demand: bind_abi names what a draw or dispatch can read (the buffer V#s of the first 64 slots of its descriptor tables, its root addresses, XCL_VIEW_ROOT_KB each) and the tiles under them are copied from the title's bytes (the page the page-mapping method put there, as main's record of it says (mirrors::shows), else the CPU view behind the GPU view) on XCL's own queue, waited for before the draw is recorded. A tile is checked again (a sampled signature) at most once a second. XCL_VIEW_POOL_MB (3072) caps the video memory. GPU writes there are not copied back. The activity log gets a "view memory:" line. Lock order: view_mem's STATE is taken by bind_abi (no other XCL lock held) and open_uma; under it only kernelx's page-mapping, mirror and physical-page locks, one at a time; never the sparse windows' state (sparse::lock_state checks it in debug builds). Nothing calls into view_mem with a lock held. Tests: the lock-order flag, no work without the state, the bytes a buffer V# names in the view windows, the page signature. Ported from MacieGx's lab tree (view memory and its generic bind path); the switch is opt-in here, and the window slots come from the preceding commit. Co-Authored-By: CharlyRien <9572419+CharlyRien@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s without faulting Two follow-ups of the view memory, from MacieGx's tree: - When XCL_VIEW_POOL_MB is reached, tiles no draw has named for 6 s give their pool tile back (mapped NULL first; at most one round a second) and new ranges take them, instead of every further range reading 0 for the rest of the run. - The title may decommit or move a page between the readability check and the copy: the signature and the upload now read it through title_textures::copy_committed_region (ReadProcessMemory, an unreadable page reads 0) instead of a plain memcpy, which ended a run. Co-Authored-By: CharlyRien <9572419+CharlyRien@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…le pages From an independent review of the view memory: - A tile's signature is recorded only once its upload is done (`commit_batch`): a failed Reset / Close / Signal or an upload not finished in 5 s left tiles marked current that were never copied. An unfinished upload now keeps the allocator and the staging buffer out of use (`pending`) until its fence is reached; the next `ensure` waits for it first, or does nothing. - The signature hashes the whole 64 KiB (4 lanes), not one word in 32: a small write elsewhere in a page kept the old bytes on the GPU for good. Measured with a_tile_hash_costs_microseconds. - A tile whose page the title unmapped or released (no source any more) is mapped NULL and its pool tile given back, instead of keeping the old bytes readable. - A new pool's CreateHeap runs as XCL's own work (title_textures::own_work), not through the adopted device's hook for title heaps; the module's lock-order note says so. - `ON` goes back to false when set_window_views fails (draws stopped mapping for slots the shaders no longer read), and the state's lock survives a panic under it. Tests: a write at any of six offsets changes the signature; the signature is recorded only by `commit_batch`; the hash's cost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ow 4 A buffer V#, a root address or an ensure() range that started below the view windows was dropped whole, even when it reached into them (reported on the PR with a synthetic descriptor 16 bytes below window 4). The range is now clipped to the view windows (`clip`) at each entry. Tests: the crossing cases at both ends, a range that ends where the windows start, overflow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
b11f2ea to
773dc5b
Compare
|
Rebased on Read, CI: the 4 Description refreshed (Tested, Regression run, AI use). The body now says it is no longer stacked on #1055 ( Stack: RTX 3090 24 GB (Resizable BAR off), driver 616.56, Ryzen 9 5950X, 32 GB RAM, Windows 11 22631; Rust 1.100.0, release tests, AI use: rebase, test runs and this comment done with Claude Code (Claude Opus 5.5), checked by me. |
Stacked on #3096 (no longer on #1055, see below): only the top four commits belong here (the first and second are @MacieGx's, the third and fourth are review fixes).
A retail title gives the GPU addresses in its "GPU view" of its memory, outside the unified block. That view is a reservation with no CPU access, paired with a CPU reservation of the same size (
kernelx::mirrors). Translated shaders read 0 there. That covers the title's streamed geometry (meshlet, index and vertex buffers) and other buffers it reads through V#s and root addresses.With
XCL_VIEW_MEM=1, the heap's window slots 4..15 become reserved buffers. Their 64 KiB tiles are mapped and filled on demand with the title's bytes, before each draw or dispatch that names them. The switch is off by default and needsXCL_HEAP_WINDOWS=1and the default 4-window unified block. This is @MacieGx's view memory, ported from his tree ontomain, opt-in here.How it differs from the other PRs on GPU-view memory
CopyPageMappingsBatchX.mainnow keeps that record itself (D3D12.X: queue #31 (newer layout) is CopyPageMappingsBatchX – the retail title's streamed pages never reach its GPU views #1031,kernelx::mirrors), so this PR no longer carries kernelx: queue CopyPageMappingsBatchX records the physical page each GPU-view page shows #1055's commit:view_mem::sourcereadsmain's record throughmirrors::shows(the page put there, nothing for an unmapped page, else the CPU view behind the GPU view).main's own view windows in the 16-window layout (view_want.rs,sparse::map_mirror,Uma::is_view) also give shaders the GPU-view memory. This PR works only with the 4-window block (XCL_UMA_WINDOWSunset) andXCL_HEAP_WINDOWS=1. The two have not been compared.What is in it
First commit (@MacieGx's view memory):
crates/xcl/src/hle/d3d12x/view_mem.rs(new):XCL_VIEW_POOL_MB(3072 by default) caps the total.ensure(va, len)maps and copies the tiles of a range that are new or whose signature changed (checked at most once a second), then waits for the copy.ensure_for_drawcovers the ranges a draw names:XCL_VIEW_TABLE_SLOTS);XCL_VIEW_ROOT_KB= 1024 KiB each.view memory:line in the activity log.real.rs(open_uma): with heap windows and a 4-window block, the view windows follow the unified ones in the heap.bind.rs:ensure_for_drawinbind_abi_with_root_resolved, for every draw and dispatch. On currentmainthis function was restructured; the call was placed again by hand.sparse.rs: the lock-order check.host.rs: the stats line.Second commit (@MacieGx's follow-ups from his tree):
XCL_VIEW_POOL_MBis reached, tiles no draw has named for 6 s give their pool tile back (mapped NULL first, at most one round a second), instead of every further range reading 0 for the rest of the run.title_textures::copy_committed_region(ReadProcessMemory; an unreadable page reads 0) instead of a plain copy: a page decommitted between the check and the copy ended a run.Third commit (fixes from an independent review of this PR):
Reset/Close/Signal, or an upload not done within 5 s, used to leave tiles marked current that were never copied; now they are tried again. An unfinished upload keeps the allocator and the staging buffer out of use until its fence is reached.CreateHeapruns as XCL's own work (title_textures::own_work), not through the adopted device's hook for title heaps.ONgoes back to false whenset_window_viewsfails, and the state's lock survives a panic under it.Fourth commit (a point from @andrewDoing's checks below): a V#, a root address or a range that starts below window 4 and reaches into it was dropped whole; it is now clipped to the view windows (
clip). Tests at both ends, a range ending where the windows start, overflow.+685 / −2 in 7 files for the four commits (over the 400-line target: the module and its two follow-ups, which only make sense together): one module, and the four lines that call it.
Lock order (the reason #2384 was closed)
view_mem's state is taken only by the draw binding, which holds no other XCL lock at that point, and byopen_umaat start.sourcetakes kernelx's page-mapping record and mirror table (mirrors::shows), then the physical-page lock (physical_page_at), one at a time, each released before the next. A new pool'sCreateHeapruns as XCL's own work, so the adopted device'sCreateHeaphook does not record it as a title heap (that hook takesUMA_BUFFERandHEAP_UMA; nothing holding those calls intoview_mem).sparse::lock_stateasserts that in debug builds, throughview_mem::holding, a thread-local flag set while the state is held. The few sparse functions that lockSTATEdirectly are not reached from here and carry no assert.view_memwhile holding a lock. The only edges are therefore view_mem → kernelx, and the sparse ↔ kernelx pair of D3D12.X: shaders read buffers in a GPU view of the title's memory #2384 cannot close a cycle through it.Tested
773dc5bonmain7a649b0(Recompiler: heap-window shaders reach all 16 window slots of the heap #3096370e1c7under it; rebased 29/11, no conflict). RTX 3090 24 GB (Resizable BAR off), driver 616.56, Ryzen 9 5950X, 32 GB RAM, Windows 11 22631; Rust 1.100.0, release tests.XCL_ADAPTER=warp, so the GPU tests run on WARP or skip;XCL_REQUIRE_GPUunset; the tests that open the hardware adapter whateverXCL_ADAPTERsays left out with--skip):cargo test --release -p xcl --lib -- hle::d3d12x::view_mem hle::d3d12x::bind::tests gpu::dxil::core_tests gpu::recomp::heap_window_tests gpu::uma::tests hle::d3d12x::console_heap::tests shaders::pipeline_library::tests shaders::warm_library::tests --test-threads=4: 195 passed, 7 failed, 1 ignored; 19 of the passes are GPU tests that skipped. The 7 failures are 6shaders::pipeline_library::testsandshaders::warm_library::tests::cold_publish_makes_an_unchanged_corpus_reusable:CreateComputePipelineStatereturns E_INVALIDARG on this machine's WARP, which has no SM 6.6 (the other 6 then fail on the poisoned lock or the same error). That is a local artefact of a WARP run here, not the CI failure (an entry count, 3 against 2). The 6view_memtests passed, and Recompiler: heap-window shaders reach all 16 window slots of the heap #3096's tests as on its head.main7a649b0: the same 7 failures with the same errors, nothing else failed (408 passed, 7 failed, 19 ignored for the union of the filters of our five PRs).main7a649b0(no new one).b11f2ea.main's own CI failed 4shaders::pipeline_library/warm_librarytests on227d2cb(run 46201186646), which Recompiler: heap-window shaders reach all 16 window slots of the heap #3096 hit; onmain7a649b0it fails 8 other tests, all inhle::d3d12x::title_textures::tests(run 46261846646): a red Build and test on this head with those 8 ismain's.fe2d5b7, onmaine429936, with Recompiler: heap-window shaders reach all 16 window slots of the heap #30968956fb4and kernelx: queue CopyPageMappingsBatchX records the physical page each GPU-view page shows #1055 under it.cargo test --workspace --no-fail-fast -- --test-threads=4(debug): 2137 passed, 9 failed, 48 ignored. The 9 are the 9 testsmaine429936itself failed on a GPU, the same names as in this report on an RTX 4080. The 7 tests ofview_mempassed.scripts/smoke.ps1, withXCL_HEAP_WINDOWS=1and withXCL_HEAP_WINDOWS=1 XCL_VIEW_MEM=1(blocks below, under the regression pair):XCL_HEAP_WINDOWS=1: no device removal, no crash, 1,806 frames, peak commit 31,366 MB; the log has "memory windows from the shared descriptor heap", so the heap-window form ran, with the null slots past window 3.XCL_HEAP_WINDOWS=1 XCL_VIEW_MEM=1: no device removal, no crash, 1,796 frames, peak commit 34,821 MB. Read from its log: the view memory was on and was reached late in the run; its last stats line (200 s) counts 14 tiles uploaded (under 1 MB, 1 pool), 35 tile checks, 1,278 tiles without a source, 0 given back, 0 dropped. Deduced: in these 200 s the title is still loading, so this run shows the switch running without harm, not what it changes in the world.fe2d5b7c: Aniseto, RTX 5070 Ti 16 GB:view_mem, "6 passed; 0 failed" (CPU-side tests). minimalhipster990, RTX 4090 24 GB: suite 2,139 passed, 7 failed on the head, 2,127 passed, 8 failed onmain("The seven head failures also failed on main."); 395 s title runs withXCL_VIEW_MEM=0/=1, both exited 0 with no removal and no crash, 1,811 / 1,868 presents, "Neither run showed a playable world in the captures."; 200 sscripts/smoke.ps1with the default settings:main1,530 frames, the head 1,456.Regression run
Not made on this head yet: the pair below is of
maine429936and the earlier headfe2d5b7, so the "PR description" check stays red until ascripts/smoke.ps1pair of this head is added. It stays a draft.Earlier pair: same machine, same title, 200 s, the same scripted A presses (
XCL_PRESS_A_AT),XCL_PREPARE=0, noXCL_*switch set (the view memory and the heap windows off), both throughmain'sscripts/smoke.ps1.main:
earlier head
fe2d5b7:main's, under CONTRIBUTING's 80 %; its peak commit is 107.4 %. Presents per 25 s:main603 / 510 / 693 / 401 / 64 / 78 / 53 / 39, the head 390 / 568 / 583 / 83 / 75 / 85 / 33 / 22; in the world (100–200 s) the head presented 215 frames andmain235.main's own 200 s runs ofe429936on this machine gave 1,908, 2,442 and 1,744 frames.main.The two runs with the switches (earlier head fe2d5b7)
XCL_HEAP_WINDOWS=1:XCL_HEAP_WINDOWS=1 XCL_VIEW_MEM=1:Not tested
view_mem::sourceovermain'smirrors::showsonly by the unit tests.main's own view windows (16-window layout).ensure_for_draw: the console list replay (console_list::close,XCL_CONSOLE_LISTS=1), and pipelines the driver refuses in the heap-window form, which are translated again in the switch form over 4 windows and read 0 in windows 4..15.Testing on other setups is welcome. So far the suite and the title runs are from one RTX 3090 (Resizable BAR off). Results from AMD and Intel GPUs, other NVIDIA generations, or Resizable BAR on would help most. The suite plus a
scripts/smoke.ps1block, as a comment here, is enough.AI use
AI use: the port of the commits onto
main(opt-in switch, the lock-order check, the tests, the move tomirrors::shows), the review fixes, the rebases, the test and title runs and this description were done with Claude Code (Claude Opus 5.5), checked by me.🤖 Generated with Claude Code