github mihawk-99/PS5_RetroArch v0.5.6-alpha.5
PS5 RetroArch - Alpha 5.6

latest releases: v4.0.0-beta-4, v3.0.0-beta-3, v2.0.0-beta-2...
pre-releaseone month ago

PS5 RetroArch v0.5.6-alpha.5

Native RetroArch for jailbroken PS5 consoles, rendering through RADV.

Important

Piracy is not condoned. This release contains no games, no BIOS files, no
console firmware and no decryption keys, and none will ever be provided or
linked to. Use only legally obtained backups of games you own, made
yourself from your own discs, cartridges or digital purchases, and BIOS or
firmware files dumped from hardware you own. Please don't ask for, or
post links to, games, BIOS files, firmware or keys in issues or discussions:
they will be removed.

Warning

PlayStation 3 (RPCS3) is not in this release, and it will not be in any
future release.
RPCS3 is licensed GPL-2.0-only; this port is
GPL-3.0-or-later, and the two cannot legally be distributed together as one
program. Its source is public: if you want RPCS3, you must compile it
yourself from source
, for your own console, and not share the binaries
you build. See PlayStation 3: compile it yourself below.

Highlights

  • Nintendo 64 frame drops fixed. Some of you reported Nintendo 64 games
    dropping frames, with crackling audio, and upscaling that seemed impossible
    to change. The core now upscales 4× by default (8× is still available), and
    my test game runs at a steady 59.9 fps with clean audio. Details below.
  • Every core re-tested before release. Every core in this package ran its
    game on the console with the exact files in this ZIP: boot, the menu opened
    and closed twice, Close Content, and the same game loaded again, with the
    frame rate, audio and picture checked before and after. (Beetle Saturn only
    as far as it goes without a BIOS, which I don't have.)
  • Licensing made explicit. A LEGAL.txt file now sits at the top of the
    title folder, and the same notice opens licenses/README.txt: no piracy, and
    RPCS3 only compiled from source. The README says the same wherever games,
    system files or licences come up.
  • New launcher background. The title's background on the PS5 home screen
    had been converted from an image whose origin wasn't recorded. It's now a
    gradient drawn by a script in the repository (tools/make-title-art.py), so
    every part of the package has a known origin and licence.

Nintendo 64: frame drops and resolution scaling

What you saw. Nintendo 64 games started fine, then dropped frames
constantly; the audio clipping gave it away. The
resolution scaling option seemed to do nothing.

Why. ParaLLEl-RDP, the core's GPU renderer, was set to its maximum, 8×
upscaling (2560×1920 for a 320×240 game, then scaled to 4K). On my console,
my test game at 8× kept the GPU busy long enough that the core waited on it
for about 2.4 seconds of every 10; at 4× it waited 0.2 seconds, about ten
times less. That left 8× no margin: the logs you sent showed each GPU
submission taking about twice as long as on my console, and the game running
at roughly 75 to 85% speed. And the upscaling factor is read only when a game
starts, so a change in the Quick Menu shows nothing until the game is started
again, which made the option look broken.

What changed.

  • 4× is the new default on the PS5 (1280×960 for a 320×240 game), still
    far above the N64's own resolution and sharp at 4K. On my console my test
    game runs at 59.9 fps with clean audio.
  • To change the factor, pick 1×, 2×, 4× or 8× under Quick Menu → Core
    Options → ParaLLEl-RDP → Upscaling factor, then Close Content and load the
    game again
    : the new factor is used from the next start. The option's help
    text in this version says it takes effect at the next frame. That's wrong:
    I wrote the code for it, but my test on the console showed the change doesn't
    happen until the game restarts (see Known issues).

If you're updating: your saved options are kept, including an 8× that
the previous version saved for you. Set Upscaling factor to 4x once
(Quick Menu → Core Options → ParaLLEl-RDP), then Close Content and load the
game again. It's saved from then on.

"Textures are very sharp in some places." That's how upscaling looks, not a
wrong setting: ParaLLEl-RDP draws the game's polygons at the higher resolution,
while the N64's own textures stay at their original size. At 8× the edges are
razor sharp and some textures look blocky next to them; at 4× the difference is
smaller. The options below Upscaling factor (native texture LOD, native
resolution TEX_RECT, VI filtering) change that look, if you prefer another.

PlayStation 3: compile it yourself

RPCS3 runs on my console, but it is not, and will not be, distributed as a
binary
. RPCS3's licence is GPL-2.0-only. This title, and the runtime linked
into every core it loads, are GPL-3.0-or-later, and those two licences don't
allow the combination to be handed out as one program. So what I publish is
the source:

  • my PS5 fork of RPCS3, PS5_RPCS3;
  • this repository's build scripts, which build it along with everything else.

To use it, build the whole title yourself on your own machine, as the README
describes under "PlayStation 3 (RPCS3): build it yourself":
bash tools/build-title.sh with PS5_RELEASE_TAG left unset. A release
build leaves RPCS3 out, and a release title can't load an RPCS3 core built on
its own. Keep what you build for your own console. Don't share, upload or
redistribute it.

RPCS3 needs your own copy of the PS3 system software (PS3UPDAT.PUP, from
Sony's official PS3 system software update page) in system/RPCS3/, and your
own games: discs you own and dumped yourself, or PSN purchases with their
.rap licence files. The same rules apply: piracy is not condoned.

On my console build, for reference:

  • A 60 fps game: 4K at 60 fps in gameplay (59.6 to 59.7 fps).
  • A 30 fps game: 4K held at 30 fps. A game with only an "Unlock FPS" patch
    now runs it with RPCS3's own frame limit at 30 by default (the "Frame-rate
    patches" option: "60 FPS or steady 30"), which paces frames evenly where the
    game's own 30 fps cap turned a slightly late frame into a 50 ms one. It's a
    steady 30 in most scenes; the busiest still dip to 24 to 27 fps.

Tested for this release

The ZIP's own build on my console, each core with a game I own: frame rate
over 10 to 25 seconds after boot and again after a reload, audio, crashes, and
a screenshot each time.

Core After boot After Close Content and reload Audio
FCEUmm 60.2 fps 60.2 fps clean
mGBA 60.2 fps 60.2 fps clean
Snes9x 59.9 fps 59.9 fps clean
FinalBurn Neo 59.9 fps 59.9 fps clean
Genesis Plus GX 59.9 fps 59.9 fps clean
PPSSPP 59.9 fps 59.9 fps clean
Dolphin 30.0 fps, the game's own rate 30.0 fps clean
LRPS2 59.9 fps 59.9 fps clean
Beetle PSX HW 59.9 fps 59.9 fps clean
Mupen64Plus-Next (4×) 59.9 to 60.0 fps 59.9 fps clean
Beetle Saturn refuses to load without a BIOS, as expected; the menu stays usable
VICE x64sc (a .d64 disk) 50.4 fps (PAL) 50.4 fps clean
MAME 59.9 fps 59.9 fps clean
DeSmuME 59.9 fps 59.9 fps clean
Azahar 59.9 fps 59.9 fps clean

No crash in any of them, and each one closed and reopened its game cleanly.
In the measured windows no frame took longer than 40 ms, except four in
Dolphin: frames of 45 to 49 ms, against the game's usual 33 ms. Audio was
clean in every core; the first audio window after each start covers the game
booting and plays 88 to 99% of the time. I don't have a Saturn BIOS on my
console, so Beetle Saturn's gameplay is still untested.

None of the games I tested with is provided.

Other changes

  • Graphics driver. RADV (PS5_Mesa 0b2d6d1a61d) gains an optional
    threaded command-recording layer. It's off, so rendering is unchanged; it
    passed a 474,440-case conformance run with two fixes made along the way, and
    stays off until it measures faster in a game.
  • Platform layer. The payload SDK fork adds a CPU topology probe, a
    diagnostic only.
  • Release builds leave RPCS3 out by themselves, and the release check
    fails on any RPCS3 file, so a PS3 core can't end up in a package by mistake.
  • Test tooling. Pad-script frame marks count frames that miss a 30 fps
    slot, the measure behind "a steady 30".

Known issues

  • Nintendo 64: a new upscaling factor takes effect only when the game is
    started again (Close Content, then load it), although the option's help text
    says "at the next frame". Making it apply while the game runs is my next
    Nintendo 64 change. An upscaling factor saved by an earlier version is kept
    when you update (see above).
  • EXTERNAL is empty for now. The console's app sandbox hides USB drives and
    extended storage from the title. Keep games under INTERNAL (content/ in the
    title folder).
  • Sega Saturn needs your own BIOS (mpr-17933.bin for US/EU or
    sega_101.bin for JP, in system/). Gameplay is still untested.
  • Carried over from v0.5.5-alpha.5, not re-checked in this release: a
    GameCube game I test with slows to about 76 to 85% at some transitions in
    Dolphin; Dolphin's first
    start of a game compiles its shaders while it boots; MAME's vector games at 4K
    are untested; the 60 Hz fallback still needs confirming on a 60 Hz TV; PAL PS2
    games can look uneven at 120 Hz; PS2 games in .7z archives are not
    unpacked; black flicker on a Wii game's world map.

Install or update

  1. Copy the complete PPSA99169 folder to your homebrew title location, for
    example /data/homebrew/PPSA99169/, and launch it from your homebrew
    launcher.
  2. Updating keeps your config/, savefiles/, savestates/, system/ and
    content/. Settings you've already saved are kept, not replaced by new
    defaults.
  3. Put your own legally obtained backups in content/ (a folder per system
    works well) and BIOS files dumped from your own hardware in system/ (PS2:
    system/pcsx2/bios/). No games or BIOS files are included, and none will be.
  4. Read LEGAL.txt in the title folder.

Reporting problems

Include the core, the game, the file format and any settings you changed. After
the problem, and before relaunching, copy trace.txt and retroarch.log
from the title folder: a new launch replaces them. Never attach or link game
files, BIOS files, firmware or keys.

Source

This ZIP was built from PS5_RetroArch commit
aa1735ab650719617a917ec67a171af89ffb23dd, which is this release's tag. The
source of every part is attached to this release, and the title's licenses/
folder lists every part's licence and source revision. RPCS3's source is at
PS5_RPCS3; no RPCS3 file is in this
package. Snes9x, FinalBurn Neo and Genesis Plus GX are licensed for
non-commercial use only: this package may not be sold.

Build

Build identity a299f69c6bbb3f824287f9e20173bc83c04338f2d26fe94da193537157fc0f31

Component Version
RetroArch 1.22.2 with this port's patches (libretro/RetroArch 69a4f0e)
Graphics driver RADV from PS5_Mesa 0b2d6d1, built by PS5_Vulkan d609d71
PS5 payload SDK fork cd3b239
FCEUmm 236ccdf
mGBA 7a12d6d
Snes9x fae2fea
FinalBurn Neo 6bb3167
Genesis Plus GX c2838c7
PPSSPP v1.20.4 (fa50bb1)
Dolphin 2609 (libretro/dolphin c663000)
LRPS2 PS5_LRPS2 9c2eea4
Beetle PSX HW PS5_BeetlePSX e43b398
Mupen64Plus-Next PS5_Mupen64Plus 763e7f5 (new: 4× upscaling by default)
Beetle Saturn PS5_BeetleSaturn 41a8a4b
VICE x64sc PS5_VICE 2b4b5e3
MAME 0.289, PS5_MAME fa592b0
DeSmuME PS5_DeSmuME 532c50e
Azahar PS5_Azahar 4598458
RPCS3 not included: source only, PS5_RPCS3

SHA-256 of PS5_RetroArch-v0.5.6-alpha.5.zip:
3ec415a23aa1c2c3d0ef94ef384c48b4b35b1bde50e3f0f7952cfb9f455e35c6

Don't miss a new PS5_RetroArch release

NewReleases is sending notifications on new releases.