[Lucid] Display refresh not working correctly (please upgrade to new upstream release)

Bug #480553 reported by KevinM
66
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Undecided
Unassigned
stellarium (Debian)
Fix Released
Unknown
stellarium (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Using Lucid kernel 2.6.32-2-generic #2-Ubuntu SMP Sat Oct 31 17:06:33 UTC 2009 x86_64 GNU/Linux and default Nvidia driver
185.18.36 (from the repos). Output of lshw:
 *-display
       description: VGA compatible controller
       product: G73 [GeForce 7600 GS]
       vendor: nVidia Corporation
       physical id: 0
       bus info: pci@0000:05:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:18 memory:fb000000-fbffffff memory:d0000000-dfffffff(prefetchable) memory:fc000000-fcffffff ioport:6c00(size=128) memory:fd000000-fd01ffff(prefetchable)
I'm also running Stellarium 0.10.2-1 and the display is corrupted (see attached). The screen does not refresh/update correctly, show if I view the menus they either corrupt the screen or aren't visually closed. glxgears runs fine- output
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
16550 frames in 5.0 seconds
16567 frames in 5.0 seconds
16924 frames in 5.0 seconds
16835 frames in 5.0 seconds
17134 frames in 5.0 seconds
Compiz runs fine - terminal output:
Checking for Xgl: not present.
xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log
Detected PCI ID for VGA:
Checking for texture_from_pixmap: present.
Checking for non power of two support: present.
Checking for Composite extension: present.
Checking screen 1Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed.
Checking for Software Rasterizer: Not present.
Checking for nVidia: present.
Checking for FBConfig: present.
running under gnome seesion, checking for gnomecompat
Checking for Xgl: not present.
/usr/bin/compiz.real (video) - Warn: No 8 bit GLX pixmap format, disabling YV12 image format
/usr/bin/compiz.real (cube) - Warn: Failed to load slide: /usr/share/gdm/themes/Human/ubuntu.png

Related branches

Revision history for this message
KevinM (kevbert1) wrote :
Revision history for this message
KevinM (kevbert1) wrote :

I'm using the same version of Stellarium (0.10.2-1) in Jaunty kernel 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:32 UTC 2009 x86_64 GNU/Linux with Nvidia driver 180.44 and have no problems on the same PC.

Revision history for this message
KevinM (kevbert1) wrote :

Please see Ubuntu forums post http://ubuntuforums.org/showthread.php?t=1321927
This bug is affecting other users with ATI graphics and so isn't the nvidia driver.

Revision history for this message
KevinM (kevbert1) wrote :

Output from running Stellarium in terminal:
$ stellarium
 -------------------------------------------------------
[ This is Stellarium 0.10.2 - http://www.stellarium.org ]
[ Copyright (C) 2000-2009 Fabien Chereau et al ]
 -------------------------------------------------------
Writing log file to: "/home/kevin/.stellarium/log.txt"
File search paths:
  0 . "/home/kevin/.stellarium"
  1 . "/usr/share/stellarium"
Config file is: "/home/kevin/.stellarium/config.ini"
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
Cache directory is: "/home/kevin/.cache/stellarium/stellarium"
Sky language is "en_GB"
Application language is "en_GB"
Loading Solar System data ...
Loaded 38 / 38 planet orbits
Loading star data ...
Loading "stars_0_0v0_1.cat": 0_0v0_1; 5013
Loading "stars_1_0v0_1.cat": 1_0v0_1; 21999
Loading "stars_2_0v0_1.cat": 2_0v0_1; 151416
Loading "stars_3_1v0_0.cat": 3_1v0_0; 434064
Finished loading star catalogue data, max_geodesic_level: 3
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
Loaded 10051 / 13226 NGC records
Loading NGC name data ...
Loaded 222 / 222 NGC name records successfully
Loaded 88 / 88 constellation records successfully for culture "western"
Loaded 85 / 85 constellation art records successfully for culture "western"
Loaded 89 / 89 constellation names
Loading constellation boundary data ...
Loaded 782 constellation boundary segments
Loading star names from "/usr/share/stellarium/skycultures/western/star_names.fab"
Loaded 230 / 230 common star names
Loading star names from "/usr/share/stellarium/stars/default/name.fab"
Loaded 3215 / 4359 scientific star names
Creating GUI ...
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
... (Comment: carries on for quite a while)
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
StelAppGraphicsScene: drawBackground needs a QGLWidget to be set as viewport on the graphics view
Downloaded 0 files (0 kbytes) in a session of 8.038 sec (average of 0 kB/s + 0 files from cache (0 kB)).
kevin@kevin-dt1b-LL:~$
I've tried installing the deb file from 9.04 which gives the same output (same version as 10.04).

sojourner (itsmealso2)
Changed in nvidia-graphics-drivers-180 (Ubuntu):
status: New → Confirmed
Revision history for this message
sojourner (itsmealso2) wrote :

This also occurs in Kubuntu updated to the same point . and also if stellarium is built from source . In both kubuntu and Ubuntu the corruption does not occur in karmic but does as soon as the install is updated to lucid .

Revision history for this message
Tom Pino (metalsmith-rangeweb) wrote :

I am using the radeon HD 2400 Pro card with the generic driver. Blank screen except for what is appearantly the control area, couldn't read a thing there. There was a large red X that worked to close the bugger.

Revision history for this message
KevinM (kevbert1) wrote :

A separate bug report for Intel graphics can be found here: https://bugs.launchpad.net/stellarium/+bug/426417
I believe it may be an opengl library file problem (difference between 9.04 and 10.04, versions 4.50 and 4.60).

Revision history for this message
Matthew Gates (matthew-porpoisehead) wrote :

All who have the problem: If you have desktop effects turned on, can you disable it and try again. On my old machine with nvidia I had weird rendering issues with compiz enabled, not to mention a lousy frame rate.

Revision history for this message
KevinM (kevbert1) wrote :

Thanks Matthew for the suggestion. Unfortunately it still gives refresh problems with compiz disabled. I'm using compiz all the time in 9.04 with no problems at all with Stellarium.

KevinM (kevbert1)
affects: nvidia-graphics-drivers-180 (Ubuntu) → stellarium (Ubuntu)
Changed in stellarium (Ubuntu):
status: Confirmed → In Progress
status: In Progress → Confirmed
description: updated
Revision history for this message
Srinath Sridhar (srinath1905) wrote :

I have the same problem when building from source on Karmic without even updating to Lucid. Disabling Compiz does not resolve the problem.

Revision history for this message
Daniel Serpell (daniel-serpell) wrote :

I just upgraded libqt from the version on Karmic (4.5.2) to the version on Lucid (4.6.0) without upgrading any other package and stellarium stopped working, so it's related to the libqt version.

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

The next version of Stellarium, 0.10.3, which is scheduled for release in the end of this month, uses the Qt 4.6 libraries. If you can build from source, you can try to check out the development version.

http://sourceforge.net/projects/stellarium/develop

Note that this is the _development_ version, so it's not stable and you'll have to update and rebuild periodically.

People who use Intel graphics cards may want to wait for the release of Qt 4.6.1, as the current version causes a regression in performance. If you don't want to wait, just turn off the use of shaders in Stellarium's configuration file.

Revision history for this message
Scott Howard (showard314) wrote :

I contacted the debian maintainer about packaging the new version and linked a branch for the upgrade. Since Feature Freeze is this week, I'm proposing this merge to get the fix into lucid since it is impossible to get this into testing by FF.

universe-sponsors: see attached merge above

@users: test the lucid package here:
https://launchpad.net/~showard314/+archive/ppa
ppa:showard314/ppa

Revision history for this message
Scott Howard (showard314) wrote :

@ubuntu sponsors: comment #12 says that 0.10.3 is a development version, but I believe the poster meant to write "in development." The version has been officially released.

summary: - [Lucid] Display refresh not working correctly
+ [Lucid] Display refresh not working correctly (please upgrade to new
+ upstream release)
Revision history for this message
Wolfgang Kufner (wolfgangkufner) wrote :

0.10.3 from https://launchpad.net/~showard314/+archive/ppa fixes this bug on lucid.
Tested with 2010-02-16 64 bit iso loopback mounted from hd with grub2; intel graphics
No other showstoppers seen.

Looks beautiful.
Thanks

Changed in stellarium (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Medium
Changed in stellarium:
status: New → Fix Released
Revision history for this message
KevinM (kevbert1) wrote :

When can we see the fix in the repos ? It's still at 0.10.2 at 1.56pm UTC.

Revision history for this message
Scott Howard (showard314) wrote :

Since it's now post-Feature Freeze, here's the application for the FFE:

1) attached is the new upstream changelog.
2) build log is below

http://launchpadlibrarian.net/39252785/buildlog_ubuntu-lucid-amd64.stellarium_0.10.3-0ubuntu1~ppa1_FULLYBUILT.txt.gz

3) installs and builds in the ppa from comment #13, which is identical to the attached branch minus the ~ppa1 in the version number.

