[GT7 PPSA01317] Crash: unsupported render-target sample configuration (samples=2 fragments=1) #1672

Open
opened 2026-11-26 10:02:45 +00:00 by github-bot · 5 comments
Owner

@⁠excedra on GitHub · 2026-10-18 20:25 UTC · original

Summary

Gran Turismo 7 (PPSA01317, version 01.680.000) progresses through initial setup and Music Rally menus in KytyPS5, but crashes with an unsupported color render-target sample configuration.

Exact crash

--- Build ---
Official build KytyPS5-2026-10-18-099de8d
--- Error ---
unsupported render-target sample configuration: samples=2 fragments=1
 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\colorRenderTarget.cpp:77

Environment

  • KytyPS5: 0.3.0, release commit 099de8d (2026-10-18)
  • GT7: USA, PPSA01317, v01.680.000
  • CPU: AMD Ryzen 7 7700X
  • GPU: NVIDIA GeForce RTX 5060 Ti
  • Windows (version not supplied)
  • Resolution initially 2560×1440
  • Shader optimization: Performance; AMD CPU patch enabled
  • Vulkan validation, shader validation, RenderDoc, command-buffer dump, Tracy profiler disabled

Steps observed

  1. Start GT7 using the official October 18 build.
  2. PSN sign-in unavailable prompts appear. Cancel both.
  3. Allow long black screens / shader-pipeline compilation pauses to complete.
  4. Proceed through display calibration, Music Rally selection, and first-time basic controls setup.
  5. Emulator eventually exits and prints the crash above. Exact final menu transition triggering the error has not been isolated.

Actual behavior

  • 2D menus can render at 36–60 FPS.
  • Complex 3D track overview falls to approximately 3–4 FPS, with ~4,118 draw calls/frame and high CPU-waiting-on-GPU figures.
  • Shader/pipeline compilation shows significant cumulative activity; extended pauses occur.
  • Eventually the render-target configuration error terminates the emulator.

Expected behavior

Accept or emulate the requested render-target configuration and continue GT7 setup/gameplay without terminating.

Logfile

kyty_gt7_crash_anonymized.txt

**@⁠excedra** on GitHub · 2026-10-18 20:25 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1672) ## Summary Gran Turismo 7 (PPSA01317, version 01.680.000) progresses through initial setup and Music Rally menus in KytyPS5, but crashes with an unsupported color render-target sample configuration. ## Exact crash ```text --- Build --- Official build KytyPS5-2026-10-18-099de8d --- Error --- unsupported render-target sample configuration: samples=2 fragments=1 in D:\a\KytyPS5\KytyPS5\src\graphics\host_gpu\renderer\colorRenderTarget.cpp:77 ``` ## Environment - KytyPS5: 0.3.0, release commit `099de8d` (2026-10-18) - GT7: USA, PPSA01317, v01.680.000 - CPU: AMD Ryzen 7 7700X - GPU: NVIDIA GeForce RTX 5060 Ti - Windows (version not supplied) - Resolution initially 2560×1440 - Shader optimization: Performance; AMD CPU patch enabled - Vulkan validation, shader validation, RenderDoc, command-buffer dump, Tracy profiler disabled ## Steps observed 1. Start GT7 using the official October 18 build. 2. PSN sign-in unavailable prompts appear. Cancel both. 3. Allow long black screens / shader-pipeline compilation pauses to complete. 4. Proceed through display calibration, Music Rally selection, and first-time basic controls setup. 5. Emulator eventually exits and prints the crash above. Exact final menu transition triggering the error has not been isolated. ## Actual behavior - 2D menus can render at 36–60 FPS. - Complex 3D track overview falls to approximately 3–4 FPS, with ~4,118 draw calls/frame and high CPU-waiting-on-GPU figures. - Shader/pipeline compilation shows significant cumulative activity; extended pauses occur. - Eventually the render-target configuration error terminates the emulator. ## Expected behavior Accept or emulate the requested render-target configuration and continue GT7 setup/gameplay without terminating. ## Logfile [kyty_gt7_crash_anonymized.txt](https://github.com/user-attachments/files/33641397/kyty_gt7_crash_anonymized.txt)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 10:02:45 +00:00
Author
Owner

@⁠theantipopau on GitHub · 2026-10-18 23:09 UTC · original

Triage note: this aborts at colorRenderTarget.cpp:75-77 — num_samples(2) != num_fragments(1) hits EXIT, so the emulator terminates instead of continuing. This is the same abort-instead-of-skip family my open crash-hardening PR #1621 addresses for pipelines/caches. The correct fallback here needs PS5 CB semantics for 2-samples/1-fragment (which count drives host storage vs resolve), so I don't want to guess it in a drive-by. Tracking as a follow-up: either resolve to a supported host sample count or skip the affected target with a throttled log. If anyone can isolate which menu transition triggers it, that would narrow the semantics.

**@⁠theantipopau** on GitHub · 2026-10-18 23:09 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1672#issuecomment-6256324297) Triage note: this aborts at colorRenderTarget.cpp:75-77 — num_samples(2) != num_fragments(1) hits EXIT, so the emulator terminates instead of continuing. This is the same abort-instead-of-skip family my open crash-hardening PR #1621 addresses for pipelines/caches. The correct fallback here needs PS5 CB semantics for 2-samples/1-fragment (which count drives host storage vs resolve), so I don't want to guess it in a drive-by. Tracking as a follow-up: either resolve to a supported host sample count or skip the affected target with a throttled log. If anyone can isolate which menu transition triggers it, that would narrow the semantics.
Author
Owner

