sm64-port-android-base icon indicating copy to clipboard operation
sm64-port-android-base copied to clipboard

Issue on screens with more than 60hz

Open jeroensmink98 opened this issue 5 years ago • 5 comments

A friend of mine tried to install the APK on this phone which has a screen with a 120hz refresh rate, Is it possible it will cause lagg since the game only runs on 60 fps?

jeroensmink98 avatar Sep 22 '20 17:09 jeroensmink98

Refresh rate and fps are two different things. If the refresh rate is higher than the framerate, it will just display the same frame for as many screen refreshes as it takes to render the next frame.

Somebody please correct me if I'm wrong 😅. That's just my understanding of it.

lividhen avatar Sep 22 '20 21:09 lividhen

Runs so smooth for me. I'm on OnePlus 8 Pro at 120Hz screen setting.

I have experienced what the issue describes but I found that reinstalling the apk over top of itself (a few times might be needed) will fix the refresh rate issue.

Note: When this issue occurs, the sound also stutters.

ESurge avatar Sep 23 '20 17:09 ESurge

Note: When this issue occurs, the sound also stutters.

I found this happens if I launch from the dialog which says that it is installed. If you close that dialog and then launch it from the launcher, the sound doesn't seem to be an issue.

rbeesley avatar Sep 25 '20 03:09 rbeesley

Not sure if it's just me, but building sm64ex_nightly with 60fps_ex.patch does not produce a smooth 60fps apk. Hard to explain but it feels jittery but it's not as bad as non-patched (30fps).

Building master with 60fps.patch works; very smooth.

ESurge avatar Sep 25 '20 04:09 ESurge

I've also experienced this as explained in #56.

When switching to 60hz, the game performs as expected. If I switch back to a higher refresh rate while the game is loaded, it is still fine. When I launch the game with a higher refresh rate, it consistently stutters.

I've tried reinstalling the apk as suggested above, but that does not fix the issue.

The above experience seems to me that when the game gets initialised at a higher refresh rate, there's some bug that causes it to stutter.

MaciekBaron avatar Oct 30 '21 13:10 MaciekBaron