GZDoom fails to terminate properly sometimes

Bugs that have been resolved.

Moderator: Graf Zahl

User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!

GZDoom fails to terminate properly sometimes

Post by wildweasel »

Upon exiting the game (I have my F11 key bound to "Quit" via console, because I get sick of using the Press Y prompt while testing), GZDoom fails to terminate itself properly, leaving me with an almost entirely black screen (aside from the frames of any windows that I have running). I have to open WinXP's task manager and kill the task myself to get the desktop to return to normal.

Hardware:

Dell Dimension 8300 desktop system
CPU: Pentium 4 3.0 GHz
RAM: 512 MB
Video: NVIDIA GeForce FX 5200 (Dxdiag claims it's 128 MB), running ForceWare 78.01 drivers
Sound: SoundMAX Digital Audio (onboard) with latest drivers (no version specified)

Software:

OS: Windows XP Home Service Pack 1
Background Apps: ObjectDock Pro, Windowblinds 4.5, Winamp 5.1 (though it still happens with these disabled)
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

I seriously doubt I can do anything here. Most likely some driver fails to shut down and the program waits endlessly for this to happen. It's most likely a system specific problem.
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!

Post by wildweasel »

I've determined that the problem seems to have gone away upon modifying my compatibility settings - it seems GZDoom doesn't quite enjoy running OpenGL in a window while I've got XP theming enabled. Whether this is a problem on my end or with GZDoom, it doesn't matter now that I've got at least a workaround.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Have you tested with other OpenGL applications?
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!

Post by wildweasel »

It only happens in GZdoom. Not even Edge does this to my knowledge.
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

Post by MartinHowe »

This is probably driver related and may well be the same as this problem: when using V1.18 of Vavoom in OpenGL mode, the game locks up when any monster comes into view. Does not happen with non-moving animated things like barrels and armour helmets etc, only monsters. The music still plays, but nothing else works.

Today, however, it happened with GZDoom (in Total Control). With Vavoom it is consistent; with GZDoom, today was the first time. Also, GZDoom lags like hell in Total Control (not as badly as CAH did in regular ZDoom, but enough to be annoying).

It also leaves the screen with the game display; so if you CTRL-ALT-DEL to kill the game, you can't see the CTRL-ALT-DEL window (or anything else but the game), which means you must reset or power-cycle the computer in order to regain control of it.

Sometimes you can be lucky to type a command by dead reckoning: eg Start|run|cmd.exe <return> <alt-enter> which runs then maximizes a shell window then exit the shell and the desktop gets repainted as normal. In other words, the rest of Windows is still working, but you just can't see it, because the game hasn't exited properly and is still running while locked up.

GZDoom was eventually killed, but it lost all the savegames when it died!

For the record, this is Windows XP Pro SP2 with an ATI mobile Radeon 7500.
Nuxius
Posts: 106
Joined: Fri Sep 02, 2005 9:15
Location: Texas

Post by Nuxius »

Are you sure? You might want to check "C:\Documents and Settings\your login name" for a directory called save. Also look for a directory called save in the GZDoom directory itself.

For some crazy reason, it wanted to put all of my PWAD save games in the former directory, with any IWAD savegames in the latter. I finally had to open the .ini file and type in the whole file path just to get it to put every save in it's own gzdoom/save/ directory.
User avatar
MartinHowe
Posts: 154
Joined: Tue Aug 30, 2005 22:07
Location: East Suffolk (UK)

Post by MartinHowe »

Nuxius wrote:Are you sure? You might want to check "C:\Documents and Settings\your login name" for a directory called save. Also look for a directory called save in the GZDoom directory itself.
Actually, it should get the location of "My Documents" from the registry and create a subfolder in that - raw use of the home directory in Windows is usually limited to system files or "application" data files - user files should be in "My Documents", which might have been redirected anywhere, "D:\Doc" in my case.

In any case, I found two save directories, but it didn't recognise the files in them - when asking to load a game, it showed no games present (except the autosave at the start of the level).
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany

Post by Graf Zahl »

Somehow I remember that ZDoom does this on occasion as well. Anyway, it is most likely caused by some driver not shutting down properly and thus preventing the application from shutting down. I don't see anything I could do here.

Return to “Closed Bugs”