Repository navigation
gpu, docs: measure Windows commit for host textures - #83
Open
PrivacyOnion wants to merge 1 commit into
Open
PrivacyOnion wants to merge 1 commit into
PrivacyOnion wants to merge 1 commit into
Conversation
This was referenced Nov 26, 2026
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.
What and why
Part of #74.
Add an ignored Windows probe that compares commit and DXGI usage for
synthetic committed, placed and reserved DEFAULT textures. The reserved
case maps every tile to one backing heap, unmaps the tiles and samples
again after releasing the textures and heap.
The RTX 5070 and WARP both charged about 2 GiB of process commit for the
committed or fully mapped textures. Evicting committed textures and
unmapping tiles with the backing heap still live left the process charge
in place. The VRAM analysis records all five counters and the release
samples. Results from more drivers are wanted.
Fixes: none
Depends on: none
Area
xtp-gputests and VRAM analysis documentation.Tests
cargo xtask pr-checkpasses on my machine with--skip testcargo test -p xtp-gpu --lib texture_commit_probe -- --ignored --nocapturepassed offline on NVIDIA GeForce RTX 5070 (
32.0.16.1664) and WARP(
10.0.26100.9818) on Windows 11 25H2 build26200.9974. UsedXTP_TEST_ADAPTER=hardwareandXTP_TEST_ADAPTER=warpwithXTP_BUFFER_POOL=0for both runs. The same test filter without--ignoredreported the probe as ignored.
Provenance
Adapted the probe I wrote for the table in #74 (never pushed) and followed
XTP's GPU test and resource allocation code. Consulted public Win32 API documentation. No
XCL or AnyPS5 source was read.
AI assistance: AI coding tools wrote this change and its tests, mainly OpenAI Codex.
Checklist
<area>: <summary>; one topic; under 400 changed lines, or the reason is above