AGC: native multisample D32 depth without stencil or HTILE over an uneven plane is refused at its first sample (Aphelion PPSA13446) #18127

Closed
opened 2026-11-10 14:46:46 +00:00 by arthur-paraibano · 0 comments
arthur-paraibano commented 2026-11-10 14:46:46 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by arthur-paraibano on 2026-11-10T14:46:46Z.


What happens

Sampling a 4x multisampled D32_SFLOAT depth target that has no stencil plane and no HTILE throws compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none, and the title ends with 0xC0000409 shortly after gameplay starts.

Title, test or build step

Aphelion PPSA13446 01.003.000

AnyPS5 commit

706573b02f (main), no pull requests on top. Also seen three times on e1f012ca16.

System

Windows 11 Pro 10.0.26200, AMD Ryzen 7 9800X3D, AMD Radeon RX 9070 XT, AMD proprietary driver 26.8.1 (LLPC), WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh r7), Release.

Host report

AnyPS5 host report (format 1)
commit: 706573b02fb1
[system]
os: Windows 10.0.26200
cpu: AMD Ryzen 7 9800X3D 8-Core Processor
cpu_threads: 16
memory_mib: 31797
cpu_gate: passed
[sdl]
linked: 2.33.0
compiled: 2.33.0
[gpu]
device: AMD Radeon RX 9070 XT
type: discrete
vendor_id: 0x1002
device_id: 0x7550
vulkan_api: 1.4.349
driver: AMD proprietary driver
driver_info: 26.8.1 (LLPC)
driver_version_raw: 0x0080018b
subgroup_size: 64
device_local_mib: 16304

Steps to reproduce

  1. Convert with relinker --windows (no extra options); run with APS5_PROFILE_DRAW=1 APS5_LOG_TIMESTAMPS=1 ANYPS5_HOST_REPORT=1.
  2. Press a button at the title screen, continue the save and enter gameplay.
  3. The throw follows 49 to 69 s after start (four runs, same refusal each time: three on e1f012ca16 with warm caches, one on 706573b02f). The executable was converted with the relinker of e1f012ca16 and run with the libraries of 706573b02f.

On e1f012ca16 with empty pipeline caches, the first run instead ended at the engine's render-thread watchdog (GameThread timed out waiting for RenderThread after 120.00 secs) while the AMD driver builds compute pipelines of 229k to 281k SPIR-V words in 2.5 to 3.5 s each; the next run passes that point.

Log

[videoout] presentation failed: compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none
[gpu] driver failure: compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none
terminate called after throwing an instance of 'std::runtime_error'
  what():  compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none

What was checked

A temporary local print in prepareDepthSampling on e1f012ca16 (not part of any change) showed the refused target:

format=D32_SFLOAT samples=4 extent=2880x1620 htile=0x0 stencil=0x0 swizzle=24 xor=0x0 iterate256=0 clearDepth=0
depth plane 0x30def50000, 76677120 bytes: readable, write-watched, not one repeated word, no multisampled colour target over it

The target has no HTILE, so prepareDepthSampling refuses it with the HTILE message: uniformPlaneTarget only routes D32_SFLOAT_S8_UINT with a stencil plane to the no-HTILE path. Routing a D32 target without stencil there would not be enough here, because its plane does not repeat one value at import; the uneven-plane proof from b61aa1e53b (sentinel stencil read back after an overwriting first draw) has no stencil aspect to use for a depth-only target. The refusal is the same on 706573b02f (DepthSurface.cpp line 409).

Related debt: docs/dev/debt/libSceAgcDriver.md entries "Native multisampled depth sampling" and "Native multisampled D32S8 depth without HTILE".

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6309223169 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/18127). Originally posted by [arthur-paraibano](https://github.com/arthur-paraibano) on 2026-11-10T14:46:46Z. --- ### What happens Sampling a 4x multisampled `D32_SFLOAT` depth target that has no stencil plane and no HTILE throws `compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none`, and the title ends with 0xC0000409 shortly after gameplay starts. ### Title, test or build step Aphelion PPSA13446 01.003.000 ### AnyPS5 commit 706573b02fb1 (`main`), no pull requests on top. Also seen three times on e1f012ca1638. ### System Windows 11 Pro 10.0.26200, AMD Ryzen 7 9800X3D, AMD Radeon RX 9070 XT, AMD proprietary driver 26.8.1 (LLPC), WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh r7), Release. ### Host report ```text AnyPS5 host report (format 1) commit: 706573b02fb1 [system] os: Windows 10.0.26200 cpu: AMD Ryzen 7 9800X3D 8-Core Processor cpu_threads: 16 memory_mib: 31797 cpu_gate: passed [sdl] linked: 2.33.0 compiled: 2.33.0 [gpu] device: AMD Radeon RX 9070 XT type: discrete vendor_id: 0x1002 device_id: 0x7550 vulkan_api: 1.4.349 driver: AMD proprietary driver driver_info: 26.8.1 (LLPC) driver_version_raw: 0x0080018b subgroup_size: 64 device_local_mib: 16304 ``` ### Steps to reproduce 1. Convert with `relinker --windows` (no extra options); run with `APS5_PROFILE_DRAW=1 APS5_LOG_TIMESTAMPS=1 ANYPS5_HOST_REPORT=1`. 2. Press a button at the title screen, continue the save and enter gameplay. 3. The throw follows 49 to 69 s after start (four runs, same refusal each time: three on e1f012ca1638 with warm caches, one on 706573b02fb1). The executable was converted with the relinker of e1f012ca1638 and run with the libraries of 706573b02fb1. On e1f012ca1638 with empty pipeline caches, the first run instead ended at the engine's render-thread watchdog (`GameThread timed out waiting for RenderThread after 120.00 secs`) while the AMD driver builds compute pipelines of 229k to 281k SPIR-V words in 2.5 to 3.5 s each; the next run passes that point. ### Log ```text [videoout] presentation failed: compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none [gpu] driver failure: compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none terminate called after throwing an instance of 'std::runtime_error' what(): compute shader 0x17c02a0000: AGC graphics: native multisample depth initial import requires pipe-aligned or depth-only HTILE without VRS; DISPATCH_INDIRECT on queue 0x0, arguments at 0x1ec0f40000, driver path gpu-side, read-ahead none ``` ### What was checked A temporary local print in `prepareDepthSampling` on e1f012ca1638 (not part of any change) showed the refused target: ``` format=D32_SFLOAT samples=4 extent=2880x1620 htile=0x0 stencil=0x0 swizzle=24 xor=0x0 iterate256=0 clearDepth=0 depth plane 0x30def50000, 76677120 bytes: readable, write-watched, not one repeated word, no multisampled colour target over it ``` The target has no HTILE, so `prepareDepthSampling` refuses it with the HTILE message: `uniformPlaneTarget` only routes `D32_SFLOAT_S8_UINT` with a stencil plane to the no-HTILE path. Routing a D32 target without stencil there would not be enough here, because its plane does not repeat one value at import; the uneven-plane proof from b61aa1e53b (sentinel stencil read back after an overwriting first draw) has no stencil aspect to use for a depth-only target. The refusal is the same on 706573b02f (`DepthSurface.cpp` line 409). Related debt: `docs/dev/debt/libSceAgcDriver.md` entries "Native multisampled depth sampling" and "Native multisampled D32S8 depth without HTILE".
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#18127
No description provided.