GTA V (PPSA04264): dark square tiles around foreground characters in cutscenes; the depth-of-field blur 0x25b37ca00 writes about 5 % of its input #12247
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Tehshortbus on 2026-10-28T04:53:20Z.
What happens
In cutscenes, square dark tiles in a stair pattern cover the background around foreground characters (the near-field depth-of-field region). They come from the title's depth-of-field blur compute shader
0x25b37ca00, whose output is about 0.05× its input in every channel.Title, test or build step
Grand Theft Auto V, PPSA04264 01.011.001, Story mode cutscenes (from the first one after loading).
AnyPS5 commit
main86fb985abbwith #11580 (fedf3e91a7) merged locally, which the title needs to get past #11425 to gameplay. Some runs also had #12244 (logging only). #11580 does not seem to be involved: none of the shaders below makes a D16 image access.System
CachyOS Linux (kernel 7.3.0-4-cachyos), GCC 16.2.1, Release, NVIDIA GeForce RTX 4070 SUPER (615.78.08), 3840x2160 output (2560x1440 internal), warm shader cache.
Steps to reproduce
Run the title (seen with no
APS5_*variables exceptAPS5_TRACE_SUMMARY_EVERY/APS5_TRACE_DIR), load Story mode and watch the first cutscene: whenever a character is close to the camera, the background around them shows the tiles.Log
No warning or refusal accompanies the tiles. The evidence:
1. Which pass.
APS5_TRACE_DISPATCH_IO=1lists ten compute shaders that read and write11_11_10_FLOAT(guest format 36) images at 160x90, 54x30, 1280x720 and 2560x1440 every cutscene frame:0x25b378a00,0x25b378e00,0x25b379200,0x25b37aa00,0x25b37ae00,0x25b37b200,0x25b37ca00,0x25b380c00,0x25b381000,0x25b381400. WithAPS5_SKIP_SHADER_FILE, live:0x25b37aa00…0x25b380c00) makes the final pass paste stale blur into the same tile grid, so the final pass fills whole tiles from the half-resolution blur;0x25b36f800and0x25b38de00(motion blur) does not change them.2. Where the values go dark.
APS5_DUMP_STORAGE=1280x720x1:36withAPS5_DUMP_STORAGE_GATE, opened during a cutscene, read the 1280x720 images straight from their VkImages:0x2593400000x25b37aa00/0x25b37ae000x2597000000x25b37ae00/0x25b37b2000x258f800000x25b37ca000x258bc00000x25b380c00Over the 63,936 pixels where
0x259340000and0x258f80000both have content,0x258f80000÷0x259340000is 0.049 (p10 0.040, p90 0.050), the same in R, G and B (medians 0.277/0.248/0.207 against 0.013/0.012/0.010).0x258bc0000÷0x259340000is 0.050 inside that region and 1.000 outside it. 52.8 % of the near-field pixels end up at 0.05×.3. In the shader.
APS5_DUMP_IRof0x25b37ca00(from anAPS5_DUMP_SHADERSrequest, replayed withagc_shader_replay): the stored color ist × A + Bwitht = FPSaturate32(0.040816 × x)(2/49).xis built from component 0 of 28ImageSampleRawresults of the two image resources the shader loads from memory (the dispatch's sampled inputs are 1280x720 guest formats 29 and 36), compared against0.975; the 14 color taps use the resource ins[0:7]. An output of 0.05× the input meanst≈ 0.05, soxis about 20 times smaller than a full-coverage tile.What was checked
APS5_NO_SAMPLED_FROM_STORAGE=1: the tiles are still there (three screenshots of different shots, and anAPS5_DUMP_FRAMESframe), so the sampled view of a storage image written earlier in the frame is not the cause.0x25b36a200's, the shader of #11425), so #11580's D16 path is not involved. Plainmaincannot reach the cutscenes (#11425), so I have no run without #11580.APS5_DUMP_STORAGEcannot read it; and whether the shader's emulated 16-bit arithmetic (about 1,000 bit operations feedx) is involved, since no switch turns that emulation off. Other GPUs or Windows: not tried.The dumps (raw and PNG) and the IR are available on request.
AI-assisted: yes (Claude Code)