Files
Mihawk edf4188122 param.json: ask the kernel for 1 GiB of flexible memory
sce_sys/param.json now carries kernel.flexibleMemorySize = 1073741824,
the most the kernel accepts. Without it the title has 448 MiB of flexible
memory; the extra 576 MiB comes out of direct memory. I want the room for
heavier cores and content, though no core measured today ran short.
The updater installs sce_sys/param.json, so the next release brings it.

Proven on the PS5 Pro (firmware 10.01) with the installed release, build
716a3c05, four runs (evidence/flexible-memory-1g). The 1 GiB runs used
this commit's param.json bytes, put back and read back after each run:
- klog FMEM size 0x1c000000 -> 0x40000000, DMEM size 0x300000000 ->
  0x2dc000000.
- Dolphin, a GameCube game: 359,424 -> 949,248 KiB of flexible memory
  free, flat all run; MARK frames 2266 / 2303 at 70 s.
- The PS2 core, a PS2 game: 402,432 -> 992,256 KiB free; MARK frames
  4606 / 4606 at 80 s, worst frame 20.6 / 19.4 ms.
- Every run stopped by its pad script, rarch_main returned 0.

Not yet run on the base PS5 (13.40), which was unreachable. tools/lint.sh's
param.json checks pass; the script still fails, before and after, on a
clang-tidy entry for tests/display_modes_ps5_test.cpp.
2026-10-05 13:46:35 -04:00
..