feat(agc): add an opt-in compute queue lane #13863
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/13863"
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 Celegans12 on 2026-10-31T10:08:08Z.
What
Stacked on #9289; please review the last commit only.
APS5_ASYNC_LANE=<hex ring>sends eligible compute to a spare compute-only queue, continuing #675 and adapting hritikutekar's async implementation. Queue planning, buffer sharing and command identity are per device; unsupported work stays on main.APS5_GPU_CHECKPOINTS, async batches write no checkpoint marker, and a main-lane batch opened while one is open writes the sentinel and takes no submit snapshot. The ordered storage-refresh skip is off while the lane is active.Keep #6188 separate and preserve #9898 lease/label ordering. #11587 needs both-lane retirement proof; #12764 shared scratch must refuse async. Narrow timestamp wrap and unsupported cross-ring progress remain debt.
Tested
Based on
main1adc0e2f4bplus #9289 (rebased 2026-11-17; main's newpassGenerationbump, lease-write finish and stencil clear pass are kept, with the lane's opened-batch finish and command borrow on top). Windows 11 / MinGW-w64 GCC 15.2.0, Release with-DBUILD_TESTING=ON: 29 lane, async, storage-flush, ordered-flush, staged-copy, barrier, device-fault and runtime-switch cases passed three times on RTX 3080 Laptop / 621.14 with validation 1.4.363; the lane cases used a second queue. No VUIDs, hazards or skips. The 12 lane and async cases also passed withAPS5_GPU_CHECKPOINTS=1on the previous head (not yet rerun on this one). Two lane tests now pass the lease's write flag that main added toCountLeaseOutcome.The seven
agc_driver_lane_*failures on community CI were theVUID-output check matchingVUID-VkDeviceCreateInfo-pNext-pNext, which validation 1.3.275 prints at device creation on main too; the lane tests now mute that one ID throughVK_LAYER_MESSAGE_ID_FILTER. That layer was not available here. Not tested on this head: Linux, macOS, titles/FPS.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T23:36:02Z.
Review: COMMENTED
Reviewed — no blocking findings
The prepared diff and targeted source review did not establish a concrete defect, but the review is incomplete because several changed files were excluded and the test suite was not run.
What I ran
a6fe48dcd1f19e5ce01d66534d294b7bc2efec0ausing the pinnedrepo_read.pyreader.Results
Findings
Blocking
None verified.
Non-blocking
None.
Not verified
This was not a complete review. The manifest marks four files as excluded because they exceed the review-folder limit:
VulkanDevice.cpp,GuestBufferMemory.cpp,Recorder.cpp, andtests/Recorder.cpp. Their targeted regions were read through the reader, but their full changed contents were not reviewed. Other included changed files were not all read. No tests were run, and author-reported test results were not independently verified.To get this to a good state
Nothing is required. The optional point is to complete review of the remaining changed files and run the relevant checks before relying on this review as a full approval.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:50:05Z.
Review: COMMENTED
The trial merge onto
c1601e56d5conflicts in device submission, recorder, storage, and runtime switches. Keep both the main-lane fallback on a device with no eligible queue and a real second-queue execution. The tests for copied writers and labels should cover cross-lane handoff, since a lavapipe run on one queue can only verify the fallback. My review is source-based.AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.