docs(debt): record the storage image refusal over uncommitted guest memory #9275

Merged
xXPBSXx merged 2 commits from upstream-pr/9275 into main 2026-10-25 10:37:53 +00:00
xXPBSXx commented 2026-10-21 17:15:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-21T17:15:43Z.


What

Adds one technical debt entry to docs/dev/debt/libSceAgcDriver.md: StorageTexture throws AGC graphics: storage texture has no committed guest pages (Texture.cpp, the Require on CommittedRanges) when none of an image's guest pages is committed, and that aborts the guest. Three titles reach it, intermittently and only in runs of a few minutes:

  • PPSA15065 on an AMD Radeon RX 6400: lines 1411-1415 of the stderr of a 300 s run (1 stop in 5 runs of the same build). Lines 1089 and 1215 before it: storage image 0x26e810000+0x870000: memory no longer registered; 1 pending ranges dropped.
  • PPSA25936 on an NVIDIA GeForce RTX 4080 SUPER: lines 1711-1715 of the stderr of its run; no storage image line before it.
  • PPSA29413 on an NVIDIA GeForce RTX 4080 SUPER: lines 1234-1238 of the stderr of a 600 s run, after four storage image ...: guest memory changed while GPU results were pending; keeping the CPU's blocks lines (1179-1182).
    The log does not name the image's address; a local print of address and size did not catch a stop in five runs on the RX 6400 (the stop is intermittent), so the entry says that the address is unknown. What the console does with a storage descriptor over memory that is not committed is also unknown; no code changes, no behaviour is guessed.

Tested

Documentation only. python tools/check_conventions.py --base upstream/main passes; merge-tree against main 8b426927d7 is clean; branch head 6b2be773aa. The GPU lines are from the Selected GPU lines of the runs named above (RX 6400 from my runs, the two RTX runs from other runs of this project's testers).

Checklist

  • Based on current main; no other open PR implements the same functions (searched: storage texture committed guest pages)
  • One topic per PR
  • No comments in code except technical debt
  • Unimplemented paths throw; no new stubs
  • No notes, investigation .md files or images added
  • No new dependencies
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none (records three stops: PPSA15065, PPSA25936, PPSA29413)
  • GPUs tested: n/a (documentation); logs named above come from NVIDIA GeForce RTX 4080 SUPER and AMD Radeon RX 6400 on Windows 10 19045
  • AI-assisted: yes

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4955507089 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9275). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-21T17:15:43Z. --- ### What Adds one technical debt entry to `docs/dev/debt/libSceAgcDriver.md`: `StorageTexture` throws `AGC graphics: storage texture has no committed guest pages` (`Texture.cpp`, the `Require` on `CommittedRanges`) when none of an image's guest pages is committed, and that aborts the guest. Three titles reach it, intermittently and only in runs of a few minutes: - PPSA15065 on an AMD Radeon RX 6400: lines 1411-1415 of the stderr of a 300 s run (1 stop in 5 runs of the same build). Lines 1089 and 1215 before it: `storage image 0x26e810000+0x870000: memory no longer registered; 1 pending ranges dropped`. - PPSA25936 on an NVIDIA GeForce RTX 4080 SUPER: lines 1711-1715 of the stderr of its run; no storage image line before it. - PPSA29413 on an NVIDIA GeForce RTX 4080 SUPER: lines 1234-1238 of the stderr of a 600 s run, after four `storage image ...: guest memory changed while GPU results were pending; keeping the CPU's blocks` lines (1179-1182). The log does not name the image's address; a local print of address and size did not catch a stop in five runs on the RX 6400 (the stop is intermittent), so the entry says that the address is unknown. What the console does with a storage descriptor over memory that is not committed is also unknown; no code changes, no behaviour is guessed. ### Tested Documentation only. `python tools/check_conventions.py --base upstream/main` passes; merge-tree against `main` `8b426927d7` is clean; branch head `6b2be773aa`. The GPU lines are from the `Selected GPU` lines of the runs named above (RX 6400 from my runs, the two RTX runs from other runs of this project's testers). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions (searched: `storage texture committed guest pages`) - [x] One topic per PR - [x] No comments in code except technical debt - [x] Unimplemented paths throw; no new stubs - [x] No notes, investigation `.md` files or images added - [x] No new dependencies - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none (records three stops: PPSA15065, PPSA25936, PPSA29413) - [x] GPUs tested: n/a (documentation); logs named above come from NVIDIA GeForce RTX 4080 SUPER and AMD Radeon RX 6400 on Windows 10 19045 - [x] AI-assisted: yes AI-assisted (Claude Code).
JJenkx commented 2026-10-22 00:02:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T00:02:20Z.


A fourth title for this entry: Blue Prince (PPSA25009) on an AMD Radeon RX 6650 XT (RADV Mesa 26.2.4, Linux 7.2.9), clean Release 7ab4b2e561.

  • 1 stop in 9 runs of the same build and input schedule. Each run was 160 s; the stop was at 148 s, in the 3D scene. It came in 1 of the 5 runs with the default draw cache size; the 4 with APS5_DRAW_CACHE_ENTRIES=32768 ran to the end.
  • No storage image ... line before it, as in the PPSA25936 case. The failure comes out through presentation:
[gpu] driver failure: AGC graphics: storage texture has no committed guest pages
[videoout] presentation failed: AGC graphics: storage texture has no committed guest pages

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6329309886 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9275#issuecomment-6329309886). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T00:02:20Z. --- A fourth title for this entry: **Blue Prince (PPSA25009)** on an AMD Radeon RX 6650 XT (RADV Mesa 26.2.4, Linux 7.2.9), clean Release `7ab4b2e561`. - 1 stop in 9 runs of the same build and input schedule. Each run was 160 s; the stop was at 148 s, in the 3D scene. It came in 1 of the 5 runs with the default draw cache size; the 4 with `APS5_DRAW_CACHE_ENTRIES=32768` ran to the end. - No `storage image ...` line before it, as in the PPSA25936 case. The failure comes out through presentation: ``` [gpu] driver failure: AGC graphics: storage texture has no committed guest pages [videoout] presentation failed: AGC graphics: storage texture has no committed guest pages ``` - I have no stack, so I can't tell whether it took the `StoreIdleResults -> FlushPending -> FlushDepthPlanes` path that #9406 handles. The log is in [20261021-blueprince-drawcache-PPSA25009.tar.gz](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/20261021-blueprince-drawcache-PPSA25009.tar.gz) (`bd1-stop.txt`), from the draw-cache measurement in https://github.com/boykopovar/AnyPS5/discussions/9189#discussioncomment-19108869. AI-assisted: yes (Claude Code).
JJenkx commented 2026-10-22 04:03:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T04:03:04Z.


A reproducible case for this entry: Hamster Playground (PPSA06652) 01.009.000, Unity, on main 38d3c0858a + #8847 (an unrelated AGC change). Radeon RX 6650 XT, RADV Mesa 26.2.4, Linux 7.2.9.

  • Scripted input: Cross at 25 and 40 s to clear the disclaimer, Down at 55 s to move to PLAY on the "Select your house" screen, Cross at 58 s.
  • Both runs with that schedule stop at 60.3 s, about 2 s after the Cross that starts loading the house, with no storage image ... line before it:
[gpu] driver failure: AGC graphics: storage texture has no committed guest pages
  • The line before it in each run is the title opening a loading-screen background, /app0/Media/StreamingAssets/Backgrounds/07.jpg and 03.jpg.
  • A run without the Down press stays on the house-select screen for 180 s with no stop, so the trigger is starting the game, not time.

Unlike the intermittent cases above, this one should be easy to catch under a debugger. I haven't taken a stack, so I can't say whether it's the depth-plane path in #9406. Logs, reports and the 57 s screenshot: 20261022-PPSA06652-storage-stop.tar.gz (sha256 e8edb318cdeaf2a4dbe5ac346867159c3338636ff2002173f5dd03d7c2fbe7e3).

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6332383824 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9275#issuecomment-6332383824). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T04:03:04Z. --- A **reproducible** case for this entry: **Hamster Playground (PPSA06652) 01.009.000**, Unity, on `main` `38d3c0858a` + #8847 (an unrelated AGC change). Radeon RX 6650 XT, RADV Mesa 26.2.4, Linux 7.2.9. - Scripted input: Cross at 25 and 40 s to clear the disclaimer, Down at 55 s to move to PLAY on the "Select your house" screen, Cross at 58 s. - Both runs with that schedule stop at **60.3 s**, about 2 s after the Cross that starts loading the house, with no `storage image ...` line before it: ``` [gpu] driver failure: AGC graphics: storage texture has no committed guest pages ``` - The line before it in each run is the title opening a loading-screen background, `/app0/Media/StreamingAssets/Backgrounds/07.jpg` and `03.jpg`. - A run without the Down press stays on the house-select screen for 180 s with no stop, so the trigger is starting the game, not time. Unlike the intermittent cases above, this one should be easy to catch under a debugger. I haven't taken a stack, so I can't say whether it's the depth-plane path in #9406. Logs, reports and the 57 s screenshot: [20261022-PPSA06652-storage-stop.tar.gz](https://github.com/JJenkx/AnyPS5/releases/download/game-library-checks-20261016/20261022-PPSA06652-storage-stop.tar.gz) (sha256 `e8edb318cdeaf2a4dbe5ac346867159c3338636ff2002173f5dd03d7c2fbe7e3`). AI-assisted: yes (Claude Code).
JJenkx commented 2026-10-22 05:44:46 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JJenkx on 2026-10-22T05:44:46Z.


Follow-up on Hamster Playground above: it is the FlushDepthPlanes path. A GDB stack shows Driver::run -> VulkanDevice::StoreIdleResults -> StorageTexture::FlushPending -> FlushDepthPlanes -> StorageTexture::Create -> Require. With #9406 it no longer stops: 3 of 3 runs against 3 of 3 stops on its base. Details: https://github.com/boykopovar/AnyPS5/pull/9406#issuecomment-6333703235

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6333705716 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9275#issuecomment-6333705716). Originally posted by [JJenkx](https://github.com/JJenkx) on 2026-10-22T05:44:46Z. --- Follow-up on Hamster Playground above: it is the `FlushDepthPlanes` path. A GDB stack shows `Driver::run -> VulkanDevice::StoreIdleResults -> StorageTexture::FlushPending -> FlushDepthPlanes -> StorageTexture::Create -> Require`. With #9406 it no longer stops: 3 of 3 runs against 3 of 3 stops on its base. Details: https://github.com/boykopovar/AnyPS5/pull/9406#issuecomment-6333703235
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!9275
No description provided.