Page 1 of 1

Screen stuttering in multiplayer [GZDoom 4.0.0]

Posted: Sun Apr 07, 2019 11:10 pm
by Dinosaur_Nerd
When playing in multiplayer with more than one player (tests with "-host 1" will not yield results) the screen will begin to stutter after any player enters any teleporter. The problem goes away if the game is saved after the stuttering begins.

Re: Screen stuttering in multiplayer [GZDoom 4.0.0]

Posted: Sun Apr 07, 2019 11:11 pm
by Zhs2
Steps to reproduce:
.5. Pick your favorite map with a teleporter. We personally reproduced the issue on Heretic E1M1, just flick the switch down the hall with the window to the secret and come back to that big room.
1. Launch 2 GZDoom sessions, one -host 2 and one -join 127.0.0.1.
2. Walk through the teleporter, watch ugly stuttering happen.

Re: Screen stuttering in multiplayer [GZDoom 4.0.0]

Posted: Sun Apr 07, 2019 11:53 pm
by Player701
And I thought it was due to network lag... though we played via LAN, so it did seem weird.

Reproduced on Plutonia MAP15.

Re: Screen stuttering in multiplayer [GZDoom 4.0.0]

Posted: Sun Apr 14, 2019 6:02 am
by Player701
The issue has been traced to this commit.

Re: Screen stuttering in multiplayer [GZDoom 4.0.0]

Posted: Sun Apr 14, 2019 6:08 am
by Graf Zahl
The prediction strikes again. When unpredicting a player the flags seems to get restored...
That's another of those 'dirty' pieces of code that leave their footprint all over the place and cause problems. :(

Can you please retry with the latest commit?

Re: Screen stuttering in multiplayer [GZDoom 4.0.0]

Posted: Sun Apr 14, 2019 6:19 am
by Player701
Seems to work fine now.