Repository navigation
D3D12.X: report retained texture upload staging capacity - #2862
jeroenhaentjens wants to merge 1 commit into
Conversation
Track the upload buffer capacity held by active batches and idle queue uploaders, including the peak across both. This makes the staging owner's contribution to world-load memory pressure measurable without counting texture payload views twice. The measurement is additive to XCL_ACTIVITY and does not change upload behavior. Full GPU-backed workspace tests passed on the Quadro RTX 3000; no retail smoke run is available yet. Assisted-by: OpenAI Codex (GPT-6)
…triaged SKIP, probe past xcl-dev#2864)
|
Completed the GTA VI 1.0.2.1 startup run on
World visibility is unverified. We did not visually verify what those frames contained, so we do not know whether the game world was visible. |
|
Follow-up to the 477-frame startup run: we completed a standard base/head comparison with frame captures on GTA VI 1.0.2.1 and the Quadro RTX 3000. Both builds used the same game directory, an existing DXIL cache, a fresh title-data directory per run, networking off, a 150-second title timer, scripted A presses at 15/35/55/75 s, and a capture every 30 presents. There was also manual input. The earlier overlay runs and the earlier 477-frame head run are separate observations.
Both timers ended as configured with exit code 0 and no recorded crash. We inspected 34 captures from base and 26 from head. The tester also observed responsive keyboard input at player selection. Neither set of captures confirms a playable world. The two runs spent different amounts of time at player selection and reached different points in the intro, so these frame counts and memory samples cannot establish a performance or memory regression. |
|
Tested Clean detached The fixture called production
All three uploads remained pending while gated and read back byte-exactly after completion. The smaller reuse batch kept the same 8 MiB backing as the growth batch. 1 passed, 0 failed, 0 ignored, 0 skips. The runtime identified the A770 with Not tested Release of the last idle uploader, multiple queues, GPU failure paths, other adapters, retail smoke, and the full workspace suite. AI use T3 Code / Codex ( |
|
While reviewing the staging accounting on head I compiled the exact post-submission block with mock queue/fence responses and an observing uploader drop counter:
All control assertions passed. On the signal-error path the new counter also decreases when the staging allocation drops, though the test does not show whether any native GPU work remains pending. This ownership behavior predates this PR; it may deserve a separate failure-path fix rather than being attributed to the telemetry change. No actual device removal or retail run was induced. AI use: OpenAI Codex with GPT-6.2 Astra inspected the path and ran the mock; Codex reviewed and prepared this report. |
|
No open or merged PR adds the same staging-capacity metric (#3050 and #3194 change how many upload buffers are kept; they do not report them). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human. |
Part of #2639 and #1833. The queue's reusable texture upload buffer is retained between batches, but its capacity was absent from the world-load memory timeline. This adds a measurement; upload behavior and limits do not change.
What is in it
Tested
Regression run
Standard setup
Both clean release builds timed out before guest entry while precompiling the title's 26,503 shader records. The 150-second smoke command with a 120-second startup allowance expired after about 270 seconds on each build. XCL did not print the log path needed to produce a smoke block. These attempts predate the controlled AC retest.
Separate runtime diagnostic on AC
Both runs used the same retail title, Quadro RTX 3000, 150-second script,
XCL_NETWORK=0, input schedule (15:A,35:A,55:A,75:A), and separate initially empty XCL shader caches. In a separate game directory, the byte-identicalshaders.rpfwas supplied via XCL's runtime overlay. This gave the guest access to the archive while skipping the host's up-front shader preparation. Both builds were unmodified. Windows reported AC power before and after both runs.8b957bec6f82495aec940944c6bf47faa02db5900x03f0ed9b8b35dba7732bd5b3ba8ab7997b99670790x0The PR emitted 73 staging samples. The active and idle maxima were each 64 MiB at different samples, and the combined high-water mark was 64 MiB. The default setup still lacks a completed paired smoke test.
Not tested
AI use