AGC: imported depth-plane partial-store test fails refresh-proof assertion on Windows (NVIDIA and AMD) #10664

Closed
opened 2026-10-24 15:58:40 +00:00 by Amoenus · 0 comments
Amoenus commented 2026-10-24 15:58:40 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-24T15:58:40Z.


Resolved on main via #10696, merge 1223406b0b20. The post-import generation correction is now in main. The source-pinned Windows main/change results and independent contributor reports below remain historical evidence; no new current-main run is implied. AI-assisted report maintenance: yes (Codex).

26 October current-main refresh: #10696 now incorporates main 48c160c58b589157ebd94ebd53736a182f8303bf at exact tested head 7191aef0047c81dd4b99727aaf5ba63d6648f76a, retaining the identical correction and published ancestry. Original imported proof fails3/3 per RTX5080 and AMD Radeon Graphics on literal main, passes3/3 per GPU with the fix; unimported controls pass3/3 per GPU on both. Candidate12/12 passes; six main failures retained. Loaded Khronos/actual GPU verified, zero VUID/errors/warnings/skips/timeouts. Known imported small-plane omission remains explicit. All24 logs, pins, artifact hashes and advisory analysis. No new title/full-suite/performance claim. Earlier reports below retain their old pins. AI-assisted: yes (Codex).

What happens

agc_driver_depth_plane_partial_store fails with AGC graphics: repeated lookups of the first layer of an unchanged array proved no refresh on both tested Windows GPUs. Its existing _unimported registration passes on the same build and devices.

Title, test or build step

Synthetic CTest agc_driver_depth_plane_partial_store (tests/execution/DepthPlanePartialStore.cpp), specifically the refresh-proof expectation introduced in merged #9443. No game dump is needed.

AnyPS5 commit

Latest unchanged-main check: 137a8fab89, full native-library/relinker build and real fixture completed. Ordinary fails on both GPUs; _unimported passes on both. The broader selected matrix is27passes/2known failures across29processes. The four issue-specific unchanged-main logs are attached with the latest provenance report.

Latest diagnostic a7149e0e30 changes only library tracing, with the original test byte-identical to main. Generated trace/cache metadata changes as usual; this is not unchanged-main execution. Earlier dca72/3ca5 and fourth-call diagnostic data keep their original source pins below.

System

  • Windows 11 Enterprise 10.0.26200; WinLibs GCC 15.2.0 r7, Release.
  • NVIDIA GeForce RTX 5080, NVIDIA 610.62 (Windows 32.0.16.1062).
  • AMD Radeon(TM) Graphics, Windows driver 32.0.21036.18.
  • Khronos validation layer 1.4.363, confirmed inserted in the device layer stack in each verbose log; selected physical device identity confirmed separately for each test.

Steps to reproduce

Build main with tests enabled and DepthPlanePartialStore included in ANYPS5_AGC_EXECUTION_TESTS (or use the default full execution-fixture selection). Build libs and agc_driver_depth_plane_partial_store_tests. On this machine, from PowerShell with the build toolchain on PATH:

$env:ANYPS5_REQUIRE_VULKAN = '1'
$env:ANYPS5_NO_SHADER_CACHE = '1'
$env:APS5_NO_PIPELINE_JOURNAL = '1'
$env:VK_INSTANCE_LAYERS = 'VK_LAYER_KHRONOS_validation'
$env:VK_LAYER_PATH = 'C:\Users\Amoenus\Tools\VulkanSDK\1.4.363.0\Bin'
$env:VK_LOADER_DEBUG = 'error,warn,info,driver,layer'
$env:ANYPS5_GPU = 'NVIDIA GeForce RTX 5080'
ctest --test-dir <build> -V -j1 --timeout 30 -R '^agc_driver_depth_plane_partial_store(_unimported)?$'

Repeat with ANYPS5_GPU=AMD Radeon(TM) Graphics. Do not set APS5_NO_HOST_IMPORT for the ordinary registration; the _unimported registration sets its own no-import control. The failing test stops within one second here.

Log

guest memory is not write-watched here: guest writes into a partly stored plane are not exercised
AGC graphics: repeated lookups of the first layer of an unchanged array proved no refresh
1/1 Test ... agc_driver_depth_plane_partial_store ...***Failed

What was checked

Earlier dca72 rerun and requested diagnostic values (two repeats per registration/device):

