Repository navigation
D3D12.X: the activity log says who holds the target pages - #2896
Merged
Prime1997 merged 1 commit intoNov 26, 2026
Merged
Conversation
Target pages grew from 1,910 MB at a retail title's menu to 6,408 MB while its world loaded (Series S profile, RTX 3060 Ti 8 GB), and the memory line gives one figure for them. The new line splits them into textures with all their pages and sampled textures with pages by level (XCL_TEXTURE_LEVEL_PAGES), a shared page counted for each texture on it, and counts the idle pages waiting to go back to the pools. Logged next to the memory line, only when there are target pages. No behaviour change. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Tested and reviewed commit Tested
Review notes
Not tested
AI use
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Prime · project thread
The activity log gets a line next to the memory line that says who holds the target pages: textures with all their pages and sampled textures with pages by level (
XCL_TEXTURE_LEVEL_PAGES), a shared page counted for each texture on it, and the idle pages waiting to go back to the pools. Logged only when there are target pages. No behaviour change.Part of #2688 (workstream 1 owns the full owner table; this is one row of it for
vram::Pages).Why
Target pages grew from 1,910 MB at a retail title's menu to 6,408 MB while its world loaded (RTX 3060 Ti 8 GB); with this line the growth showed up as 54,678 sampled textures with pages by level holding 2,431 MB, which is what
XCL_TEXTURE_LEVEL_PAGESwas then measured against.What is in it
crates/xcl/src/hle/d3d12x/vram.rs:page_owners.crates/xcl/src/host.rs: the line underXCL_ACTIVITY, after the memory line.Tested
cargo test --locked --workspace --no-fail-fast -- --test-threads=4withXCL_DXC_DIRset to DXC 1.9.2609.5: 1816 passed, 9 failed, 48 ignored. The 9 failures are the same tests that fail onnvidia-deveae01502itself (1816passed,9failed,48ignored there, same command):async_compute_pso_registers_real_pso_and_not_standin,console_ms_in_as_slot_and_ms_with_as_are_refused_cleanly,gpu::recomp::tests::gpu_compute_thread_limits_leave_the_lanes_past_them_out,hle::d3d12x::texture_upload::tests::gpu_parts_of_a_texture_go_up_and_the_rest_stays,hle::d3d12x::texture_upload::tests::pieces_hold_the_texels_of_their_levels,split_compute_prefers_the_offline_whole_pipeline,two_pass_driver_cache_reuses_both_passes_and_recovers_corrupt_blobs.Build and test (Windows, no GPU)fails here onhle::d3d12x::sparse::tests::a_gpu_write_into_a_gpu_view_lands_in_its_cpu_view(the WARP device is removed, 0x887a0005). That test passes on the card above, on this branch and oneae01502, and fails the same way on the other open pull requests againstnvidia-dev(kernelx: physical page homes in window 0 first, from the top, keeping 64 MB free (#2867) #2905, for one).Regression run
A commit of
main(b49be183, the last one before the shader preparation screen of #2555, which prepares every record before the title and so does not fit a 60 s run):The base of this PR,
nvidia-deveae01502:This PR's head:
Not tested
AI use
Claude Code (Claude Fable 5.2 and Claude Opus 5.5) wrote the code, ran the suite and the regression runs on the hardware above, and wrote this description; Prime asked for it and owns the account. We coordinate the 8 GB work on the XCL Discord too: https://discord.gg/gK3y7WRRY
🤖 Generated with Claude Code