Gran Turismo 7 (PPSA01317 01.710.000) on Windows/NVIDIA: stops 5 min in with "AGC graphics: layered rendering with a depth target is unsupported" (on #7978 + #9020) #13219

Open
opened 2026-10-30 06:47:54 +00:00 by humanityBG · 0 comments
humanityBG commented 2026-10-30 06:47:54 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by humanityBG on 2026-10-30T06:47:54Z.


What happens

Gran Turismo 7 stops about 5 minutes after launch, during its loading phase, with AGC graphics: layered rendering with a depth target is unsupported (core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp:1709, Require(!result.depth, ...)), reported first by [videoout] presentation failed: and then as the driver's stored failure; the process aborts with exit code 0xc0000409.

Title, test or build step

PPSA01317 01.710.000 (Gran Turismo 7, base package, dumped from my own console).

AnyPS5 commit

Source build on Windows of #7978 head 3ca955af52a988a4bebc353b47ba24a4ff97b21a merged with #9020 head 237ede9d92912cbbb7501aa6b631018bc443251a (#9020 itself merges main bb04a4f1e). One local change: the merge conflict in core/libs/prx/libSceAgcDriver/Eq/src/Event.cpp resolved by hand, keeping #9020's AddEvent/Registration{eq, queue, ident} structure with #7978's void AgcDriverDeliverEopInterrupt(queue, context) and its triggerFunc (interrupt-data low byte = registration.queue, initial event.data = ident). No other patches. Relinked with the relinker from the same build: --windows --to-intel --sce-module-path <unwrapped> --module-dir .

Both PRs were needed to get here:

  • release v0.1.3: deterministic null read r14+0x48 on PGL Event about 30 s in (#6350).
  • #7978 head alone: that crash is gone; the title then stops at 2.5 to 4.5 min with AGC graphics: blending into an 11_11_10 float color target is unsupported (3 of 3 runs).
  • #7978 + #9020: that stop is gone too; the title now reaches the stop in this report (1 run so far, see below).

System

Windows 11 Pro build 26300, Intel Core i9-7920X, NVIDIA GeForce RTX 2080 Ti (Selected GPU name=NVIDIA GeForce RTX 2080 Ti vendor=0x10de device=0x1e07 subgroup=32), NVIDIA driver 617.42 (32.0.16.1742), 32 GB RAM, AC power. Built with WinLibs GCC 15.2.0 (x86_64-ucrt-posix-seh, release 15.2.0posix-14.0.0-ucrt-r7), Ninja, -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF. Display refresh rate not recorded.

Host report

Not captured (the run was made without ANYPS5_HOST_REPORT=1). I can add it on request.

Steps to reproduce

cd F:\PS5\PPSA01317\out
app.exe > run8.out.log 2> run8.err.log

No APS5_* or ANYPS5_* variables. Shader disk cache empty for this build (every [shader-disk-cache] 10 s line reports 0 hits). The title shows its large logo at about 60 fps, then the small loading spinner at about 20 fps with short freezes while shaders compile, and stops about 5 minutes after launch. It was still in the loading phase; no menu was reached.

Log

Last lines of stderr before the exit (shader-registration and sceKernelOpen lines removed):

[gpu] 2D read of the 2D array 0x123f650000 (512x512 format 36, slices 1..5) built from slice 1 alone; 128 such reads
[SOFT-NET] sceNetResolverStartNtoa -> host DNS lookup failed
[shader-disk-cache] (10 s): 0 hits, 6 misses, 6 writes (1.2 MiB), 0 load failures, 0 write failures; resource plans: 27 hits, 4 misses, 3 writes, 0 load failures; 0.3 MiB read in 37.8 ms (totals: 0 hits, 1814 misses, 1814 writes; ...
[log] 10.1 s: 48 lines (0 stdout, 48 stderr), 6.8 KiB written, 0 repeats coalesced; ...
[shader-disk-cache] (10 s): 0 hits, 234 misses, 224 writes (9.4 MiB), 0 load failures, 0 write failures; resource plans: 11 hits, 224 misses, 60 writes, 0 load failures; 0.1 MiB read in 8923.2 ms (totals: 0 hits, 2048 misses, 2038 ...
[videoout] presentation failed: AGC graphics: layered rendering with a depth target is unsupported
[gpu] driver failure: AGC graphics: layered rendering with a depth target is unsupported
terminate called after throwing an instance of 'std::runtime_error'
  what():  AGC graphics: layered rendering with a depth target is unsupported
FATAL: abort() (SIGABRT) on thread 14980
    #0 0x00007ffda33c4938 libc.prx+0x14938
    #1 0x00007ffda34f4d71 libc.prx+0x144d71
    #2 0x000000fcc23bf530
  stack return address candidates:
    [rsp+0x8] 0x00007ffda33c4b45 libc.prx+0x14b45
    [rsp+0x38] 0x00007ffe18fe2139 ucrtbase.dll+0xc2139
    [rsp+0xb8] 0x00007ffe18fc5261 ucrtbase.dll+0xa5261
    [rsp+0xe8] 0x00007ffda3458196 libc.prx+0xa8196
    [rsp+0x138] 0x00007ffda3453d4b libc.prx+0xa3d4b
    [rsp+0x168] 0x00007ffda3453d70 libc.prx+0xa3d70
    [rsp+0x198] 0x00007ffda345e7a9 libc.prx+0xae7a9
    [rsp+0x1c8] 0x00007ffdbae4fcc0 libSceVideoOut.prx+0x19fcc0

(The [gpu] driver failure and FATAL lines are interleaved character by character with the terminate called lines in the raw file, since two threads wrote at once; untangled above.) Exit code -1073740791 (0xc0000409, FAST_FAIL_FATAL_APP_EXIT from abort()). Full run8.err.log is 1161 lines and run8.out.log 279 lines; I can attach them.

What was checked

  • 1 run with this tree so far (2026-10-30); the two earlier stops on the way here were each reproduced 3 of 3 (v0.1.3) and 3 of 3 (#7978 head) times, deterministic within about 2 minutes of each other.
  • No other GPU or OS tried.
  • A search of the issues and PRs for "layered rendering", "depth target" found nothing.

Not measured, my reading of the code: the Require fires when result.renderLayers > 1 and a depth target is bound, so the title draws into a layered color target (2D array or cube render target) with depth at the same time; the [gpu] 2D read of the 2D array 0x123f650000 (512x512 format 36, slices 0..5) lines shortly before may be the same six-slice target being read back.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6114595783 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/13219). Originally posted by [humanityBG](https://github.com/humanityBG) on 2026-10-30T06:47:54Z. --- ### What happens Gran Turismo 7 stops about 5 minutes after launch, during its loading phase, with `AGC graphics: layered rendering with a depth target is unsupported` (`core/libs/prx/libSceAgcDriver/Graphics/src/State.cpp:1709`, `Require(!result.depth, ...)`), reported first by `[videoout] presentation failed:` and then as the driver's stored failure; the process aborts with exit code 0xc0000409. ### Title, test or build step PPSA01317 01.710.000 (Gran Turismo 7, base package, dumped from my own console). ### AnyPS5 commit Source build on Windows of #7978 head `3ca955af52a988a4bebc353b47ba24a4ff97b21a` merged with #9020 head `237ede9d92912cbbb7501aa6b631018bc443251a` (#9020 itself merges `main` bb04a4f1e). One local change: the merge conflict in `core/libs/prx/libSceAgcDriver/Eq/src/Event.cpp` resolved by hand, keeping #9020's `AddEvent`/`Registration{eq, queue, ident}` structure with #7978's `void AgcDriverDeliverEopInterrupt(queue, context)` and its `triggerFunc` (interrupt-data low byte = `registration.queue`, initial `event.data = ident`). No other patches. Relinked with the relinker from the same build: `--windows --to-intel --sce-module-path <unwrapped> --module-dir .` Both PRs were needed to get here: - release v0.1.3: deterministic null read `r14+0x48` on `PGL Event` about 30 s in (#6350). - #7978 head alone: that crash is gone; the title then stops at 2.5 to 4.5 min with `AGC graphics: blending into an 11_11_10 float color target is unsupported` (3 of 3 runs). - #7978 + #9020: that stop is gone too; the title now reaches the stop in this report (1 run so far, see below). ### System Windows 11 Pro build 26300, Intel Core i9-7920X, NVIDIA GeForce RTX 2080 Ti (`Selected GPU name=NVIDIA GeForce RTX 2080 Ti vendor=0x10de device=0x1e07 subgroup=32`), NVIDIA driver 617.42 (32.0.16.1742), 32 GB RAM, AC power. Built with WinLibs GCC 15.2.0 (`x86_64-ucrt-posix-seh`, release `15.2.0posix-14.0.0-ucrt-r7`), Ninja, `-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF`. Display refresh rate not recorded. ### Host report Not captured (the run was made without `ANYPS5_HOST_REPORT=1`). I can add it on request. ### Steps to reproduce ``` cd F:\PS5\PPSA01317\out app.exe > run8.out.log 2> run8.err.log ``` No `APS5_*` or `ANYPS5_*` variables. Shader disk cache empty for this build (every `[shader-disk-cache]` 10 s line reports 0 hits). The title shows its large logo at about 60 fps, then the small loading spinner at about 20 fps with short freezes while shaders compile, and stops about 5 minutes after launch. It was still in the loading phase; no menu was reached. ### Log Last lines of stderr before the exit (shader-registration and `sceKernelOpen` lines removed): ``` [gpu] 2D read of the 2D array 0x123f650000 (512x512 format 36, slices 1..5) built from slice 1 alone; 128 such reads [SOFT-NET] sceNetResolverStartNtoa -> host DNS lookup failed [shader-disk-cache] (10 s): 0 hits, 6 misses, 6 writes (1.2 MiB), 0 load failures, 0 write failures; resource plans: 27 hits, 4 misses, 3 writes, 0 load failures; 0.3 MiB read in 37.8 ms (totals: 0 hits, 1814 misses, 1814 writes; ... [log] 10.1 s: 48 lines (0 stdout, 48 stderr), 6.8 KiB written, 0 repeats coalesced; ... [shader-disk-cache] (10 s): 0 hits, 234 misses, 224 writes (9.4 MiB), 0 load failures, 0 write failures; resource plans: 11 hits, 224 misses, 60 writes, 0 load failures; 0.1 MiB read in 8923.2 ms (totals: 0 hits, 2048 misses, 2038 ... [videoout] presentation failed: AGC graphics: layered rendering with a depth target is unsupported [gpu] driver failure: AGC graphics: layered rendering with a depth target is unsupported terminate called after throwing an instance of 'std::runtime_error' what(): AGC graphics: layered rendering with a depth target is unsupported FATAL: abort() (SIGABRT) on thread 14980 #0 0x00007ffda33c4938 libc.prx+0x14938 #1 0x00007ffda34f4d71 libc.prx+0x144d71 #2 0x000000fcc23bf530 stack return address candidates: [rsp+0x8] 0x00007ffda33c4b45 libc.prx+0x14b45 [rsp+0x38] 0x00007ffe18fe2139 ucrtbase.dll+0xc2139 [rsp+0xb8] 0x00007ffe18fc5261 ucrtbase.dll+0xa5261 [rsp+0xe8] 0x00007ffda3458196 libc.prx+0xa8196 [rsp+0x138] 0x00007ffda3453d4b libc.prx+0xa3d4b [rsp+0x168] 0x00007ffda3453d70 libc.prx+0xa3d70 [rsp+0x198] 0x00007ffda345e7a9 libc.prx+0xae7a9 [rsp+0x1c8] 0x00007ffdbae4fcc0 libSceVideoOut.prx+0x19fcc0 ``` (The `[gpu] driver failure` and `FATAL` lines are interleaved character by character with the `terminate called` lines in the raw file, since two threads wrote at once; untangled above.) Exit code -1073740791 (0xc0000409, `FAST_FAIL_FATAL_APP_EXIT` from `abort()`). Full `run8.err.log` is 1161 lines and `run8.out.log` 279 lines; I can attach them. ### What was checked - 1 run with this tree so far (2026-10-30); the two earlier stops on the way here were each reproduced 3 of 3 (v0.1.3) and 3 of 3 (#7978 head) times, deterministic within about 2 minutes of each other. - No other GPU or OS tried. - A search of the issues and PRs for "layered rendering", "depth target" found nothing. Not measured, my reading of the code: the `Require` fires when `result.renderLayers > 1` and a depth target is bound, so the title draws into a layered color target (2D array or cube render target) with depth at the same time; the `[gpu] 2D read of the 2D array 0x123f650000 (512x512 format 36, slices 0..5)` lines shortly before may be the same six-slice target being read back.
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#13219
No description provided.