sm64pc / sm64ex

Fork of https://github.com/sm64-port/sm64-port with additional features.
1.58k stars 487 forks source link

Framerate is broken above 60Hz #168

Open floppyD opened 4 years ago

floppyD commented 4 years ago

Just compiled (0504f88) and now fps is all over the place on my 75Hz display. Setting to 60Hz makes the game run at stable 30fps. Windows 7 x64 - OpenGL

fgsfdsfgs commented 4 years ago

Dang it. The vsync check ain't working properly. Gotta make it a setting or something.

Zoltar007 commented 4 years ago

Looks like the issue started in 0fa331d96101eb95f8b2fb51516724b2f594b4f7 (possibly linked to 58dbb04f97ba1d418f5f05adad177221b26888e3). It doesn't exist in the previous commit (d6495550f54207ebf675e61d94cb43f425195459).

This also shows in the output: Warning: VSync is not enabled or not working. Falling back to timer for synchronization

It only seems to occur in fullscreen mode. Windowed mode is fine.

This is in the MacOS port, by the way.