Repository navigation
gpu, docs: measure Windows commit for host textures - #41
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Reviewed the exact imported head fd276f2 against e2298b0, including an independent correctness review and a separate Standards audit. No blocking finding in the ignored synthetic driver-commit probe. Its allocations, queue fences, heap lifetimes, counters, and documented measurement limits were checked. Contributor authorship and reported RTX5070/WARP measurements are preserved. All current fork checks are complete and green (or intentionally skipped) at this head. Persisted pre-crash strict WARP evidence: the exact PR and base each passed 31 focused descriptor runs; the PR passed all 52 descriptor tests. These are saved pre-crash results, not new recovery executions. Historical MiamiGame/XTP run 45763037277, job 139717285638 failed the initial shader-view assertion before unmapping. Its cause remains unconfirmed; the passing reruns do not prove an unrelated flake or a fix. A six-line residency-readiness hardening candidate is being kept separate. Its mutation control proves the final unmap assertion still detects missing notification, not the cause of the historical failure. The ignored approximately 2 GiB probe was not run on this memory-constrained host. Its published numeric table remains author-reported; additional driver coverage and fork issue #28 remain open. This prerequisite contributes to #37 and does not close it. Reviewed with AI assistance; this record is not another person's GitHub approval. |
Summary
Imported MiamiGame/XTP#83 for review in this fork. Original author: PrivacyOnion; opened 2026-11-26T05:39:35Z. Original commit authorship and history are preserved. Migration prepared with AI assistance (Codex); no source changes were made.
Evidence
fd276f29edfafc7e6025c17f0fd7358a69ac4dee.main; source PR contains its historical CI.descriptor::host::tests::a_placed_slot_follows_its_memory_when_unmapped; 661 passed / 1 failed / 15 ignored. The failure is unresolved, not a proven unrelated flake. Failing job.Part of #37 (imported from MiamiGame#74).
Merge Danger
Door: Two-way (this is an unmerged PR).
Blast Radius: Unchanged from the original diff; no new correctness claim is made by importing it.
Original pull request
What and why
Part of MiamiGame#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 MiamiGame#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 aboveFork issue / PR number map.