Stellarium performance regression (visibly stuttering)

Bug #1726279 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Undecided
Unassigned
stellarium (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have two identical Xeon desktops with identical monitors. They are running different software:

Ubuntu 16.04: stellarium 0.14.3-1 --> smooth
Ubuntu 17.10: stellarium 0.16.0-1 --> stutters

On both machines when I drag the sky the counter at the bottom of the screen shows 59-60 FPS. However on the latter machine the picture stutters visibly (like it's really 30FPS/20FPS/15FPS).

It doesn't seem to matter whether I use Xorg or Wayland, Gnome Shell or Unity7. The stuttery result is the same. I've tried other OpenGL apps and none of them seem to have this problem. Only Stellarium 0.16.0.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Possibly bug 1661375?

tags: added: performance
description: updated
description: updated
Revision history for this message
Alexander Wolf (alexwolf) wrote : Re: [Bug 1726279] Re: Stellarium performance regression (visibly stuttering)

Could you try version 0.16.1 on Ununtu 17.10?
--
With best regards, Alexander Wolf.

Revision history for this message
gzotti (georg-zotti) wrote :

It's quite likely not that bug.

However, "Xeon" means almost nothing. Like "Pentium", it can also be 10 years old. As always, your logfiles would give indication about graphics hardware (which really matters), drivers, etc.

Changed in stellarium:
status: New → Incomplete
Changed in stellarium (Ubuntu):
status: New → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Well, I've been doing GL development on these machines [1] for a few years. I know what they're capable of and that 60Hz should appear smooth and not stuttering. Not to mention the identical machine next to it running Stellarium 0.14 is perfectly smooth still...

Which log files exactly would you like?

[1] https://ark.intel.com/products/80916/Intel-Xeon-Processor-E3-1246-v3-8M-Cache-3_50-GHz

Changed in stellarium (Ubuntu):
status: Incomplete → New
Changed in stellarium:
status: Incomplete → New
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Please show ~/.stellarium/log.txt

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Here it is. Not much to see.

description: updated
Revision history for this message
gzotti (georg-zotti) wrote :

We would be interested in the part that follows. Something like

=================================================================
 -------------------------------------------------------------------------
[ This is Stellarium 0.90.0.9918 [stellarium] - http://www.stellarium.org ]
[ Copyright (C) 2000-2017 Fabien Chereau et al. ]
 -------------------------------------------------------------------------
[...]
OpenGL supported version: "4.5.0 NVIDIA 385.41"
[...]
Detected: OpenGL "4.5"
Driver version string: "4.5.0 NVIDIA 385.41"
GL vendor is "NVIDIA Corporation"
GL renderer is "GeForce GTX 960M/PCIe/SSE2"
GL Shading Language version is "4.50 NVIDIA"
GLSL Version Number detected: 4.5
GLSL version is fine, we should not see a graphics problem.
======================================================================

In any case, Intel HD graphics is not the fastest.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I don't get any of that information. Even tried "--dump-opengl-details" and get nothing other than what's shown in comment #6.

Just tried env LIBGL_SHOW_FPS=1 though, and it agrees with Stellarium and prints "FPS = 60.0". But what I see on screen is not 60Hz. It's stuttery like 30Hz/20Hz/15Hz.

So it sounds like either:
 (a) A lower level compositing problem (but why is it consistent between shells and Xorg/Wayland?); or
 (b) Stellarium really is flipping 60 frames per second but they're not actually unique frames.

I'll debug this myself some time, when I have time. Unless anyone can make some suggestions.

Revision history for this message
gzotti (georg-zotti) wrote :

Some Linux systems have Qt logging largely disabled.

A bit of googling around brought me to sites like
https://bugzilla.redhat.com/show_bug.cgi?id=1227295

from which I wrote a summary
https://github.com/Stellarium/stellarium/wiki/FAQ#Logfile_has_no_details

Maybe this helps.

gzotti (georg-zotti)
Changed in stellarium:
status: New → Incomplete
Changed in stellarium (Ubuntu):
status: New → Incomplete
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Could you disable Satellites plugin and check it again?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I've now changed hardware and software.

Using Ubuntu 18.10 (development) with stellarium 0.18.0-1 I can't reproduce any bug.

tags: added: artful
Changed in stellarium:
status: Incomplete → Fix Released
Changed in stellarium (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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