Repository navigation
Conversation
Contributor
|
CPU-only review and test report for Tested
Review notes (not blockers)
Not tested
AI use
|
When a pool heap for title textures is refused, the log said "no video memory for more pages of title textures", and the activity line gave the process's commit and the video memory in use. Neither says what ran out: the card, the memory the system shares with it, or the system's commit, which a PC charges video memory to as well. The warning now ends with the system's free commit and its limit, and the local and the non-local video memory in use with their budgets. The activity line (XCL_ACTIVITY) gets the commit and the two budgets at its end; what scripts/smoke.ps1 reads from it is unchanged. What they showed in runs of a retail title on a 10 GB card with 16 GB of RAM (a local tree with xcl-dev#495 and xcl-dev#615, Series S profile), up to the title's own check at +0x193e00f (xcl-dev#333): the first refusal came with 779 MB of commit free in one run and with 31764 MB and 32252 MB free in two runs with a larger page file, each time at 12541 - 12552 MB of local video memory in use against a budget of 9260 - 9285 MB. In the last run non-local video memory stood at 4708 MB of a 7465 MB budget. So the commit is not what stops that machine, which the first run alone suggested. Logging only: no test. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
427001
force-pushed
the
memory-line-system-commit
branch
from
November 25, 2026 14:17
c2f4abc to
70a26dd
Compare
|
Independent Windows activity-log verification of Tested
Not tested A refused heap allocation, a retail title and the full workspace suite. AI use OpenAI Codex (GPT-6.2 Sol) adapted the test fixture, ran the checks and wrote this report. |
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.
When a pool heap for title textures is refused, the log says "no video memory for more pages of title textures", and the
XCL_ACTIVITYmemory line gives the process's commit and the video memory in use. Neither says what ran out: the card, the memory the system shares with it, or the system's commit, which a PC charges video memory to as well. The warning and the memory line now also give the system's free commit with its limit, and the video memory budgets. Logging only. Part of #333.Correction (same day): this description and the first commit message said the heap was refused "only when its commit was used up". Runs with a larger page file show that was wrong for this machine. The commit is amended (
c2f4abc→70a26dd: corrected message, and the non-local figures added) and the text below is from the new runs.What the figures show on a 10 GB card with 16 GB of RAM, in three runs to the title's stop at
+0x193e00f(#333): the first refusal comes with 779 MB of commit free in one run and with 31 764 MB and 32 252 MB free in the two others, each time at 12 541 – 12 552 MB of local video memory in use against a budget of about 9.3 GB. So there the commit is not what stops it; before, the log could not tell the two cases apart.What is in it
crates/xcl/src/gpu/uma.rs:system_commit(), the system's free commit and its limit.crates/xcl/src/hle/d3d12x/real.rs:video_memory()returns the budget next to the bytes in use, for local and non-local memory;memory_left()puts the figures into one string for a log line.crates/xcl/src/hle/d3d12x/vram.rs: the warning of a refused pool heap ends withmemory_left().crates/xcl/src/host.rs: the memory line ends with; system commit N MB free of M MB; video memory budgets L MB local, K MB non-local. The start of the line, whichscripts/smoke.ps1reads, is unchanged.Tested
NVIDIA GeForce RTX 3080 10 GB (32-lane waves), driver 616.92; Intel Core i9-10900K; 16 GB RAM; Windows 11 Pro 26200.9974; rustc 1.100.0
stable-x86_64-pc-windows-msvc; tests in debug, runs in release.cargo build --workspace+cargo test --workspace --no-fail-fast -- --test-threads=4on70a26dd: 1254 passed, 0 failed, 46 ignored. 27SKIPPEDlines of 17 tests: 20 "no wave64", 3 per-lane f16 forms refused, 1 "no heap windows", 2 without the D3D12 debug layer, 1 that cannot turn the driver cache off (no Developer Mode).The new lines at the stop, retail title 1.0.2.1, Series S profile,
XCL_NETWORK=0 XCL_ACTIVITY=1 XCL_PRESS_A_AT=40,55. These runs are not of this head:maindoes not get that far on this profile, so they are of this change applied to a local merge ofmain379725a+ kernelx: XMemMapPhysicalPagesScatter with no page array unmaps #495 + D3D12.X: composite multi-plane PresentX overlays #615 (runs 1 and 2 with the first version of the change, which had no non-local figures).Run 1, system-managed page file, other programs holding about 15 GB of commit:
Run 2, after a reboot with a fixed 48 GB page file:
Run 3, the same machine state, this head's lines:
The title stops at
+0x193e00fat 145.5 s, 127.4 s and 153.6 s. A run without this change stopped the same way with 12 557 MB of local video memory in use at its last memory line.Regression run
main(379725a):this PR's head (
70a26dd):Both with the Series S profile, after the reboot. 60 s stay in the title's first screens: the memory line is reached (30 times), the warning is not.
Not tested
E_OUTOFMEMORY(CreatePlacedResourceX … a resource of its own (0x8007000e), the sparse pools) are unchanged.AI use
🤖 Generated with Claude Code