feat(libSceHmd2): add PS VR2 modules that report the runtime as unavailable #1347
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1347"
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 gjonn on 2026-10-07T23:59:31Z.
What
A title links
libSceHmd2.prx(PS VR2) andlibSceVrTracker2.prx, which did not exist, so the title could not load. This adds both modules with the path where no PS VR2 runtime is available:sceHmd2Initializefails. The console's error code for that case is unknown; it returns libSceHmd'sUNSUPPORTED_FEATURE(0x81110016), recorded in TechnicalDebt.NotImplemented; signatures are unknown.The title calls
sceSysmoduleLoadModule(0x12a)and thensceHmd2Initializewith a pointer to 16 zeroed bytes, and only tests the result for non-zero. On failure it skips its whole VR set-up (reprojection, VrTracker2, the flag that guards every later Hmd2 call), so none of the throwing exports is reached.Tested
guest_hmd2test (initialization reports the unsupported feature with and without a param, and an export after it throws) passes.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T23:59:52Z.
Progress report (
df16c4c→a988b8b)📉 System libraries: 85.51% (-0.63%, +1 implemented, +22 declared functions)
✅ 1 implemented
sceHmd2Initialize🆕 22 declared as stubs
sceHmd2ClosesceHmd2GazeGetResultForFoveatedRenderingsceHmd2GetDeviceInformationsceHmd2GetFieldOfViewWithoutHandlesceHmd2OpensceHmd2ReprojectionBeginFramesceHmd2ReprojectionDisableVrModesceHmd2ReprojectionEnableVrModesceHmd2ReprojectionGetPredictedDisplayTimesceHmd2ReprojectionInitializesceHmd2ReprojectionQueryBufferSizeAlignsceHmd2ReprojectionQueryDisplayBufferSizeAlignsceHmd2ReprojectionSetAllowPositionalReprojectionsceHmd2ReprojectionSetParamWithBuffersceHmd2ReprojectionSetRenderConfigsceHmd2SetVibrationsceVrTracker2GetResultsceVrTracker2InitializesceVrTracker2QueryMemorysceVrTracker2RegisterDevicesceVrTracker2SetCoordinateSystemsceVrTracker2UnregisterDeviceImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-08T01:03:23Z.
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)docs/dev/TechnicalDebt.mdL34docs/dev/TechnicalDebt.mdL34docs/dev/TechnicalDebt.mdL34docs/dev/TechnicalDebt.mdL34