graphics: accept video-out buffers with 128-byte independent DCC blocks (Gran Turismo 7) #1945
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1945
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1945/head"
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?
@Nawid3333 on GitHub · 2026-10-27 21:52 UTC · original
Nawid3333:fix/videoout-dcc-128b-gt7→main· +11 −3 · 1 files · 1 commits · merged 2026-10-28 03:44 UTCGran Turismo 7 (PPSA01316, #1930) registers its compressed display buffers with
dcc_control0x00100024: maximum uncompressed and compressed block size 128 bytes, independent 128-byte blocks.ClassifyVideoOutCompressiononly knew 0x00000048 and 0x00000208 and returnedUnsupported, so video-out stopped with "unsupported or invalid video-out surface attributes" (videoOut.cpp:571in the #1930 log).This adds the layout. The renderer only tells uncompressed and unsupported buffers apart from compressed ones, so these buffers get the same handling as the two DCC layouts video-out already accepts.
Tested in the game by md-archive (RTX 3070 Ti), same dump and settings (#1930):
main2efd314still exits at the video-out check.2efd314, GT7 passes it, shows the copyright notice and the logo, and reaches the demo screen.@coderabbitai[bot] on GitHub · 2026-10-27 21:55 UTC · original · edited 2026-10-28 03:44 UTC
No actionable comments were generated in the recent review.
a84b313b-042b-4753-aaf7-6d1bfe84fa61Reviewing files that changed from the base of the PR and between
69fdb03dc2and a906c9f329ce4014940ea3f1a9d65072f7dfd1e0.src/graphics/host_gpu/renderer/image/imageInfo.htests/ShaderRecompilerComputeTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Walkthrough
The change adds
VideoOutCompression::Dcc128_128_128and maps DCC control value0x00100024to it. It also adds and runs tests for uncompressed output, supported DCC layouts, and unsupported cases involving conflicting block modes or missing or unaligned metadata.Suggested reviewers:
nmzik,thecruzPriority:
Normal
Change: Bug fix
Merge Risk:
Minimal · up to
a906cNo actionable merge-blocking issue was found in the reviewed changes.
Pre-merge checks:
4
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.