fix(videoout): dump linear display buffers #4930
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4930"
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 MarcZX10 on 2026-10-13T05:06:00Z.
What
PresentDisplayBufferreturns early for linear (tilingMode == 1) display buffers before it reaches theAPS5_DUMP_FRAMESscheduling code. Those presented frames are therefore omitted from the regular BMP dump output.Keep the existing linear readback and presentation path, and apply the same dump limit, interval, scale, and queued GPU readback used for tiled buffers. Extend
video_out_frame_dump_queueto alternate tiled and linear buffers and verify every dumped pixel. This follows up on the frame-dump side finding in #3093.The open #4891 also changes this presentation function for on-demand screenshots. Its screenshot request and this PR's regular
APS5_DUMP_FRAMESbehavior are separate; the changes touch the same linear branch but do not depend on one another.Tested
video_out_frame_dump_queue_testsbuilt successfully.video_out_frame_dump_queuepassed (1/1).tools/check_conventions.py --base upstream/main,tools/check_test_registration.py build-frame-dump-linear, andgit diff --check upstream/main...HEADpassed.Checklist
main; no other open PR implements regular frame dumps for linear buffers (#4891 adds on-demand screenshots)NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by nicolasfalesy on 2026-10-13T08:41:41Z.
Linux test with a display (Arch, Intel Arc B390 on Mesa 26.2.2 ANV, Xwayland, GCC 16.2.1, Release), this PR merged onto
main7e181fcc3together with #4863, #4040 and #4930 (clean merges):video_out_frame_dump_queuepasses when run with its ctest environment (APS5_DUMP_FRAMES=4 APS5_DUMP_SCALE=4) on a real X display instead of the offscreen driver. With this PR'sVulkanDevice.cppchange reverted it fails witha queued frame dump was not written, so the test guards the change on Linux. The fivevideo_out_flip_testsmodes (lifetime, reopen, controls, overlay, unopened) also pass on the display with the three PRs merged.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-14T00:17:43Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cppL2575