Skip to content

PS4 Multiboot v1.2.0: 3D graphics

Choose a tag to compare

@blue0x1 blue0x1 released this 06 Nov 23:32
· 8 commits to main since this release

PS4 Multiboot v1.2.0: 3D graphics

New

  • 3D graphics on the PS4 GPU. ps4-mesa.tar.xz is Mesa 26.2.5 built with patches for the PS4 GPU (Liverpool on the PS4 and Slim, Gladius on the Pro). Distros get OpenGL 4.5, Vulkan 1.3 and a GPU-accelerated desktop instead of software rendering.
  • The installer adds it by itself. Copy ps4-mesa.tar.xz to /user/home/ once, and every distro installed after that, on the PS4 or on a USB drive, gets 3D graphics with no extra steps.
  • Works on any current distro. The bundle carries its own libraries and installs into /opt/ps4-mesa, leaving the distro's own Mesa untouched. It needs glibc 2.38 or newer (Debian 13, Ubuntu 24.04, Kali, Parrot 7, Fedora 39, Arch and newer). Older distros keep software rendering.
  • Vulkan fix for the PS4 GPU. HiZ in the Vulkan driver froze the GPU on every frame. It is now turned off on PS4 GPUs, and Vulkan runs without GPU timeouts.

Already installed distros

Copy ps4-mesa.tar.xz into the distro (with scp, wget or a USB stick), then run this and restart:

sudo tar -xJf ps4-mesa.tar.xz -C / && sudo /opt/ps4-mesa/bin/ps4-mesa-enable
  • Check it: /opt/ps4-mesa/bin/ps4-mesa-check (needs mesa-utils and vulkan-tools)
  • Turn it off: sudo /opt/ps4-mesa/bin/ps4-mesa-enable --undo, then restart

Upgrading from v1.1.0

Replace initramfs.cpio.gz in /data/linux/boot/ and copy ps4-mesa.tar.xz to /user/home/. bzImage, bootargs.txt and linux-2048mb.bin are unchanged. Installed distros and archives stay as they are.

Files

File Copy to (GoldHEN FTP, port 2121)
bzImage /data/linux/boot/
initramfs.cpio.gz /data/linux/boot/
bootargs.txt /data/linux/boot/
linux-2048mb.bin /data/payloads/
ps4-mesa.tar.xz (3D graphics, optional) /user/home/
your distro, renamed <name>-ps4-rootfs.tar.xz (or .tar.gz, .tar.bz2) /user/home/

SHA256SUMS has the checksums. kernel.info records the kernel, project and Mesa versions these files were built from.

Tested

On a PS4 Pro (CUH-7016B, firmware 14.00) with Kali: desktop on the GPU, OpenGL 4.5 with direct rendering, Vulkan 1.3, vkcube with no GPU timeouts. The PS4 and PS4 Slim use the same patches but were not tested for this release.

Credits

The PS4 GPU patch for Mesa comes from striker91n/ps4-flatpak-mesa, based on DionKill/ps4-video-archlinux and the original PS4 patches by fail0verflow.

Full instructions: see the README.