Incorrect Background Image while loading Nebula

Bug #1172402 reported by Robert Van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
Alexander Wolf

Bug Description

V12.1 - Previously reported that during loading of background images I could see a yellow/black checkerboard, that now has been replaced with an image of some sort of nebula and it displays this nebula while loading any and all background images. See attached pictures. The background image is not that of the selected object. This would be better fixed with displaying blank space until the correct background image is loaded. In the pictures you can see I selected M42 Orion but the image displayed during loading is not M42, same problem with M35 and all other objects with background images.

Related branches

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :
Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

Here is a screen shot of M35 Loading, Displays the same incorrect background image just zoomed out/smaller scale.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Please give more detailed info about your graphics card.

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

Compaq Presario V2335US
  Win XP Pro SP3
  1.85Ghz Intel Pentium M CPU, 1G Ram
  Mobile/Intel 915GM/GMS, 910GML Video
  Latest Video Drivers Installed

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

I would like to add that it does the same thing on my desktop computer using ATI X1600 512M video card but the incorrect background image is only present for about 1/2 second as the desktop is much faster than the laptop. On the laptop the incorrect image is visible for up to 10seconds depending on cpu load.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

How much video memory? Which version of drivers?

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

Laptop has 128M dedicated memory, Desktop has 512m. Laptop uses Intel Graphics, Desktop uses ATI X1600 512m video card. Both computers display incorrect background image for a short period of time until actual nebula image has loaded. It used to display the yellow/black checkerboard reported in previous bug report that has now been listed as fixed.

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

Previous bug #1113064 - I doubt drivers have anything to do with this as it is displaying the background picture correctly, it's just not the correct background. It is doing this on two different machines with different video card manufacturers and entirely different drivers.

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

The image that appears while the correct background image is loading appears to be the milkyway.png located in the Stellarium/textures folder. The program should not show this image while waiting for the correct/actual/background image to load in my opinion. Showing nothing would be more technically correct than showing the milkyway.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

A fix has been committed as revision 5993 of the trunk branch in Stellarium's Bazaar repository at Launchpad:
http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5993

Changed in stellarium:
milestone: none → 0.12.2
assignee: nobody → Alexander Wolf (alexwolf)
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

What Alex should have told you in the very beginning is that the "placeholder" texture hasn't been changed deliberately to a nebula image. Alex's previous change disabled the loading of the checkered pattern. Apparently it was done in a such way that caused some memory corruption and a piece of another texture to be rendered as the placeholder texture.

And I'm not convinced in the wisdom of looking up a string key in a QSettings object every time a texture is bound. Which is potentially many times per frame...

Revision history for this message
Keatah (keatah) wrote :

I always thought the checkerboard pattern was a placeholder. And this micro-milkyway also a placeholder.

If we have to have something then I prefer blank space texture be used as placeholder.

Even better would be nothing until the texture is fully loaded, then just have it snap into view. This is the way to go because some nebula images overlap stars. And with a blank texture you're blacking out that area of the sky with a square.

But whatever the devs decide to do is good enough. I'm just happy that DSO was improved in 0.12.0. And I'd like to see it improved even more.

Revision history for this message
Keatah (keatah) wrote :

And furthermore I'm slap-happy that the textures load reliably 100% of the time.

Revision history for this message
Robert Van Vugt (rvvcuda) wrote :

V12.2Dev1 - This now seems to work as it should on both my computers. Great Job on a fix.

Thanks
Robert

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

Remote bug watches

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