Skip to content

v0.1 - first release (lsfg60, mvfg120, baseps5)

Choose a tag to compare

@Swordpdf Swordpdf released this 29 Nov 21:17
· 1 commit to main since this release

v0.1 — first release

One-file payloads that inject frame generation into a running game on a jailbroken PS5. Send the ELF, launch the game
within two minutes, play — frame generation turns on by itself.

Asset Console What it does Needs
lsfg60.elf PS5 Pro 30 → 60 fps with Lossless Scaling (the game at its stock 30 fps, 60 Hz output) no fps patch; your own Lossless Scaling 3.2.2.0 Lossless.dll
mvfg120.elf PS5 Pro 40 → 120 fps with motion-vector frame generation (HDR output supported, auto-detected) the 40 fps patch + 120 Hz; your own Lossless Scaling 3.2.2.0 Lossless.dll
baseps5.elf base PS5 40 → 120 fps, same as mvfg120 but built for the base console's memory (no 1.25 GiB device-memory pool) the "GPU memory -1 GiB (base PS5)" game patch (see below), the 40 fps patch + 120 Hz, your own Lossless.dll

The builds carry no Lossless.dll (it is a paid application). Put your own file at /data/ps5-lsfg/Lossless.dll;
both builds check its version before doing anything.

Tested environments

  • PS5 Pro, 13.00 — the development console; the primary target (SDR and HDR).
  • PS5 Pro, 11.60 — frame generation runs (the firmware table in these builds has a row for it); flicker and fps
    drops are still open there.
  • Base PS5, 11.40 — measured: 2560 × 1440 at stock settings, HDR auto-detected, 28.9 real + 28.6 generated fps over
    228.6 s (details in docs/base-ps5-11.40). Needs the game patch below and baseps5.elf.
  • Base PS5, 13.60 — not supported yet: without the memory patch the game's start-up runs out of direct memory.

Base PS5: the two extra steps

  1. Apply "GPU memory -1 GiB (base PS5 frame generation)" from patches/PPSA38500.xml (PS Patch System). The game
    reserves its GPU memory as one 6236 MiB block, leaving ~76 MiB on a base PS5 — too little for the four display
    buffers; the patch makes the block 1 GiB smaller at the ten places the size is written, so the game's accounting
    stays consistent. The game then plays normally with or without the payload.
  2. Send baseps5.elf instead of mvfg120.elf (it leaves the driver to map its own device memory).

If your backport leaves the PSSR check alone, the game check stops the payload: apply "PSSR off" from the same XML
file first (it writes 31 c0 c3 at eboot+0x8f67550, what the 13.00 backport does), or regenerate fingerprint.h
with native/tools/eboot_fingerprint.py from your eboot.

What is in this release

  • Launch hook (native/m2r): the RegisterBuffers2 ride-along that appends the display buffers, a second-allocator
    hook, per-firmware memory profiles (13.00, 11.60, 11.40 base), and re-registration of our buffers when the game
    registers again.
  • In-process loader (native/m3b3): resolves the module's imports and starts it inside the game.
  • Frame generation: the motion-vector generator (fixed HUD rectangles for minimap/compass, the menu/stale rule,
    camera-cut handling, 10-bit HDR output detected from the game's own buffers) and the Lossless Scaling chain for
    30 → 60.
  • One payload: close the game, send the ELF, launch within ~2 minutes; the loader waits for the world and starts
    the module by itself.
  • Checks: the game's code fingerprint is verified before anything is written (a different build is refused), the
    DLL is version-checked, and the binaries carry no user paths.
  • Build tooling: a reproducible local toolchain (toolchain/), diagnostics (CONTROL, DIAG), the driver source
    and the LSFG backend source in the tree (GPL-3.0).

Known limits

  • Menus and HUD overlays are shown from the nearer real frame; camera cuts reset interpolation.
  • HDR: frame generation stays off. 10-bit (HDR) display buffers are detected, but the resolve's unpack is wrong
    with the current driver (generated frames come out hue-scrambled, 2026-11-30). Play in SDR. /data/ps5-fg-hdr
    forces the experimental HDR path for debugging.
  • The LSFG 30 → 60 path does not handle HDR: with HDR on its generated frames flash green. Keep HDR off for lsfg60.
  • Closing the game with the module resident can end in the console's suspend timeout (harmless on quit; avoid rest
    mode).

SHA-256

lsfg60.elf   79c11512736ebb424802acd43ec69b57b9abc33661dd78300839899b63e9d664
mvfg120.elf  5dbca89bb202946c37a4b123ff90205eaf895fbb5168c2cd4c041e77fe3cb859
baseps5.elf  dfd5eeb948ae702ccf9092e6cb3415000ee951b1267cf4eda7d948808ca7253e

Full engineering log and build instructions: BUILD.md and README.md in the repository.