D3D12.X: a 3-D texture XG cannot size is taken at its texels' bytes #2753

Open
github-bot wants to merge 1 commit from github-bot/gh-2753 into main AGit
Owner

@⁠MacieGx on GitHub · 2026-11-26 10:13 UTC · original
MacieGx:d3d12x/volume-texture-size → main · +65 −2 · 2 files · 1 commits · open

A 3-D texture XG does not lay out (a 3-D render target: xg::Texture::volume refuses flags 1 / 2 with E_NOTIMPL) got no console size in CreatePlacedResourceX, so vram gave it every tile of the PC texture as a 64 KiB page at its address. The newer retail title of #505 places thirteen 33x33x33 RGBA16F colour LUTs (render target + UAV, flags 0x5) 512 KiB apart; the PC texture has 18 tiles of 64 KiB, so each LUT shared 10 pages with the next one. A LUT's bake overwrote rows of its neighbour, the tone map sampled another LUT's rows (LUT[black] = cyan) and the whole picture came out teal. Such a texture is now taken at the bytes of its texels (287,496 here: 5 pages of its own), which no console layout of it is smaller than.

Part of #505.

Why not the console's layout: what the console's library does with a 3-D render target is not known here. The xg_oracle volume test covers flags 0 and 4 only, and no console library was at hand to ask. The 2-D rule for render targets (64KB_R_X, thin for 3-D in our tiling model) would give 33 x 64 KiB = 2.06 MiB, which cannot be right for textures the title packs 512 KiB apart, and it would keep the overlap. 4KB_S thick (500 KiB) fits, but that is a guess. Teaching XG this would also change what XGCreateTextureComputer and GetResourceAllocationInfo tell titles. The texels' bytes are a lower bound of any layout, so the pages taken are always the texture's own.

What is in it

  • D3D12.X: a 3-D texture XG cannot size is taken at its texels' bytes (crates/xcl/src/hle/d3d12x/device_x.rs: console_bytes / volume_texel_bytes, used by create_placed_resource_x; vram::owned_pages made pub(super) for the test), with the unit test volume_targets_xg_does_not_lay_out_keep_to_their_texels: two such LUTs 512 KiB apart do not share a page, a full mip chain is summed, and a sampled 3-D texture keeps XG's size.

