Screen not being properly cleared (r522M)
Moderator: Graf Zahl
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Screen not being properly cleared (r522M)
The bug was never fixed. I got it myself with almost every revision between 555 and 604.
The problem is just that I don't know what's causing it. It looks like the z-buffer contains invalid data but I haven'd found out yet why.
The problem is just that I don't know what's causing it. It looks like the z-buffer contains invalid data but I haven'd found out yet why.
- NeoHippo
- Posts: 408
- Joined: Tue Sep 13, 2005 0:47
- Location: British Columbia Canada
startup glitch
With svn versions after 1304 I get this glitch on startup

just for a split second, and then it is ok.
Does not occur with 1327.
Happens again with 1337.

just for a split second, and then it is ok.
Does not occur with 1327.
Happens again with 1337.
- Gez
- Developer
- Posts: 1399
- Joined: Mon Oct 22, 2007 16:47
Re: startup glitch
That's actually a very old issue. I've noticed it more frequently recently, but still don't know what causes it. It seems more likely to happen if the computer is a bit strained for resources while the game starts.
Something vaguely interesting is that (while starting Jimmy's jukebox), I saw one of the light column things that was behind a wall before the rest of the geometry was drawn. Didn't manage to capture that on a screenshot and the map hasn't replicated the issue yet.
Something vaguely interesting is that (while starting Jimmy's jukebox), I saw one of the light column things that was behind a wall before the rest of the geometry was drawn. Didn't manage to capture that on a screenshot and the map hasn't replicated the issue yet.
- VGA
- Posts: 23
- Joined: Tue Mar 22, 2011 2:35
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Screen not being properly cleared (r522M)
Obviously. I have no idea what, though.
- VGA
- Posts: 23
- Joined: Tue Mar 22, 2011 2:35
Re: Screen not being properly cleared (r522M)
If I run Gzdoom through QZDL launcher and just start a new game it doesn't happen, BUT if I run it directly through explorer the glitch happens. (Maybe it has to do with the IWAD selection window ?)
But if I run through QZDL, bring down the console, press ESC then start a new game, the glitch still happens and the console is semi-visible, half-screen <-- wtf inconsistency
EDIT: Yeah, if I run gzdoom with the -iwad doom2.wad parameter, the glitch never happens, except with the console ESC thingy (which makes the meltdown effect seems laggy)
But if I run through QZDL, bring down the console, press ESC then start a new game, the glitch still happens and the console is semi-visible, half-screen <-- wtf inconsistency
EDIT: Yeah, if I run gzdoom with the -iwad doom2.wad parameter, the glitch never happens, except with the console ESC thingy (which makes the meltdown effect seems laggy)
- NeuralStunner
- Posts: 253
- Joined: Tue Dec 29, 2009 3:46
- Location: IN SPACE
- Contact:
Re: Screen not being properly cleared (r522M)
I use qZDL all the time and it happens to me, so that's not it.
In my case, the undrawn geometry space is black, likely because I have R_ClearBuffer set to black.
The glitch only occurs the first time I begin a game (from menu). As soon as the screen wipe is finished, the space is filled. If using -map, I never see it at all as the game begins immediately. (No isssues with -warpwipe though.)
In my case, the undrawn geometry space is black, likely because I have R_ClearBuffer set to black.
The glitch only occurs the first time I begin a game (from menu). As soon as the screen wipe is finished, the space is filled. If using -map, I never see it at all as the game begins immediately. (No isssues with -warpwipe though.)
Dean Koontz wrote:Human beings can always be relied upon to exert, with vigor, their God-given right to be stupid.
Spoiler: System Specs
- VGA
- Posts: 23
- Joined: Tue Mar 22, 2011 2:35
Re: Screen not being properly cleared (r522M)
@ NeuralStunner
If you launch from a gzdoom shortcut with "-iwad doom2.wad" parameter to avoid the IWAD selection window, does the glitch happen ?
If you launch from a gzdoom shortcut with "-iwad doom2.wad" parameter to avoid the IWAD selection window, does the glitch happen ?
-
- Posts: 9
- Joined: Wed Jul 11, 2012 21:59
Re: Screen not being properly cleared (r522M)
It does.VGA wrote:If you launch from a gzdoom shortcut with "-iwad doom2.wad" parameter to avoid the IWAD selection window, does the glitch happen ?
This is actually something I too would ike to see fixed. However what makes it even harder to track down is that it does not happen all the time... sometimes I can start GZDoom several times in a row without the glitch ever appearing, then suddenly it is there again, then suddenly gone again.
The glitch only seems to appear with screen wipe styles enabled. And it does not matter which style is activated, it happens with all of them. When set to None, the glitch disappears. So perhaps that would be a place where to look into the code again?
- Enjay
- Developer
- Posts: 4748
- Joined: Tue Aug 30, 2005 23:19
- Location: Scotland
- Contact:
Re: Screen not being properly cleared (r522M)
I also find it quite intriguing that it is the same area of the map that is affected across different computers. The effect looks exactly the same for me as it does in NeoHippo's screenshot.
- VGA
- Posts: 23
- Joined: Tue Mar 22, 2011 2:35
Re: Screen not being properly cleared (r522M)
Hmmm, going in display options and then starting a new game prevents the glitch from happening. Even if I change nothing. But only if using my ini. If I rename my ini and do the same, the glitch happens. I'm using hires options, rescaling etc if it matters.
Nvidia here. 1680x1050, vsync, autoloading lights.pk3 and brightmaps.pk3
1) I did the test about 25 times, if I first go to options and then start a new game, the glitch doesn't happen. But not with the default options, but my own. With the defaults, it still happens anyway.
2) If I don't see the IWAD selection window (shortcut with -iwad parameter or through QZDL) the glitch doesn't happen. But with my options. With the defaults it happens anyway.
Here is my ini :
http://www2.zshare.ma/mzuv9r5qw9ui
Nvidia here. 1680x1050, vsync, autoloading lights.pk3 and brightmaps.pk3
1) I did the test about 25 times, if I first go to options and then start a new game, the glitch doesn't happen. But not with the default options, but my own. With the defaults, it still happens anyway.
2) If I don't see the IWAD selection window (shortcut with -iwad parameter or through QZDL) the glitch doesn't happen. But with my options. With the defaults it happens anyway.
Here is my ini :
http://www2.zshare.ma/mzuv9r5qw9ui
Last edited by VGA on Sun Jul 29, 2012 20:05, edited 1 time in total.
- VGA
- Posts: 23
- Joined: Tue Mar 22, 2011 2:35
Re: Screen not being properly cleared (r522M)
Lmao this is crazy.
Bringing down the console and then using the menu 100% reverses all the above behaviour in all of the cases I described. The glitch repeatedly happens when it normally wouldn't and doesn't happen when it should. It absolutely results in the opposite of what I expect. In each case.
Bringing down the console and then using the menu 100% reverses all the above behaviour in all of the cases I described. The glitch repeatedly happens when it normally wouldn't and doesn't happen when it should. It absolutely results in the opposite of what I expect. In each case.
-
- Posts: 9
- Joined: Sat Mar 30, 2013 15:55
Re: Screen not being properly cleared (r522M)
It happens for me too, but it gets normal when the effect ends. I'm getting it with Melt effect only.
I have AMD Athlon II X2 255 (3,1 GHz 2-core), 8 GB RAM and nVidia GeForce 9200. I don't have this thing with any other game. Well, I don't even know about any game that uses fades like this.
I have AMD Athlon II X2 255 (3,1 GHz 2-core), 8 GB RAM and nVidia GeForce 9200. I don't have this thing with any other game. Well, I don't even know about any game that uses fades like this.

-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: Screen not being properly cleared (r522M)
The issue is caused by uninitialized member angletime of vertex_t structure. The fix is quite obvious.
Spoiler: Patch
- Attachments
-
- wipe_junk_fix.txt
- Patch
- (317 Bytes) Downloaded 62 times
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: Screen not being properly cleared (r522M)
Wow! Something this simple? I guess that's why nobody ever found it before. Thanks a lot.