GTA V (PPSA04264) stops before the menu: color export format 4 into an unsigned integer target is unsupported #11513

Closed
opened 2026-10-26 17:49:37 +00:00 by tibzejoker · 0 comments
tibzejoker commented 2026-10-26 17:49:37 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-26T17:49:37Z.


What happens

Grand Theft Auto V stops before its main menu on current main, every run:

[videoout] presentation failed: AGC graphics: color export format 4 into an unsigned integer target is unsupported
terminate called after throwing an instance of 'std::runtime_error'
  what():  AGC graphics: color export format 4 into an unsigned integer target is unsupported

The check was added by #9789 (State.cpp, ColorExportPacking::Uint). Before it, this draw ran.

Title, test or build step

PPSA04264 01.005.000 (Grand Theft Auto V)

AnyPS5 commit

main 48c160c58b, no pull requests on top. Last good: main 5b5d24cb22. Between the two, #9789 is the only change to Graphics/src/State.cpp.

System

Windows 11 Pro 26200, RTX 4090 (NVIDIA 616.92), WinLibs GCC 15.2.0 r7, Release.

Steps to reproduce

  1. Build main (relinker + libs), relink with relinker --windows --to-intel --registry.
  2. Start the title with an empty ANYPS5_SHADER_CACHE_DIR and no other APS5_* variables.
  3. It stops during the start-up loading, before the main menu, in 2 of 2 runs (and the same in 3 more runs with trace or capture variables).

Log

The same run with the message extended locally, printing the registers of the rejected slot:

color export format 4 into an unsigned integer target is unsupported [slot 0 export index 0 CB_COLOR_INFO 0x00050408 SPI_SHADER_COL_FORMAT 0x00000004 CB_TARGET_MASK 0x0000000f]

CB_COLOR_INFO 0x00050408: FORMAT 2 (COLOR_16), NUMBER_TYPE 4 (UINT), BLEND_BYPASS and ROUND_MODE set. The pixel shader exports SPI_SHADER_FP16_ABGR (4) into a one-channel R16_UINT target, all four mask bits set.

What was checked

  • main 48c160c58b with #9789 reverted (git revert -m 1 6641f48356, no other change): the menu is reached and Story loads, so this check is the only stop before the menu. About 60 s into Story the same build then stops on #11425 (compute shader 0x25b390800: ... converted float image with 16-bit data), which is separate.
  • Not measured: what the console's CB writes for an FP16_ABGR export into a 16-bit UINT target. One reading is that with BLEND_BYPASS the CB stores the exported half's 16 raw bits, which before #9789 the float output into the R16_UINT attachment did not reproduce either. That is a guess, not a measurement. Which value this draw needs is for whoever has the hardware data.

@rooklz FYI, since the check comes from #9789.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6045163825 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/11513). Originally posted by [tibzejoker](https://github.com/tibzejoker) on 2026-10-26T17:49:37Z. --- ### What happens Grand Theft Auto V stops before its main menu on current `main`, every run: ```text [videoout] presentation failed: AGC graphics: color export format 4 into an unsigned integer target is unsupported terminate called after throwing an instance of 'std::runtime_error' what(): AGC graphics: color export format 4 into an unsigned integer target is unsupported ``` The check was added by #9789 (`State.cpp`, `ColorExportPacking::Uint`). Before it, this draw ran. ### Title, test or build step PPSA04264 01.005.000 (Grand Theft Auto V) ### AnyPS5 commit `main` `48c160c58b`, no pull requests on top. Last good: `main` `5b5d24cb22`. Between the two, #9789 is the only change to `Graphics/src/State.cpp`. ### System Windows 11 Pro 26200, RTX 4090 (NVIDIA 616.92), WinLibs GCC 15.2.0 r7, Release. ### Steps to reproduce 1. Build `main` (relinker + `libs`), relink with `relinker --windows --to-intel --registry`. 2. Start the title with an empty `ANYPS5_SHADER_CACHE_DIR` and no other `APS5_*` variables. 3. It stops during the start-up loading, before the main menu, in 2 of 2 runs (and the same in 3 more runs with trace or capture variables). ### Log The same run with the message extended locally, printing the registers of the rejected slot: ```text color export format 4 into an unsigned integer target is unsupported [slot 0 export index 0 CB_COLOR_INFO 0x00050408 SPI_SHADER_COL_FORMAT 0x00000004 CB_TARGET_MASK 0x0000000f] ``` `CB_COLOR_INFO` `0x00050408`: FORMAT 2 (`COLOR_16`), NUMBER_TYPE 4 (UINT), BLEND_BYPASS and ROUND_MODE set. The pixel shader exports `SPI_SHADER_FP16_ABGR` (4) into a one-channel `R16_UINT` target, all four mask bits set. ### What was checked - `main` `48c160c58b` with #9789 reverted (`git revert -m 1 6641f48356`, no other change): the menu is reached and Story loads, so this check is the only stop before the menu. About 60 s into Story the same build then stops on #11425 (`compute shader 0x25b390800: ... converted float image with 16-bit data`), which is separate. - Not measured: what the console's CB writes for an FP16_ABGR export into a 16-bit UINT target. One reading is that with BLEND_BYPASS the CB stores the exported half's 16 raw bits, which before #9789 the float output into the `R16_UINT` attachment did not reproduce either. That is a guess, not a measurement. Which value this draw needs is for whoever has the hardware data. @rooklz FYI, since the check comes from #9789.
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#11513
No description provided.