Performance weirdness

Things that has been reported already before.
Post Reply
markjn
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Mar 04, 2017 2:12 am

Performance weirdness

Post by markjn » Sat May 05, 2018 5:39 pm

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

markjn
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Mar 04, 2017 2:12 am

Re: Performance weirdness

Post by markjn » Sat May 05, 2018 5:44 pm

Also, between it working normally and this problem, I got a 4k second monitor that I run it on.


Zavian
Smart Inserter
Smart Inserter
Posts: 1036
Joined: Thu Mar 02, 2017 2:57 am

Re: Performance weirdness

Post by Zavian » Sat May 05, 2018 5:56 pm

Post your log and the screenshots requested in this thread https://forums.factorio.com/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.

Jap2.0
Smart Inserter
Smart Inserter
Posts: 1624
Joined: Tue Jun 20, 2017 12:02 am

Re: Performance weirdness

Post by Jap2.0 » Sat May 05, 2018 6:17 pm

Zavian wrote:Post your log and the screenshots requested in this thread https://forums.factorio.com/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.
There are 10 types of people: those who get this joke and those who don't.

markjn
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Mar 04, 2017 2:12 am

Re: Performance weirdness

Post by markjn » Sat May 05, 2018 6:26 pm

logs
Attachments
factorio-previous.log
(13.2 KiB) Downloaded 11 times
factorio-current.log
(6.96 KiB) Downloaded 9 times

markjn
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Mar 04, 2017 2:12 am

Re: Performance weirdness

Post by markjn » Sat May 05, 2018 7:06 pm

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.
Attachments
Screenshot from 2018-05-05 12-02-15.png
Screenshot from 2018-05-05 12-02-15.png (14.72 MiB) Viewed 276 times

Loewchen
Global Moderator
Global Moderator
Posts: 4560
Joined: Wed Jan 07, 2015 5:53 pm

Re: Performance weirdness

Post by Loewchen » Sat May 05, 2018 9:53 pm

So if you have any debug overlay active it will run at 60 UPS even when its just the FPS/UPS display?

markjn
Burner Inserter
Burner Inserter
Posts: 14
Joined: Sat Mar 04, 2017 2:12 am

Re: Performance weirdness

Post by markjn » Sun May 06, 2018 12:40 am

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,
Attachments
Screenshot from 2018-05-05 17-30-32.png
Screenshot from 2018-05-05 17-30-32.png (3.76 MiB) Viewed 257 times
Screenshot from 2018-05-05 17-30-50.png
Screenshot from 2018-05-05 17-30-50.png (3.74 MiB) Viewed 257 times

Rseding91
Factorio Staff
Factorio Staff
Posts: 7779
Joined: Wed Jun 11, 2014 5:23 am

Re: Performance weirdness

Post by Rseding91 » Thu May 17, 2018 5:28 pm

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.
If you want to get ahold of me I'm almost always on IRC and Discord.

Post Reply

Return to “Duplicates”