AGC: fresh clear-proven native depth is refused when it inherits an owner #14083

Closed
opened 2026-10-31 18:22:27 +00:00 by Amoenus · 0 comments
Amoenus commented 2026-10-31 18:22:27 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-31T18:22:27Z.


Merged — checked 8 November: #14084 merged at db7522a70b on 7 November and this issue is closed. Current inspected main 4c4ff42a6c8c788046470ed512855229d98df0a1 contains the proven-initial-owner correction and its isolated regression fixture. The 7 November tests and controls retain their original exact pins; they are not a new title run. No pending re-land is required. AI-assisted:yes,Codex.

Current proposed fix — 4 November2026: #14084 at b16282dd5fde includes main b11c7bf84f5d2f636ff60166cc3371bd071e24d5. Paired component tests, exact pins, logs, controls and limits. Configured libraries/relinker/real fixtures, conventions and whitespace pass. Keep open pending merge; no new title/FPS/full-suite claim. The current-main behavior still fails this regression on both GPUs when only the fix is reverted; restoration passes. Main’s newer depth publication is retained.

What happens

A fresh, clear-proven native multisample depth attachment at an existing depth owner's address is refused with AGC graphics: native multisample depth fast-clear transition is not implemented.

Title, test or build step

New public synthetic regression agc_driver_native_depth_initial_owner (--initial-owner). Found while investigating Sonic Unleashed Recompiled PPSA99902/01.003.000 in #4443; this issue establishes the general initialization defect, not unchanged-main title compatibility.

AnyPS5 commit

Main ca073ec3ad0d766ea9f4658e418a5c977001a353 with only the identical regression fixture added, reproducible control 03eea7d64812. Production DepthSurface.cpp is byte-identical to main. Candidate b5829490036c changes one production predicate.

System

Windows11 Enterprise26200, Ryzen9950X3D, WinLibs GCC15.2.0 Release. Reproduces on actual NVIDIA GeForce RTX5080 (621.01/32.0.16.2101) and AMD Radeon Graphics1002:13c0 (26.10.1/32.0.21045.16010), with loaded Khronos validation1.4.363 verified per execution.

Host report

No new game host-report block for this synthetic fixture. Physical device and loaded-layer identities are retained in the verbose logs below.

Steps to reproduce

Build the public control with BUILD_TESTING enabled and the real NativeMultisampleDepth.cpp fixture; build libs and agc_driver_native_multisample_depth_tests. Set ANYPS5_REQUIRE_VULKAN=1, ANYPS5_NO_SHADER_CACHE=1, VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, a compatible layer path and ANYPS5_GPU to the physical device. Run:

ctest --test-dir <build> -V --timeout 30 -R '^agc_driver_native_depth_initial_owner$'

The fixture creates a single-sample owner, then a complete HTILE-clear note and a fresh supported multisample target at that depth address. Initial-import proof succeeds, but created && inherits records the generic transition refusal. The unchanged-main control stops within one second on each GPU.

Log

AGC graphics: native multisample depth fast-clear transition is not implemented

What was checked

Complete main/control/fix pins, source explanation, commands and raw logs. Same final fixture: two expected main failures; candidate passes all24 D16/D32 ×2/4/8-sample ×clear0/1 ×HTILE-encoding cases on each vendor, checking every sample after initialization and two raster writes. Four companion groups pass on main and candidate:18 positive physical-GPU processes overall, no selected validation warnings/errors/VUIDs/skips/timeouts.

The constructor already clears the new host image and a full depth clear prevents importing the old plane. Proposed correction preserves that initialization only for a newly created surface whose existing sampling/import checks succeeded; existing-surface and unsupported-import refusals remain. This builds on merged #6438's fresh-plane handling. Related #6300/#6808 retain the old bind refusal; layered #7256 moves it unchanged. No source from those open PRs is copied.

The composed title replay identified created1/inherits1/sampling1/pending0/clearGeneration0, but did not capture the old owner's type. Completed composed replays below provide supporting non-reproduction, but not exact admitted-branch proof; no FPS, full-suite, level-completion or console-equivalence claim. AI-assisted:yes(Codex);author responsible.

