spruceUI / spruceOS

SD card overhaul for the Miyoo A30
117 stars 7 forks source link

set uae4arm default for Amiga, add Atari ST folder for games #107

Open metallic77 opened 4 days ago

metallic77 commented 4 days ago

As the title says the uae4arm core is way faster than PUAE for Amiga games. It runs most games full speed even on my raspberry pi 2w, even heavy copper use ones like "Lionheart". Also add a folder for Atari ST games (Hatari default), i haven't seen one, there is an ATARI which i guess is for 2600

cobaltgit commented 3 days ago

This pull request should do the job. Yes, the ATARI folder is for 2600 games.

metallic77 commented 3 days ago

That was quick, thanks. Lakka that is linux and retroarch works wonders on pi 2w with uae4arm. Haven't tested this much but it should perform the same.

cobaltgit commented 3 days ago

108 merged

cobaltgit commented 3 days ago

I wonder why uae4arm is always running at half speed without fastforward...

metallic77 commented 3 days ago

I noticed the raspberry pi lakka version has an option for fast copper too, that's missing from this version. Uae4arm should be full speed normally.

cobaltgit commented 3 days ago

Hm, I've just compiled uae4arm libretro from source and it has the option

metallic77 commented 3 days ago

Good, how does it perform?

cobaltgit commented 3 days ago

A bit better in fastforward mode (i compiled with cortex-a7 tune) but more or less the same, I can't nail down why it's running at half speed without fastforward

cobaltgit commented 3 days ago

Atari ST seems to boot into the Hatari menu for some reason

metallic77 commented 3 days ago

It works if launched from retroarch but not launching games from main menu, i transferred your changes to sd card.

metallic77 commented 3 days ago

A bit better in fastforward mode (i compiled with cortex-a7 tune) but more or less the same, I can't nail down why it's running at half speed without fastforward

I have some clues. First of all core runs at 60 fps meaning NTSC, while most amiga games made in pal 50hz. Second if you disable audio sync in settings-audio then bang, solid 60 fps at all times. There is a) format is wrong (results in graphics cropped as ntsc is 240p and pal is 288), should be pal and b) audio sync

cobaltgit commented 3 days ago

Thanks for the tip...pushed the optimised core and config override to the devel branch (1e8f1b9)

metallic77 commented 3 days ago

That should be way faster than puae and a good fit for this device. But it could have compatibility issues if it's running on ntsc mode as most games weren't made with ntsc compatibility in mind. I believe if ntsc is disabled it probably fixes all problems and will work as intended with audio sync. Because retroarch first syncs using audio then falls back to video v-sync, so if you disable audio sync it will always run 60hz (your screen refresh anyway).

metallic77 commented 1 day ago

Thanks for the tip...pushed the optimised core and config override to the devel branch (1e8f1b9)

Another tip, if you enable "sync to exact content framerate" in video-synchronization it goes back to 50hz. Did some testing, performance is fantastic. It runs Risky Woods really well, while more powerful SoC can't do in puae. That has heavy copper usage and pushing the hardware a lot. Still audio is a bit messed up though

metallic77 commented 22 hours ago

I think i sorted the uae4arm audio issue.

  1. Audio sync off.
  2. Audio driver alsa. Seems to work properly on this core?
  3. Video->synchronization, sync to exact content frame rate on. Back to 50hz.

Built-in file manager helped a lot to tweak files and test on the fly

Now on proper 50hz and perfect audio.

Your Atari ST setup wasn't launching because there was no default.opt and system.opt in Emu/ATARIST, when i copied them and changed core to hatari in those files it launches games normally from the list.

I also disabled threaded rendering globally in my setup, it just introduces frame skip. Could help a bit in some very heavy cores only

cobaltgit commented 19 hours ago

Alright, I'll update that. Thank you

cobaltgit commented 19 hours ago

Seems you're on 2.3.0, whereas in Development the location of the emu opts has changed. On Development the emu opts are in Emu/.emu_setup/defaults, it launches into the Hatari menu for some reason instead of the game, which I want to fix

metallic77 commented 18 hours ago

Yeah i am testing on version 2.3, it works there now. There is a new hatari core in the works too, you could try to compile it and see if it runs any better. I tested on my Linux and works way better than the old retroarch core.

https://github.com/bbbradsmith/hatariB