4) working via comment #15 (@users: continue testing the ppa version to try to find any regressions/bugs! None found so far)

If you prefer a .dsc instead of a branch, there is one below

https://launchpad.net/~showard314/+archive/ppa/+files/stellarium_0.10.3-0ubuntu1~ppa1.dsc

however, you'll have to strip the ~ppa1 from the version.

I did not do a debdiff since the .orig.tar.gz is new, and I wanted to make sure it is properly intact (using bzr merge-upstream's pristine tar for the attached branch)

Thank you!

Revision history for this message
KevinM (kevbert1) wrote :

Thanks Scott. 0.10.3 is working fine for me.

Revision history for this message
StefanPotyra (sistpoty) wrote :

+1 from me. Can you also forward a wishlist bug to debian for the new upstream version? Thanks!

Revision history for this message
Ilya Barygin (randomaction) wrote :

Scott, according to the upstream changelog, several build dependencies are no longer necessary. Also, is the problem Intel-specific? Original report is about Nvidia, and comment #3 mentions ATI.

Revision history for this message
KevinM (kevbert1) wrote :

Ilya. This bug is not Nvidia specific as detailed in the Ubuntu forums post (see #3 above for link). The Intel specific bug is https://bugs.launchpad.net/stellarium/+bug/426417?comments=all

Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 480553] Re: [Lucid] Display refresh not working correctly (please upgrade to new upstream release)

@Stefan: already forwarded upstream :-) (see debian BTS linked above)

Thanks Ilya, I'll remove the build dependencies and update the
debian/changelog to just say fixes refresh errors.

Revision history for this message
Scott Howard (showard314) wrote :

new branch has been pushed with the clarified debian/changelog and removed unused dependencies. Attached is the pbuilder log for the new build.

Revision history for this message
Iulian Udrea (iulian) wrote :

Ack #2. Please upload.

Changed in stellarium (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
StefanPotyra (sistpoty) wrote :

sponsoring comment: there's font included, that should be part of another package (told by lintian). However as that's already the case for the last version, I'm ok with uploading it as is, since everything else is ok. Thanks for your work!

Revision history for this message
StefanPotyra (sistpoty) wrote :

uploading, thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package stellarium - 0.10.3-0ubuntu1

---------------
stellarium (0.10.3-0ubuntu1) lucid; urgency=low

  * New upstream release.
    - fixes intel rendering bug (LP: #480553)
 -- Scott Howard <email address hidden> Mon, 15 Feb 2010 20:48:39 -0500

Changed in stellarium (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Charlie Figura (cfigura) wrote :

Will this fix be built for karmic as well?

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

Dear all,
I just released a minor release 0.10.4 fixing further bugs. the main impact on linux is that we now disabled OpenGL shaders by default for stars and atmosphere rendering as it seemed to cause problems on some configs, especially for some intel GMA graphics cards with no hardware (but software emulation) support for vertex shaders. If it's still possible I would suggest to use this release instead of 0.10.3 as it should be more robust.
Fabien Chereau

Revision history for this message
KevinM (kevbert1) wrote :

Thanks Fabien.
Where can we get this new release (as 0.10.3 is the latest version on Sourceforge) ?
For me 0.10.3 works like a dream, thanks for the excellent package.

Revision history for this message
Scott Howard (showard314) wrote :

@KevinM:
http://sourceforge.net/projects/stellarium/files/Stellarium-sources/0.10.4/stellarium-0.10.4.tar.gz/download

I'm going to be away for a week or two, if someone wants to package
this, please go ahead.

Revision history for this message
Charlie Figura (cfigura) wrote :

I just noticed that apparently no one had mentioned that this affects those of us in karmic who are running the backports package. I'm not sure exactly when this came into play, but I suspect it was about the time I installed the software compilation package from backports. In any case, this does affect at least *some* of us running karmic.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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