Crash in Full-Screen

Report bugs, bug fixes and workarounds here.
Topic author
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Crash in Full-Screen

Post #1by Fenix*NBK* » 09.04.2004, 03:07

Problem: Celestia crashes when I toggle to Full-Screen mode
System: 512MB AMD AthlonXP 1800+, Windows XP Pro Eng, fully patched
Graphics: VIA/S3 KM266, Driver 6.14, OpenGL v(Unkown-how to check?)
Program: Celestia v1.3.1

I have pretty new drivers from VIA, but it still crashes...
Is there any workaround?

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #2by Bob Hegwood » 09.04.2004, 04:07

Fenix?

I don't know if I really know what I'm talking about or not, but I've NEVER been able to convert from windowed mode to full screen on my Home XP system. If I'm not mistaken, you have to start the program in that mode. I know that's not much help, but that's about all I can tell you.

Perhaps Mr. Goyette or Mr. Ball can elucidate? :wink:

Take care, Bob
Bob Hegwood
Windows XP-SP2, 256Meg 1024x768 Resolution
Intel Celeron 1400 MHz CPU
Intel 82815 Graphics Controller
OpenGL Version: 1.1.2 - Build 4.13.01.3196
Celestia 1.4.0 Pre6 FT1

Topic author
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Post #3by Fenix*NBK* » 09.04.2004, 04:16

You start Celestia in Windowed mode, then you can toggle modes.

Use:
Render->Toggle Full Screen (or Alt+Enter)

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #4by Bob Hegwood » 09.04.2004, 04:25

Ah, but that's why I've never been able to do it. My XP goes "Blooey!"
whenever I try to switch modes after it's up and running.

Sorry...

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

Guest

Post #5by Guest » 09.04.2004, 05:46

Yes, then the problem occurs on your hardware too.

by-the-way: It works fine with nVidia cards.

TERRIER
Posts: 717
Joined: 29.04.2003
With us: 21 years 6 months
Location: West Yorkshire, England

Re: Crash in Full-Screen

Post #6by TERRIER » 09.04.2004, 11:17

Fenix*NBK* wrote:OpenGL v(Unkown-how to check?)


Celestia itself should be able to tell you;

First click on the help menu...

....Then simply click on OpenGL info.....

.....and you should see something like this;

Code: Select all

Vendor: NVIDIA Corporation

Renderer: GeForce FX 5200/AGP/SSE/3DNOW!

Version: 1.5.0

Max simultaneous textures: 4

Max texture size: 4096



Supported Extensions:.............


regards
TERRIER
1.6.0:AMDAth1.2GHz 1GbDDR266:Ge6200 256mbDDR250:WinXP-SP3:1280x1024x32FS:v196.21@AA4x:AF16x:IS=HQ:T.Buff=ON Earth16Kdds@15KkmArctic2000AD:FOV1:SPEC L5dds:NORM L5dxt5:CLOUD L5dds:
NIGHT L5dds:MOON L4dds:GALXY ON:MAG 15.2-SAP:TIME 1000x:RP=OGL2:10.3FPS

Avatar
Adirondack M
Posts: 528
Joined: 01.03.2004
With us: 20 years 8 months

Post #7by Adirondack » 09.04.2004, 11:33

It is also very help- and useful to read the User's Guide! :D

You'll find there a section about requirements and stuff like this...

http://www.shatters.net/celestia/documentation.html

Topic author
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Post #8by Fenix*NBK* » 10.04.2004, 00:50

OpenGL Version: 1.1 2.40.120

But it doesn't fix the problem.

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

Post #9by don » 10.04.2004, 18:56

Fenix,

Please see Bob's reply above. His graphics chip has the same version of OpenGL driver as yours (1.1). Celestia requires OpenGL version 1.4 to be fully functional. When your version is a lower version than required, certain features are bound to NOT work correctly, if at all.
-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
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Post #10by Fenix*NBK* » 12.04.2004, 21:44

Yes, I see, but where from do I get OGL 1.4 ?

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

Post #11by don » 12.04.2004, 22:04

You would need to check with the maufacturer of the chip / card. They may not support more recent versions, as Bob has found out regarding his own chip.

If they don't, and you really like Celestia, then it might be time to consider buying a more powerful 3-D graphics card (nVidia, ATI, etc.).
-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.

Bob Hegwood
Posts: 1048
Joined: 19.10.2003
With us: 21 years 1 month
Location: Germantown, Ohio - USA

Post #12by Bob Hegwood » 12.04.2004, 22:46

don wrote:You would need to check with the maufacturer of the chip / card. They may not support more recent versions, as Bob has found out regarding his own chip.

That is the case for sure... My Intel drivers do actually include a *few* of
the 1.4 functions, but not enough to give me the pleasure that a "Real"
graphics card would do.
I'll be getting around to it here one of these days. In the meantime
though, isn't it nice to know that most of Celestia's features can be
enjoyed by some shmuck with a basic PC and *no* special graphics
capability? :lol:

