Skip to content

Releases

v0.2 - HDR support (mvfg120, baseps5)

Choose a tag to compare

@Swordpdf Swordpdf released this 30 Nov 00:05

v0.2 — HDR support

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.

Asset Console HDR What it does Needs
mvfg120.elf PS5 Pro yes 40 → 120 fps with motion-vector frame generation; HDR is detected from the game's own buffer the 40 fps patch + 120 Hz; your own Lossless Scaling 3.2.2.0 Lossless.dll
baseps5.elf base PS5 yes same, built for the base console's memory (no 1.25 GiB device-memory pool) the "GPU memory -1 GiB (base PS5)" game patch, the 40 fps patch + 120 Hz, your own Lossless.dll
lsfg60.elf PS5 Pro no 30 → 60 fps with Lossless Scaling's frame generation no fps patch, HDR off; 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;
every build checks its version before doing anything.

What changed since v0.1

  • HDR works with the motion-vector generator. The display buffers are packed 2:10:10:10 words; the resolve now
    unpacks them and writes plain 8-bit, because the driver converts on present. v0.1 packed the output as well, so
    generated frames came out hue-scrambled in HDR. HDR selects the motion-vector generator by itself (Lossless Scaling
    cannot do 10-bit), and the 10-bit format is detected from the game's own buffer.
  • No more stale buffers. Until the format detector has voted, and whenever generation is off, the resolve writes
    the real frame into our display buffers. Previously those buffers could keep an old generated frame on screen.
  • The same re-registration fix as v0.1 (the game registers its display buffers a second time; ours are re-appended
    with the game's attribute struct, no more 0x8029000A).
  • 30 → 60 stays SDR-only. The Lossless Scaling chain blends the packed 10-bit words as four bytes; with HDR on its
    generated frames are wrong. Use mvfg120.elf when HDR is on, lsfg60.elf with HDR off.

Tested environments

  • PS5 Pro, 13.00 — the development console. HDR verified 2026-11-30: 10-bit detected, 37.2 real + 72.3 generated
    fps, correct colours and HUD. SDR verified too.
  • PS5 Pro, 11.60 — frame generation runs (firmware row in the build); flicker and fps drops are still open.
  • Base PS5, 11.40 — measured by a contributor: 2560 × 1440, 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: 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.
  2. Send baseps5.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), or regenerate fingerprint.h with
native/tools/eboot_fingerprint.py from your eboot.

What is in this release

  • Launch hook: RegisterBuffers2 ride-along that appends the display buffers, second-allocator hook, per-firmware
    memory profiles (13.00, 11.60, 11.40 base), and re-registration of our buffers on later registrations.
  • In-process loader: 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) and the Lossless Scaling chain for 30 → 60.
  • 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.
  • Water, smoke and particles have no motion vectors.
  • lsfg60.elf is SDR-only (see above).
  • Closing the game with the module resident can end in the console's suspend timeout (harmless on quit; avoid rest
    mode).

SHA-256

mvfg120.elf  99e7ce4c5735f2555e640d6ba8beae1cb5e9d94c520992953049e76f038673f7
baseps5.elf  3ae0f6fd8365401c4219da18319c978dd964a50e82d7e88cf337bb4505c9531a
lsfg60.elf   9833de502428b107187e5478cae49b1e8bf9d6caabdcd4112f1d9de203d33c48

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

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

Choose a tag to compare

@Swordpdf Swordpdf released this 29 Nov 21:17

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.