AGC: since #6060, ProsperoPuzzles (PPSA99006) stops at 5 s with the storage-image write-back throw on Windows #6301

Closed
opened 2026-10-15 10:21:38 +00:00 by LeandroLP23 · 2 comments
LeandroLP23 commented 2026-10-15 10:21:38 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-15T10:21:38Z.


Since #6060 was merged, ProsperoPuzzles (PPSA99006, catalog release 01.000.010) stops 5–7 s after launch on Windows:

AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented

The commit before the merge keeps it running. @parl0v, this looks like a path that #6060's watched private imports now reach.

Setup: Windows 11 (26300), Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release. Relinked with --windows --trap-sdk-syscall-stubs, a new run folder each time, 60 s per run, no input.

Build Result
c4f03522a (0afa6a607^1, main just before #6060) 3 of 3 alive at 60 s, 9.5–13.7 FPS
0afa6a607 (#6060's merge) 2 of 2 stop at 5–7 s with the throw above
current main e49ec591d 1 of 1 stops at 5 s, same throw
e49ec591d + #5671 (64 KiB blocks leaving the watch) 2 of 2 stop at 5 s, same throw

The runs alternated: before, after, before. Just before the throw, the title's own log (download0/prosperopuzzles/app.log) has:

[write-watch] host imports of write-watched memory keep the write watch: yes (4096 of 4096 scratch pages reported written at the import, 0 by its 4-byte settle read, 0 after it, 0 after a full GPU read, 0 after a second, 0 after a GPU write, 1 after a CPU store); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking
[src/Texture.cpp:750 Texture] Texture address=0x21fc00000 220x300 mips=1 viewed from storage image (vk=37)
...
[gpu] storage image 0x21fc00000: guest memory changed while GPU results were pending; keeping the CPU's blocks

The throw is one of the two Require(!unsavedOutsideWatch, ...) checks in Graphics/src/Texture.cpp, from e5449936f. I haven't traced which import puts the image's layers outside the watch.

Wider context: in a catalog sweep on the same machine, main before and after #6060 behave the same everywhere else. Many titles gain a lot: OliSe Player 21 → 60 FPS, SymphonyStation5 24 → 60, ProsperoEden 21 → 60, SwanStationPS5 13 → 38, Emby5 30 → 57, Prospero Vibrate 5 → 12. This title is the only one that newly stops. Mortalfin, Steam Remote Play, Nuvio Max'd and EVO Player looked slower in the parallel sweep, but are unchanged or faster when rerun one at a time.

AI-assisted: yes (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5864336866 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6301). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-15T10:21:38Z. --- Since #6060 was merged, ProsperoPuzzles (PPSA99006, catalog release 01.000.010) stops 5–7 s after launch on Windows: ``` AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented ``` The commit before the merge keeps it running. @parl0v, this looks like a path that #6060's watched private imports now reach. **Setup:** Windows 11 (26300), Radeon 860M (RDNA 3.5, driver 32.0.13058.8001), WinLibs GCC 15.2.0, Release. Relinked with `--windows --trap-sdk-syscall-stubs`, a new run folder each time, 60 s per run, no input. | Build | Result | |---|---| | `c4f03522a` (`0afa6a607^1`, `main` just before #6060) | 3 of 3 alive at 60 s, 9.5–13.7 FPS | | `0afa6a607` (#6060's merge) | 2 of 2 stop at 5–7 s with the throw above | | current `main` `e49ec591d` | 1 of 1 stops at 5 s, same throw | | `e49ec591d` + #5671 (64 KiB blocks leaving the watch) | 2 of 2 stop at 5 s, same throw | The runs alternated: before, after, before. Just before the throw, the title's own log (`download0/prosperopuzzles/app.log`) has: ``` [write-watch] host imports of write-watched memory keep the write watch: yes (4096 of 4096 scratch pages reported written at the import, 0 by its 4-byte settle read, 0 after it, 0 after a full GPU read, 0 after a second, 0 after a GPU write, 1 after a CPU store); direct host imports of private memory are settled and stay watched, separate shared aliases retain guest write tracking [src/Texture.cpp:750 Texture] Texture address=0x21fc00000 220x300 mips=1 viewed from storage image (vk=37) ... [gpu] storage image 0x21fc00000: guest memory changed while GPU results were pending; keeping the CPU's blocks ``` The throw is one of the two `Require(!unsavedOutsideWatch, ...)` checks in `Graphics/src/Texture.cpp`, from e5449936f. I haven't traced which import puts the image's layers outside the watch. **Wider context:** in a catalog sweep on the same machine, `main` before and after #6060 behave the same everywhere else. Many titles gain a lot: OliSe Player 21 → 60 FPS, SymphonyStation5 24 → 60, ProsperoEden 21 → 60, SwanStationPS5 13 → 38, Emby5 30 → 57, Prospero Vibrate 5 → 12. This title is the only one that newly stops. Mortalfin, Steam Remote Play, Nuvio Max'd and EVO Player looked slower in the parallel sweep, but are unchanged or faster when rerun one at a time. AI-assisted: yes (Claude Code).
LeandroLP23 commented 2026-10-15 10:44:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-15T10:44:46Z.


Found it: ImportWatched with staysWatched still unwatches the range when it was only partly watched, and that fallback skipped the unwatch hook, so the pending storage image at 0x21fc00000 lost the watch without its bytes saved. Here an 8 MiB settled import at 0x21f800000 takes that path. Fix and a agc_write_tracking check in #6308; ProsperoPuzzles runs 3 of 3 at ~19 FPS with it.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6190227340 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6301#issuecomment-6190227340). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-15T10:44:46Z. --- Found it: `ImportWatched` with `staysWatched` still unwatches the range when it was only partly watched, and that fallback skipped the unwatch hook, so the pending storage image at `0x21fc00000` lost the watch without its bytes saved. Here an 8 MiB settled import at `0x21f800000` takes that path. Fix and a `agc_write_tracking` check in #6308; ProsperoPuzzles runs 3 of 3 at ~19 FPS with it.
LeandroLP23 commented 2026-10-20 11:52:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by LeandroLP23 on 2026-10-20T11:52:49Z.


Fixed on main by #8172. ProsperoPuzzles (PPSA99006), new run folder each time, 60 s, no input:

Tree Runs alive at 60 s
main e9cc4a8ef, the parent of #8172's merge 0 of 2: stops at 4 s with the write-back refusal
d9df34d08, #8172's merge 2 of 2
current main d50ec76da 3 of 3

AMD Radeon 860M, Windows 11, Release. Closing; #6308 is superseded.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6290225928 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/6301#issuecomment-6290225928). Originally posted by [LeandroLP23](https://github.com/LeandroLP23) on 2026-10-20T11:52:49Z. --- Fixed on `main` by #8172. ProsperoPuzzles (PPSA99006), new run folder each time, 60 s, no input: | Tree | Runs alive at 60 s | |---|---| | `main` e9cc4a8ef, the parent of #8172's merge | 0 of 2: stops at 4 s with the write-back refusal | | d9df34d08, #8172's merge | 2 of 2 | | current `main` d50ec76da | 3 of 3 | AMD Radeon 860M, Windows 11, Release. Closing; #6308 is superseded.
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#6301
No description provided.