DraStic gets a smoother ride on OnionOS with libdsfast
The Miyoo Mini Plus still has a little more to give. A new community addon called libdsfast tries to make Nintendo DS games look smoother in DraStic on OnionOS and RedOnion, with more frames reaching the screen.
Developed by Régis, known on GitHub as cacuracaptors, the first beta arrived on November 16. This
is an optimization for the existing DraStic setup, not a new emulator or a replacement for OnionOS.
More frames
The developer compared the same Mario Kart DS race using DraStic’s input replay feature. With Onion’s default settings 42 FPS reached the display. With libdsfast, that rose to roughly 59.6, matching the panel’s refresh rate.
Other measured titles include Phantom Hourglass, Spirit Tracks, Super Mario 64 DS, GTA: Chinatown Wars and Metroid Prime Pinball. Heavy scenes rendering 3D across both DS screens can still fall short.
What does the library change?
DraStic r2.5.0.4 and steward-fu’s SDL2 v1.8 layer remain unchanged. Instead, the launcher loads a small library that adjusts frame timing, screen presentation and how work is divided between the two CPU cores.
Miyoo kernel has relatively coarse sleep timing. The replacement limiter uses more precise waits and follows the display’s refresh rate. Other changes reduce delays between a completed frame and its appearance on screen.
Single screen layouts also avoid drawing the hidden DS screen where possible. Automatic frameskip remains available for more demanding games.
How to install
The download contains just two files: Emu/NDS/launch.sh and Emu/NDS/libs/libdsfast.so. It supplements an existing OnionOS or RedOnion DraStic installation.
Back up the original launcher, then extract DraStic-dsfast-Onion.zip to the root of the SD card and replace the files when prompted. According to the release notes, saves, save states and screen layouts are retained.
On its first run, the launcher enables threaded 3D rendering and automatic frameskip, allowing at most one consecutive skipped frame. Later changes made through DraStic’s menu are preserved.
Still in beta
The launcher sets 1800 MHz on the Mini Plus and 1600 MHz on the listed Mini and Flip models. Both CPU cores can work close to full utilization, which is why the dev wants longer play sessions and reports of crashes, audio trouble, stuttering or shutdowns.
If something goes wrong, to roll back, restore Onion’s original launch.sh and remove libdsfast.so. For anyone already playing DS games on a Mini Plus, this looks like an interesting little upgrade to test, with the usual beta expectations attached.
Links
Download libdsfast beta 1
Project details
Report an issue
I.K.
