Page 1 of 1

Performance weirdness

Posted: Sat May 05, 2018 5:39 pm
by markjn
So, this isn't about how slow or fast the game is. It is about a weird thing I noticed since I started playing again, about a month ago.

I'll be playing at normal speed, then all of the sudden, UPS drops to 30 on the dot. Not 29. not 31. In my search to figure out what was going on, I figured out a fix that makes me think this is a weird bug.

All I have to do is press f5 to bring up the stats. Then UPS goes back up to 60 and I press f5 again to clear the screen. 5-10 minutes later, my guy suddenly walks slower again. I cycle f5 again, and things return to normal.

My computer:
stuff

Re: Performance weirdness

Posted: Sat May 05, 2018 5:44 pm
by markjn
Also, between it working normally and this problem, I got a 4k second monitor that I run it on.

Re: Performance weirdness

Posted: Sat May 05, 2018 5:54 pm
by Loewchen

Re: Performance weirdness

Posted: Sat May 05, 2018 5:56 pm
by Zavian
Post your log and the screenshots requested in this thread viewtopic.php?f=7&t=51319 . But my guess is that vsync is on, and performance has dropped under 60 ups. Turning vsync off will probably get you back to just a few fps less than 60 fps.

Re: Performance weirdness

Posted: Sat May 05, 2018 6:17 pm
by Jap2.0
Zavian wrote:Post your log and the screenshots requested in this thread viewtopic.php?f=7&t=51319 . But my guess is that vsync is on, and performance has dropped under 60 ups. Turning vsync off will probably get you back to just a few fps less than 60 fps.
But doesn't that just affect FPS, not UPS? It certainly sounds like vsync, though.

Re: Performance weirdness

Posted: Sat May 05, 2018 6:26 pm
by markjn
logs

Re: Performance weirdness

Posted: Sat May 05, 2018 7:06 pm
by markjn
Normal screenshot. I'll try to get a shot the next time it happens. Maybe a shot when it sits at 30, then a couple after I hit f5, f6 or f7as it quickly climbs to 60? Vsync is off. Before I knew how to fix it, UPS would randomly, after another 5-10 minutes, climb again to 60 then drop again to 30 a while later.

Also, believe me, I understand the desire to blow off bug reports because of insufficient information. But it's a stupid move IMO to require anyone who has a problem to jump through a bunch of technical hoops. People will just not report them. Maybe Factorio can get away with it because a huge percentage of their fans are devs themselves. I'm prob just jealous that rules like that don't work at my job.

Re: Performance weirdness

Posted: Sat May 05, 2018 9:53 pm
by Loewchen
So if you have any debug overlay active it will run at 60 UPS even when its just the FPS/UPS display?

Re: Performance weirdness

Posted: Sun May 06, 2018 12:40 am
by markjn
Loewchen wrote:So if you have any debug overlay active it will run at 60 UPS even when its just the FPS/UPS display?
Nah, I have FPS/UPS display on usually. It takes the higher level debug screen to fix it. Weird right? These 2 screen shots were taken maybe 10 seconds apart. Lower then higher UPS. Between them, I pressed f5 twice to turn debug info on and off. It wasn't 30 UPS on the dot this time, but sometimes it is. Maybe it bottoms out there? I've never seen uner 30.0,

Re: Performance weirdness

Posted: Thu May 17, 2018 5:28 pm
by Rseding91
This is a long standing problem related to vsync that may or may not be solved by our attempts to switch to DirectX11 and a newer version of OpenGL in one of the future versions of the game.

Until then, disable vsync.