AGC: storage image access to depth/stencil surface 0x201a800000 is not implemented #1409

Open
opened 2026-10-08 02:46:05 +00:00 by RedIN3rds · 26 comments
RedIN3rds commented 2026-10-08 02:46:05 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by RedIN3rds on 2026-10-08T02:46:05Z.


Game: Silent Hill: The Short Message
Title ID: PPSA10112
Update: 01.000.001

After re-linking and getting to game, no render is visible due to missing depth/stencil operations.
Skipping operation 0x201a800000 results in the game reaching gameplay, albeit without graphics still.

CrashLog_SHPC.txt

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5755010694 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409). Originally posted by [RedIN3rds](https://github.com/RedIN3rds) on 2026-10-08T02:46:05Z. --- Game: Silent Hill: The Short Message Title ID: PPSA10112 Update: 01.000.001 After re-linking and getting to game, no render is visible due to missing depth/stencil operations. Skipping operation 0x201a800000 results in the game reaching gameplay, albeit without graphics still. [CrashLog_SHPC.txt](https://github.com/user-attachments/files/33185050/CrashLog_SHPC.txt)
popcoder565 commented 2026-10-08 03:15:46 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-08T03:15:46Z.


Just before the crash, the surface at 0x201a800000 is looked up as a 3840x2160 storage image with an 8-bit format (line 294 of the log: format=5 vk=13, which is R8_UINT). DepthSurfaceAt also matches a depth target's stencil address, so the compute shader at 0x2007990000 is most likely reading or writing the depth target's stencil plane through a storage descriptor.

Ghost of Yōtei hits the same case (comment on #425). #425 adds storage access to the depth plane but keeps refusing the stencil plane on purpose; the stencil plane is planned there as a separate follow-up (reply), because Vulkan has no storage view of S8 or D32S8 and the stencil aspect needs its own seed and take-back through a buffer. So this issue needs that follow-up on top of #425, not #425 alone.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6051436062 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6051436062). Originally posted by [popcoder565](https://github.com/popcoder565) on 2026-10-08T03:15:46Z. --- Just before the crash, the surface at `0x201a800000` is looked up as a 3840x2160 storage image with an 8-bit format (line 294 of the log: `format=5 vk=13`, which is R8_UINT). `DepthSurfaceAt` also matches a depth target's stencil address, so the compute shader at `0x2007990000` is most likely reading or writing the depth target's **stencil plane** through a storage descriptor. Ghost of Yōtei hits the same case ([comment on #425](https://github.com/boykopovar/AnyPS5/pull/425#issuecomment-6022128811)). #425 adds storage access to the depth plane but keeps refusing the stencil plane on purpose; the stencil plane is planned there as a separate follow-up ([reply](https://github.com/boykopovar/AnyPS5/pull/425#issuecomment-6033825201)), because Vulkan has no storage view of S8 or D32S8 and the stencil aspect needs its own seed and take-back through a buffer. So this issue needs that follow-up on top of #425, not #425 alone.
RedIN3rds commented 2026-10-08 03:22:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by RedIN3rds on 2026-10-08T03:22:27Z.


Thank you for the heads up!

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6051505341 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6051505341). Originally posted by [RedIN3rds](https://github.com/RedIN3rds) on 2026-10-08T03:22:27Z. --- Thank you for the heads up!
klosixgaming-arch commented 2026-10-08 11:52:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by klosixgaming-arch on 2026-10-08T11:52:11Z.


This issue is related to the AGC driver's handling of depth/stencil surfaces. Based on my review of recent PRs related to the shader recompiler and AGC driver (including #1526 for BY2/BY4 image transfers and various depth surface fixes), I can provide some context:

The fact that skipping operation 0x201a800000 allows the game to reach gameplay suggests this is a specific storage image access pattern that isn't implemented yet. The address 0x201a800000 appears to be a depth/stencil surface that's being accessed as a storage image rather than through the normal depth sampling path.

Some observations based on similar issues I've seen:

  1. This could be related to how the game uses its shadow maps or depth buffers
  2. The fact that it reaches gameplay without graphics suggests the core rendering pipeline works, but this specific operation is blocking proper rendering
  3. This might be a case where the game is using a non-standard access pattern for its depth data

I'd suggest investigating what type of operation 0x201a800000 represents and whether it's related to any recent changes in how depth/stencil surfaces are handled in the AGC driver.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6059251278 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6059251278). Originally posted by [klosixgaming-arch](https://github.com/klosixgaming-arch) on 2026-10-08T11:52:11Z. --- This issue is related to the AGC driver's handling of depth/stencil surfaces. Based on my review of recent PRs related to the shader recompiler and AGC driver (including #1526 for BY2/BY4 image transfers and various depth surface fixes), I can provide some context: The fact that skipping operation 0x201a800000 allows the game to reach gameplay suggests this is a specific storage image access pattern that isn't implemented yet. The address 0x201a800000 appears to be a depth/stencil surface that's being accessed as a storage image rather than through the normal depth sampling path. Some observations based on similar issues I've seen: 1. This could be related to how the game uses its shadow maps or depth buffers 2. The fact that it reaches gameplay without graphics suggests the core rendering pipeline works, but this specific operation is blocking proper rendering 3. This might be a case where the game is using a non-standard access pattern for its depth data I'd suggest investigating what type of operation 0x201a800000 represents and whether it's related to any recent changes in how depth/stencil surfaces are handled in the AGC driver.
xXPBSXx commented 2026-10-10 12:17:14 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T12:17:14Z.


Another title: Sifu (PPSA03001 v01.007.000, Unreal Engine 4) stops on the same error, with the same pattern as the 8-bit access described above.

[videoout] presentation failed: compute shader 0x2006410000: AGC graphics: storage image access to depth/stencil surface 0x20183b0000 is not implemented

The surface at 0x20183b0000 appears twice in the log: first as a storage texture of 1920x1088 (format=56 vk=37), then as a 3840x2160 storage image with format=5 vk=13 (R8_UINT) just before the failure. That is the 8-bit storage image over a depth target that the earlier comment on this issue points at as the stencil plane. I have not checked the shader itself.

The log also has 8 shaders refused at registration (could not be prepared after registration), which I did not look at separately.

Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Libraries built on main at b5f5362d plus two unrelated stub exports and #1091. The executable and modules were relinked from ELF files rebuilt from the dump's decrypted fake-SELF containers (no original ELF available); the relinker accepts them (2162 imports, 0 absent). Dump from my own digital copy; no game files shared. AI-assisted.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6097394354 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6097394354). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-10T12:17:14Z. --- Another title: Sifu (PPSA03001 v01.007.000, Unreal Engine 4) stops on the same error, with the same pattern as the 8-bit access described above. ``` [videoout] presentation failed: compute shader 0x2006410000: AGC graphics: storage image access to depth/stencil surface 0x20183b0000 is not implemented ``` The surface at `0x20183b0000` appears twice in the log: first as a storage texture of `1920x1088` (`format=56 vk=37`), then as a `3840x2160` storage image with `format=5 vk=13` (`R8_UINT`) just before the failure. That is the 8-bit storage image over a depth target that the earlier comment on this issue points at as the stencil plane. I have not checked the shader itself. The log also has 8 shaders refused at registration (`could not be prepared after registration`), which I did not look at separately. Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Libraries built on `main` at `b5f5362d` plus two unrelated stub exports and #1091. The executable and modules were relinked from ELF files rebuilt from the dump's decrypted fake-SELF containers (no original ELF available); the relinker accepts them (2162 imports, 0 absent). Dump from my own digital copy; no game files shared. AI-assisted.
AlxcBTW commented 2026-10-10 16:48:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T16:48:21Z.


Another title: Taxi Chaos 2 (PPSA30279 v01.007.000, Unreal Engine) stops here at its first menu frame.

compute shader 0x1a80598000: AGC graphics: storage image access to depth/stencil surface 0x30b6aa0000 is not implemented

The shader is not really accessing depth. It binds a 2048x2048 storage image (guest format 36) on memory that a 512x512 depth surface (vk format 130) used earlier. That is reused memory, the same shape #1495 handles for sampled views and #454/#2519 address for storage views.

I tried a local change: a storage view whose size differs from the depth surface at its address takes the ordinary storage path, while a view with the surface's own size still aborts. With it the title gets past this stop, to the depth-cube case in #425.

Windows 11 26200, Radeon 880M (ANYPS5_GPU=AMD), with #2054 applied; without #2054 the title stalls earlier while mapping direct memory. Dump from my own copy; no game files are shared.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6099871848 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6099871848). Originally posted by [AlxcBTW](https://github.com/AlxcBTW) on 2026-10-10T16:48:21Z. --- Another title: Taxi Chaos 2 (PPSA30279 v01.007.000, Unreal Engine) stops here at its first menu frame. ``` compute shader 0x1a80598000: AGC graphics: storage image access to depth/stencil surface 0x30b6aa0000 is not implemented ``` The shader is not really accessing depth. It binds a 2048x2048 storage image (guest format 36) on memory that a 512x512 depth surface (vk format 130) used earlier. That is reused memory, the same shape #1495 handles for sampled views and #454/#2519 address for storage views. I tried a local change: a storage view whose size differs from the depth surface at its address takes the ordinary storage path, while a view with the surface's own size still aborts. With it the title gets past this stop, to the depth-cube case in #425. Windows 11 26200, Radeon 880M (`ANYPS5_GPU=AMD`), with #2054 applied; without #2054 the title stalls earlier while mapping direct memory. Dump from my own copy; no game files are shared. AI-assisted: yes
fma-rc commented 2026-10-10 21:19:20 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-10T21:19:20Z.


Another title, and a third shape of this error: Astro Bot stops here after its title screen loads, on memory that alternates between a depth target and a colour image written by compute.

Title: Astro Bot, PPSA21564, 01.007
Host: Arch Linux (kernel 7.2.9), RTX 5080 (NVIDIA 615.78.08), GCC 16.2.1, Release
Build: main 262c0316, then with the open PRs below merged onto it
Settings: APS5_HOST_IMPORT_MIB=16384

build result
main compute shader 0x5006cdc00: AGC graphics: storage image access to depth/stencil surface 0x53a500000 is not implemented
main + #425 (d6088bed) compute shader 0x5006cdc00: AGC graphics: storage image access to depth surface 0x53d8a0000 (1216x684, vk format 126) as a 960x540 image of vk format 122, dimension 1, 1 mips is not implemented
main + #454 (dd3a2584) the same message as with #425

What I see, from a temporary log line in DepthSurfaceView and DepthSurfaceAt on main:

  • 0x53a500000 is a 960x540 D32_SFLOAT depth target with no stencil plane and no HTILE, bound as a depth target 50 times in the 10.4 s after it is created.
  • The refused view is a 960x540 storage image of guest format 36 (B10G11R11_UFLOAT_PACK32) at the same base address, 0.1 s after the last depth bind.

So it is not the stencil plane (there is none), and not a depth read through a storage descriptor (the format is a colour format). It is reused memory, but the size test suggested above would not separate it: at this address the storage image has the depth surface's own extent. At two other addresses in the same title the depth surface is 1216x684 and the image 960x540.

With a local rule on top of #454 (a written storage image at the surface's own address retires the surface when the surface cannot seed it), the title runs for 180 s without stopping and draws its title sequence. The diff and the test results are in my comment on that PR.

Not established: nothing here was run on Windows or on AMD with the title, and I did not look at what the shader does with the image beyond its binding being marked as written.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6102286149 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6102286149). Originally posted by [fma-rc](https://github.com/fma-rc) on 2026-10-10T21:19:20Z. --- Another title, and a third shape of this error: Astro Bot stops here after its title screen loads, on memory that alternates between a depth target and a colour image written by compute. Title: Astro Bot, PPSA21564, 01.007 Host: Arch Linux (kernel 7.2.9), RTX 5080 (NVIDIA 615.78.08), GCC 16.2.1, Release Build: `main` 262c0316, then with the open PRs below merged onto it Settings: `APS5_HOST_IMPORT_MIB=16384` | build | result | | --- | --- | | `main` | `compute shader 0x5006cdc00: AGC graphics: storage image access to depth/stencil surface 0x53a500000 is not implemented` | | `main` + #425 (d6088bed) | `compute shader 0x5006cdc00: AGC graphics: storage image access to depth surface 0x53d8a0000 (1216x684, vk format 126) as a 960x540 image of vk format 122, dimension 1, 1 mips is not implemented` | | `main` + #454 (dd3a2584) | the same message as with #425 | What I see, from a temporary log line in `DepthSurfaceView` and `DepthSurfaceAt` on `main`: - `0x53a500000` is a 960x540 `D32_SFLOAT` depth target with no stencil plane and no HTILE, bound as a depth target 50 times in the 10.4 s after it is created. - The refused view is a 960x540 storage image of guest format 36 (`B10G11R11_UFLOAT_PACK32`) at the same base address, 0.1 s after the last depth bind. So it is not the stencil plane (there is none), and not a depth read through a storage descriptor (the format is a colour format). It is reused memory, but the size test suggested above would not separate it: at this address the storage image has the depth surface's own extent. At two other addresses in the same title the depth surface is 1216x684 and the image 960x540. With a local rule on top of #454 (a written storage image at the surface's own address retires the surface when the surface cannot seed it), the title runs for 180 s without stopping and draws its title sequence. The diff and the test results are in my comment on that PR. Not established: nothing here was run on Windows or on AMD with the title, and I did not look at what the shader does with the image beyond its binding being marked as written.
xXPBSXx commented 2026-10-11 00:14:31 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T00:14:31Z.


Another title with this error: Puyo Puyo Tetris 2 (PPSA01530) on Windows, after its missing imports are exported (branch in #3177). Log:

[gpu] color target 0x2137c0000 stays non-resident: AGC graphics: storage image access to depth/stencil surface 0x2137c0000 is not implemented
presentation failed: compute shader 0x200169d00: AGC graphics: storage image access to depth/stencil surface 0x213780000 is not implemented

It stops at the first presentation, a different surface address than the first line. I have not looked into the shader or the surface format, so I can not say which of the shapes already described here it matches.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6103650770 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6103650770). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T00:14:31Z. --- Another title with this error: Puyo Puyo Tetris 2 (PPSA01530) on Windows, after its missing imports are exported (branch in #3177). Log: ``` [gpu] color target 0x2137c0000 stays non-resident: AGC graphics: storage image access to depth/stencil surface 0x2137c0000 is not implemented presentation failed: compute shader 0x200169d00: AGC graphics: storage image access to depth/stencil surface 0x213780000 is not implemented ``` It stops at the first presentation, a different surface address than the first line. I have not looked into the shader or the surface format, so I can not say which of the shapes already described here it matches. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 01:11:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T01:11:38Z.


Ad Infinitum (PPSA10600) on Windows ends on this error too, once its pixel-ancillary failures are out of the way (see #2548): compute shader 0x200ac30000: AGC graphics: storage image access to depth/stencil surface 0x20c41f0000 is not implemented. That makes two of my titles (with Puyo Puyo Tetris 2 above) that stop here with no other error in their logs.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6104076316 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6104076316). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T01:11:38Z. --- Ad Infinitum (PPSA10600) on Windows ends on this error too, once its pixel-ancillary failures are out of the way (see #2548): `compute shader 0x200ac30000: AGC graphics: storage image access to depth/stencil surface 0x20c41f0000 is not implemented`. That makes two of my titles (with Puyo Puyo Tetris 2 above) that stop here with no other error in their logs. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 07:53:00 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T07:53:00Z.


Both of my titles that stop here (Puyo Puyo Tetris 2, Ad Infinitum) get past this error with PR #425 merged locally; the next stops are listed on #425 (a buffer descriptor type for Puyo, the stencil plane for Ad Infinitum). So #425 does what this issue needs for those two, but it has conflicts with main that its author has to resolve.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6106865089 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6106865089). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T07:53:00Z. --- Both of my titles that stop here (Puyo Puyo Tetris 2, Ad Infinitum) get past this error with PR #425 merged locally; the next stops are listed on #425 (a buffer descriptor type for Puyo, the stencil plane for Ad Infinitum). So #425 does what this issue needs for those two, but it has conflicts with `main` that its author has to resolve. AI-assisted (Claude Code).
queeeef commented 2026-10-11 17:21:51 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by queeeef on 2026-10-11T17:21:51Z.


Palworld (PPSA23126, 01.102.999, Unreal Engine) stops here during presentation, after the fixes listed in #2648:

compute shader 0x1441185800: AGC graphics: storage image access to depth/stencil surface 0x30264b0000 is not implemented

With #2904 the message reads (storage=159x90 guest format=7 mip=0 dimension=2 tile=4) and it still stops: the storage view has the surface's own extent, so it is the real depth-access shape, not reused memory. #425 gets past it.

#425 and #2904 conflict in cachedStorageTexture. I kept #425's code and seeded from depth only when #2904's DepthSurfaceAt(context, words, viewed) matches (merge commit 47e79b06). The next stop is #425's stencil-plane refusal (#2076): a compute shader at presentation reads the stencil planes of 1000x1000, 2048x2048 and 2536x1428 surfaces (storage guest format 5).

Windows 11 Pro 26300, RTX 2080 Ti, MinGW-w64 GCC 15.2.0 (WinLibs r7), RelWithDebInfo, main a11c8f7f7. AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6111647836 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6111647836). Originally posted by [queeeef](https://github.com/queeeef) on 2026-10-11T17:21:51Z. --- Palworld (PPSA23126, 01.102.999, Unreal Engine) stops here during presentation, after the fixes listed in #2648: ``` compute shader 0x1441185800: AGC graphics: storage image access to depth/stencil surface 0x30264b0000 is not implemented ``` With #2904 the message reads `(storage=159x90 guest format=7 mip=0 dimension=2 tile=4)` and it still stops: the storage view has the surface's own extent, so it is the real depth-access shape, not reused memory. #425 gets past it. #425 and #2904 conflict in `cachedStorageTexture`. I kept #425's code and seeded from depth only when #2904's `DepthSurfaceAt(context, words, viewed)` matches (merge commit [`47e79b06`](https://github.com/queeeef/AnyPS5/commit/47e79b060a9beb60f6d34049a4f66dbe5ef4b9d1)). The next stop is #425's stencil-plane refusal (#2076): a compute shader at presentation reads the stencil planes of 1000x1000, 2048x2048 and 2536x1428 surfaces (storage guest format 5). Windows 11 Pro 26300, RTX 2080 Ti, MinGW-w64 GCC 15.2.0 (WinLibs r7), RelWithDebInfo, `main` `a11c8f7f7`. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 19:39:27 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T19:39:27Z.


Ad Infinitum (PPSA10600) with PR #425 (6d59983d3) merged onto main a11c8f7f7, Windows, 90 s with a warm shader cache: the storage image access to depth/stencil surface ... is not implemented error does not appear any more. The next stop is compute shader 0x200ac30000: AGC graphics: storage access to a depth surface's stencil plane is not implemented, i.e. the stencil plane, which #425 does not cover (a follow-up is planned by ThatsLeo per the thread on #425). I did not test Palworld or PPSA25936.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6112936580 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6112936580). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T19:39:27Z. --- Ad Infinitum (PPSA10600) with PR #425 (6d59983d3) merged onto `main` a11c8f7f7, Windows, 90 s with a warm shader cache: the `storage image access to depth/stencil surface ... is not implemented` error does not appear any more. The next stop is `compute shader 0x200ac30000: AGC graphics: storage access to a depth surface's stencil plane is not implemented`, i.e. the stencil plane, which #425 does not cover (a follow-up is planned by ThatsLeo per the thread on #425). I did not test Palworld or PPSA25936. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-11 20:38:03 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T20:38:03Z.


@queeeef thanks, your Palworld result (past the depth-access error with #425, next stop the stencil planes of 1000x1000, 2048x2048 and 2536x1428 surfaces) matches what I see on Ad Infinitum with #425 merged onto main a11c8f7f7: the storage image access to depth/stencil surface error disappears and the next stop is storage access to a depth surface's stencil plane is not implemented (my #425 comment; the places in the code that a stencil path would touch are listed in this one). I did not run Palworld myself, so for that title this rests on your run.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6113494582 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6113494582). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-11T20:38:03Z. --- @queeeef thanks, your Palworld result (past the depth-access error with #425, next stop the stencil planes of 1000x1000, 2048x2048 and 2536x1428 surfaces) matches what I see on Ad Infinitum with #425 merged onto `main` a11c8f7f7: the `storage image access to depth/stencil surface` error disappears and the next stop is `storage access to a depth surface's stencil plane is not implemented` ([my #425 comment](https://github.com/boykopovar/AnyPS5/pull/425#issuecomment-6112935901); the places in the code that a stencil path would touch are listed in [this one](https://github.com/boykopovar/AnyPS5/pull/425#issuecomment-6113357770)). I did not run Palworld myself, so for that title this rests on your run. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 07:08:56 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T07:08:56Z.


Re-run with the current stack: main d06c06565 plus #425 at f470ffaa2 (clean merge, 4 commits), Windows, RTX 4080 SUPER, 150 s each under the game lock.

  • Ad Infinitum (PPSA10600): about 35 s in, after the shader compile, compute shader 0x200ac30000: AGC graphics: storage access to a depth surface's stencil plane is not implemented, the stencil-plane refusal that #425 keeps on purpose. Nothing else before it.
  • Puyo Puyo Tetris 2 (PPSA01530): passes the depth-storage error and ends at the unrelated #3709 (buffer descriptor uses an unsupported type). Its log also has storage image access to depth surface 0x2137c0000 (1x1, vk format 124) as a 64x64 image of vk format 37 ... is not implemented lines for four 64x64 textures ([gpu] color target ... stays non-resident / [textures] ... keeps the snapshot path); these are logged and the title carries on, so they are not the stop. A 1x1 depth surface viewed as 64x64 images looks like reused memory rather than a view of the depth surface; I did not examine it further.

So after #425 the next stop for these two titles is not a depth-storage case; for Ad Infinitum it is the stencil follow-up.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6119474558 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6119474558). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T07:08:56Z. --- Re-run with the current stack: `main` d06c06565 plus #425 at `f470ffaa2` (clean merge, 4 commits), Windows, RTX 4080 SUPER, 150 s each under the game lock. - Ad Infinitum (PPSA10600): about 35 s in, after the shader compile, `compute shader 0x200ac30000: AGC graphics: storage access to a depth surface's stencil plane is not implemented`, the stencil-plane refusal that #425 keeps on purpose. Nothing else before it. - Puyo Puyo Tetris 2 (PPSA01530): passes the depth-storage error and ends at the unrelated #3709 (`buffer descriptor uses an unsupported type`). Its log also has `storage image access to depth surface 0x2137c0000 (1x1, vk format 124) as a 64x64 image of vk format 37 ... is not implemented` lines for four 64x64 textures (`[gpu] color target ... stays non-resident` / `[textures] ... keeps the snapshot path`); these are logged and the title carries on, so they are not the stop. A 1x1 depth surface viewed as 64x64 images looks like reused memory rather than a view of the depth surface; I did not examine it further. So after #425 the next stop for these two titles is not a depth-storage case; for Ad Infinitum it is the stencil follow-up. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 10:03:07 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T10:03:07Z.


Same result on the newer base: main 9aa5fd290 + #425 at f470ffaa2 (clean merge), Windows, 150 s each. Ad Infinitum (PPSA10600) again ends at compute shader 0x200ac30000: AGC graphics: storage access to a depth surface's stencil plane is not implemented, this time about 144 s in (the shader compile took longer in this run); Puyo Puyo Tetris 2 (PPSA01530) passes the depth-storage error and stops at #3709. On the PR side Kikoarl's branch with the execution tests (34dd36000, DepthSurfaceStorage.cpp, DepthSurfaceReuse.cpp, ARCHITECTURE and TechnicalDebt text) is the open piece Michon has asked to revise, so I am not writing a competing test.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6122025152 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6122025152). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T10:03:07Z. --- Same result on the newer base: `main` 9aa5fd290 + #425 at `f470ffaa2` (clean merge), Windows, 150 s each. Ad Infinitum (PPSA10600) again ends at `compute shader 0x200ac30000: AGC graphics: storage access to a depth surface's stencil plane is not implemented`, this time about 144 s in (the shader compile took longer in this run); Puyo Puyo Tetris 2 (PPSA01530) passes the depth-storage error and stops at #3709. On the PR side Kikoarl's branch with the execution tests (`34dd36000`, `DepthSurfaceStorage.cpp`, `DepthSurfaceReuse.cpp`, ARCHITECTURE and TechnicalDebt text) is the open piece Michon has asked to revise, so I am not writing a competing test. AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 15:01:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T15:01:11Z.


Another title in this class, with a sampling case rather than a storage one: Harmony's Odyssey (PPSA16827), Windows, main 3d8ffeb27, about two minutes after the start:

AGC graphics: sampling the depth plane of depth surface 0x28fb50000 (1024x1024, vk format 126) as a 1024x1024 texture of guest format 22 (vk 100), tile mode 4, dimension 3, levels 0-0, slice 0 is not implemented

dimension 3 is TextureDimension::kCube (GuestTextureResource.hpp), over a D32 surface read as R32_FLOAT, which fits a point-light shadow cube map (a guess; the log does not say what the texture is). On main the refusal comes from DepthSurface::Sampled, which accepts only k2D. The depth-plane copy in #425 has a cube branch (six layers, one depth surface per face at consecutive slice addresses, R32_SFLOAT or R16_UNORM, base slice 0), so it may cover this; whether it does for this title is not shown, because the six faces would have to be six consecutive depth targets. #4500 only changes the storage path.

Not tested with #425 yet; a run with #425 merged onto main is possible once the machine is free. Note that #425 currently fails agc_driver_depth_storage_reuse on main (https://github.com/boykopovar/AnyPS5/pull/425#issuecomment-6125624406).

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6126865042 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6126865042). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T15:01:11Z. --- Another title in this class, with a sampling case rather than a storage one: Harmony's Odyssey (PPSA16827), Windows, `main` `3d8ffeb27`, about two minutes after the start: ``` AGC graphics: sampling the depth plane of depth surface 0x28fb50000 (1024x1024, vk format 126) as a 1024x1024 texture of guest format 22 (vk 100), tile mode 4, dimension 3, levels 0-0, slice 0 is not implemented ``` `dimension 3` is `TextureDimension::kCube` (`GuestTextureResource.hpp`), over a D32 surface read as R32_FLOAT, which fits a point-light shadow cube map (a guess; the log does not say what the texture is). On `main` the refusal comes from `DepthSurface::Sampled`, which accepts only `k2D`. The depth-plane copy in #425 has a cube branch (six layers, one depth surface per face at consecutive slice addresses, `R32_SFLOAT` or `R16_UNORM`, base slice 0), so it may cover this; whether it does for this title is not shown, because the six faces would have to be six consecutive depth targets. #4500 only changes the storage path. Not tested with #425 yet; a run with #425 merged onto `main` is possible once the machine is free. Note that #425 currently fails `agc_driver_depth_storage_reuse` on `main` (https://github.com/boykopovar/AnyPS5/pull/425#issuecomment-6125624406). AI-assisted (Claude Code).
xXPBSXx commented 2026-10-12 17:04:53 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T17:04:53Z.


Follow-up on the Harmony's Odyssey (PPSA16827) cube-sampling stop above: with #425 merged onto main 2a5eca11c plus the one-condition change in cachedStorageTexture (test/depth-harmony-425-on-main, 5ef0e5144), the title ran for 240 s (Windows 10, RTX 4080 SUPER, started and stopped by the time limit) without the sampling the depth plane of depth surface 0x28fb50000 ... dimension 3 refusal: 0 matches in the stdout and stderr logs, no FATAL, no what(), and no storage image access to depth line either.

What this shows and what it does not: the cube-sampling stop is gone with that branch, so #425's cube branch does cover this title, at least for these 240 s. It does not show that the cube map renders correctly (nobody looked at the picture for that), and the frame rate stayed low (median about 13 FPS, most seconds under 30). That has a different cause that was not investigated here and is not part of this issue.

The unit tests of the same branch passed once earlier (agc_driver_depth_storage_reuse, depth_compare_copy, depth_fast_clear, depth_fast_clear_submit, depth_bias_per_face, pending_exact_surface, agc_driver_graphics; details on #425). Repeated runs to check for flicker are still to come.

AI-assisted (Claude Code).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6128903521 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6128903521). Originally posted by [xXPBSXx](https://github.com/xXPBSXx) on 2026-10-12T17:04:53Z. --- Follow-up on the Harmony's Odyssey (PPSA16827) cube-sampling stop above: with #425 merged onto `main` `2a5eca11c` plus the one-condition change in `cachedStorageTexture` ([`test/depth-harmony-425-on-main`](https://github.com/xXPBSXx/AnyPS5/tree/test/depth-harmony-425-on-main), `5ef0e5144`), the title ran for 240 s (Windows 10, RTX 4080 SUPER, started and stopped by the time limit) without the `sampling the depth plane of depth surface 0x28fb50000 ... dimension 3` refusal: 0 matches in the stdout and stderr logs, no `FATAL`, no `what()`, and no `storage image access to depth` line either. What this shows and what it does not: the cube-sampling stop is gone with that branch, so #425's cube branch does cover this title, at least for these 240 s. It does not show that the cube map renders correctly (nobody looked at the picture for that), and the frame rate stayed low (median about 13 FPS, most seconds under 30). That has a different cause that was not investigated here and is not part of this issue. The unit tests of the same branch passed once earlier (`agc_driver_depth_storage_reuse`, `depth_compare_copy`, `depth_fast_clear`, `depth_fast_clear_submit`, `depth_bias_per_face`, `pending_exact_surface`, `agc_driver_graphics`; details on #425). Repeated runs to check for flicker are still to come. AI-assisted (Claude Code).
oneandonlydean commented 2026-10-13 07:38:02 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T07:38:02Z.


#425 and #4500 are on main: the depth and stencil planes can be bound as storage images now. Do PPSA10112 and PPSA10600 still stop at storage image access to depth/stencil surface on current main? If not, this can close.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6140710293 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6140710293). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-13T07:38:02Z. --- #425 and #4500 are on main: the depth and stencil planes can be bound as storage images now. Do PPSA10112 and PPSA10600 still stop at `storage image access to depth/stencil surface` on current main? If not, this can close.
fma-rc commented 2026-10-13 11:57:41 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-13T11:57:41Z.


I can't speak for PPSA10112 or PPSA10600, but two other titles still stop here on main b1328fc0f (RTX 5080, NVIDIA 615.78.08, Linux):

title runs stop
Stray (PPSA02100) 2 of 2, at 49 s compute shader 0x200bd80000: AGC graphics: storage image access to depth/stencil surface 0x2002320000 is not implemented (storage=3840x2160 guest format=5 mip=0 dimension=2 tile=4)
Kena (PPSA01746) 3 of 7, at 68 to 81 s compute shader 0x2006fb0000: AGC graphics: storage image access to depth/stencil surface 0x2047eb0000 is not implemented (storage=3200x1800 guest format=5 mip=0 dimension=2 tile=4)

Both are compute dispatches with a format 5, tile 4 storage image the size of the depth target. Kena's other four runs stop on #5099 instead.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6145009915 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6145009915). Originally posted by [fma-rc](https://github.com/fma-rc) on 2026-10-13T11:57:41Z. --- I can't speak for PPSA10112 or PPSA10600, but two other titles still stop here on `main` b1328fc0f (RTX 5080, NVIDIA 615.78.08, Linux): | title | runs | stop | |---|---|---| | Stray (PPSA02100) | 2 of 2, at 49 s | `compute shader 0x200bd80000: AGC graphics: storage image access to depth/stencil surface 0x2002320000 is not implemented (storage=3840x2160 guest format=5 mip=0 dimension=2 tile=4)` | | Kena (PPSA01746) | 3 of 7, at 68 to 81 s | `compute shader 0x2006fb0000: AGC graphics: storage image access to depth/stencil surface 0x2047eb0000 is not implemented (storage=3200x1800 guest format=5 mip=0 dimension=2 tile=4)` | Both are compute dispatches with a format 5, tile 4 storage image the size of the depth target. Kena's other four runs stop on #5099 instead.
fma-rc commented 2026-10-13 13:39:48 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-13T13:39:48Z.


Correction to my comment above: those runs were on b1328fc0f, which did not have #2076 yet. On main 3faa9cb40 neither title stops here any more.

title runs storage image access to depth/stencil surface
Stray (PPSA02100) 2 0
Kena (PPSA01746) 3 0

Stray now presents frames: one run went the full 200 s (10448 presents), the other ended after 2344 presents with [videoout] presentation failed: buffer descriptor uses an unsupported type. Kena stops on #5099 in two runs and once later, at 141 s, on AGC graphics: shader buffer exceeds descriptor range limit.

So from these two titles nothing is left for this issue.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6146869538 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6146869538). Originally posted by [fma-rc](https://github.com/fma-rc) on 2026-10-13T13:39:48Z. --- Correction to my comment above: those runs were on b1328fc0f, which did not have #2076 yet. On `main` 3faa9cb40 neither title stops here any more. | title | runs | `storage image access to depth/stencil surface` | |---|---|---| | Stray (PPSA02100) | 2 | 0 | | Kena (PPSA01746) | 3 | 0 | Stray now presents frames: one run went the full 200 s (10448 presents), the other ended after 2344 presents with `[videoout] presentation failed: buffer descriptor uses an unsupported type`. Kena stops on #5099 in two runs and once later, at 141 s, on `AGC graphics: shader buffer exceeds descriptor range limit`. So from these two titles nothing is left for this issue.
RedIN3rds commented 2026-10-13 22:39:54 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by RedIN3rds on 2026-10-13T22:39:54Z.


On latest main PPSA10112 now displays video out, but when loading the menu the game crashes with error:
[videoout] presentation failed: compute shader 0x2007a70000: AGC graphics: storage image access to depth/stencil surface 0x205d960000 is not implemented (storage=1024x1024 guest format=7 mip=0 dimension=2 tile=4)

Attached below is the full log of the run

SHPC-Crash-Log-10132026.txt

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6156733098 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6156733098). Originally posted by [RedIN3rds](https://github.com/RedIN3rds) on 2026-10-13T22:39:54Z. --- On latest main PPSA10112 now displays video out, but when loading the menu the game crashes with error: `[videoout] presentation failed: compute shader 0x2007a70000: AGC graphics: storage image access to depth/stencil surface 0x205d960000 is not implemented (storage=1024x1024 guest format=7 mip=0 dimension=2 tile=4)` Attached below is the full log of the run [SHPC-Crash-Log-10132026.txt](https://github.com/user-attachments/files/33408653/SHPC-Crash-Log-10132026.txt)
oneandonlydean commented 2026-10-14 02:45:38 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-14T02:45:38Z.


#5003 (storage access to depth/stencil surfaces) merged after your last run. Could you retest PPSA10112 on current main and post the stop if it still happens?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6159733597 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6159733597). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-14T02:45:38Z. --- #5003 (storage access to depth/stencil surfaces) merged after your last run. Could you retest PPSA10112 on current main and post the stop if it still happens?
RedIN3rds commented 2026-10-14 05:41:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by RedIN3rds on 2026-10-14T05:41:35Z.


Seems like the depth/stencil surfaces are good now! Though its throwing a new error when trying to load into the menu.

[videoout] presentation failed: AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented terminate called after throwing an instance of 'std::runtime_error' what(): AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented

SHPC-Crash-Log-10142026.txt

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6161757832 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6161757832). Originally posted by [RedIN3rds](https://github.com/RedIN3rds) on 2026-10-14T05:41:35Z. --- Seems like the depth/stencil surfaces are good now! Though its throwing a new error when trying to load into the menu. `[videoout] presentation failed: AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented terminate called after throwing an instance of 'std::runtime_error' what(): AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented` [SHPC-Crash-Log-10142026.txt](https://github.com/user-attachments/files/33419020/SHPC-Crash-Log-10142026.txt)
MarcZX10 commented 2026-10-14 06:05:39 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-14T06:05:39Z.


The new exception text in this log is identical to the one described in #5671. That PR targets one Windows case where a 64 KiB write-watch block is dropped while pending storage-image results still cover another part of the block. The issue log shows an AMD Windows run, but it does not by itself establish that same transition. Could you try #5671’s head on this title and report whether the exception moves, or capture APS5_TRACE_FLUSH=1 around the affected storage address?

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6162052847 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6162052847). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-14T06:05:39Z. --- The new exception text in this log is identical to the one described in #5671. That PR targets one Windows case where a 64 KiB write-watch block is dropped while pending storage-image results still cover another part of the block. The issue log shows an AMD Windows run, but it does not by itself establish that same transition. Could you try #5671’s head on this title and report whether the exception moves, or capture `APS5_TRACE_FLUSH=1` around the affected storage address?
MarcZX10 commented 2026-10-15 15:17:21 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T15:17:21Z.


Follow-up: #5671 merged to main as e53927780c56d65309768784b47baff80e0030c0, and current main contains it. That change saves pending storage-image results when any 64 KiB block leaves the write watch. Could you retry PPSA10112 on an unmodified current-main build and report whether this exception still occurs? The earlier log alone does not show whether it hits the same transition, so I am not treating the issue as fixed yet.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195549906 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6195549906). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T15:17:21Z. --- Follow-up: #5671 merged to `main` as `e53927780c56d65309768784b47baff80e0030c0`, and current `main` contains it. That change saves pending storage-image results when any 64 KiB block leaves the write watch. Could you retry PPSA10112 on an unmodified current-main build and report whether this exception still occurs? The earlier log alone does not show whether it hits the same transition, so I am not treating the issue as fixed yet.
AlxcBTW commented 2026-10-15 21:46:25 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-15T21:46:25Z.


Another title with this text: Minecraft Dungeons II (PPSA16064, Unreal Engine 5), Windows 11, RTX 5070 Laptop (NVIDIA 617.42). On a build of main that contains #5671 it stops while loading its first world (2 of 2 runs without lab switches), with

[videoout] presentation failed: compute shader 0x16000e2000: AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented

A diagnostic build (not in main) names the refused image: the 2564x1444 scene colour target (DCC, 252 units of 64 KiB). All 252 units have results pending, none has saved guest bytes, none of its memory is write-watched, and the flush comes from an imported buffer region (UploadFinish makes the import, then flushes the pending images over it).

That state fits one exit of the write watch that never ran the unwatch hook: GuestMemory::ImportWatched keeps the range of an import that stays watched only while its page walk can vouch for the pages, and otherwise excludes the range (unwatchLocked). Unwatch and the import that does not stay watched call the hook first (#5657, #5671), so the images with results pending over the range save their guest bytes. This exit did not, so those images reached their store with nothing to compare with. In this title the range was not wholly watched before the import in every event the build reported (16, all 8 MiB import windows).

#6308 calls the hook there. With the same change in a lab build the title loads its world and plays: five of five rows (one fresh world load from the main menu, four from a save inside the world, each walking 180 s with the HUD up) ran without the refusal, at 2.6 FPS on the fresh load and 4.0-4.5 FPS warm; the hook ran 32 times per row. Without the change 2 of 2 world loads stopped. The other exit without the hook, MarkWritten excluding a block after a failed fresh collect, is not changed by it and stays in the debt entry.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6202951155 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6202951155). Originally posted by [AlxcBTW](https://github.com/AlxcBTW) on 2026-10-15T21:46:25Z. --- Another title with this text: Minecraft Dungeons II (PPSA16064, Unreal Engine 5), Windows 11, RTX 5070 Laptop (NVIDIA 617.42). On a build of `main` that contains #5671 it stops while loading its first world (2 of 2 runs without lab switches), with ``` [videoout] presentation failed: compute shader 0x16000e2000: AGC graphics: storing storage image results pending over memory outside the write watch without the guest bytes saved before them is not implemented ``` A diagnostic build (not in `main`) names the refused image: the 2564x1444 scene colour target (DCC, 252 units of 64 KiB). All 252 units have results pending, none has saved guest bytes, none of its memory is write-watched, and the flush comes from an imported buffer region (`UploadFinish` makes the import, then flushes the pending images over it). That state fits one exit of the write watch that never ran the unwatch hook: `GuestMemory::ImportWatched` keeps the range of an import that stays watched only while its page walk can vouch for the pages, and otherwise excludes the range (`unwatchLocked`). `Unwatch` and the import that does not stay watched call the hook first (#5657, #5671), so the images with results pending over the range save their guest bytes. This exit did not, so those images reached their store with nothing to compare with. In this title the range was not wholly watched before the import in every event the build reported (16, all 8 MiB import windows). #6308 calls the hook there. With the same change in a lab build the title loads its world and plays: five of five rows (one fresh world load from the main menu, four from a save inside the world, each walking 180 s with the HUD up) ran without the refusal, at 2.6 FPS on the fresh load and 4.0-4.5 FPS warm; the hook ran 32 times per row. Without the change 2 of 2 world loads stopped. The other exit without the hook, `MarkWritten` excluding a block after a failed fresh collect, is not changed by it and stays in the debt entry. AI-assisted: yes
MarcZX10 commented 2026-10-15 23:10:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T23:10:52Z.


Thanks, this is an independent title reproduction of the ImportWatched fallback fixed by open PR #6308. The PR now includes your Minecraft Dungeons II results and the existing regression covers an import spanning a partly unwatched range. I do not see a separate change to split out; the MarkWritten exit you call out remains a distinct follow-up.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6204191437 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/1409#issuecomment-6204191437). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T23:10:52Z. --- Thanks, this is an independent title reproduction of the `ImportWatched` fallback fixed by open PR #6308. The PR now includes your Minecraft Dungeons II results and the existing regression covers an import spanning a partly unwatched range. I do not see a separate change to split out; the `MarkWritten` exit you call out remains a distinct follow-up.
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#1409
No description provided.