Page 1 of 1

internal timing weirdness

Posted: 30.09.2019, 16:00
by Fizz
Hi all-

A week or so ago the community helped me get Celestia 1.7 running on Linux. For the most part, things are working well, but i've come across a curious issue.

Something seems messed up with the time. If i'm running Celestia on screen and let it go for hours on end, it stays synced. But if i'm working on a different workspace, the time inside Celestia is sped up. To try to quantify this, i put Celestia on real time, and let it run for 3 hours. After 3 hours, the Celestia clock was the correct 3 hours ahead from when i started. But this time I switched to another workspace, and waited for 3 hours. When i came back, Celestia was not 3 hours ahead of when i left, but an additional 2 hours 9.5 minutes ahead. In the 3 hours of real time i was away, Celestia's internal time had advanced 5 hours 9.5 minutes.

So something about being on another workspace is causing the Celestia internal clock to speed up significantly. Not sure if anything can be done about this, but at worst i figure it's something to put to the developers for the next version.


-Fizz

Posted: 30.09.2019, 18:20
by onetwothree
Quite interesting. We will check this.

Posted: 01.10.2019, 18:53
by Fizz
I did another test overnight. I started at 11:28pm with Celestia time synced to my system time. I checked this morning at 7:48am. The system time was of course correct, but Celestia time was 11:31am, so nearly 4 hours ahead.

I also confirmed that this only occurs when Celestia is running in a non-active workspace. So it's not a screensaver issue or something like that.

Otherwise, the only quirk i've seen is the spacecraft listing around Earth is doubled- all spacecraft are listed twice.

-Fizz

Posted: 16.10.2019, 13:32
by onetwothree
Fizz wrote:I also confirmed that this only occurs when Celestia is running in a non-active workspace. So it's not a screensaver issue or something like that.

What interface do you use? Qt, gtk or glut?

Posted: 03.06.2020, 04:15
by Fizz
What interface do you use? Qt, gtk or glut?

Sorry for my much-delayed reply.

I'm running Cinnamon, which i think is based on gtk+.

-Fizz

Posted: 03.06.2020, 11:07
by onetwothree
No, I meant what Celestia's interface do you use?

Posted: 03.06.2020, 13:16
by Fizz
onetwothree wrote:No, I meant what Celestia's interface do you use?

Oh i see. The version i am running is Celestia 1.7.0 (Qt5 beta version, git commit 177683027). So i guess that means it's qt5? If not, where else would i find the interface information?

BTW, is that still the latest linux version?

-Fizz

Posted: 03.06.2020, 13:48
by onetwothree
Yes, Qt5.

No, not the latest. Our binary builds are updated every new commit. And of course you can build it yourself.

Posted: 04.06.2020, 03:27
by Fizz
onetwothree wrote:Yes, Qt5.

No, not the latest. Our binary builds are updated every new commit. And of course you can build it yourself.

Well, i'm relatively new to linux, and builds and installs are not my forte. Is this a step-by-step instruction set i can follow should i want to update to the latest version?

-Fizz