Buggy update frequency with Nvidia GPU (DEF-1785) (SOLVED)

Update frequency seems to be very buggy, at least on Windows. I’ve tried this on 2 machines, both running Windows 10. On one, I can switch between Intel HD integrated and Nvidia dedicated graphics. When using the Intel HD one, the fps locks nicely to 60 and everything is working fine. When running the same executable off the Nvidia GPU though, the fps goes well above 1000, making the game unplayable. I get the same result on my other machine which only has an option for Nvidia GPU. Not sure if it’s specific to Windows, but I can also try on Linux and Mac if needed.

EDIT
Found a workaround by force enabling VSync in the Nvidia Control Panel and enabling variable dt in Defold. This is not really a fix though.

EDIT 2
Just noticed when doing that, all animations are way too fast.

I believe the vsync issue is being worked on by @Johan_Beck-Noren. Internal ticket: DEF-1785

1 Like

Hi @kraxarn

As @britzl said a fix for this is in the works and will hopefully show up in a coming release soon

2 Likes

Finally fixed in Defold 1.2.115

3 Likes