Skip to content

malisx2 0.6.0

Latest

Choose a tag to compare

@bmdhacks bmdhacks released this 22 Nov 03:28

Vulkan driver for Arm Mali GPUs, for Android and for ARM Linux. On Android it is loaded by emulators that support custom GPU drivers: ARMSX2 (PlayStation 2), Dolphin (GameCube and Wii), Eden (Switch), hakuX (Xbox) and Vita3K-Plus (PlayStation Vita). On ARM Linux it is for ARMSX2.

Vulkan 1.3, geometry and tessellation shaders, and more kernels supported.

  • Mali-G31, G51, G52, G76
  • Mali-G57, G68, G77, G78, G78AE
  • Mali-G310, G510, G610, G710
  • Mali-G615, G715
  • Mali-G620, G720

Install on Android: in the emulator's custom GPU driver setting, install from file and pick malisx2-0.6.0-62d6d62423.zip.

Install on ARM Linux: unpack malisx2-0.6.0-aarch64.tar.gz. It makes a malisx2/0.6.0/ folder. Install it from ARMSX2's driver-pack list, or start the emulator with malisx2/0.6.0/run-with-malisx2.sh -- <command>. malisx2/0.6.0/run-with-malisx2.sh --check shows which GPU and driver it finds. It needs glibc 2.34 or newer, libdrm and libgbm.

What's new since 0.5.1

  • Vulkan 1.3 on the Mali-G57 family and everything newer, with the features Vulkan 1.2 and 1.3 require. Emulators that ask for Vulkan 1.3 now start on these GPUs.
  • Geometry and tessellation shaders on the Mali-G610 family and newer, which Eden needs.
  • More phones and tablets start. Some Huawei and MediaTek kernels refused the driver's GPU jobs, and every game ended with a lost device. The driver now tests which job layout the kernel takes.
  • Compressed textures on the Mali-G610: BC1 to BC7 textures are sampled directly where the GPU has them.
  • Mali-G31, G51, G52, G76: depth buffers are now stored compressed, as colour buffers already were, which saves memory bandwidth in ARMSX2.
  • For ARMSX2, pictures and speed on the Mali-G615 and Mali-G57 are the same as 0.5.1.

Good to know

  • On Android and on Linux, it needs a system that uses Arm's own Mali kernel driver. A board running only the open-source Linux Panthor or Panfrost driver is not covered.
  • The version number is part of the driver's driverInfo, so ARMSX2 throws away and rebuilds its pipeline cache once after this update. The first moments of the first game may be slower than usual.
  • MSAA is not implemented. An app that assumes 4x multisampling exists may not start.
  • Reporting a problem: on Android, take a bug report or a logcat right after it happens; on Linux, keep the terminal output. In both cases keep the emulator's own log.

Contributors

Build

  • malisx2 0.6.0, commit 62d6d62
  • Mesa: branch malisx2 of bmdhacks/armsx2-turnip, commit b5f8787e44083b4840f605b595e79fcf61077175
  • malisx2-0.6.0-62d6d62423.zip sha256 55b17293a6e3ab089e2d255cc6741f574def4c241265547d4a5aaa01cb4047f8; Android libvulkan_malisx2.so sha256 c1c8738fabd6a3b5a8c2d3d0a732b1498a0569251d22cf7f05cd50c81db176fb
  • malisx2-0.6.0-aarch64.tar.gz sha256 78b6106c595cf9fe0fa14162fa9bc08cdeb1e8772f8e06d04855550a61413daa; Linux libvulkan_malisx2.so sha256 7c8f345e245b68fc952f201d6cbd60e6b6219e127a0cd683aaa073d7111db98e