The prog crashes near Saturn seems not to be related to hardware or "drivers", but IMHO the cause seems to be in the displaying of the rings.
After adding a comment # to "Rings" of Saturn and Neptune in solarsys.ssc the program don't crashes everymore, but obvously the rings are NOT displayed anymore.
Add comment in "solarsys.ssc" like:
# Rings {
# Inner 74658
# Outer 140000
# Texture "saturn-rings.png"
# Color [ 1.0 0.88 0.82 ]
# }
and
# Rings {
# Inner 41800
# Outer 51149
# Texture "uranus-rings.png"
# }
Hopefully in the next release of celestia this bug would removed!
Bye, Renato.
How to avoid prog crashes on Saturn flight
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
How to avoid prog crashes on Saturn flight
Renato Gallmetzer wrote:The prog crashes near Saturn seems not to be related to hardware or "drivers", but IMHO the cause seems to be in the displaying of the rings.
After adding a comment # to "Rings" of Saturn and Neptune in solarsys.ssc the program don't crashes everymore, but obvously the rings are NOT displayed anymore.
Add comment in "solarsys.ssc" like:
# Rings {
# Inner 74658
# Outer 140000
# Texture "saturn-rings.png"
# Color [ 1.0 0.88 0.82 ]
# }
and
# Rings {
# Inner 41800
# Outer 51149
# Texture "uranus-rings.png"
# }
Hopefully in the next release of celestia this bug would removed!
Bye, Renato.
The crash is related to the multi-texture shadow rendering
of the rings. We know exactly where the bug occurs, only the cause is not yet quite clear. A much better workaround than the above is as follows:
In the routine src/celengine/render.cpp add right behind the lines
glGetIntegerv(GL_MAX_TEXTURE_UNITS_ARB,(GLint*) &nSimultaneousTextures);
the statement
nSimultaneousTextures = 1;
and recompile the code. This should avoid the crash. However the ring shadows are not anymore rendered.
Bye Fridger
The crash does occur with ATI Rage cards but not with my NVIDIA Geforce 2 GTS, for example.
-
Topic authorRenato Gallmetzer
How to avoid prog crashes on Saturn flight
The crash does occur with ATI Rage cards but not with my NVIDIA Geforce 2 GTS, for example.
... and happens also on Matrox MGA G400 AGP cards!
So long,
Renato.
Crashes also on my GF2 with 2313 drivers...
As said in the title... to those for whom it does not crash with GeForce cards: Which drivers and version of XFree (if under Linux) do you use? I use
XFree 4.02 and 2313 drivers. Thanks ...
XFree 4.02 and 2313 drivers. Thanks ...
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
Crashes also on my GF2 with 2313 drivers...
Christian.Boehme wrote:As said in the title... to those for whom it does not crash with GeForce cards: Which drivers and version of XFree (if under Linux) do you use? I use
XFree 4.02 and 2313 drivers. Thanks ...
XFree 4.x and driver versions do not seem to be relevant.
Please, if you want help, specify /exactly/ what Linux ( SuSE?) and what glx-headers you are using.
a) from mesa-devel package
b) from xf86glx-devel package
Which NVIDIA card?
Bye Fridger
Crashes also on my GF2 with 2313 drivers...
t00fri wrote:Christian.Boehme wrote:As said in the title... to those for whom it does not crash with GeForce cards: Which drivers and version of XFree (if under Linux) do you use? I use
XFree 4.02 and 2313 drivers. Thanks ...
XFree 4.x and driver versions do not seem to be relevant.
Please, if you want help, specify /exactly/ what Linux ( SuSE?) and what glx-headers you are using.
a) from mesa-devel package
b) from xf86glx-devel package
Which NVIDIA card?
Bye Fridger
Here we go:
I use SuSE 7.1, but with updatet kernel (2.4.16) and Xfree (4.0.2). The glx header is from the mesadev-3.4-7 package. It says:
Code: Select all
/* $Id: glx.h,v 1.22 2000/06/23 17:39:18 brianp Exp $ */
/*
* Mesa 3-D graphics library
* Version: 3.3
On the hardware side I use a GeForce 2 GTS.
Hope this helps. BTW, Celestial also crashes when I choose per pixel lighting. Nevertheless, I reall like this program!
Christian
Forgot one thing. I also tried to use the headers provided by nvidia, but those wouldn't work (many double declarations):
[/code][/quote]
Code: Select all
** $Header: //sw/OEM/nvr20-linux1/drivers/OpenGL/win/glx/include/glx.h#1 $
- t00fri
- Developer
- Posts: 8772
- Joined: 29.03.2002
- Age: 22
- With us: 22 years 7 months
- Location: Hamburg, Germany
[/quote]Christian.Boehme wrote:Forgot one thing. I also tried to use the headers provided by nvidia, but those wouldn't work (many double declarations):[/code]Code: Select all
** $Header: //sw/OEM/nvr20-linux1/drivers/OpenGL/win/glx/include/glx.h#1 $
Christian:
---------
That's much better info! Warum nicht gleich...
Your system is quite similar to mine, which does /not/ show the crashes
due to multi-texture shadow rendering of the ring planets. So there is
hope...
I use SuSE 7.3 (with all latest updates & kernel 2.4.18) and also have
a GeForce 2 GTS/32MB card. I have tried all drivers including the latest
(2960) and went back to 1541, which gives the best performance
for my card (e.g. glxgears: 2592 fps vs 2390 fps for the latest
version). Everything is /very/ stable on my system, notably also for
Celestia. I use the following packages:
XFree: 4.2.0-64
xf86glu-devel-4.1.0-63
xf86glu-4.1.0-63
mesaglut-3.4.2-57
mesaglut-devel-3.4.2-57
mesa-devel-3.4.2-57
gtkglarea-1.2.2-150
gtk-1.2.10-258
gtk-devel-1.2.10-258
...
All these updates you also should find on the SuSE X-server for SuSE
7.1 as well.
Note: There is still a known crash under Linux if you activate Vertex
shading for planets with an external bumpmap file (in
solarsys.ssc). E.g. Mercury.
Finally, I can only recommend to download the latest CVS version from the
SourceForge development site, since I have made quite a number of
improvements for the Linux version there. All keys now work under
Linux as well as the mouse functions etc...A few days ago, I gave an
instruction in this forum, how to access/use CVS.
Good luck
Bye Fridger
t00fri wrote:version). Everything is /very/ stable on my system, notably also for
Celestia. I use the following packages:
XFree: 4.2.0-64
xf86glu-devel-4.1.0-63
xf86glu-4.1.0-63
mesaglut-3.4.2-57
mesaglut-devel-3.4.2-57
mesa-devel-3.4.2-57
gtkglarea-1.2.2-150
gtk-1.2.10-258
gtk-devel-1.2.10-258
...
Finally, I can only recommend to download the latest CVS version from the
SourceForge development site, since I have made quite a number of
improvements for the Linux version there. All keys now work under
Linux as well as the mouse functions etc...A few days ago, I gave an
instruction in this forum, how to access/use CVS.
Hm, this requires more time than I have to spend during this week. I will try it next weekend & will post if it worked. Until then I just watch Saturn without ring shadows. Celestia sure looks nice as it is!
Christian