Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto Frameskip options are not working well #1482

Open
schmurtzm opened this issue Nov 19, 2022 · 5 comments
Open

Auto Frameskip options are not working well #1482

schmurtzm opened this issue Nov 19, 2022 · 5 comments

Comments

@schmurtzm
Copy link

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 (8f1498f) but it wasn't freezing.

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

Steps to reproduce :

  • Any game (I'm making tests with "ninja baseball bat man" as it require frameskip on the Miyoo Mini but same behaviour with "1943".
  • Run game and compare "auto" frameskip options to fixed value frameskip options. (fixed values are a lot more efficient, auto value is able to slow down games)
  • "Auto max" frameskip should systematically freeze


    Any plan to improve the auto frameskip options ? May be the "auto" options should be disabled for now ?
@mahoneyt944
Copy link
Collaborator

mahoneyt944 commented Dec 3, 2022

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
Copy link
Contributor

MistyDreams commented Dec 20, 2022

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
Copy link
Collaborator

@schmurtzm did using the alsa driver solve your issue ?

@saulfabregwiivc
Copy link

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

@mahoneyt944
Copy link
Collaborator

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.

@grant2258 grant2258 mentioned this issue May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants