libretro / swanstation

GNU General Public License v3.0
121 stars 22 forks source link

Manual (no Wifi) Install of Swanstation on a Miyoo Mini #28

Closed pocket-books closed 1 year ago

pocket-books commented 2 years ago

I'm having trouble getting Swanstaton to run on a Miyoo Mini with Retroarch running Onion OS.

Would I just need to drop an '.so' file of Swanstation into the Cores folder at - MiyooSD_Card/Retroarch/.retroarch/Cores

DmitriyFrogo commented 2 years ago

Would I just need to drop an '.so' file of Swanstation into the Cores folder at - MiyooSD_Card/Retroarch/.retroarch/Cores

Yes, but...

While waiting for my own Miyoo Mini, I wanted to find if it compatible with Swanstation core Prove me wrong, but seems like, there's no any Swanstation cores for ARM processors, for now

https://buildbot.libretro.com/nightly/dingux/miyoo-arm32/latest/

pocket-books commented 2 years ago

Nothing there yet, though -

System Requirements A CPU faster than a potato. But it needs to be x86_64, AArch32/armv7, or AArch64/ARMv8, otherwise you won't get a recompiler and it'll be slow.*

*Pulled from the Swanstation Github page

The Miyoo Mini has an ARM Cortex-A7 specifically this CPU.

DmitriyFrogo commented 2 years ago

@pocket-books, ARM architecture also used on Android devices, so this part of description is correct

pocket-books commented 2 years ago

I see, so just to clarify what we know this far - There is general Android compatability for Swanstation at present via the online updater in Retroarch.

While it is possible to run Swanstation on this hardware (Miyoo Mini) there is no Swanstation software configured/packaged to be an obvious 1:1 drop in option.

DmitriyFrogo commented 2 years ago

We just need to wait until developers start to build Swanstation for Miyoo and other Dingux devices

Cibomatto2002 commented 2 years ago

Is this why Swanstation is slow on my Rg-351 because it's not made for Arm processors?

pocket-books commented 2 years ago

If the RG-351's Swanstation core is configured with the limited performance of these devices in mind, it could be that they just aren't fast enough.. Though I sort of doubt that's the case with the liberal requirements given by the Swanstation Team. It's likely they just aren't yet optimized correctly for the lighter end CPUs.

The RG-351 uses a Cortex A35 Quad Core (datasheet) inside its Rockchip RK3326 (benchmark) board. It's ARMv8, so no worries there. The Miyoo Mini's ARMv7 CPU is an ARM Cortex-A7 Dual Core (benchmark)

Anyone out there have information on the processing demands of the Swanstation core?

Information regarding low end benchmarked CPUs of about 150-300 CPU Mark Score running Swanstation would either rule in favor of a future where we could see a Swanstation port to Dingux devices or crush our hopes forever.

The memory demands on the hardware don't appear to be the issue as far as I can tell since there are other cores running the same games just fine.

For comparison's sake the Retroid Pocket 2+ has a Unisoc Tiger T310 (benchmark) running at 1.5Ghz. This processor clocks in with a CPU Mark of 1379 when at 2.0Ghz. With 1.5Ghz speeds for the mobile power constraints this would drop to about ??? My guess is a lot higher than 150-300

Team Potato, signing out-

DmitriyFrogo commented 2 years ago

One of the OnionOS devs said:

Don't expect duckstation on Miyoo Mini : it requires GPU / hardware acceleration and it is an emulator build for powerful devices. PCSX Rearmed is the best option.

Source: https://4pda.to/forum/index.php?showtopic=1049150&view=findpost&p=117380216

Cibomatto2002 commented 2 years ago

Thank you.