libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
84 stars 67 forks source link

30 FPS games have Frame pacing issues. #112

Closed BParks21 closed 2 years ago

BParks21 commented 5 years ago

When running any 30 FPS game i get inconsistent frame pacing jumping around from 34ms-40ms. This creates visual stutter that is incredibly distracting. It is easy to spot in games with complete 360 camera control. One example is Super Mario Sunshine. Simply stand in place and slowly rotate the camera. 60 FPS games run smoothly. I can solve this issue by setting vsync swap interval to 2 which halfs the refresh rate to 30. This gives much better frame pacing at 60Hz for 30FPS games. This results in frame pacing of 33-35ms which is close what you want to see in a 30fps game running at 100% speed and results in no visual stutter/jerky horizontal panning. This is also the case for ppsspp core and 30 FPS games. Other emulators that run games at 30FPS run smoothly like beetle, mupen and ParaLLEL, but do not require setting the swap interval to 2 at 60Hz. There has to be a solution. Below are screenshots. Legacy of Kain is a 30FPS game. Beetle does not require swap interval at 2 to get proper 30FPS frame pacing. Like many other cores. As you can see PPSSPP exhibits the same frame pacing problem and it is visually hard to play a game this way when it is jerking so much. Screenshot (26)

Screenshot (23) Screenshot (24) Screenshot (25)

BParks21 commented 4 years ago

Adding the newly implemented "present duplicate frames" option in Dolphin will fix this issue most likely. https://github.com/dolphin-emu/dolphin/pull/8554

BParks21 commented 2 years ago

Fixed now That present duplicate frames has been added to core options.