flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.39k stars 169 forks source link

FPS counter inconsistent - Ecco The Dolphin - Defender Of The Future #1495

Closed user18081972 closed 5 months ago

user18081972 commented 5 months ago

Platform / OS / Hardware: Windows 11

Github hash: 966ff3767

Hardware: nvidia 3080 intel i9 11900kf

Description of the Issue The FPS counter in Flycast reports 33.3fps for the game when Full Frame Buffer emulation is off, and 60fps when Full Frame Buffer Emulation is on.

Debugging Steps Tested Either OpenGL or Vulkan, vsync either on or off. Seems to make no difference. Enable native framerate counter in emulator settings enable Full Frame Buffer emulation, notice 60fps. disable Full Frame Buffer emulation, notice 33.3fps

Logs Gathered

Screenshots video https://github.com/flyinghead/flycast/assets/124319511/0e17e758-fd6e-4de6-8f9c-f9f6dfd78abf

flyinghead commented 5 months ago

This is a 30 FPS game. When Full Framebuffer Emulation is disabled, the FPS counter reports the number of renders per second, which corresponds to the real frame rate of the emulator. When Full Framebuffer Emulation is enabled, the FPS counter reports the number of VBlank per second (which is always 60). This is also the actual frame rate of the emulator in this mode.