Skip to content

feat(videoout): composite the overlay bus over the main output - #10507

Merged
adriadam10 merged 5 commits into
boykopovar:mainfrom
orezraey:feat/videoout-composite-overlay
Oct 26, 2026
Merged

adriadam10 merged 5 commits into
boykopovar:mainfrom
orezraey:feat/videoout-composite-overlay

Conversation

@orezraey

@orezraey orezraey commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

What

A title that opens a second VideoOut port on SCE_VIDEO_OUT_BUS_TYPE_OVERLAY draws its UI there, but overlay flips only completed (#2142): their buffers were never shown. PPSA01670 (DEATHLOOP) draws every menu, prompt, dialog, subtitle and cursor on the overlay bus, so it ran with no visible UI at all. Its title screen showed a blurred background with an invisible "not signed into PlayStation Network" dialog over it.

The buffer the overlay port displays is now blended over every main-bus presentation:

  • Which buffer: the one selected by the overlay port's last completed flip, while it stays registered and the port open. Black and unregistered main flips get the overlay too.
  • Blend: premultiplied alpha, overlay + main * (1 - overlay alpha), applied to the encoded 8-bit values. Each plane is scaled to fit the window on its own.
  • Why premultiplied: at PPSA01670's title screen its 3840x2160 0x8000000022000000 overlay held 527,020 translucent texels, and none had a color channel above its alpha. A straight-alpha plane would have many.

How it is drawn:

  • PresentationPass gets RecordOverlay. It is the existing decode shader with a load-and-blend render pass and a scissor to the plane's rectangle.
  • It also gets BindTexels, a per-slot upload image for an overlay whose results are not resident on the GPU. Either path draws onto the swapchain image after the main plane and before the F10 overlay.
  • VideoOut passes the overlay plane with each main present (AgcDriverPresentBuffer/PresentClear gain a plane argument).
  • GPU frame dumps (APS5_DUMP_FRAMES) and screenshots blend the same plane into the image they read back (the presentation dump, the direct-blit dump and the scaler source), so a dump shows what the window shows. PresentationPass::RecordDump is split into RecordDumpImage and RecordDumpReadback for this.

Not done, recorded in the libSceVideoOut debt entry:

  • 10-bit, PQ and float overlays throw.
  • The overlay is not composited over an HDR10 swapchain; one stderr line reports this.
  • An overlay flip alone does not present. A new overlay buffer shows at the next main flip.
  • CPU-decoded dumps (APS5_NO_GPU_DUMP, HDR10) and the frame recorder hold the main plane only.
  • An overlay that is not resident on the GPU is read and detiled on the CPU each present.

Tested

Windows 11 26200, NVIDIA GeForce RTX 5070 Ti (driver 616.64), MinGW build.

  • PPSA01670 (DEATHLOOP):
  • agc_driver_presentation_pass: new overlay cases cover 8-bit BGRA and RGBA overlays over a main plane and over a cleared destination, through both a resident image and uploaded texels, at five window sizes (exact, letterboxed both ways, scaled down and up). They match the CPU blend of the plane presented alone with the destination by at most 0 levels. Outside the plane's rectangle they are unchanged. The test also covers refusals: 10-bit and PQ overlays, an HDR10 destination, discarded contents, and short texels.
  • Dumps with the overlay (948e969): agc_driver_presentation_pass blends an overlay into the presentation dump at strides 1 and 3 and into the scaler source, and matches the CPU blend by at most 0 levels. In PPSA01670, 600 dumped boot frames now show the logos and copyright screen drawn on the overlay instead of only the key art under it.
  • video_out_flip_overlay: a main flip composites the overlay only once the overlay port has a displayed buffer. It does not composite after the overlay flips to black, after its buffers are unregistered, or after the port closes.
  • Focused tests on main and on this change, same machine: run with ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, using agc_resident_present|agc_driver_presentation_pass|agc_performance_overlay|agc_screenshot|agc_driver_flip|agc_driver_flip_compute|agc_driver_present_mode|video_out_flip_.*|video_out_hdr_present|guest_video_out_hdr|guest_screenshot.*.
    • Results: all 25 pass on both, three times on this change (head 948e969 as well). Neither log contains was not found but was requested by env var VK_INSTANCE_LAYERS. main logs 0 VUID- lines, and so does this change. An earlier revision of this change logged VUID-vkCmdBeginRenderPass-initialLayout-00899 (a load-from-TRANSFER_DST view without that usage); that is fixed here.
  • Head 655d0f3f32 (main 5b85225ef3 merged in, with fix(agc): place the presentation source in host memory when device memory runs out #10807): only the last lines of PresentationPass.cpp's main met; both overlayPlaneTests and fix(agc): place the presentation source in host memory when device memory runs out #10807's sourceImageOutsideDeviceMemoryTests run, with one success message. The 31 focused tests above pass three runs in a row on Windows (same GPU) with validation; neither log contains was not found but was requested by env var VK_INSTANCE_LAYERS, and none logs a VUID- line.
  • Linux (WSL Ubuntu, GCC) at 655d0f3f32: the same 31 tests pass three runs in a row; WSL has no Vulkan driver, so 22 of them skip and 9 run.
  • Head f34c280578 (main 14c99b52ac merged in, with perf(agc): wait for the display keys' writer before a present takes the device lock's time #10160): VulkanDevice met main's display-key writer sync (96bccd4c94, a3af6b1149); PresentStatistics keeps both planes and keyWriterWaits/keyWriterWaitMs, and PresentDisplayBuffer keeps the plane parameter with the sync before it. The 31 focused tests pass three runs in a row on Windows (same GPU) with validation; neither log contains was not found but was requested by env var VK_INSTANCE_LAYERS, and none logs a VUID- line. On WSL Ubuntu (GCC) the same 31 pass three runs in a row (22 skip without a Vulkan driver, 9 run).
  • Full suite: ctest -E "^agc_|^select_tests$", 1096 of 1096 pass.

Checklist

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the unblocks title Names a title ID on the Unblocks line label Oct 24, 2026
@adriadam10 adriadam10 self-assigned this Oct 24, 2026

@adriadam10 adriadam10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, the blend, layout transitions and refusals read correctly, and the new tests pin behaviour that main lacks. One thing is missing before merge (memory is bounded and measured, per CONTRIBUTING / the memory rules):

  • core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp:286-315 (ensureUploadImage) keeps, per present slot, an R32_UINT device-local image plus a host-visible staging buffer, both the overlay's size, and VulkanDevice.cpp:3652 keeps a second PresentationPass alive. At 3840x2160 that is about 33 MB + 33 MB per slot, over FlipInFlight() + 1 slots, and it is only freed when the device or swapchain is torn down. The non-resident path also detiles the whole overlay on the CPU each present. Please state the bound (what frees it, slot count) and give peak RSS / VRAM before and after on PPSA01670 or an equivalent 4K overlay workload. If the staging buffer can be shared across slots or sized once, say so, or do it.
  • Add that bound to the Overlay output bus line in docs/dev/debt/libSceVideoOut.md.

Everything else I checked (premultiplied blend factors, render-pass dependencies, refusal paths, debt entry) is fine; the Build run of the head will cover the Linux/Windows tests.

@github-actions

github-actions Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 11207 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp L523-524, L919, L3365, L3561, L3653, L3690, L3693-3695

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 674 core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
PR 1395 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 2434 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 4040 core/libs/prx/libSceAgcDriver/Execution/include/Presentation.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
docs/dev/debt/libSceVideoOut.md
PR 5021 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 5441 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 5609 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 5925 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6188 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6960 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 6977 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/include/VideoOutDriver.hpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
docs/dev/debt/libSceVideoOut.md
PR 7201 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/include/VideoOutDriver.hpp
core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
PR 7275 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Presentation.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7369 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7449 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 7642 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/PresentationPass.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp
PR 8004 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 8927 core/libs/prx/libSceVideoOut/tests/Flip.cpp
docs/dev/debt/libSceVideoOut.md
PR 9176 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9248 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
PR 9287 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9289 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9356 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9387 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 9431 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 9432 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/include/VideoOutDriver.hpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
docs/dev/debt/libSceVideoOut.md
PR 9672 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 9673 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
docs/dev/debt/libSceVideoOut.md
PR 9674 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 9675 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 9676 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/include/VideoOutDriver.hpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
docs/dev/debt/libSceVideoOut.md
PR 9842 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 9880 docs/dev/debt/libSceVideoOut.md
PR 10193 core/libs/prx/libSceAgcDriver/Execution/include/Driver/Driver.hpp
core/libs/prx/libSceAgcDriver/Execution/include/PresentationPass.hpp
core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Presentation.cpp
core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp
PR 10249 core/libs/prx/libSceVideoOut/src/VideoOutDriver.cpp
PR 10435 core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
core/libs/prx/libSceVideoOut/tests/Flip.cpp
PR 10442 core/libs/prx/libSceAgcDriver/Execution/include/VulkanDevice.hpp
core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 10547 core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
PR 11341 core/libs/prx/libSceVideoOut/include/VideoOutDriver.hpp

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@orezraey

Copy link
Copy Markdown
Contributor Author

Bound, now in the Overlay output bus debt line (5515884): the upload image and staging buffer exist only on the non-resident path, one pair per present slot, and there are FlipInFlight() + 1 slots (2 by default, 3 at most with APS5_FLIP_INFLIGHT=2). Each is width x height x 4 bytes, so 2 x (33 MB device-local + 33 MB host-visible) at 3840x2160. They are reallocated only when the overlay's size changes and freed with the Vulkan device; the resident path adds only the second pass's descriptor sets.

The staging buffer cannot be shared across slots: it is written by the CPU while the next slot is recorded, when the previous slot's copy may still be on the GPU (one presentation trails by default). It is already sized once per overlay extent. The device-local image could be shared, ordered on the present queue, which would save one 33 MB image at 4K; I can do that here if you want it.

PPSA01670 on Windows 11, RTX 5070 Ti, 150 s from boot to the brightness calibration screen (3840x2160 overlay), the same base (09f62b94c9 + #10414) with and without this PR, sampled every second (private bytes and peak working set from the process, VRAM from the GPU Process Memory\Dedicated Usage counter). Medians of 5 runs without and 4 runs with:

without with difference
peak working set 12,070 MiB 12,138 MiB +68 MiB
peak private bytes 16,049 MiB 16,204 MiB +155 MiB
peak dedicated VRAM 6,775 MiB 6,857 MiB +82 MiB

Run-to-run spread was under 50 MiB on each side. The first run with the PR, straight after the rebuild, peaked at 17,087 MiB private and 7,682 MiB VRAM; the four runs after it did not repeat that, so I left it out of the medians. The differences match the non-resident path: two slots of 33 MB images, two 33 MB staging buffers and the 33 MB detiled copy.

@github-actions github-actions Bot added docs prx agc libSceAgc* labels Oct 24, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I reviewed the exact head 5515884 and the reported GPU validation and focused test evidence are strong. One contribution-rule item is missing: the current checklist says , while the overlap report identifies open PRs #10043, #10160, and #10487 changing the same lines this patch changes in the presentation pass/Vulkan device. #10420 also has an unresolved base conflict and is listed among the comparisons the bot could not complete. CONTRIBUTING.md requires the authors to agree on merge order for overlapping PRs and declare it in . Please coordinate the order and update the checklist (including resolving the #10420 overlap manually). This is a merge-order bookkeeping blocker; I found no additional code defect in this review.

@MarcZX10

Copy link
Copy Markdown
Contributor

Correction to my review text: the current checklist says Depends on: none, and CONTRIBUTING.md requires an explicit Depends on declaration after authors agree on merge order for overlapping changes. Please coordinate and update that line for #10043, #10160 and #10487, which the overlap report identifies as changing shared presentation code. Please also manually resolve whether #10420's overlapping VulkanDevice.cpp changes need an ordering declaration; the bot could not compare it, and it currently conflicts with main.

@orezraey

Copy link
Copy Markdown
Contributor Author

Thanks, updated the checklist: Depends on: #10043, #10160, #10420, #10487 (merge order only). This PR goes after all four; I will merge main into it and rerun the focused AGC/VideoOut tests with validation as each one lands.

I checked #10420 by hand since the bot could not: in VulkanDevice.cpp it adds APS5_TRACE_QUEUE traces at the top of PresentDisplayBuffer, at the present submit and in QueuePresent, and drops the render semaphore from that submit and present. This PR changes the plane arguments of PresentDisplayBuffer and adds the overlay draw before that submit, so the hunks are close but change different logic, and the merge will keep both.

@EagleBearerYS @stuart-russell for your information; nothing is needed on your side.

@orezraey

Copy link
Copy Markdown
Contributor Author

@Raghav314: #9508 changes the same lines as this PR in core/libs/prx/libSceAgcDriver/Execution/include/PresentationPass.hpp, core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp and core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp (git merge-tree of both heads over current main conflicts there). I propose it lands first; I will then merge main into this branch, keeping both sides' behaviour, and rerun its tests. Depends on now lists it (merge order only).

@orezraey

Copy link
Copy Markdown
Contributor Author

@Celegans12 @EagleBearerYS @MiguelAdolfsen @TibixDev: #1395 changes the same lines as this PR in core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp; #6202 changes the same lines as this PR in core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp; #7642 changes the same lines as this PR in core/libs/prx/libSceAgcDriver/Execution/include/PresentationPass.hpp, core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp, core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp; #10193 changes the same lines as this PR in core/libs/prx/libSceAgcDriver/Execution/include/PresentationPass.hpp, core/libs/prx/libSceAgcDriver/Execution/src/PresentationPass.cpp, core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp (git merge-tree of both heads conflicts there, while each merges cleanly with current main). I propose they land first; I will then merge main into this branch, keeping both sides' behaviour, and rerun its tests. Depends on now lists them (merge order only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BunnyFl

BunnyFl commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Windows / AMD run of this PR on DEATHLOOP (PPSA01670, 01.405.000), against #10414 alone as the description does, same machine and dump.

Builds

Host: Windows 11 Pro 26200, AMD Radeon RX 9070 XT (Selected GPU name=AMD Radeon RX 9070 XT), driver 32.0.32015.7029. Each run starts with no save data and lasts 300 s, with Cross and Circle pressed alternately every 3 s.

run 1 run 2
#10414 alone key art, then only the dark menu background: no logos, text, dialog or menu; no stop in 300 s the same
#10414 + this PR Bethesda and Arkane logos, the DEATHLOOP copyright screen, the photosensitivity warning, the title card with Press ✕, the "not signed in to PlayStation Network" dialog, the subtitle options screen, then the main menu (BREAK THE LOOP / PROTECT THE LOOP); no stop in 300 s the same sequence

In the main menu (from about 100 s on), #10414 alone shows 60-66 presents per 10 s and this PR 62-66, so the overlay composite costs no visible frame rate here. The screens above are from APS5_DUMP_FRAMES dumps (every 40th frame). Neither log has an overlay-related stderr line.

Not run: the focused AGC/VideoOut tests with the validation layer (only the game runs above).

The same dumped frames 32-43 of run 1, #10414 alone (top) and with this PR (bottom):

DEATHLOOP #10414 alone vs with #10507 on AMD

@orezraey

Copy link
Copy Markdown
Contributor Author

@milescoviello: #10807 and this PR both add a test call at the same line of core/libs/prx/libSceAgcDriver/tests/PresentationPass.cpp (git merge-tree of both heads conflicts only there; the shared PresentationScaler.hpp/.cpp changes merge cleanly). I propose #10807 lands first; I will then merge main into this branch, keeping both test calls, and rerun its tests. Depends on now lists it (merge order only).

@milescoviello

Copy link
Copy Markdown
Contributor

@orezraey agreed: #10807 first, merge order only, and your side keeps both test calls. Thanks for checking the shared PresentationScaler changes too. I've noted the order on #10807's checklist.

AI-assisted: yes (Claude Code)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Oct 26, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 26, 2026
@ycbuzi

ycbuzi commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

A Windows run of this head on a second NVIDIA generation and an AMD device, to go with your RTX 5070 Ti: Windows 11 Home 10.0.26200, WinLibs GCC 15.2.0 r7 (MinGW-w64 UCRT), Release. f34c280578 merged onto main 9656d366be with no conflicts. agc_driver_presentation_pass plus the 16 video_out_flip_* tests, with the SDL windows test driver so the flip tests get a Vulkan surface. One GPU at a time with ANYPS5_GPU, plus ANYPS5_REQUIRE_VULKAN=1 and ANYPS5_NO_SHADER_CACHE=1, run with ctest -V --repeat until-fail:2. Each log's Selected GPU line names the device.

device result
GeForce RTX 4070 SUPER (0x2783, Ada), NVIDIA 616.92 17 of 17, both runs
GeForce GTX 1650 SUPER (0x2187, Turing), NVIDIA 616.92 17 of 17, both runs
AMD Radeon(TM) Graphics (1002:164e, RDNA2 iGPU), AMD 32.0.21030.2001 17 of 17, both runs
  • None skip, so the flip path ran on all three.
  • No negative control: tests/PresentationPass.cpp uses the new PresentationPass members (:569), so it doesn't build with main's sources.
  • Build warnings: only main's known Signals.cpp:25 and PipelineLibrary.cpp ones.

AI-assisted: yes (Claude Code)

@orezraey

Copy link
Copy Markdown
Contributor Author

@EagleBearerYS #11207 and this PR both change core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp on the same lines of main (around L523, L919, L3365, L3561 and L3653-3695), so a merge of the two conflicts. I propose #11207 lands first; I will then merge main into this branch, keep your on-screen keyboard path next to the overlay compositing, and rerun the focused AGC/VideoOut tests with validation. I listed #11207 in Depends on (merge order only).

@EagleBearerYS

Copy link
Copy Markdown
Contributor

@orezraey Agreed, thanks: #11207 first, then your merge of main into this PR. #11207 builds on our #10487, which carries two of those VulkanDevice.cpp hunks, so the order is #10487, #11207, then #10507. I've updated #11207's description to match.

@adriadam10
adriadam10 dismissed MarcZX10’s stale review October 26, 2026 18:43

Dismissing a stale review: the requested changes were addressed after it (new head) and the merge queue blocks on it. Please request changes again if anything is still open.

@adriadam10
adriadam10 merged commit afc780e into boykopovar:main Oct 26, 2026
17 of 18 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Re-checked against current main: the commits are unchanged, and the merges of main (including #10160) apply cleanly; the new planes present counter sits beside keyWriterWaits in PresentStatistics without interfering. Windows runs by @BunnyFl and @ycbuzi cover the overlay path on AMD and NVIDIA; merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agc libSceAgc* docs prx unblocks title Names a title ID on the Unblocks line

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants