Author Topic: FSO alt-tab crashes on GF7 cards  (Read 3266 times)

0 Members and 1 Guest are viewing this topic.

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
FSO alt-tab crashes on GF7 cards
I have been encountering an irritating problem for the last four months, where I can't minimize (alt-tab) FSO and bring it back up. It actually minimizes fine, but if I try to maximize it, I get an immediate BSOD and a subsequent auto-reboot. This occurs in all builds as far as I can tell, at least from the last seven or eight months.

This is rather annoying since I used to be able to have FSO and FRED2 open simultaneously and switch between them quickly, which allowed me to fix bugs in my missions as soon as I encountered them in the game, but I haven't been able to do that ever since I changed video cards in December.

I wanted to see if anyone else is getting this problem, especially people with Geforce 7 series cards. This is dependent on what video card you have and possibly also which drivers are being used, so post your video card and driver version(s), and whether or not FSO allows you to minimize it and bring it back up. Try it a couple of times just to be sure, since the maximizing does occasionally work for me (maybe one out of five times). This has been my experience:

6800 GT / most major revisions up to 77.13: works
32-bit Mobility 9000 / unlabeled Dell OEM drivers: works
two 7800 GTs / all major revisions from 77.13 to 84.20: crashes (also occurs with a single card)

I ordered a 7900 GTX recently and will update this when I receive it, but I am expecting to get the same crashes. (couldn't pass up the sub-$400 price, but if I had realized earlier that this had something to do with the video cards, I would have stayed away from it)

This is with the windows version, by the way. Interestingly, this problem is also present in D2X-XL (Descent 2 equivalent of FSO), which I believe shares some code with FS2. It does not occur in any other game I have, however.

 

Offline Descenter

  • 27
  • Gamers Rule, but so do Thoes Who Make Them
    • Steam
Re: FSO alt-tab crashes on GF7 cards
I have sort-of the same problem with my GF 5700 card, except for the BSOD and reboot.  Instead it only crashes the game.  Though I do think it is only memory related, considering I have only 512MB of Ram.
"War is like playing a game of chess.  You move units on a field, and stratiegically try to weaken the opposing force, a sort of... elequent ballet.  Sure you might lose a few units,.... but, at times, it all part of the plan..."

"Most of the human race really don't give a damn.  Well I do, and I try to do something about it by giving a damn."

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
Re: FSO alt-tab crashes on GF7 cards
D3D or OGL?

You can also try using '-window' command line to run in a window.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: FSO alt-tab crashes on GF7 cards
OGL. I haven't tried it on D3D.

I'll give the window command a try. Although who wants to play in a window? :p

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: FSO alt-tab crashes on GF7 cards
Anyone who doesn't like surrendering their desktop to the randomness that is Windows alt-tab?  :p

Seriously though, alt-tab never worked particularly well even when it did work.  FS uses too much ram to take paging out kindly.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: FSO alt-tab crashes on GF7 cards
I never had any problems with it before, and I only had 1GB of memory back then.

Come on, I know a few other people here have GF7 cards; would appreciate some input from you guys. :p

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: FSO alt-tab crashes on GF7 cards
I have updated code for OpenGL which affects ALT-TAB in several ways (allows proper fullscreen/window flipping and active/non-active WM events).  It may fix this issue, but the code isn't ready for CVS yet.  So for now I guess the options are: run in a window, wait for the new code, wait until someone other than me takes a look at the issue, don't ALT-TAB.  :)

 

Offline StratComm

  • The POFressor
  • 212
  • Cameron Crazy
    • http://www.geocities.com/cek_83/index.html
Re: FSO alt-tab crashes on GF7 cards
It actually doesn't matter how much memory you have; Windows tries to page out a process when it is minimized.  That means that if the process uses a ton of RAM and isn't being actively run (FS defaults to pause when alt-tabbed from) then the system tries to recover as much physical memory as it can.  Thus massive paging and potential lag when you bring it back up.  More memory may actually make this worse because you've got to clear even more physical memory to disk.  Shouldn't cause a crash in any instance (so that's something else) but that's why I say that alt-tab has never worked well.
who needs a signature? ;)
It's not much of an excuse for a website, but my stuff can be found here

"Holding the last thread on a page comes with an inherent danger, especially when you are edit-happy with your posts.  For you can easily continue editing in points without ever noticing that someone else could have refuted them." ~Me, on my posting behavior

Last edited by StratComm on 08-23-2027 at 08:34 PM

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: FSO alt-tab crashes on GF7 cards
I have updated code for OpenGL which affects ALT-TAB in several ways (allows proper fullscreen/window flipping and active/non-active WM events). It may fix this issue, but the code isn't ready for CVS yet. So for now I guess the options are: run in a window, wait for the new code, wait until someone other than me takes a look at the issue, don't ALT-TAB. :)

That sounds great, just wanted to make sure you are aware of the problem. I'll just stay away from alt-tab until this is added in.

Quote
It actually doesn't matter how much memory you have; Windows tries to page out a process when it is minimized.  That means that if the process uses a ton of RAM and isn't being actively run (FS defaults to pause when alt-tabbed from) then the system tries to recover as much physical memory as it can.  Thus massive paging and potential lag when you bring it back up.  More memory may actually make this worse because you've got to clear even more physical memory to disk.  Shouldn't cause a crash in any instance (so that's something else) but that's why I say that alt-tab has never worked well.

I think I know what you're referring to, but the paging generally only lasted for a second or two when I brought it back up (when it used to work). I guess since D2X-XL also has the problem, there may be some low level code common to both games that has some obscure incompatibility with the GF7 cards.

 

Offline taylor

  • Super SCP/Linux Guru
  • Moderator
  • 212
    • http://www.icculus.org/~taylor
Re: FSO alt-tab crashes on GF7 cards
I guess since D2X-XL also has the problem, there may be some low level code common to both games that has some obscure incompatibility with the GF7 cards.
Several people have come to me with an ATI issue just like this so I've known it could be a problem for a while.  This is the first time I've heard of it with an NVIDIA card though.  I don't know that it's the same issue, but I know that our code for this type of thing just isn't nearly good enough.  Some cleanup of old code and some new code should take care of the issues but we'll just have to find that out when that code is ready for use.  I don't know that it will fix the crashing, but it will certainly be a step (or a few) in the right direction.

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
Re: FSO alt-tab crashes on GF7 cards
Just an update on this, I tried out FSO on a new computer setup (fairly similar to the old one except for the video card, an x1900xtx; I cancelled my 7900 order) and the problem is gone. I think that pretty much confirms it has something to do with the Geforce 7 cards.

It's great news for me, since it means I can now debug my missions about twice as fast. :D

  

Offline ARSPR

  • Preys On Mantis
  • 29
Re: FSO alt-tab crashes on GF7 cards
More info if it can be usefull somehow.

I have an AGP 7800 GS card. When I press alt-tab, I get the tipical task selection window in the center of the screen. I can select any other running program but the screen is still fixed in FS2. The game goes to pause and it doesn't crash but I can't don anything as all I see is FS2, no matter which program I select. I can return to FS2 then press ESC and continue playing.
IF YOU HAVE TROUBLES WITH FS2:
  • Please, please, please, READ and UNDERSTAND the sticky threads in FreeSpace & FreeSpace Open Support board.
    A lot of people are willing to help you, but, as anyone can understand, seeing the very same "issues" repeated again and again can become quite depressing. Please, spend a bit of time trying to solve the issue by yourself.
    (Lobo deserves a monument).
  • Then, if you aren't still able to solve your issue, feel free to ask for help in that same board.
    FYI, most of the troubles are caused by wrong mod installations which lead to either missing data or undesired cross-effects between them. Always follow the mod installation instructions and keep a clean FS2 installation as explained in the sticky threads. Two additional links about how the game handles game data:
  • If you think that you've discovered a bug, mantis it.
    Provide as much info as you can, and try to narrow it down. A lonely "FS2 doesn't work" is not a good report.

Whoever Hanlon was: Never attribute to malice that which can be adequately explained by stupidity.
Albert Einstein: Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.

Dell Dimension 9200 - Vista 32-bit Ultimate
Core 2 Quad Q6600 @2.4GHz - RAM 2 GB DDR2
nvidia 8800 GTX - Integrated Sigmatel Audio