GPU Registration Unchanged-main outcome Diagnostic WriteWatched / Watched Diagnostic RefreshesProved
RTX5080 ordinary/imported fail2/2, same assertion 1 / 1 0→0
RTX5080 _unimported pass2/2 1 / 1 0→1
Radeon(TM)Graphics ordinary/imported fail2/2, same assertion 1 / 1 0→0
Radeon(TM)Graphics _unimported pass2/2 1 / 1 0→1

The values match in both repetitions. All16latest processes: verified device/layer,zero VUID/error/warning/skip/timeout/missing-layer. Watched is queried over array.baseAddress,3u*PlaneBytes. Root cause remains unproven; these values do not demonstrate wrong texels. Full -V logs and source-separated manifest.

Fixture provenance: DepthPlanePartialStore.cpp has identical blob 8bcdfb60dcf5c4568f79fa0df462f35aab5dedc4 at3ca5,3fcb anddca72; the latest run rebuilt the newer surrounding implementation. Diagnostic conventions pass.

Latest: proposed correction in #10696

Upstream PR: #10696, final head3a28164803/main5357. Final original ordinary/unimported checks pass12/12 on both GPUs; final pins and analysis.

Frozen main29f539: original ordinary registration fails3/3/vendor; unimported passes. Focused correction8afdc2e10a recollects after successful host-import setup:37/37 focused processes pass, including the original ordinary/unimported fixtures3×/vendor. Full native/relinker builds and conventions pass; no VUID/errors/warnings/skips/timeouts. No Sonic-causality or speed claim.

The requested test-only outer-layer initialization control passes8/8 on both GPUs. Explicit library-only walk markers on the ORIGINAL fixture show newer Cpu/stored stamps in the walk BEFORE the driver import (NVIDIA21,AMD39), followed by ImportWindow/stored0 at22/40; the upload saved the earlier20/38. That observation branch retains the ordinary failure4/4 and unimported pass4/4. Changed fixture and observation-only tracing are separate from the production fix.

Full pins, individual ranges/kinds, logs and matrix. Earlier evidence remains in the Gist and discussion. AI-assisted: yes (Codex).

Earlier source-pinned checks:

Source RTX 5080 ordinary / unimported AMD ordinary / unimported
Unmodified main 3ca5b17655 fail 3/3 / pass 1/1 fail 2/2 / pass 1/1
Retirement prerequisite composition 5c3f1dc298 fail 1/1 / pass 1/1 fail 1/1 / pass 1/1
Sonic integration 969df9e1ed fail 1/1 / pass 1/1 fail 1/1 / pass 1/1

The compositions are corroboration, not additional unchanged-main results. All these depth-plane processes have zero VUID- lines, validation errors, validation warnings, missing-layer messages, skips or timeouts. The ordinary registration exits at the assertion and does not complete its later layer-flush checks; the unimported registration passes. No runtime guard or test assertion was relaxed.

Root cause is not established. This is an unavailable refresh-proof assertion, not evidence of a texel mismatch or a demonstrated Sonic rendering bug. The driver probe reports private host imports retaining write tracking, but that does not establish why the later proof is unavailable.

Full verbose logs/manifests: seven original unchanged-main processes plus8dca72 unchanged-main and8diagnostic processes: https://gist.github.com/Amoenus/86b381e46b96f09c6c89d64dc3076264.

Related initial report: https://github.com/boykopovar/AnyPS5/pull/9443#issuecomment-6386291567. This issue is the active tracker for follow-up; #9443 is already merged. Exact test-name/error searches found no existing issue. @janzezno, this records the imported-case proof expectation for follow-up without treating a passed unimported run as coverage of the failing branch.

