Vulkan driver for Android devices with an Arm Mali GPU, loaded by emulators that support custom GPU drivers: ARMSX2 (PlayStation 2), Dolphin (GameCube and Wii) and hakuX (Xbox).
This release adds many Vulkan features, first written for the Mali-G52 by contributors and now on every supported GPU.
- Mali-G615 / G715: tested on the Anbernic RG 477V.
- Mali-G57, G68, G77, G78, G78AE: tested on the Anbernic RG 476H. The other GPUs in this family are untested.
- Mali-G52 / G52 r1: experimental, for trying out but not yet for everyday play.
- Mali-G76: untested by us; a contributor reports it working on their phone.
Install: in the emulator's custom GPU driver setting, install from file and pick malisx2-0.4.0-63e307e63a.zip.
- ARMSX2: Settings → custom GPU driver → install from file.
- Dolphin: Settings → Graphics → GPU Driver → Install driver.
- hakuX: Settings → GPU driver → Add a driver.
What's new since 0.3.3
- More Vulkan features on every supported GPU, so more apps and emulators can run: modern barriers and submits (synchronization2), more dynamic pipeline state, reading the picture being drawn from inside a draw (local read), bigger and more flexible texture arrays (descriptor indexing), 8- and 16-bit numbers in shaders, events, and draws and compute work whose sizes the GPU reads from memory (indirect draws and dispatches). (@pjperez, @JoeysRetroHandhelds)
- N64 games through parallel-RDP (the mupen64plus-next core) now run on the Mali-G52, with two shader compiler fixes. (@JoeysRetroHandhelds)
- BC compressed textures on the Mali-G52 and the Mali-G57 family, used by some texture packs. The Mali-G615 has no hardware for them. (@pjperez)
- Mali-G52 fixes: a fix for device loss in Persona 4 and for GPU hangs on Unisoc T618 devices (both found and tested by the contributor; we have neither), less CPU work per draw, and instanced draws that start part-way through a vertex buffer now read the right data. (@pjperez)
- Fixed crashes: a few Vulkan commands (indirect draws and dispatches) used to crash every app that called them. ARMSX2 never calls them.
- ARMSX2 is unchanged: the same pictures across the 22-dump accuracy corpus, and the same frame times, on the Mali-G52, G57 and G615.
Good to know
- 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. - The
MALISX2_DEBUGswitches from 0.3.2 are gone. The CPU time per driver entry point is nowMALISX2_MEASURE=cpuprof(debug.malisx2.measureon Android). - MSAA is not implemented. Vulkan requires drivers to offer at least 4x multisampling, but malisx2 reports 1x until it can render it. An app that assumes 4x exists may not start.
- Mali-G52 is experimental, and Mali-G76 is untested by us. If a game misbehaves on either, use the system driver.
- Reporting a problem: take a bug report or a logcat right after it happens, and keep ARMSX2's
logs/emulog.txt(it is overwritten when the app starts again).
Contributors
- @bmdhacks
- @pjperez: synchronization2 and dynamic state, local read, BC textures, descriptor indexing, CPU-side descriptor tables, the Persona 4 and T618 fixes, and the barrier work on the Mali-G52
- @JoeysRetroHandhelds: parallel-RDP support (8/16-bit storage, update templates, indirect dispatch, two Bifrost compiler fixes)
Build
For support:
- malisx2
0.4.0, commit 63e307e - Mesa: branch
malisx2of bmdhacks/armsx2-turnip, commit f59c211100b174191d9df540451e94b2d5cb2b26 malisx2-0.4.0-63e307e63a.zipsha256835f980506ed46fa51925fd279b256d23b0ddf481ffd1ab39be2fee275cf8bf8libvulkan_malisx2.sosha2560148e1ea6263653ef376007274eefdf1d58fb63eadf66e2290c6cc49219c0365