libretro / libretro-uae

PUAE libretro
GNU General Public License v2.0
111 stars 60 forks source link

Slowdown in Settlers #559

Closed Vweber73 closed 1 year ago

Vweber73 commented 1 year ago

Hi,

I you launch The Settlers with a powerful configuration (68030+, 2mb chip, 4mb+ chip ram, HDD), then you are entitled to max map size = 8. If you choose 8 for map size then start the game, during the world computation the music gets crappy and slow, until the computation is complete, which does not happen with other Amiga emulators. Any idea why?

Many thanks and best regards

sonninnos commented 1 year ago

Well are all the other settings exactly the same with other emulators? WinUAE should be slowing down just as much, since the code is the same.

I tried 68030 which allowed the map size 8, and generation does not slow down at all even with Cycle-exact. Sure I get 3x faster speed with Normal when fast-forwarding.

Vweber73 commented 1 year ago

Many thanks for your quick answer! I tried to remove anything controversial. I had overcooked to 35mhz and "wait for blitter", I came back to defaults. So I'm on plain A600 with 2mb chip and 8mb fast, 68030, everything else is vanilla. I'm still having the problem. I'm on RA latest 1.12.0, latest Android on my Samsung Z fold 3, with is known for FPS drop problems in some cases, could it be the cause?

sonninnos commented 1 year ago

And are the other emulators that don't slow down with the same settings as recent and as accurate? The current 4.9.1 core sure is slow, especially with that hardware, and 68030 of course makes it slower.

How is the performance with the faster old 2.6.1 core (PUAE 2021)?

Vweber73 commented 1 year ago

The other emulator I'm using is vAmigaWeb (new core compared to winuae). It is cycle-exact (setting that I used here in P-UAE) and has no slowdown.

I tried the old core, and I got something quite strange, see attached. Maybe the snapshots are messed up between the 2 cores? I loaded this from "History", I tried settlers long ago with the old core so I still had an entry, but I had to restart, when I was in the new core and chose the old core settlers history entry it did nothing, as if it thought it was the same that was already running... Screenshot_20221021_174659_RetroArch (AArch64)

sonninnos commented 1 year ago

Yes I get that screen too with the old core with 68030 and Cycle-exact, but Normal works fine. The old core simply is less accurate and not as complete.

Vweber73 commented 1 year ago

Thanks! So what would be the best setting for Settlers? Old or New core with/without cycle-exact?

sonninnos commented 1 year ago

The one that works well enough of course. This game does not require Cycle-exact, so no need to use it.

Too bad Cycle-exact isn't perfect even with the latest version, but I default to that with my hardware, since it is still the most compatible option.

Vweber73 commented 1 year ago

At least the intro requires cycle-exact, otherwise the animation is messed up. Thanks!

sonninnos commented 1 year ago

I guess this can be closed, since I don't know what could or should be done about this..?

Vweber73 commented 1 year ago

Well, removing the cycle-exact option makes it work correctly, but that does not explain the slowdown in cycle-exact, which does not occur with vAmigaWeb (cycle exact core)

sonninnos commented 1 year ago

Most likely that is because this current Cycle-exact is the most accurate one, and thus requires most horse power. No code magic is going to change that.

sonninnos commented 1 year ago

I'll close this since the core isn't going to get any faster.