Major Artifacts in Celestia 1.3.1

Report bugs, bug fixes and workarounds here.
Topic author
bmg300
Posts: 4
Joined: 15.02.2004
With us: 20 years 9 months

Major Artifacts in Celestia 1.3.1

Post #1by bmg300 » 15.02.2004, 06:25

I just upgraded to Celestia 1.3.1 (compiled from source, without GTK or KDE). The stars are causing severe artifacts... It's hard to explain...

Stars flicker/twinkle and get repainted directly in front of the camera as large triangles :? ... The next frame, they are back to normal... And the process repeats... Everything else seems to work fine, except for 100% CPU useage... The artifacting gets worse when I increase the number of stars...

I'll post screenshots of the problem if someone can find me webspace.

I am running Mandrake Linux kernel 2.4.19-16mdk with XFree86 4.3.0 and ATI FireGL 3.7.0 drivers. The videocard is an ATI Radeon 9600 made by FIC.

Guest

Post #2by Guest » 15.03.2004, 22:09

Confirmed with ATI 3.7.0 and 3.7.6. The affect is still present in ATI 3.2.8 drivers though is lessened. It is only visible when the stars are on fuzzy or disc. Approaching planets is ok for about 5 seconds then they explode is gigantic cataclysmic pointy triangles of death. Thank god there's no collision detection.

I blame crap linux ATI drivers. I don't expect a fix. 8O

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #3by don » 16.03.2004, 05:46

A couple of suggestions ...

* Add the following line to the celestia.cfg file, under the existing "# Ignore" line...

Code: Select all

# IgnoreGLExtensions [ "GL_ARB_vertex_buffer_object" ]


* Try using the Ctrl+V keystroke combo to set the render path to Basic or Multitexture.

* Compile using the current CVS source code. Several display bugs have been fixed in 1.3.2 pre6, which is the current binary release.
-Don G.
My Celestia Scripting Resources page

Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 16.03.2004, 11:47

The "ignore" statement tells Celestia not to use that OpenGL routine, even though it's included in your card's graphics library.

However, don't forget to take out the # from in front of the "ignore" command. Otherwise it'll ignore you telling it to ignore that routine :)
Selden

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #5by don » 16.03.2004, 18:13

selden wrote:However, don't forget to take out the # from in front of the "ignore" command. Otherwise it'll ignore you telling it to ignore that routine :)

:lol: Duhhhh. Thanks Selden.

Mine is currently commented to test with recent CVS. Forgot to remove the comment indicator in the message.
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

Topic author
bmg300
Posts: 4
Joined: 15.02.2004
With us: 20 years 9 months

Found the offending line

Post #6by bmg300 » 28.03.2004, 21:39

I found the offending line. Is this an ATI driver bug?

StarVertexBuffer::render() line 5335

Code: Select all

            glDrawArrays(GL_QUADS, 0, nStars * 4);


ATI now has a place to submit driver feedback. If it is a bug, and enough people report it, they might fix it.

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #7by don » 29.03.2004, 05:28

From the little I know, Chris added this feature for nVidia cards but has not yet determined how it needs to be coded (changed, etc.) for ATI and other cards. For ATI, I'm not sure if it's a bug, an omission, or just requires different parameters. I'm sure Chris knows though -- or will find out.
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

boltonja
Posts: 4
Joined: 07.04.2004
With us: 20 years 7 months

Post #8by boltonja » 07.04.2004, 17:33

I am having the same problem, I think, with my Radeon 9600 and the 3.7.6 drivers for XFree 4.3.0 and Celestia 1.3.0. However, I was also receiving an error/warning message when starting Celestia:

"celestia: libGL.so.1: no version information available"

