Skip to content

PS5SD 0.9.17

Choose a tag to compare

@Darkatek7 Darkatek7 released this 28 Oct 11:00
· 37 commits to main since this release

PS5SD 0.9.17 finishes 1.0's "The API is fixed" with an OpenAPI description of every route, and keeps a Close from the home screen from ending in a crash report when the title hangs.

OpenAPI

  • GET /ps5sd/v1/app/openapi.json describes the whole API as OpenAPI 3.1: 63 paths and 70 operations, with their parameters, bodies, answers and errors, and the four ways to send the API key.
  • It answers without the API key, so Swagger UI, Postman or a client generator can read it before they know the key.
  • CI checks that the spec lists every route the server and the app register, and no other (scripts/check-openapi.py), so it stays in step with the code.

A safe Close while the title hangs

  • On a Close from the home screen the system suspends the title first, and it needs a GPU suspend point for that. If the title had passed none for 25 s, the Close ended in a crash report.
  • That could happen when the main loop got stuck inside a frame while the server was idle.
  • A thread now passes a suspend point every 100 ms. Measured on the console with a main loop stuck inside a frame: without the thread a Close took 7.8 s and ended in a crash report; with it, 85 to 91 ms and a clean end. CONSOLE.md has the table.

Also tested

  • POST /sdapi/v1/options with a model that does not load answers 500 load_failed with the reason, and the server goes back to the last model that worked.
  • The web UI follows a model switch, whether the page started it or a client did.

Install

Install from the homebrew store, or unpack PPSA99576.zip into /data/homebrew/ on the console and let ShadowMountPlus scan.

Next: see ROADMAP.md.