Page 1 of 1

Crash when switching resolutions (r471)

Posted: Wed Sep 23, 2009 23:25
by Sussudio
Not much to say other than I can't test ZDoom or newer GZDoom builds right now to check if the problem is gone. Specifying a resolution in the .ini file before launching GZDoom works just fine, but changing the resolution from within the game causes it to crash.

Re: Crash when switching resolutions (r471)

Posted: Fri Sep 25, 2009 8:07
by NeoHippo
Where did +map MAP01 come from ?
Instead try to start with -WARP 01, although GZDoom would start with Map 01 by default.

http://zdoom.org/wiki/Installation_and_ ... n_of_ZDoom

Re: Crash when switching resolutions (r471)

Posted: Fri Sep 25, 2009 8:57
by Sussudio
NeoHippo wrote:Where did +map MAP01 come from ?
ZDL.

Something else I forgot to mention; it doesn't happen if you start GZDoom without specifying a level, you have to be already playing a map for it to crash when you change the resolution, and now I can confirm this problem for r476M as well.

Re: Crash when switching resolutions (r471)

Posted: Fri Sep 25, 2009 18:27
by NeoHippo
It does not crash my GZDoom session but it does affect the flats. Changing the resolution from a map does this:
Spoiler:
and then the flats behave like this:
Spoiler:
This happens with or without ZDL 3.1, for svn versions after r457.

[edit]
The problem does correct itself, when selecting 'New Game' after the resolution change.

Re: Crash when switching resolutions (r471)

Posted: Fri Sep 25, 2009 18:37
by Graf Zahl
Looks like the vertex buffer gets destroyed.

Re: Crash when switching resolutions (r471)

Posted: Sun Sep 27, 2009 19:07
by NeoHippo
With r497, after selecting a new screen resolution,
most of the times it just hangs with a black screen, from which I have to end the task from taskmanager
and sometimes it comes up with that screen as before
Spoiler:
in which case going through the option 'New Game' does correct the resolution.

And that is with a fresh ini file every time.

Plus, as Sussudio mentioned
Sussudio wrote:Specifying a resolution in the .ini file before launching GZDoom works just fine, ...
going into the ini file to change everything the hard way, all works fine.

Re: Crash when switching resolutions (r471)

Posted: Mon Sep 28, 2009 18:02
by Graf Zahl
fixed