(Or similar) I have since solved this warning message (remotely) but have not been able to test (i'm not at the console) the triangle problem again to see if they are related as I had previously suspected. I solved the warning message by recompiling Celestia AFTER installing the ATI GL libraries.

So, I don't know whether they are related but I will report back after I test it in case nobody beats me to it :)

Jay

boltonja
Posts: 4
Joined: 07.04.2004
With us: 20 years 7 months

Post #9by boltonja » 08.04.2004, 15:34

Just to report back in on my testing...

First, fixing the libGL.so message doesn't make the ugly triangles go away, but it seems to improve things a little overall, including general performance. Apparently, Celestia can run without whatever it was looking for, but runs better when it finds it. No surprise there, really.

Next, the triangle problem is less annoying when you make the view window very large, at least the center of the window is usually pretty clean then.

Also, the Basic/Multitexture Render option has no noticeable effect on the triangles.

I haven't tried the configuration option suggested by Selden, I will do that soon and report back, since I don't see anyone else piping up about it.

And finally... I can also confirm that swapping out the ATI for a GeForce FX 5200 cures the problem, not that anyone has any doubt :)

Cheers,

Jay

don
Posts: 1709
Joined: 12.07.2003
With us: 21 years 4 months
Location: Colorado, USA (7000 ft)

Post #10by don » 08.04.2004, 18:44

Are you using a Celestia version of 1.3.2 pre6 or pre7? There were several display bugs fixed in these newer versions.
-Don G.

My Celestia Scripting Resources page



Avatar: Total Lunar Eclipse from our back yard, Oct 2004. Panasonic FZ1 digital camera (no telescope), 36X digital zoom, 8 second exposure at f6.5.

boltonja
Posts: 4
Joined: 07.04.2004
With us: 20 years 7 months

Post #11by boltonja » 18.04.2004, 16:32

don wrote:Are you using a Celestia version of 1.3.2 pre6 or pre7? There were several display bugs fixed in these newer versions.


Not yet. I've got 1.3.0. I did try the config options and they seem to have no effect on the "triangles of death" but will try 1.3.2 pre7 as soon as I can (sometime this week) and report back.

Again, this only happens with my Radeon 9600, not my GeForce FX 5200.

Thanks again and stay tuned :)

Topic author
bmg300
Posts: 4
Joined: 15.02.2004
With us: 20 years 9 months

Post #12by bmg300 » 24.04.2004, 06:38

CVS not working for me right now... IIRC I have the wrong version of a library...

Where can I download a prerelease binary? All I see is 1.3.1 on sourceforge.

Avatar
Jeam Tag M
Posts: 540
Joined: 01.04.2003
Age: 60
With us: 21 years 7 months
Location: Southern suburb, Paris, France

Post #13by Jeam Tag » 24.04.2004, 07:24

bmg300 wrote:Where can I download a prerelease binary? All I see is 1.3.1 on sourceforge.
Hello. I found it here
http://www.spacesim.net/prerelease/celestia-win32-1.3.2pre7.exejeam
Catalogue des ajouts /Catalog for the Add-Ons in French
...PAGES LOSTS, SORRY

Topic author
bmg300
Posts: 4
Joined: 15.02.2004
With us: 20 years 9 months

Post #14by bmg300 » 24.04.2004, 20:17

The bug still exists in the latest CVS.

The line of code that causes the problem appears to be src/celengine/render.cpp:5843

Code: Select all

            glDrawArrays(GL_QUADS, 0, nStars * 4);


Of course I cannot confirm this. Seeing that I know little about opengl and commenting out that line has the same effect as disabling non-point stars anyway.

boltonja
Posts: 4
Joined: 07.04.2004
With us: 20 years 7 months

Post #15by boltonja » 04.05.2004, 20:19

bmg300 wrote:The bug still exists in the latest CVS.

The line of code that causes the problem appears to be src/celengine/render.cpp:5843

Code: Select all

            glDrawArrays(GL_QUADS, 0, nStars * 4);


Of course I cannot confirm this. Seeing that I know little about opengl and commenting out that line has the same effect as disabling non-point stars anyway.


I must be doing something wrong... I couldn't get CVS to grab the source, and the latest source available on sourceforge is 1.3.1. That windows binary is nice, but I'm seeing the problem under Linux... If someone can point me at some source I'd be happy to build it and test this problem, and I'd probably even tar up the binaries and sign them if anyone else wants them.

The fact that bmg300 reports the bug was still in CVS is a bit of a discouragement, because it implies that s/he maybe built the code and saw it still not working. Of course, the possibility remains that the bug belongs to ATI...

Jay


Return to “Bugs”