Tested

  • Without the fix (the fallback disabled, so console_bytes is XG's size only) the new test fails: assertion left == right failed, left: None, right: Some(287496); with it, it passes
  • cargo test --release -p xcl --lib -- volume_targets owned_pages hle::xg on e07d03bf: 80 passed, 0 failed, 0 ignored, 1257 filtered out (CPU tests; the filter also matches hle::xgameruntime)
  • NVIDIA GeForce RTX 5080 (driver 621.24 = 32.0.16.2124), AMD Ryzen 7 5800X3D, 32 GB, Windows 11 Pro 10.0.26200, Rust 1.100.0 stable-x86_64-pc-windows-msvc, release. On e07d03b (this PR, on main b49be18).
  • cargo build --release --workspace && cargo test --release --workspace --no-fail-fast -- --test-threads=4 on e07d03b: 1432 passed, 4 failed, 47 ignored. The 4 failures are gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3 (CreateComputePipelineState: out of memory (0x8007000E)), which fail on main as well.
  • SKIPPED (the same as on main): 21 "no wave64", 3 refused by the per-lane form, heap_window_out_of_memory_falls_back_to_the_switch_form (no heap windows), pso_measurement_compiles_an_exact_synthetic_record (needs Developer Mode).
  • Lab (the same change behind a switch, on our lab branch, NVIDIA): the #505 title went from a teal picture to the game's colours (cell wall in grey, the yard and sunset light in the window, a photo in colour; run W1, 470 s, no device removal). The title places thirteen such 33x33x33 RGBA16F render-target / UAV textures 512 KiB apart; before the change each took 18 tiles of 64 KiB, so neighbours shared 10.

Regression run
main:

xcl-smoke v1
commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1383 (PresentX 1383)
presents per 2 s (last 3): 35 52 56
device removals: 0
crashes: 0
peak commit: 19703 MB

this PR:

xcl-smoke v1
commit: e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7
gpu: NVIDIA GeForce RTX 5080
title: 16b5e5d4
seconds: 60
exit: 0x0
frames shown: 1615 (PresentX 1615)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 15692 MB

Not tested

  • The console's own size for 3-D render targets: no console xg_xs.dll (XCL_SAMPLE_XG) was at hand.
  • AMD GPUs. The lab run was on NVIDIA.
  • Other textures XG cannot size (MSAA, unknown formats) still get the PC's tile count. This PR covers 3-D textures only.

AI use

  • Claude Code. Claude Opus 5.5 coordinated the work. A Claude Fable 5.2 lab subagent found the bug and wrote the lab fix. A Claude Opus 5.5 subagent wrote this port, its test and this description.

🤖 Generated with Claude Code

**@⁠MacieGx** on GitHub · 2026-11-26 10:13 UTC · [original](https://github.com/xcl-dev/xcl/pull/2753) `MacieGx:d3d12x/volume-texture-size` → `main` · +65 −2 · 2 files · 1 commits · open A 3-D texture XG does not lay out (a 3-D render target: `xg::Texture::volume` refuses flags 1 / 2 with `E_NOTIMPL`) got no console size in `CreatePlacedResourceX`, so `vram` gave it every tile of the PC texture as a 64 KiB page at its address. The newer retail title of #505 places thirteen 33x33x33 RGBA16F colour LUTs (render target + UAV, flags 0x5) 512 KiB apart; the PC texture has 18 tiles of 64 KiB, so each LUT shared 10 pages with the next one. A LUT's bake overwrote rows of its neighbour, the tone map sampled another LUT's rows (LUT[black] = cyan) and the whole picture came out teal. Such a texture is now taken at the bytes of its texels (287,496 here: 5 pages of its own), which no console layout of it is smaller than. Part of #505. Why not the console's layout: what the console's library does with a 3-D render target is not known here. The `xg_oracle` volume test covers flags 0 and 4 only, and no console library was at hand to ask. The 2-D rule for render targets (64KB_R_X, thin for 3-D in our tiling model) would give 33 x 64 KiB = 2.06 MiB, which cannot be right for textures the title packs 512 KiB apart, and it would keep the overlap. 4KB_S thick (500 KiB) fits, but that is a guess. Teaching XG this would also change what `XGCreateTextureComputer` and `GetResourceAllocationInfo` tell titles. The texels' bytes are a lower bound of any layout, so the pages taken are always the texture's own. **What is in it** - `D3D12.X: a 3-D texture XG cannot size is taken at its texels' bytes` (`crates/xcl/src/hle/d3d12x/device_x.rs`: `console_bytes` / `volume_texel_bytes`, used by `create_placed_resource_x`; `vram::owned_pages` made `pub(super)` for the test), with the unit test `volume_targets_xg_does_not_lay_out_keep_to_their_texels`: two such LUTs 512 KiB apart do not share a page, a full mip chain is summed, and a sampled 3-D texture keeps XG's size. **Tested** - Without the fix (the fallback disabled, so `console_bytes` is XG's size only) the new test fails: `assertion left == right failed, left: None, right: Some(287496)`; with it, it passes - `cargo test --release -p xcl --lib -- volume_targets owned_pages hle::xg` on e07d03bf: 80 passed, 0 failed, 0 ignored, 1257 filtered out (CPU tests; the filter also matches `hle::xgameruntime`) - NVIDIA GeForce RTX 5080 (driver 621.24 = 32.0.16.2124), AMD Ryzen 7 5800X3D, 32 GB, Windows 11 Pro 10.0.26200, Rust 1.100.0 `stable-x86_64-pc-windows-msvc`, release. On `e07d03b` (this PR, on `main` `b49be18`). - `cargo build --release --workspace && cargo test --release --workspace --no-fail-fast -- --test-threads=4` on `e07d03b`: 1432 passed, 4 failed, 47 ignored. The 4 failures are `gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_0..3` (`CreateComputePipelineState: out of memory (0x8007000E)`), which fail on `main` as well. - SKIPPED (the same as on `main`): 21 "no wave64", 3 refused by the per-lane form, `heap_window_out_of_memory_falls_back_to_the_switch_form` (no heap windows), `pso_measurement_compiles_an_exact_synthetic_record` (needs Developer Mode). - Lab (the same change behind a switch, on our lab branch, NVIDIA): the #505 title went from a teal picture to the game's colours (cell wall in grey, the yard and sunset light in the window, a photo in colour; run W1, 470 s, no device removal). The title places thirteen such 33x33x33 RGBA16F render-target / UAV textures 512 KiB apart; before the change each took 18 tiles of 64 KiB, so neighbours shared 10. **Regression run** main: ``` xcl-smoke v1 commit: 568e7db7729c8fa6c8f0f4b32d798faaf11462bb gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1383 (PresentX 1383) presents per 2 s (last 3): 35 52 56 device removals: 0 crashes: 0 peak commit: 19703 MB ``` this PR: ``` xcl-smoke v1 commit: e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7 gpu: NVIDIA GeForce RTX 5080 title: 16b5e5d4 seconds: 60 exit: 0x0 frames shown: 1615 (PresentX 1615) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 15692 MB ``` **Not tested** - The console's own size for 3-D render targets: no console `xg_xs.dll` (`XCL_SAMPLE_XG`) was at hand. - AMD GPUs. The lab run was on NVIDIA. - Other textures XG cannot size (MSAA, unknown formats) still get the PC's tile count. This PR covers 3-D textures only. **AI use** - Claude Code. Claude Opus 5.5 coordinated the work. A Claude Fable 5.2 lab subagent found the bug and wrote the lab fix. A Claude Opus 5.5 subagent wrote this port, its test and this description. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
xg::Texture::volume refuses 3-D render targets (flags 1 / 2: E_NOTIMPL),
so CreatePlacedResourceX had no console size for them and vram gave such a
texture every tile of the PC texture as a 64 KiB page at its address. The
newer retail title of #505 places thirteen 33x33x33 RGBA16F colour LUTs
(flags 0x5) 512 KiB apart. The PC texture has 18 tiles, so each LUT shared
10 pages with the next one. A LUT's bake overwrote its neighbour's rows and
the tone map sampled the wrong LUT (black -> cyan): the picture was teal. On
our lab branch the same change turned the picture into the game's colours.

The fallback is the bytes of the texels of every level (287,496 bytes, 5
pages of its own, for that LUT) and not a console layout. What the console's
library does with a 3-D render target is not known: the xg oracle covers 3-D
flags 0 and 4 only, and no console library was at hand. The 2-D render
target rule (64KB_R_X, thin for 3-D) gives 2.06 MiB, which cannot be right
for textures packed 512 KiB apart and keeps the overlap. 4KB_S thick (500 KiB)
fits but is a guess. Teaching XG would also change what XGCreateTextureComputer
and GetResourceAllocationInfo tell titles. No layout is smaller than its
texels, so the pages taken are always the texture's own.

Part of #505.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 11:14:45 +00:00
Author
Owner

@⁠GodlyBDS on GitHub · 2026-11-26 10:34 UTC · original

Independent Ampere validation of the NVIDIA-branch precursor b59d2638

RTX 3090 Ti 24 GiB, driver 621.40, Windows 10, 32 GiB RAM. Both release builds use e877812e390cad68f9082445c43a397ebf8a00bf and the same local Agility path scope and #662 XG startup adapter. The treatment adds only b59d2638. The relevant settings are XCL_TEXTURE_LEVEL_PAGES=1 XCL_DIRECT_DXIL=1 XCL_PREPARE=0 XCL_PSO_PRELOAD=0 XCL_DRED=1 XCL_COHERENT_MB=4095 XCL_UMA_WINDOWS=4 XCL_HEAP_WINDOWS=1 XCL_TWO_PASS_MB=4096, with the verified app-only 1 GiB NVIDIA shader heap. Both arms cloned the same 11,721 native PSOs and matching shader cache, used the same starting profile and scripted inputs, and had no fixed runtime timeout. Cache manifest hashes and environment settings matched.

  • Without the tile-placement fix: a cyan-white image with scene details at 207.754 s. Device removal at 252.834 s.
  • With the tile-placement fix: the city-light horizon was predominantly dark with gold highlights at 323.222 s. Device removal at 323.288 s.
  • The exact NVIDIA-branch overlap regression a_3d_texture_of_unknown_console_size_keeps_off_the_next_textures_pages passed (1 pass, 0 failures, no skips).
  • Both removals were 0x887a0005. DRED returned VA zero with no matched allocation and no breadcrumbs. Neither removal had a corresponding Display 4101/nvlddmkm 153 in the event window.

The direction of the color change is consistent with correcting cyan sampled from the wrong LUT. The frames are from different points in the opening and this is one run per arm. The control also recorded 153 two-pass mesh allocation refusals at the same 4 GiB cap, while the treatment recorded zero. No claim about a matched-frame color error, correct geometry, sustained rendering or device-removal prevention. The exact #2753 head has not been run here. Memory details are in the existing #2688 report.

AI use: Codex (GPT-6) built and ran the pair, reviewed the backbuffer samples and wrote this report.

**@⁠GodlyBDS** on GitHub · 2026-11-26 10:34 UTC · [original](https://github.com/xcl-dev/xcl/pull/2753#issuecomment-7189544484) **Independent Ampere validation of the NVIDIA-branch precursor b59d2638** RTX 3090 Ti 24 GiB, driver 621.40, Windows 10, 32 GiB RAM. Both release builds use `e877812e390cad68f9082445c43a397ebf8a00bf` and the same local Agility path scope and #662 XG startup adapter. The treatment adds only [b59d2638](https://github.com/xcl-dev/xcl/commit/b59d2638ae35c30386c75b0b10ea9959c458f6fc). The relevant settings are `XCL_TEXTURE_LEVEL_PAGES=1 XCL_DIRECT_DXIL=1 XCL_PREPARE=0 XCL_PSO_PRELOAD=0 XCL_DRED=1 XCL_COHERENT_MB=4095 XCL_UMA_WINDOWS=4 XCL_HEAP_WINDOWS=1 XCL_TWO_PASS_MB=4096`, with the verified app-only 1 GiB NVIDIA shader heap. Both arms cloned the same 11,721 native PSOs and matching shader cache, used the same starting profile and scripted inputs, and had no fixed runtime timeout. Cache manifest hashes and environment settings matched. - **Without the tile-placement fix:** a cyan-white image with scene details at 207.754 s. Device removal at 252.834 s. - **With the tile-placement fix:** the city-light horizon was predominantly dark with gold highlights at 323.222 s. Device removal at 323.288 s. - The exact NVIDIA-branch overlap regression `a_3d_texture_of_unknown_console_size_keeps_off_the_next_textures_pages` passed (1 pass, 0 failures, no skips). - Both removals were 0x887a0005. DRED returned VA zero with no matched allocation and no breadcrumbs. Neither removal had a corresponding Display 4101/nvlddmkm 153 in the event window. The direction of the color change is consistent with correcting cyan sampled from the wrong LUT. The frames are from different points in the opening and this is one run per arm. The control also recorded 153 two-pass mesh allocation refusals at the same 4 GiB cap, while the treatment recorded zero. No claim about a matched-frame color error, correct geometry, sustained rendering or device-removal prevention. The exact #2753 head has not been run here. Memory details are in the existing [#2688 report](https://git.gtahub.st/github/xcl-dev--xcl/issues/2688). AI use: Codex (GPT-6) built and ran the pair, reviewed the backbuffer samples and wrote this report.
Author
Owner

@⁠emirduran707 on GitHub · 2026-11-26 10:46 UTC · original

Independent AMD RDNA4 (native wave64) verification of exact PR head e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7 on Windows 11 Pro 26300 (AMD Radeon RX 9060 XT 16 GB, driver 32.0.31044.16, Ryzen 5 5600, Rust 1.100.0 MSVC, DXC 1.9.2602.17).

Tested

  • cargo build --workspace (debug): passed (0 errors).
  • cargo test --workspace --no-fail-fast -- --test-threads=4: 1434 passed, 2 failed, 47 ignored (8 SKIPPED: 6 per-lane DXIL forms refused by host adapter/driver, 1 heap_window_out_of_memory_falls_back_to_the_switch_form no heap windows, 1 pso_measurement_compiles_an_exact_synthetic_record Windows Developer Mode off).
    • The new test hle::d3d12x::device_x::tests::volume_targets_xg_does_not_lay_out_keep_to_their_texels passed.
    • The 2 failures (gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1 and fuzz_validate_and_gpu_3) are pre-existing on unmodified main on this RX 9060 XT / driver 32.0.31044.16.
  • cargo build --release -p xcl + 60 s retail-title smoke test (scripts/smoke.ps1, offline):
xcl-smoke v1
commit: e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7
gpu: AMD Radeon RX 9060 XT
title: 21222967
seconds: 60
exit: 0x0
frames shown: 1591 (PresentX 1591)
presents per 2 s (last 3): 60 61 60
device removals: 0
crashes: 0
peak commit: 18654 MB

(Compare against main b49be183 on this machine: 1603 frames, 18576 MB peak, 0 device removals, 0 crashes.)

Not tested

  • NVIDIA / Intel GPUs, Linux / Wine.

AI use

  • Verification run and report prepared with Antigravity (Gemini 4 Neon); all build, test, and smoke results are from live runs on this machine.
**@⁠emirduran707** on GitHub · 2026-11-26 10:46 UTC · [original](https://github.com/xcl-dev/xcl/pull/2753#issuecomment-7189808819) Independent AMD RDNA4 (native wave64) verification of exact PR head `e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7` on Windows 11 Pro 26300 (AMD Radeon RX 9060 XT 16 GB, driver `32.0.31044.16`, Ryzen 5 5600, Rust 1.100.0 MSVC, DXC `1.9.2602.17`). **Tested** - `cargo build --workspace` (debug): passed (`0` errors). - `cargo test --workspace --no-fail-fast -- --test-threads=4`: `1434 passed, 2 failed, 47 ignored` (`8 SKIPPED`: 6 per-lane DXIL forms refused by host adapter/driver, 1 `heap_window_out_of_memory_falls_back_to_the_switch_form` no heap windows, 1 `pso_measurement_compiles_an_exact_synthetic_record` Windows Developer Mode off). - The new test `hle::d3d12x::device_x::tests::volume_targets_xg_does_not_lay_out_keep_to_their_texels` passed. - The 2 failures (`gpu::dxil::fuzz_tests::fuzz_validate_and_gpu_1` and `fuzz_validate_and_gpu_3`) are pre-existing on unmodified `main` on this RX 9060 XT / driver `32.0.31044.16`. - `cargo build --release -p xcl` + 60 s retail-title smoke test (`scripts/smoke.ps1`, offline): ``` xcl-smoke v1 commit: e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7 gpu: AMD Radeon RX 9060 XT title: 21222967 seconds: 60 exit: 0x0 frames shown: 1591 (PresentX 1591) presents per 2 s (last 3): 60 61 60 device removals: 0 crashes: 0 peak commit: 18654 MB ``` (Compare against `main` `b49be183` on this machine: `1603 frames, 18576 MB peak, 0 device removals, 0 crashes`.) **Not tested** - NVIDIA / Intel GPUs, Linux / Wine. **AI use** - Verification run and report prepared with Antigravity (Gemini 4 Neon); all build, test, and smoke results are from live runs on this machine.
Author
Owner

@⁠Decodere on GitHub · 2026-11-26 11:49 UTC · original

Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2753 at e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7 (exact parent origin/main b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7). Measurements and targeted test results only; not a full source review.

Setup

  • GPU: NVIDIA GeForce RTX 4060 (8 GB / 7956 MiB reported by D3D12), driver 32.0.16.2114 (NVIDIA 621.14, WDDM 3.2)
  • CPU / RAM / OS: Intel Core i5-11400F (6 cores / 12 threads), 32 GB RAM (31.9 GiB usable), Windows 11 Home 26200
  • Toolchain / caches: rustc 1.100.0 (0ef1bc386 2026-11-09), DXC 1.9.2609.5, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs)
  • Workload: Retail workload title: 29640639 via scripts/smoke.ps1 -Seconds 60 (XCL_NETWORK=0 XCL_ACTIVITY=1, default flags, no input)

Targeted RTX 4060 release unit tests (e07d03bf)

  • cargo test --release -p xcl --lib volume_targets_xg_does_not_lay_out_keep_to_their_texels -- --nocapture: 1 passed, 0 failed, 0 ignored (0.00 s, exit 0).
  • cargo test --release -p xcl --lib hle::d3d12x::vram:: -- --test-threads=4: 19 passed, 0 failed, 1 ignored (2.55 s, churn_update_tile_mappings_timing ignored, 0 skipped, exit 0).
  • cargo test --release -p xcl --lib hle::d3d12x::device_x:: -- --test-threads=4: 15 passed, 0 failed, 0 ignored (0.19 s, 0 skipped, exit 0).

Observations

  • The new 3-D volume-texture sizing fallback (volume_texel_bytes / console_bytes) passes volume_targets_xg_does_not_lay_out_keep_to_their_texels and all 34 targeted hle::d3d12x::vram:: and hle::d3d12x::device_x:: tests cleanly in --release on this RTX 4060 (8 GB) host with 0 skips.
  • Quiet 60 s retail smoke ran cleanly (exit: 0x0, 1556 frames shown, 60 60 60 steady-state presents per 2 s, 0 device removals, 0 crashes, 14009 MB peak commit vs parent b49be183's 14018 MB / 1518 frames).

Paired 60 s RTX 4060 smoke (b49be183 vs e07d03bf)

Parent origin/main (b49be183):

xcl-smoke v1
commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1518 (PresentX 1518)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14018 MB

PR #2753 head (e07d03bf):

xcl-smoke v1
commit: e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7
gpu: NVIDIA GeForce RTX 4060
title: 29640639
seconds: 60
exit: 0x0
frames shown: 1556 (PresentX 1556)
presents per 2 s (last 3): 60 60 60
device removals: 0
crashes: 0
peak commit: 14009 MB

Limits of coverage

  • Full workspace test suite was not re-run on e07d03bf (only targeted hle::d3d12x::vram:: and hle::d3d12x::device_x:: release tests plus paired quiet 60 s smoke).
  • The quiet 60 s no-input menu/intro smoke verifies no runtime regression on the baseline path rather than extended world-load 3-D volume-target VRAM savings (the XG fallback sizing path itself is covered by volume_targets_xg_does_not_lay_out_keep_to_their_texels).
  • Single discrete NVIDIA 8 GB GPU (RTX 4060) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host.

AI use

Ran the targeted release unit tests and paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts and smoke blocks were taken directly from cargo test and scripts/smoke.ps1 outputs.

**@⁠Decodere** on GitHub · 2026-11-26 11:49 UTC · [original](https://github.com/xcl-dev/xcl/pull/2753#issuecomment-7191211524) **Independent RTX 4060 (8 GB) / Windows 11 release verification of PR #2753 at `e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7`** (exact parent `origin/main` `b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7`). Measurements and targeted test results only; not a full source review. ### Setup - **GPU:** NVIDIA GeForce RTX 4060 (8 GB / `7956 MiB` reported by D3D12), driver `32.0.16.2114` (NVIDIA `621.14`, WDDM 3.2) - **CPU / RAM / OS:** Intel Core i5-11400F (6 cores / 12 threads), 32 GB RAM (`31.9 GiB` usable), Windows 11 Home `26200` - **Toolchain / caches:** `rustc 1.100.0 (0ef1bc386 2026-11-09)`, DXC `1.9.2609.5`, release builds, warm DXIL/pipeline caches, quiet machine (zero concurrent builds/tests during timed runs) - **Workload:** Retail workload `title: 29640639` via `scripts/smoke.ps1 -Seconds 60` (`XCL_NETWORK=0 XCL_ACTIVITY=1`, default flags, no input) ### Targeted RTX 4060 release unit tests (`e07d03bf`) - `cargo test --release -p xcl --lib volume_targets_xg_does_not_lay_out_keep_to_their_texels -- --nocapture`: **1 passed, 0 failed, 0 ignored** (`0.00 s`, exit `0`). - `cargo test --release -p xcl --lib hle::d3d12x::vram:: -- --test-threads=4`: **19 passed, 0 failed, 1 ignored** (`2.55 s`, `churn_update_tile_mappings_timing` ignored, `0` skipped, exit `0`). - `cargo test --release -p xcl --lib hle::d3d12x::device_x:: -- --test-threads=4`: **15 passed, 0 failed, 0 ignored** (`0.19 s`, `0` skipped, exit `0`). ### Observations - The new 3-D volume-texture sizing fallback (`volume_texel_bytes` / `console_bytes`) passes `volume_targets_xg_does_not_lay_out_keep_to_their_texels` and all 34 targeted `hle::d3d12x::vram::` and `hle::d3d12x::device_x::` tests cleanly in `--release` on this RTX 4060 (8 GB) host with `0` skips. - Quiet 60 s retail smoke ran cleanly (`exit: 0x0`, `1556` frames shown, `60 60 60` steady-state presents per 2 s, `0` device removals, `0` crashes, `14009 MB` peak commit vs parent `b49be183`'s `14018 MB` / `1518` frames). ### Paired 60 s RTX 4060 smoke (`b49be183` vs `e07d03bf`) Parent `origin/main` (`b49be183`): ``` xcl-smoke v1 commit: b49be1836844fe0b0cdb3211dce3cb7fb4e21ac7 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1518 (PresentX 1518) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14018 MB ``` PR #2753 head (`e07d03bf`): ``` xcl-smoke v1 commit: e07d03bf0fc1bcbfac3d369d2f7eeed5eba6afd7 gpu: NVIDIA GeForce RTX 4060 title: 29640639 seconds: 60 exit: 0x0 frames shown: 1556 (PresentX 1556) presents per 2 s (last 3): 60 60 60 device removals: 0 crashes: 0 peak commit: 14009 MB ``` ### Limits of coverage - Full workspace test suite was not re-run on `e07d03bf` (only targeted `hle::d3d12x::vram::` and `hle::d3d12x::device_x::` release tests plus paired quiet 60 s smoke). - The quiet 60 s no-input menu/intro smoke verifies no runtime regression on the baseline path rather than extended world-load 3-D volume-target VRAM savings (the XG fallback sizing path itself is covered by `volume_targets_xg_does_not_lay_out_keep_to_their_texels`). - Single discrete NVIDIA 8 GB GPU (`RTX 4060`) on native Windows 11; no AMD, Intel, or Wine/Linux run on this host. ### AI use Ran the targeted release unit tests and paired quiet 60 s smoke runs with assistance from Google Antigravity (Gemini 4 Neon); all test counts and smoke blocks were taken directly from `cargo test` and `scripts/smoke.ps1` outputs.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2753/head:github-bot/gh-2753'
git switch 'github-bot/gh-2753'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2753'
git switch 'github-bot/gh-2753'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2753'
git switch 'github-bot/gh-2753'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2753'
git switch 'main'
git merge --squash 'github-bot/gh-2753'
git switch 'main'
git merge --ff-only 'github-bot/gh-2753'
git switch 'main'
git merge 'github-bot/gh-2753'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.