libretro / mame2003-plus-libretro

Updated 2018 version of MAME (0.78) for libretro. with added game support plus many fixes and improvements
Other
188 stars 108 forks source link

Auto Frameskip options are not working well #1482

Closed schmurtzm closed 2 months ago

schmurtzm commented 1 year ago

Hi, The Frameskip feature is great, it seems to work fine with fixed values and really improve the playability of demanding game on low CPU (I mainly use Mame 2003 Plus on Miyoo Mini, a little Linux handheld).

On last dev versions (b2b642c) the auto frameskip options are able to freeze the screen. It happens on the Miyoo Mini as soon as I use one of three "auto" frameskip options. I can also reproduce on PC (Windows) when I use auto agressive or auto max (on PC it works with "auto" but slower than without frameskip).

The auto frameskip options was already malfunctioning on old release (8f1498fff) but it wasn't freezing.

Environnement : Windows or Linux core build : last current (b2b642c) Retroarch 1.10.3 or later

Steps to reproduce :

mahoneyt944 commented 1 year ago

I'm wondering if the device you're using is so low that auto options are just skipping non-stop, skipping every frame or enough to appear frozen?

MistyDreams commented 1 year ago

It looks like its working on audio buffers if the driver isint spot on there will be issues with games such as rygar. These issues went away with using the alsa driver only causes me issues when its set to pulse. The game timming does need updated to be fair but its more likely a driver issue. The same game casues issues on fbneo with with the pulse driver as well but is fine on alsa

mahoneyt944 commented 1 year ago

@schmurtzm did using the alsa driver solve your issue ?

saulfabregwiivc commented 1 year ago

It also happens on Wii builds. "Auto" frameskip options on some cores (including test MAME2003+ builds) aren't working such well.

mahoneyt944 commented 1 year ago

Auto frameskip just automatically skips frames when there's slow downs, to help keep performance up. If the performance is so low (skipping many frames), then you'll still notice slowdowns. In other words skipping a frame here or there isn't noticable, but if you're skipping a lot of frames, you'll still notice. In fact, if you skip too many, you'll likely freeze the screen, with the last frame drawn.

mahoneyt944 commented 2 months ago

Please try again with the latest commits and resubmit an issue if it's still not working.