Topic: Timer issues on Ubuntu

Hey community!

I recently installed Ubuntu for testing purposes and found, that all my Maratis games run twice as fast as they should
Not the FPS count is bigger. onSceneUpdate and the C++ update functions are called too often.

What could cause such a bad behaviour?

Sponk

Re: Timer issues on Ubuntu

Hi,
I'm surprised, because there is a mechanism used to synchronise the update at 60hz,
is it happening with the binary release from maratis website ?

if there is a bug, it will be with MWindow::getSystemTick()
or with the main loop sync inside Maratis main.cpp

Re: Timer issues on Ubuntu

Hey,

I think this issue is about Ubuntu and not about Maratis since this problem is only experienced using Ubuntu.

I tried the binary release and the SVN version. Both give the same result.

Sponk

Re: Timer issues on Ubuntu

It seems that this is a bug in openSUSE since it also happens on Manjaro and Arch GNU/Linux.

I will slow everything down so it is playable on most GNU/Linux systems.

Sponk

Re: Timer issues on Ubuntu

Strange. What version of Ubuntu is this ? 32bits or 64bits ?

I have an old version of ubuntu 32bit on one computer here that works,
and I tried the last version of Linux Mint 64bit (based on ubuntu) one week ago, working normally.

A possible explanation here : http://blog.habets.pp.se/2010/09/gettim … asure-time

Re: Timer issues on Ubuntu

I have already read that article but thanks big_smile

I currently have Ubuntu 14.04 64bit but I think this is an issue with my openSUSE installation and not with the Ubuntu installation.
My current workaround is an artificial delay in my game plugin so everything works fine again.

Sponk