test(agc): register full recorder suite with CTest #6642
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6642"
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-16T00:54:13Z.
What
Register the no-argument
agc_driver_recorderregression flow with CTest, including the existing Vulkan-unavailable skip code, a 30-second timeout, and the WindowslibcDLL path used by focused entries. This carries forward the CTest registration proposed in #3354.This registration depends on #5883. That PR updates the pending-write proof expectation; #6155, which stamps test-side guest writes, has merged. Without #5883, the full recorder path stops at an existing assertion before completing. This PR only registers the test and does not change those expectations or production behavior.
Tested
4c1de7e2b0:git diff --check upstream/main...HEADandpython3 tools/check_conventions.py --base upstream/main --head HEADpassed.3f171d03e, #5883, #6155 and this PR passedctest -R '^agc_driver_recorder$'3/3 on lavapipe. A separate earlier composition with #5883 and #6155 also passed 3/3 on RTX 3070 and lavapipe. These reports are in the PR comments; they predate current main43a2abaf77./dev/dridevice.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch; no silent stubs addedImported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-16T02:03:40Z.
Review: DISMISSED
I built main
5d9dcc42dwith this PR (fb67697b7) and ran the newagc_driver_recorderentry on an RTX 5080, a Radeon 610M (RADV) and lavapipe. It fails on all three, on every run, at(9) a scan under a pending write was kept(core/libs/prx/libSceAgcDriver/tests/Recorder.cpp:1332). The no-argument binary fails the same way on main without the PR (9 of 9 runs, three per device), so the check that blocked the earlier registration still fails, and once the Linux job runs this entry it will go red. Could that check be fixed first, or the registration wait until it passes? I don't think the issue should close on this change alone.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T03:41:21Z.
Thanks for running the full entry on three devices. I confirmed the reported assertion is in the existing
keyProofTestspath, not in the new CTest wiring. Since it fails onmainas well, I agree this PR should not register the full recorder executable until that pending-write proof check is understood and passes. My PR description overstates that the current branch contains the fixes needed for the full run; I’ll correct that claim and keep the registration change from being treated as ready to merge while this remains unresolved.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T03:56:09Z.
I found and opened PR #6676 for the pending-writer proof issue behind the
keyProofTestsfailure. It checks the recorder's unsignaled writes before reusing a cached DCC proof, and updates the regression to verify the pending writer is resolved before the proof is refreshed. The regression could not be exercised in my Linux run because guest write-watch is unavailable there; I reported that limitation in #6676. The full-suite registration in this PR should remain deferred until the key-proof run passes on a write-watch-capable system.Imported from boykopovar/AnyPS5. Originally posted by Dextroid17 on 2026-10-16T11:41:44Z.
Recorder.cpp:1332is the(9) a scan under a pending write was keptcheck that #5883 rewrites. With #5883 the no-argument run gets past it and stops atsecond draw observed overwritten input. #6155 stamps the test's direct guest writes, which clears that stop. fma-rc ran the same change (the (9) hunk plus the threeMarkWrittencalls, rebuilt from a description onmain2559e9623, not from the PR heads) and reported 3 of 3 on an RTX 5080, RADV (Raphael) and lavapipe in #1532. The (9) stop comes from the test's expectation, which #5883 updates, so no driver change is needed now that #6676 is closed.I ran this registration on top of the two PRs on Linux:
main3f171d03ewith #5883, #6155 and this PR (fb67697b7) cherry-picked (all three applied without conflicts), default CMake build (CMAKE_BUILD_TYPE empty), lavapipe (llvmpipe, Mesa 26.2.4, LLVM 23.1.1), clean environment withANYPS5_REQUIRE_VULKAN=1,ctest -R '^agc_driver_recorder$', 3 runs each:tests/Recorder.cppas in #5883): failed, 3 of 3,second draw observed overwritten input.tests/Recorder.cppas onmain): failed, 3 of 3,(9) a scan under a pending write was kept.So this entry goes green once #5883 and #6155 are merged. "Depends on: #5883, #6155" in place of
Depends on: nonewould record that. #5883 still has requested changes open (a code comment and the PR template), so this waits on those too. I did not run Windows or a hardware GPU.Disclosure: #6155 is mine, and it is stacked on #5883.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T11:58:59Z.
Thanks for testing the exact compositions and separating the two failures. I updated the PR to depend on #5883 and #6155, recorded your 3/3 lavapipe pass with both dependencies, and kept the limitation explicit: this registration alone does not make the main branch's recorder path green. I'll keep it waiting until both dependencies merge and the composed test remains green.
Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-16T15:30:05Z.
Review: COMMENTED
The composed run on a hardware GPU, with the PR heads themselves, and how long the entry takes against its 30 s timeout.
Machine: NVIDIA GeForce RTX 3070, driver 595.99.02, Vulkan 1.4.329, plus lavapipe (Mesa 26.0.3, LLVM 21.1.8) on the same machine. Ubuntu 26.04 (kernel 7.0.0-38), i7-8700, GCC 15.2, Release,
BUILD_TESTING=ON.GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02), lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04
Composition:
main0615cd2b8+ #5883 (1b3f2e098) + #6155 (4aeb8ef49) + this PR (fb67697b7), merged in that order, no conflicts.maindid not build at the time (#6784), so I used0615cd2b8.ctest -R "^agc_driver_recorder$" -j1, 3 runs per device:(9) a scan under a pending write was keptSo the full no-argument flow passes on NVIDIA as well, using the actual PR heads (fma-rc's 3/3 in #1532 was rebuilt from a description). The longest run took about 1.3 s, well under the 30 s
TIMEOUTthis registers.Not checked: Windows, AMD, the run without #6155 on this machine.
Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T15:34:49Z.
Thanks for running the registered recorder suite on the PR heads themselves and reporting the runtime against its 30-second timeout. This gives useful hardware coverage for the new CTest registration.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-16T21:05:12Z.
The current PR body now has the required What, Tested, and Checklist sections populated and accurately records the dependency and validation status. The earlier conventions failure is from the 00:54 run; later runs at 03:41 and 11:58 passed conventions. No metadata edit is needed here.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T03:15:03Z.
Thanks for testing the exact PR head across the three devices. The PR description already records #5883 and #6155 as required dependencies; #6155 is merged, while #5883 is still open. I agree the registration is not ready to merge until #5883 lands and the composed run passes. The independent composed run on #5883 + #6155 + this PR passed 3/3 on RTX 3070 and lavapipe; I am treating that as dependency-stack evidence, not as a pass for this PR alone.
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-18T04:11:37Z.
For the RADV side of the dependency stack: this PR (fb67697b79) on top of #5883 (
1b3f2e0982), both rebased onto main1e2d9b369b, passedagc_driver_recorder3 of 3 on a Radeon 680M (RADV REMBRANDT, Mesa 26.2.4), with only the RADV driver enabled.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T04:23:27Z.
Thanks for adding the RADV result. That is useful composed-stack coverage for the registered
agc_driver_recorderentry. #5883 is still open, so the dependency remains; I will keep the PR pending until the dependency is merged and the composed run remains green on the resulting base.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-18T22:09:29Z.
Thanks for the composed-head retest. The result confirms the full recorder registration passes 3/3 on RTX 3070 and lavapipe when #5883 and #6155 are included, and stays well under the 30 s timeout. #5883 is still open and the current main baseline fails the same check, so I’ll keep #5883 listed as a dependency and leave this PR pending until that fix lands; this is not a standalone-main pass.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-19T15:19:18Z.
Rebased onto current
main(43a2abaf77), preserving the latest Windows PATH list and addingagc_driver_recorderto it. The branch still depends on #5883; #6155 has merged. Current diff-check and conventions pass. I updated the PR body to distinguish earlier composed-tree GPU results from this current head, which has not been built or run.Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-27T06:24:27Z.
Review: COMMENTED
Follow-up to my composed run above, now that #5883 is merged: this PR alone on current
mainpasses.Setup: Ubuntu 26.04, i7-8700, GCC 15.2, Release. Head
f9123c760merged ontomainfe2b52c7e(clean, includes #5883).ANYPS5_NO_SHADER_CACHE=1,ctest -j1, device picked withVK_ICD_FILENAMES.agc_driver_recorderRecorder.cppchange reverted(9) a scan under a pending write was keptagc_driver_recorder_testsSo the dependency is resolved and the new entry stays far below its 30 s timeout.
GPUs tested: NVIDIA GeForce RTX 3070 (595.99.02), lavapipe (Mesa 26.0.3, LLVM 21.1.8), Ubuntu 26.04
Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.