docs(debt): record that an unstable runtime resource snapshot ends the title #15305

Merged
JJenkx merged 3 commits from upstream-pr/15305 into main 2026-11-07 03:52:06 +00:00
JJenkx commented 2026-11-02 23:15:00 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-11-02T23:15:00Z.


What

A debt entry for the runtime resource snapshot refusal in ResourceMaterializer.cpp. Capture retries three times, forcing pending descriptor writes on the last attempt. It throws runtime resource snapshot did not stabilize if descriptor-scope changes, or mapping changes that the snapshot-validity callback cannot accept, disturb every attempt. Current main can accept unrelated allocation churn; persistently unstable descriptors or captured views still fail. A console GPU reads descriptors during execution and has no equivalent host snapshot.

The refusal itself is intended and already tested: the "unstable epoch refusal" case in core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp (built into agc_shader_memory_tests) requires Capture to throw when every retry is invalidated. This adds only the entry.

Tested

Docs-only merge 16ca8218dea068f50c04ee8b83419ba17fd63e75 includes main b11c7bf84f5d2f636ff60166cc3371bd071e24d5. python3 tools/check_conventions.py --base origin/main and git diff --check pass. The only delta from that main is the debt entry; production and submodule trees match main. No runtime, GPU, title, or performance tests were run for this documentation refresh. Downloaded and hash-verified source proof.

Historical evidence for the entry (predates current snapshot-validity narrowing; no new-head title claim): Code Violet (PPSA26528) on unmodified main 128b5c49ba, Linux, RX 6650 XT, RADV Mesa 26.2.6. The abort happened once in five completed runs at the default unit shadow cap (compute shader 0x1b80478800, 72 s) and once in four at APS5_UNIT_SHADOW_MIB=830 (compute shader 0x1ac36ce600, 62 s). Details in #12066 (note).

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a (docs only)
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5128957124 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15305). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-11-02T23:15:00Z. --- ### What A debt entry for the runtime resource snapshot refusal in `ResourceMaterializer.cpp`. Capture retries three times, forcing pending descriptor writes on the last attempt. It throws `runtime resource snapshot did not stabilize` if descriptor-scope changes, or mapping changes that the snapshot-validity callback cannot accept, disturb every attempt. Current main can accept unrelated allocation churn; persistently unstable descriptors or captured views still fail. A console GPU reads descriptors during execution and has no equivalent host snapshot. The refusal itself is intended and already tested: the "unstable epoch refusal" case in `core/libs/prx/libSceAgcDriver/tests/ShaderMemory.cpp` (built into `agc_shader_memory_tests`) requires `Capture` to throw when every retry is invalidated. This adds only the entry. ### Tested Docs-only merge `16ca8218dea068f50c04ee8b83419ba17fd63e75` includes main `b11c7bf84f5d2f636ff60166cc3371bd071e24d5`. `python3 tools/check_conventions.py --base origin/main` and `git diff --check` pass. The only delta from that main is the debt entry; production and submodule trees match main. No runtime, GPU, title, or performance tests were run for this documentation refresh. [Downloaded and hash-verified source proof](https://github.com/JJenkx/AnyPS5/releases/download/linux-validation-20261023/pr15305-16ca8218-mainb11-docs-linux-20261104.tar.gz). Historical evidence for the entry (predates current snapshot-validity narrowing; no new-head title claim): Code Violet (PPSA26528) on unmodified `main` `128b5c49ba`, Linux, RX 6650 XT, RADV Mesa 26.2.6. The abort happened once in five completed runs at the default unit shadow cap (`compute shader 0x1b80478800`, 72 s) and once in four at `APS5_UNIT_SHADOW_MIB=830` (`compute shader 0x1ac36ce600`, 62 s). Details in #12066 ([note](https://github.com/boykopovar/AnyPS5/pull/12066#issuecomment-6590894697)). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a (docs only) - [x] AI-assisted: yes
Sign in to join this conversation.
No reviewers
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!15305
No description provided.