AI-assisted: yes (Codex).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6014811145 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/10664). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-24T15:58:40Z. --- <!-- codex-resolved-main-20261027-10664 --> **Resolved on main via #10696**, merge [`1223406b0b20`](https://github.com/boykopovar/AnyPS5/commit/1223406b0b20e0dcbc2c99e56490bd8701a4b3a8). The post-import generation correction is now in main. The source-pinned Windows main/change results and independent contributor reports below remain historical evidence; no new current-main run is implied. AI-assisted report maintenance: yes (Codex). <!-- /codex-resolved-main-20261027-10664 --> <!-- codex-refresh-main48c-20261026 --> **26 October current-main refresh:** #10696 now incorporates main `48c160c58b589157ebd94ebd53736a182f8303bf` at exact tested head `7191aef0047c81dd4b99727aaf5ba63d6648f76a`, retaining the identical correction and published ancestry. Original imported proof fails3/3 per RTX5080 and AMD Radeon Graphics on literal main, passes3/3 per GPU with the fix; unimported controls pass3/3 per GPU on both. Candidate12/12 passes; six main failures retained. Loaded Khronos/actual GPU verified, zero VUID/errors/warnings/skips/timeouts. Known imported small-plane omission remains explicit. [All24 logs, pins, artifact hashes and advisory analysis](https://gist.github.com/Amoenus/86b381e46b96f09c6c89d64dc3076264#file-current-main48c-qualification-v1-json). No new title/full-suite/performance claim. Earlier reports below retain their old pins. AI-assisted: yes (Codex). <!-- /codex-refresh-main48c-20261026 --> ### What happens `agc_driver_depth_plane_partial_store` fails with `AGC graphics: repeated lookups of the first layer of an unchanged array proved no refresh` on both tested Windows GPUs. Its existing `_unimported` registration passes on the same build and devices. ### Title, test or build step Synthetic CTest `agc_driver_depth_plane_partial_store` (`tests/execution/DepthPlanePartialStore.cpp`), specifically the refresh-proof expectation introduced in merged #9443. No game dump is needed. ### AnyPS5 commit Latest unchanged-main check: **137a8fab8984506ec9359dbfc2651bc367e0d381**, full native-library/relinker build and real fixture completed. Ordinary fails on both GPUs; `_unimported` passes on both. The broader selected matrix is27passes/2known failures across29processes. The four issue-specific unchanged-main logs are attached with the latest provenance report. Latest diagnostic [a7149e0e30](https://github.com/Amoenus/AnyPS5/commit/a7149e0e304299b75c09d4b70a1ec1f9b70f093f) changes only library tracing, with the original test byte-identical to main. Generated trace/cache metadata changes as usual; this is not unchanged-main execution. Earlier dca72/3ca5 and fourth-call diagnostic data keep their original source pins below. ### System - Windows 11 Enterprise 10.0.26200; WinLibs GCC 15.2.0 r7, Release. - NVIDIA GeForce RTX 5080, NVIDIA 610.62 (Windows 32.0.16.1062). - AMD Radeon(TM) Graphics, Windows driver 32.0.21036.18. - Khronos validation layer 1.4.363, confirmed inserted in the device layer stack in each verbose log; selected physical device identity confirmed separately for each test. ### Steps to reproduce Build main with tests enabled and `DepthPlanePartialStore` included in `ANYPS5_AGC_EXECUTION_TESTS` (or use the default full execution-fixture selection). Build `libs` and `agc_driver_depth_plane_partial_store_tests`. On this machine, from PowerShell with the build toolchain on PATH: ```powershell $env:ANYPS5_REQUIRE_VULKAN = '1' $env:ANYPS5_NO_SHADER_CACHE = '1' $env:APS5_NO_PIPELINE_JOURNAL = '1' $env:VK_INSTANCE_LAYERS = 'VK_LAYER_KHRONOS_validation' $env:VK_LAYER_PATH = 'C:\Users\Amoenus\Tools\VulkanSDK\1.4.363.0\Bin' $env:VK_LOADER_DEBUG = 'error,warn,info,driver,layer' $env:ANYPS5_GPU = 'NVIDIA GeForce RTX 5080' ctest --test-dir <build> -V -j1 --timeout 30 -R '^agc_driver_depth_plane_partial_store(_unimported)?$' ``` Repeat with `ANYPS5_GPU=AMD Radeon(TM) Graphics`. Do not set `APS5_NO_HOST_IMPORT` for the ordinary registration; the `_unimported` registration sets its own no-import control. The failing test stops within one second here. ### Log ```text guest memory is not write-watched here: guest writes into a partly stored plane are not exercised AGC graphics: repeated lookups of the first layer of an unchanged array proved no refresh 1/1 Test ... agc_driver_depth_plane_partial_store ...***Failed ``` ### What was checked **Earlier dca72 rerun and requested diagnostic values** (two repeats per registration/device): | GPU | Registration | Unchanged-main outcome | Diagnostic WriteWatched / Watched | Diagnostic RefreshesProved | |---|---|---|---|---| | RTX5080 | ordinary/imported | fail2/2, same assertion | 1 / 1 | 0→0 | | RTX5080 | `_unimported` | pass2/2 | 1 / 1 | 0→1 | | Radeon(TM)Graphics | ordinary/imported | fail2/2, same assertion | 1 / 1 | 0→0 | | Radeon(TM)Graphics | `_unimported` | pass2/2 | 1 / 1 | 0→1 | The values match in both repetitions. All16latest processes: verified device/layer,zero VUID/error/warning/skip/timeout/missing-layer. `Watched` is queried over `array.baseAddress,3u*PlaneBytes`. Root cause remains unproven; these values do not demonstrate wrong texels. [Full `-V` logs and source-separated manifest](https://gist.github.com/Amoenus/86b381e46b96f09c6c89d64dc3076264#file-validation_currentdca72-md). Fixture provenance: `DepthPlanePartialStore.cpp` has identical blob `8bcdfb60dcf5c4568f79fa0df462f35aab5dedc4` at3ca5,3fcb anddca72; the latest run rebuilt the newer surrounding implementation. Diagnostic conventions pass. <!-- codex-lookup-outcomes-v1 --> ### Latest: proposed correction in #10696 Upstream PR: [#10696](https://github.com/boykopovar/AnyPS5/pull/10696), final head3a28164803/main5357. Final original ordinary/unimported checks pass12/12 on both GPUs; [final pins and analysis](https://gist.github.com/Amoenus/86b381e46b96f09c6c89d64dc3076264#file-final_publication_main5357-md). Frozen main29f539: original ordinary registration fails3/3/vendor; unimported passes. [Focused correction8afdc2e10a](https://github.com/Amoenus/AnyPS5/commit/8afdc2e10a5ef906e7de0b73ce11a91951425c76) recollects after successful host-import setup:37/37 focused processes pass, including the original ordinary/unimported fixtures3×/vendor. Full native/relinker builds and conventions pass; no VUID/errors/warnings/skips/timeouts. No Sonic-causality or speed claim. The requested test-only outer-layer initialization control passes8/8 on both GPUs. Explicit library-only walk markers on the ORIGINAL fixture show newer Cpu/stored stamps in the walk BEFORE the driver import (NVIDIA21,AMD39), followed by ImportWindow/stored0 at22/40; the upload saved the earlier20/38. That observation branch retains the ordinary failure4/4 and unimported pass4/4. Changed fixture and observation-only tracing are separate from the production fix. [Full pins, individual ranges/kinds, logs and matrix](https://gist.github.com/Amoenus/86b381e46b96f09c6c89d64dc3076264#file-requested_controls_main29f539-md). Earlier evidence remains in the Gist and discussion. AI-assisted: yes (Codex). <!-- /codex-lookup-outcomes-v1 --> **Earlier source-pinned checks:** | Source | RTX 5080 ordinary / unimported | AMD ordinary / unimported | |---|---|---| | Unmodified main `3ca5b17655` | fail 3/3 / pass 1/1 | fail 2/2 / pass 1/1 | | Retirement prerequisite composition `5c3f1dc298` | fail 1/1 / pass 1/1 | fail 1/1 / pass 1/1 | | Sonic integration `969df9e1ed` | fail 1/1 / pass 1/1 | fail 1/1 / pass 1/1 | The compositions are corroboration, not additional unchanged-main results. All these depth-plane processes have zero `VUID-` lines, validation errors, validation warnings, missing-layer messages, skips or timeouts. The ordinary registration exits at the assertion and does not complete its later layer-flush checks; the unimported registration passes. No runtime guard or test assertion was relaxed. Root cause is **not established**. This is an unavailable refresh-proof assertion, not evidence of a texel mismatch or a demonstrated Sonic rendering bug. The driver probe reports private host imports retaining write tracking, but that does not establish why the later proof is unavailable. Full verbose logs/manifests: seven original unchanged-main processes plus8dca72 unchanged-main and8diagnostic processes: https://gist.github.com/Amoenus/86b381e46b96f09c6c89d64dc3076264. Related initial report: https://github.com/boykopovar/AnyPS5/pull/9443#issuecomment-6386291567. This issue is the active tracker for follow-up; #9443 is already merged. Exact test-name/error searches found no existing issue. @janzezno, this records the imported-case proof expectation for follow-up without treating a passed unimported run as coverage of the failing branch. AI-assisted: yes (Codex).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#10664
No description provided.