Skip to content

Releases

DaytonaArm v1.2.0-arm64 (ARM64 GLES 2.0 + Vulkan)

Choose a tag to compare

@DanimanX DanimanX released this 24 Nov 18:40

ROM-free AArch64 builds of DaytonaArm (Sega Model 2 Daytona USA static recompilation), now including a separate Vulkan runtime alongside the PortMaster OpenGL ES 2.0 build.

Packages (Zero ROMs / Zero Game Code)

  • DaytonaArm-Vulkan-aarch64.zip — Standalone Vulkan runtime (daytona-vulkan.aarch64, static SDL3 3.4.16 SDL_GPU Vulkan + SPIR-V, Dear ImGui SDL_GPU3, Wayland/X11 and PipeWire/PulseAudio/ALSA loaded dynamically via dlopen(), 1×–4× supersampling, max GLIBC_2.27, zero libstdc++.so.6). Verified on OnePlus Pad Pro (Qualcomm Snapdragon 8 Gen 3 / Adreno 750, Mesa Turnip 26.3.1 Vulkan 1.4.363, Arch Linux ARM): locked 57.57 FPS at 1× and 57.58 FPS at 4× (1984×1536) using 21–27% of one core; uncapped m2gpushot reaches 855–1518 FPS (1×) and 301–376 FPS (4×).
  • DaytonaArm-PortMaster-aarch64.zip — OpenGL ES 2.0 / SDL2 PortMaster runtime (daytona.aarch64, max GLIBC_2.27) tuned for Anbernic RG34XX (Allwinner H700), RK3326 (RG351M), RK3566 (RGB30), Allwinner A133P (TrimUI Smart Pro) and compatible handhelds.

Quick Setup (BYOD)

Both runtimes share the exact same .so game modules (arm64::DaytonaModuleApi v1):

  1. Extract the package matching your device (DaytonaArm-Vulkan-aarch64.zip or DaytonaArm-PortMaster-aarch64.zip).
  2. Copy your own legal MAME daytona.zip (Revision A, 1994) and/or daytona93.zip (Deluxe '93) into roms/.
  3. Pre-build the -O2 .so module(s) with tools/build-arm64-cache.sh (supports both x86_64 and aarch64 Linux hosts) and copy cache/daytona*-aarch64.so into cache/.

DaytonaArm v1.1.0-arm64 (ARM64 / RG34XX + RK3326 RG351 PortMaster)

Choose a tag to compare

@DanimanX DanimanX released this 23 Nov 21:17

DaytonaArm v1.1.0-arm64 — Rockchip RK3326 support (Anbernic RG351P / RG351M)

Adds measured support for RK3326 handhelds, and fixes the bug that was
capping them at ~26 FPS.

Fixed: render loop was pinned to a single core

pin_current_thread(kMainCore) ran before SDL_Init() and gl_init().
Affinity masks are inherited when a thread is created, so PulseAudio's
mainloop and hotplug threads, the SDL timer and eight libmali threads
(mali-cmar-backend, 4× mali-utility-worker, mali-compiler,
mali-mem-purge) were all confined to CPU0 along with the render loop.

The loop was runnable ~95% of the time but only obtained ~51% of a core:
schedstat showed 9.10 s of 26 s waiting in the run queue, with
cpu-migrations=1 for the whole run. It was competing with the GPU driver
for one core while cores 1–3 idled. The dedicated worker cores were the only
threads with no queueing at all.

Widening the main thread to every online CPU:

Frame rate Main-thread run-queue wait
Before 24.5 – 26.9 FPS 34%
After 53.4 – 57.5 FPS 9 – 11%

57.5 FPS is the FrameClock ceiling (57.524 Hz) — full arcade speed. The
Cortex-A35 at 1.3 GHz is not the limit on this device; it uses about 75% of
one core out of four.

Verified three independent ways on the device: widening affinity live with
taskset, running the patched binary next to the old one in the same
session, and the production Daytona USA.sh launcher.

Added

  • Invert analog stick only (stick_invert). RG351-class devices wire the
    left stick opposite to SDL's convention. The existing Invert steering
    option flips the D-pad as well, so the two inputs are now independent.
    Reachable in Options, directly under Invert steering.
  • Reference-audio health in the FPS log line — underruns, resample
    ratio and queue depth, so audio hitches can be attributed instead of
    guessed at.
  • Measured RK3326 section in the README, with the numbers above.
  • test_thread_affinity — guards the main-thread/worker affinity
    contract so a single-core mask cannot silently come back.

Already at full speed on Allwinner H700 (RG34XX)

Measured on an RG34XX (KNULLI, kernel 4.9.170, 1.704 GHz observed). Four
alternating runs with the pinned and unpinned runtimes in one session:

Runtime FPS (2 runs) Main-thread run-queue wait
Render loop pinned to Core 0 57.13 / 57.04 6.9% / 6.6%
Render loop unpinned 57.09 / 57.14 2.4% / 2.3%

0.03 FPS apart — identical. The H700 was already reaching the FrameClock
ceiling (57.524 Hz) before this release. The same inheritance bug is present
there, but the Cortex-A53 at 1.704 GHz has the headroom to absorb it.

So on RG34XX this release is neutral, and measurably not a regression. The
gain is on RK3326. If you only own an H700 device, upgrading is optional.

Known behaviour

Reference audio advances one fixed block per game frame, so it under-produces
whenever the frame rate sits below 57.524 Hz, and AudioRate can only follow
that down to −5% (54.6 FPS). On RK3326, frame dips to ~53 FPS therefore cause
the occasional audio gap (measured: 6 in 45 s). Native audio is
device-clocked and is not affected
— use Audio engine → Native if you
hear stutters.

Installing

No ROMs or ROM-derived code are included. You need your own legally dumped
MAME ROM set (daytona.zip and/or daytona93.zip) and a .so module built
on a PC with tools/build-arm64-cache.sh. The runtime in this archive is
ROM-free and unchanged by ROM handling.

DaytonaArm v1.0.0-arm64 (ARM64 / Anbernic RG34XX PortMaster)

Choose a tag to compare

@github-actions github-actions released this 21 Nov 15:38

Automated ROM-free AArch64 / OpenGL ES 2.0 / NEON PortMaster build of DaytonaArm tuned for Anbernic RG34XX (Allwinner H700) and compatible ARM64 Linux handhelds.

Contents (Zero ROMs / Zero Game Code)

  • Daytona USA.sh, Daytona USA 93.sh, Daytona USA Rev A.sh (PortMaster launchers with performance CPU governor)
  • daytonaarm/daytona.aarch64 (ARM64 Cortex-A53, 4-core pipeline, OpenGL ES 2.0, ARM64 NEON, max GLIBC_2.17)
  • daytonaarm/gamecontrollerdb.txt (includes Anbernic RG34XX mapping), PortMaster metadata, and licences

Quick Setup (BYOD)

  1. Extract DaytonaArm-PortMaster-aarch64.zip into your handheld's ports/ folder.
  2. Copy your own legal MAME daytona.zip (Revision A, 1994) and/or daytona93.zip (Deluxe '93) into ports/daytonaarm/roms/.
  3. Pre-build the -O2 Cortex-A53 .so cache module(s) on your PC with tools/build-arm64-cache.sh and copy cache/daytona*-aarch64.so into ports/daytonaarm/cache/.