Take care, Bob
Bob Hegwood

Windows XP-SP2, 256Meg 1024x768 Resolution

Intel Celeron 1400 MHz CPU

Intel 82815 Graphics Controller

OpenGL Version: 1.1.2 - Build 4.13.01.3196

Celestia 1.4.0 Pre6 FT1

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

Post #13by don » 12.04.2004, 23:08

Actually, I think Intel touts the graphics chip your system has as the latest and greatest on-the-motherboard graphics chip available. :wink:

It does a LOT, including 3-D, compared to what the basic on-board VGA controllers used to do (800x600x256 colors, if you had a good one)!
-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
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Post #14by Fenix*NBK* » 13.04.2004, 21:16

OK, I like Celstia very much, but replacing a video card is too much...
Think about laptops - most people can't buy a new laptop, just because Celestia doesn't run on it. (while most laptops have cheap integrated graphics)

I understand perfectly that nVidia is a much better option, but you have to understand that Celestia *runs* with my VIA chip, and we just must try to build a celestia that way, to workaround the full-screen problems...

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

Post #15by selden » 13.04.2004, 21:50

Fenix,

You might double check to make sure that the full-screen resolution you've selected in Celestia is one that your system actually supports. Depending on the display property settings, it's sometimes possible to select resolutions that your hardware can't use.

Also, does your system crash when Celestia switches to full-screen mode
while all 3D hardware acceleration is disabled?

(I'm sure you know how to disable it, but just to be thorough for other people who might be reading this...)

Hardware acceleration is controlled by a slider in the menu "control panel / display properties / settings tab / advanced button / troubleshoot tab /".

Moving the slider all the way to the left will cause XP to switch from using the graphics libraries provided by the graphics hardware vendor to using the software-only graphics library provided by Microsoft. It uses only the 2D hardware features available in all display systems. (Of course, Celestia will run much more slowly, but this is just to test where the bug might be.)

If your system still crashes when you switch to full-screen mode, then the problem may be in Celestia, although there's still the possibility that there's a real hardware problem of some kind in your computer.

If it does not crash when you're using the software-only drivers, then the problem is in the graphics library provided for your hardware, or in the 3D graphics hardware itself.

On the two systems where I run Celestia, I have no problems switching back and forth to full-screen mode when running with hardware acceleration disabled. On one of the systems, Celestia's full-screen resolution is different from the resolution used by XP's desktop window mode, so it has to change the screen refresh rate, too, which I'd expect would introduce additional problems for me. But it doesn't, other than the amount of time that the screen stays blank while the display syncs to the new refresh rate.

Bear in mind that Celestia has to depend on the OpenGL library being relatively bug-free. It's impractical for the author of Celestia's OpenGL code to program around all the different kinds of bugs that are encountered in the libraries provided by all the different graphics hardware vendors.

I hope these suggestions help a little.
Selden

Topic author
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Post #16by Fenix*NBK* » 13.04.2004, 22:01

Well, Full-Screen works in software mode. (and still almost OK, the program is still useful. Most games becomes dog-slow - less than 1 fps..., and many refuses to run in software)

selden wrote:
"Bear in mind that Celestia has to depend on the OpenGL library being relatively bug-free. It's impractical for the author of Celestia's OpenGL code to program around all the different kinds of bugs that are encountered in the libraries provided by all the different graphics hardware vendors. "

I just hoped to see a workaround...

But some games work in Full-Screen with OpenGL on my card, and some programs too...

-Fenix*NBK*

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

Post #17by selden » 13.04.2004, 22:21

Well, remember that games make a lot of money. They're written by large teams of full-time programmers who have the resources to test their software on just about all possible hardware combinations. They can take the time to find and write workarounds for most driver bugs -- or can get the vendors to fix them. The same is true for many commercial programs, too.

Most of Celestia's OpenGL code is written by just one person in his spare time.
Selden

Topic author
Fenix*NBK*
Posts: 16
Joined: 06.01.2004
With us: 20 years 10 months

Post #18by Fenix*NBK* » 27.04.2004, 22:02

Off-topic:
Why this forum tends to forget me after a very short time?
I have to log-on almost each time I browse this forum.
==============================================
I have an idea how to solve this issue:

Is there a way to activate "safe mode" via command-line?

If yes, then I have a possible good solution for Windows users.

We should make a second Celestia icon in start menu, so that our InnoSetupScript will use the "safe mode" if the user wants to.

The safe mode should disable all the "OpenGL extras" leaving only the basic functionality.
Since most problems with Celestia are OpenGL graphics related, it will automatically make Celestia more stable in people's eyes.

This is an elegant way of solving bad things once and for all...


Return to “Bugs”