Stellarium causes the system clock to run fast (ACPI problem)

Bug #514184 reported by Bogdan Marinov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Bogdan Marinov

Bug Description

On some systems running Windows, Stellarium causes the system clock to run fast. This seems to be caused by an issue in Windows' ACPI (Advanced Configuration and Power Interface) support:

"The system clock may run fast when you use the ACPI power management timer as a high-resolution counter on Windows 2000-based, Windows XP-based, and Windows Server 2003-based computers"
http://support.microsoft.com/kb/821893

It may be or may be not possible to implement a software workaround in Stellarium. This may be also an issue in Qt or MinGW.

Tags: windows
Revision history for this message
Fabien Chéreau (xalioth) wrote :

What about 0.10.4? Qt was updated.

Changed in stellarium:
status: Triaged → Incomplete
Revision history for this message
Phil (phil-mitchell) wrote :

Affects me: Win XP Prof, Dell GX280

Changed in stellarium:
status: Incomplete → Triaged
Revision history for this message
Ion (mezon) wrote :

10.4 (designated 10.3 in default_config.ini) continues the fast forwarding of the PC system time and Stellarium's.
It also has a virtually indecipherable font - looks like a washed out cryllic.

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Ion, for the graphics problems, try the test build available here:
https://launchpad.net/stellarium/+download
It fixes the graphics problems in 0.10.3 and 0.10.4 in most of the cases. If the text is still illegible, open Stellarium's configuration file and add under "[main]" the following line:

use_qpaintenginegl2 = false

As for the timer bug, I can try to make a test case this afternoon (my time).

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Phil, Ion: I have uploaded a test build with a possible fix here:
https://launchpad.net/stellarium/+download

The file is:
stellarium-r6080-win32-ACPI-fix-01.exe

Please report if it makes any difference.

Revision history for this message
Ion (mezon) wrote :

Using current 0.10.4 normal distribution:
1) added "use_qpaintenginegl2 = false" to "main" section of "config.ini" - font still unreadable
2) added "use_qpaintenginegl2 = false" to "main" section of "default_config.ini" - font still unreadable

Totally uninstalled current 0.10.4 normal distribution.

Installed "stellarium-r6080-win32-ACPI-fix-01.exe":
1) stellarium time appears to run fast, but PC system time does not appear to be affected.
2) added "use_qpaintenginegl2 = false" to "main" section of "config.ini" - font is now readable - THANKS !
3) Stellarium time starts up about 1 sec. more than PC system time, after about 15 min. Stellarium time appears to have gained about 1/2 sec. more - not a problem ! - THANKS !
4) after 15 min. in Stellarium and exiting Stellarium PC system time is unaffected - FIXed ! -= THANKS !

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

The fix has been committed to Stellarium's code repository at SourceForge as revision 6100:
http://stellarium.svn.sourceforge.net/viewvc/stellarium?view=rev&revision=6100

Changed in stellarium:
assignee: nobody → Bogdan Marinov (daggerstab)
milestone: none → 0.10.5
status: Triaged → Fix Committed
Revision history for this message
Fabien Chéreau (xalioth) wrote :

Well done Bogdan,
Did you consider issuing a bug report on Qt trackers for that?
Fab

Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Yes, I did, actually, but I'm not sure if the problem is in Qt. One of the possible reasons may be the implementation of QTimer on Windows, but another one is the use of some Windows time functions. I need to write a few small tests and ask Ion to run them.

Revision history for this message
Ion (mezon) wrote :

Hi Bogdan,
Drop me a line anytime, I'll be glad to run the test cases.
John (Ion)

Revision history for this message
Phil (phil-mitchell) wrote :

Hi to all. Thanks for your help Bogdan. Sorry for the delay but I've been playing with my telescope and didn't check. I just installed "stellarium-r6268-win32.exe" and the clock issue and the font issue were solved. I didn't need to do anything else. Thanks. Phil.

Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.