Games run too quickly on Ubuntu

Describe the bug: When I build any game/example, it runs so quickly as to be unplayable. Animations play at about 10x the expected speed. Movement is also about 10x the expected speed. When I build the same examples/games as HTML5, everything works as expected.

To Reproduce: Run any example/game. This happens with every built-in example.

Expected behavior: I expect HTML5 and Linux builds to run at the same speed.

Defold version: Version 1.2.163, SHA of engine 13261949f45c333806c8aac8bd5b08124ca2810f

Platforms:

Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

Workaround: Build in HTML5.

Thank you for creating and maintaining this fabulous engine. Thank you for taking the time to look at my post.

2 Likes

try checking (or unchecking) the vsync option in the display section of game.project

I was having the same issue (Engine SHA af6a29c2a1e2545e2d033790089c606ac9f0bb7a) on a different Linux, and unchecking vsync helped. An HTML5 build worked fine no matter what the setting was.

However, the game really should run the same regardless of vsync. People have different preferences for vsync settings in their games.