fix(libSceVideoOut): propagate shutdown driver error and register flip tests #1575
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1575"
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 neuralsin on 2026-10-08T13:15:02Z.
What
Resolves #1040:
VideoOutDriver::presentLoop, wrapsAgcDriverShutdown_nid_postfix()in a try-catch block and records any shutdown exception intoflipQueue->failure. This preventsDriver::Shutdown()'s stored worker failure from throwing unhandled onpresentThreadand invokingstd::terminate(), allowingpresentThread.join()to finish cleanly soVideoOutDriver::Shutdown()can propagate the error to the caller thread as expected by tests.core/libs/prx/libSceVideoOut/CMakeLists.txt, buildsvideo_out_flip_testsunderif(BUILD_TESTING)and registers all three headless test cases (video_out_flip,video_out_flip_decode,video_out_flip_controls) in CTest withSDL_VIDEODRIVER=offscreenand Windows libc path prepend.tools/check_test_registration.py, removesvideo_out_flip_testsfromKNOWN_UNRUN.Tested
ctest -R video_out_flip: 3/3 passed (100% tests passed:video_out_flip,video_out_flip_decode,video_out_flip_controls)python tools/check_test_registration.py build_wsl: 100% passed (401 test executables, 3 built and not run as recorded, none new)python tools/check_conventions.py --base origin/main: 100% passedChecklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T13:19:25Z.
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/libSceVideoOut/CMakeLists.txtL29-33core/libs/prx/libSceVideoOut/src/VideoOutDriver.cppL555core/libs/prx/libSceVideoOut/src/VideoOutDriver.cppL554-555Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-08T20:40:45Z.
One more overlap beyond the bot's #1648/#1801 list: open PR #1048 also catches
AgcDriverShutdown_nid_postfix()inpresentLoop()and registers the same three CTest cases; open PR #1225 does the same plus the Windows libc PATH setup. All three address the #1040 shutdown/test-registration path. #1225's latest Linux and Windows runs currently fail before compilation because it does not removevideo_out_flip_testsfromKNOWN_UNRUN; #1575 already has that removal.Please coordinate with those authors/maintainers on the canonical change and list any actual dependency in the PR body before rebasing or resolving the shared
VideoOutDriver.cpp/ CMake hunks. That should prevent reviewers from merging conflicting versions of the same fix.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T05:23:41Z.
I reviewed the full diff and compared it with the live PR list. #1225 is still open and already contains the same
presentLoopshutdown-error propagation and registration of the same three headless modes, so this PR’s checklist claim that no other open PR implements the same functions is currently stale. Please coordinate with #1225 and keep one PR for this change. Also, these new CTest entries do not set a timeout; CONTRIBUTING requires tests to complete in under 30 seconds, so please set an explicit 30-second timeout. I’m holding review until those are resolved.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:53:01Z.
Closing: #1225 makes the same
presentLoopchange and ctest registration for #1040 and was opened first. If something here is missing from #1225, a review comment there is the best place for it.Pull request closed