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

latest releases: v4.7.0-beta-4, v4.6.0-beta-4, v4.5.0-beta-4...
pre-releaseone month ago

PS5 RetroArch — Alpha 5 🎮

Native RetroArch for jailbroken PS5 consoles. This release changes the graphics
driver: the title now renders through RADV, Mesa's Vulkan driver for AMD
GPUs, ported to the PS5 in PS5_Vulkan.
It replaces ps5vk, the driver every earlier release used.

Alpha. The games and paths below are the ones I have tested on my console.
Other games may still fail. Please report them (see Reporting problems).

Highlights

  • A new graphics driver. RADV is the driver Linux uses on AMD GPUs, with its
    ACO shader compiler. It is built from my Mesa fork
    (PS5_Mesa) with a PS5 layer for memory,
    command submission and display, and it reports Vulkan 1.4. The menu, the five
    software cores and the three GPU cores (PPSSPP, Dolphin, LRPS2) all render
    through it.
  • PSP anti-aliasing. PPSSPP's MSAA works. It needs features ps5vk never had
    (render pass 2 and depth/stencil resolve), so PPSSPP's MSAA setting was
    previously ignored.
  • A shader cache on RADV. Compiled pipelines are kept in
    radv-shader-cache/ in the title folder. A game's second start reads them back
    instead of compiling: with the cache filled, a PSP game in PPSSPP created its
    pipelines in 29 ms instead of 1.4 s.
  • Faster shader compiles. Every allocation in the title used to wait on one
    lock, and the emulators compile shaders on several threads at once. The title's
    heap now gives each thread an arena of its own. PPSSPP compiling from an empty
    cache: 2.0 s instead of 5.5 s, with no speed lost after boot.
  • A smaller package. sce_module/libvulkan.so.1 is gone: RADV is linked into
    eboot.bin, and nothing loaded that library (a PS5 title cannot load one).

Tested on RADV for this release

On my console, with V-Sync on and a 120 Hz display:

  • Every core with a game: FCEUmm, Snes9x, mGBA, Genesis Plus GX, FinalBurn
    Neo, PPSSPP, Dolphin and LRPS2. Each ran through boot, the menu opened and
    closed, Close Content from the Quick Menu, and the same game loaded again, with
    Threaded Video on for four of them. No crash and no fatal signal, three times
    over as the driver changed during the release work.
  • PPSSPP for ten minutes with Threaded Video and the menu opened 25 times: no
    crash, every 10-second audio window at 98–100% speed.
  • The pictures: the PSP and PS2 games show the same frames as on ps5vk (the
    rain and the video move with timing); the GameCube game's title screen renders
    correctly.
  • Speed after boot: PPSSPP and Dolphin hold full speed once the game has
    booted. LRPS2 does too, but for one late 10-second
    window at 98.9%, where ps5vk had one at 99.4%.

The longer runs listed for v0.4.0-alpha.4 (an hour and 30 minutes of GameCube
play, and the other GameCube, Wii, PSP and PS2 games tested then) were on ps5vk
and have not been repeated on RADV yet.

Fixed during the release work

Problem Status
PPSSPP crashed within four seconds of starting a game with MSAA on Fixed in PPSSPP. It took the GPU's Vulkan version as usable although RetroArch opens Vulkan 1.1, so it called a Vulkan 1.2 function RADV correctly withheld. ps5vk never reached that path.
Slow first compiles on several threads Fixed: the title heap's arenas (above).
A filled shader cache still slow to read from several threads Fixed in the driver: each cache part is opened once, where every read used to reopen and lock its files.

Known issues

  • Dolphin's first start of a game. With an empty shader cache, Dolphin
    compiles its ubershaders while the game boots. A GameCube game's first 20 seconds ran
    at 83% and 92% speed; ps5vk managed 86% and 99% from an empty cache. Later
    starts read the cache and match ps5vk. Making the first start as fast is the
    next piece of work.
  • A GameCube game ran at 72–85% for stretches of its attract sequence on ps5vk.
    It has not been measured on RADV yet.
  • 60 Hz displays. The driver measures the refresh rate after switching to
    120 Hz and returns to 60 Hz if the display did not follow, as Alpha 4 did. My
    display is 120 Hz, so this path still needs confirming on a 60 Hz TV.
  • PAL PS2 games (50 fps) on a 120 Hz output alternate two and three refreshes
    per frame, which can look uneven. The console offers no 50/100 Hz mode.
  • PS2 games in .7z archives are not unpacked. Use ISO, CHD, CSO or another
    supported disc format.
  • A Wii game: black flicker on its world map was reported and has not been
    investigated yet.

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 already saved there, such as a core's internal
    resolution, are kept rather than replaced by new defaults.
  3. Put games in content/ and BIOS files in system/ (PS2: system/pcsx2/bios/).
    No games or BIOS files are included.
  4. After updating from an earlier release, sce_module/libvulkan.so.1 and
    ps5vk-shader-cache/ are no longer used and can be deleted. The first start of
    each game compiles its shaders again, into radv-shader-cache/.

Reporting problems

Include the core, game, file format and the settings you changed. After the
problem, and before relaunching, copy trace.txt and retroarch.log from the
title folder: a new launch replaces them.

Build

Build identity f96bdb0e26dc7e540b51d33e68a0e6933156b11b461058b671544a81c8436482

Component Version
RetroArch 1.22.2 with this port's patches
Graphics driver RADV from PS5_Mesa cedb774 (Mesa 26.2.0), built by PS5_Vulkan 5d8f37d
PS5 payload SDK fork 95c08f2
PPSSPP v1.20.4
Dolphin 2609 (libretro/dolphin c6630001)
LRPS2 PS5_LRPS2 6d14775 with the port patch

All five host gates (format, unit, build, integration, evidence) pass: 74 Python
tests, and 52 recorded captures replay.

Don't miss a new PS5_RetroArch release

NewReleases is sending notifications on new releases.