@⁠theantipopau on GitHub · 2026-10-18 23:51 UTC · original

Triage on the crash site (colorRenderTarget.cpp ResolveRenderColorTarget): the failing check requires num_samples == num_fragments, but the register values here are EQAA-style — encoded samples=2 (4x coverage) with encoded fragments=1 (2x storage). Coverage vs storage is a legal AMD combination; Vulkan has no EQAA equivalent, and everything downstream (host image samples, tile/DCC sizing) already keys off the fragment count.

I have a local fallback drafted on gt7-eqaa-fallback (13+/3- in colorRenderTarget.cpp): keep the fragment-derived sample count for the host attachment, emit a throttled LOGF for the mismatch, and only EXIT on a truly invalid fragment encoding. Unpushed/unverified on-device — if a maintainer wants it as a PR I can push it. Expected behavior change: GT7 gets past this EXIT with slightly reduced AA fidelity instead of terminating.

**@⁠theantipopau** on GitHub · 2026-10-18 23:51 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1672#issuecomment-6256709743) Triage on the crash site (`colorRenderTarget.cpp` `ResolveRenderColorTarget`): the failing check requires `num_samples == num_fragments`, but the register values here are EQAA-style — encoded samples=2 (4x coverage) with encoded fragments=1 (2x storage). Coverage vs storage is a legal AMD combination; Vulkan has no EQAA equivalent, and everything downstream (host image `samples`, tile/DCC sizing) already keys off the fragment count. I have a local fallback drafted on `gt7-eqaa-fallback` (13+/3- in `colorRenderTarget.cpp`): keep the fragment-derived sample count for the host attachment, emit a throttled LOGF for the mismatch, and only EXIT on a truly invalid fragment encoding. Unpushed/unverified on-device — if a maintainer wants it as a PR I can push it. Expected behavior change: GT7 gets past this EXIT with slightly reduced AA fidelity instead of terminating.
Author
Owner

@⁠theantipopau on GitHub · 2026-10-19 01:29 UTC · original

This is the EQAA samples!=fragments abort fixed by #1677 (log-and-continue with the fragment count, EXIT kept only for truly invalid encodings). Please re-test GT7 on a build containing #1677 and report whether setup completes past the previous crash point.

**@⁠theantipopau** on GitHub · 2026-10-19 01:29 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1672#issuecomment-6257724716) This is the EQAA samples!=fragments abort fixed by #1677 (log-and-continue with the fragment count, EXIT kept only for truly invalid encodings). Please re-test GT7 on a build containing #1677 and report whether setup completes past the previous crash point.
Author
Owner

@⁠theantipopau on GitHub · 2026-10-20 00:45 UTC · original

Correction to my earlier note: #1677 was closed by Nmzik as a duplicate and never merged — but no retest on that branch is needed. The EQAA fallback already lives in main: colorRenderTarget.cpp now detects samples=2/fragments=1 and approximates it with 2x MSAA (warn-and-continue, TODO PPSA24156 for proper 4-coverage/2-fragment EQAA), keeping EXIT only for other mismatches.

So: please re-test GT7 on a current main build (past 742fe171 plus your usual branch stack). If setup now passes the old crash point, this issue can close; if it trips a new abort, post the next log tail.

**@⁠theantipopau** on GitHub · 2026-10-20 00:45 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1672#issuecomment-6280635492) Correction to my earlier note: #1677 was closed by Nmzik as a duplicate and never merged — but no retest on that branch is needed. The EQAA fallback already lives in main: colorRenderTarget.cpp now detects samples=2/fragments=1 and approximates it with 2x MSAA (warn-and-continue, TODO PPSA24156 for proper 4-coverage/2-fragment EQAA), keeping EXIT only for other mismatches. So: please re-test GT7 on a current main build (past 742fe171 plus your usual branch stack). If setup now passes the old crash point, this issue can close; if it trips a new abort, post the next log tail.
Author
Owner

@⁠ZrDaniel07 on GitHub · 2026-10-31 00:53 UTC · original

Re-tested on current main (4919fdb6) with the same dump (PPSA01317, v01.680), RTX 5090. The EQAA case passes now: the log shows Warning: approximating 4-coverage/2-fragment EQAA with 2x MSAA. and the game goes on to the Music Rally drive. From my side this issue can be closed. The next blockers (a call-target crash in ShaderCFG.cpp:1751, then a device loss) are written up in #1451.

AI use: Claude Code built the branch and read the log with me; I ran the game.

**@⁠ZrDaniel07** on GitHub · 2026-10-31 00:53 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1672#issuecomment-6536789582) Re-tested on current `main` (`4919fdb6`) with the same dump (PPSA01317, v01.680), RTX 5090. The EQAA case passes now: the log shows `Warning: approximating 4-coverage/2-fragment EQAA with 2x MSAA.` and the game goes on to the Music Rally drive. From my side this issue can be closed. The next blockers (a call-target crash in `ShaderCFG.cpp:1751`, then a device loss) are written up in #1451. AI use: Claude Code built the branch and read the log with me; I ran the game.
This discussion has been locked. Commenting is limited to contributors.
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.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#1672
No description provided.