Proposed correction: #14084,now e269d111c4 on main121b. #12862 has merged;Depends on:none. Production fix remains identical to the pinned b582 control comparison above. Refreshed registration and24-case passes on each vendor. Completed954139d title follow-up below is supporting non-reproduction,not exact-branch proof;Completed f79/main121b traversal reaches34rings,then ordinary death/respawn,normalExitStage and normalOSclose0;barrel passage/farther stage remains unverified.

Completed supporting title replay: 954139d/mainca073 reaches seven rings,normal ExitStage,two idle-movie/Options returns and responsive Continue,then normal OS close0. Prior refusal not reproduced;exact admitted-branch hit and intermediate NOW LOADING are not verified,so no conclusive title-unblock claim. All394 libraries/immutable inputs verify afterward;0Vulkan errors/VUIDs,10known warnings. Deterministic main/control/fix proof above remains the basis for this defect.

Latest supporting composed title evidence: maintained in #4443: canonicaled55487/main3ee reaches34 rings, normal Exit Stage and clean Close0. Exact admitted-branch hit remains untraced, so this does not replace the deterministic source-pinned main/control/fix proof above or establish an isolated title unblock. #14084 remains open; the issue remains open pending merge. Detailed new title records remain local.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6138261170 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/14083). Originally posted by [Amoenus](https://github.com/Amoenus) on 2026-10-31T18:22:27Z. --- <!-- codex-current-initial-owner-20261107 --> **Merged — checked 8 November:** #14084 merged at `db7522a70b` on 7 November and this issue is closed. Current inspected main `4c4ff42a6c8c788046470ed512855229d98df0a1` contains the proven-initial-owner correction and its isolated regression fixture. The [7 November tests and controls](https://gist.github.com/Amoenus/0f6c3566c06e8b806efcea2186a6dac6#file-report-md) retain their original exact pins; they are not a new title run. No pending re-land is required. AI-assisted:yes,Codex. <!-- /codex-current-initial-owner-20261107 --> <!-- codex-all-pr-refresh-20261101 --> **Current proposed fix — 4 November2026:** #14084 at [b16282dd5fde](https://github.com/Amoenus/AnyPS5/commit/b16282dd5fde3006aea75297caf4d3acbfc86752) includes main `b11c7bf84f5d2f636ff60166cc3371bd071e24d5`. [Paired component tests, exact pins, logs, controls and limits](https://gist.github.com/Amoenus/944439561743bd60b368423eeedeaf61#file-report-md). Configured libraries/relinker/real fixtures, conventions and whitespace pass. Keep open pending merge; no new title/FPS/full-suite claim. The current-main behavior still fails this regression on both GPUs when only the fix is reverted; restoration passes. Main’s newer depth publication is retained. <!-- /codex-all-pr-refresh-20261101 --> <!-- codex-native-depth-initial-owner-20261031 --> ### What happens A fresh, clear-proven native multisample depth attachment at an existing depth owner's address is refused with `AGC graphics: native multisample depth fast-clear transition is not implemented`. ### Title, test or build step New public synthetic regression `agc_driver_native_depth_initial_owner` (`--initial-owner`). Found while investigating Sonic Unleashed Recompiled PPSA99902/01.003.000 in #4443; this issue establishes the general initialization defect, not unchanged-main title compatibility. ### AnyPS5 commit Main `ca073ec3ad0d766ea9f4658e418a5c977001a353` with **only the identical regression fixture added**, reproducible control [03eea7d64812](https://github.com/Amoenus/AnyPS5/commit/03eea7d64812aef527c965e5d85d0f4a4bd311d5). Production DepthSurface.cpp is byte-identical to main. Candidate [b5829490036c](https://github.com/Amoenus/AnyPS5/commit/b5829490036c0760bc5eeca0c3090e2e0c85c121) changes one production predicate. ### System Windows11 Enterprise26200, Ryzen9950X3D, WinLibs GCC15.2.0 Release. Reproduces on actual NVIDIA GeForce RTX5080 (621.01/32.0.16.2101) and AMD Radeon Graphics1002:13c0 (26.10.1/32.0.21045.16010), with loaded Khronos validation1.4.363 verified per execution. ### Host report No new game host-report block for this synthetic fixture. Physical device and loaded-layer identities are retained in the verbose logs below. ### Steps to reproduce Build the public control with BUILD_TESTING enabled and the real `NativeMultisampleDepth.cpp` fixture; build `libs` and `agc_driver_native_multisample_depth_tests`. Set `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_NO_SHADER_CACHE=1`, `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, a compatible layer path and `ANYPS5_GPU` to the physical device. Run: ```text ctest --test-dir <build> -V --timeout 30 -R '^agc_driver_native_depth_initial_owner$' ``` The fixture creates a single-sample owner, then a complete HTILE-clear note and a fresh supported multisample target at that depth address. Initial-import proof succeeds, but `created && inherits` records the generic transition refusal. The unchanged-main control stops within one second on each GPU. ### Log ```text AGC graphics: native multisample depth fast-clear transition is not implemented ``` ### What was checked [Complete main/control/fix pins, source explanation, commands and raw logs](https://gist.github.com/Amoenus/87d6c1bdbfac4dca23171afd7ce59602#file-native-depth-initial-owner-mainca073-20261031-report-v1-md). Same final fixture: two expected main failures; candidate passes all24 D16/D32 ×2/4/8-sample ×clear0/1 ×HTILE-encoding cases on each vendor, checking every sample after initialization and two raster writes. Four companion groups pass on main and candidate:18 positive physical-GPU processes overall, no selected validation warnings/errors/VUIDs/skips/timeouts. The constructor already clears the new host image and a full depth clear prevents importing the old plane. Proposed correction preserves that initialization only for a newly created surface whose existing sampling/import checks succeeded; existing-surface and unsupported-import refusals remain. This builds on merged #6438's fresh-plane handling. Related #6300/#6808 retain the old bind refusal; layered #7256 moves it unchanged. No source from those open PRs is copied. The composed title replay identified created1/inherits1/sampling1/pending0/clearGeneration0, but did not capture the old owner's type. Completed composed replays below provide supporting non-reproduction, but not exact admitted-branch proof; no FPS, full-suite, level-completion or console-equivalence claim. AI-assisted:yes(Codex);author responsible. Proposed correction: #14084,now [e269d111c4 on main121b](https://github.com/Amoenus/AnyPS5/commit/e269d111c4d72747e8864ad603fef730e2ce1247). #12862 has merged;Depends on:none. Production fix remains identical to the pinned b582 control comparison above. [Refreshed registration and24-case passes on each vendor](https://gist.github.com/Amoenus/87d6c1bdbfac4dca23171afd7ce59602#file-pr14084-split-main121b-20261031-report-md). Completed954139d title follow-up below is supporting non-reproduction,not exact-branch proof;[Completed f79/main121b traversal](https://gist.github.com/Amoenus/7bacc5c3adb35d968ff4331e53b37ec3#file-sonic-gameplay-main121b-20261031-report-v1-md) reaches34rings,then ordinary death/respawn,normalExitStage and normalOSclose0;barrel passage/farther stage remains unverified. **Completed supporting title replay:** [954139d/mainca073](https://gist.github.com/Amoenus/87d6c1bdbfac4dca23171afd7ce59602#file-sonic-initial-depth-owner-mainca073-20261031-report-v1-md) reaches seven rings,normal ExitStage,two idle-movie/Options returns and responsive Continue,then normal OS close0. Prior refusal not reproduced;exact admitted-branch hit and intermediate NOW LOADING are not verified,so no conclusive title-unblock claim. All394 libraries/immutable inputs verify afterward;0Vulkan errors/VUIDs,10known warnings. Deterministic main/control/fix proof above remains the basis for this defect. **Latest supporting composed title evidence:** maintained in [#4443](https://github.com/boykopovar/AnyPS5/discussions/4443): canonicaled55487/main3ee reaches34 rings, normal Exit Stage and clean Close0. Exact admitted-branch hit remains untraced, so this does not replace the deterministic source-pinned main/control/fix proof above or establish an isolated title unblock. #14084 remains open; the issue remains open pending merge. Detailed new title records remain local.
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#14083
No description provided.