fix(libSceAgcDriver): return the console's workload stream registration errors #9166
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9166"
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 orezraey on 2026-10-21T14:09:10Z.
What
sceAgcDriverRegisterWorkloadStreamandsceAgcDriverUnregisterWorkloadStreamreturn the console's error codes. Before, they returned 0 for every argument. Measured on a retail PS5 (firmware 13.60) with two homebrew probes; the sources and console logs are in this gist (workload, andworkload2for the order of the checks).0x8a6c0033, also with a null stream0x8a6c0033, also with a null stream0x8a6c0035, not registered0x8a6c00330x8a6c003aThe workload packets themselves are unchanged here. The same probe recorded them, and the results are in a comment on #8302, which documents them. The debt entry loses its sentence about the unknown registration codes. #8302 and #8318 edit the same entry, so whichever merges second needs a small rebase.
Tested
Windows 11, MinGW (winlibs), NVIDIA GeForce RTX 5070 Ti (driver 616.64).
guest_agc_driver_resourcescovers every row above, andagc_commandspasses unchanged.main(663de1ab21) and on this branch withANYPS5_REQUIRE_VULKAN=1,ANYPS5_NO_SHADER_CACHE=1andVK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation. Both pass. Neither log contains the missing-layer message or anyVUID-. These two tests don't create a Vulkan device, so the validation layer has nothing to check in them.tools/check_conventions.pypasses.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)guest_agc_driver_resourcesandagc_commands, which create no Vulkan device)