Timescale seems to correlate with framerate

This subforum contains all the issues which we already resolved.
Glockshna
Long Handed Inserter
Long Handed Inserter
Posts: 50
Joined: Tue Jan 21, 2014 7:57 am
Contact:

Timescale seems to correlate with framerate

Post by Glockshna »

hey guys I'm not sure if this is a bug but it's extremely annoying and should be changed if it's intentional;

When I'm playing I normally get 60 FPS but if I want to watch a video or something on the other screen sometimes I will only get 30 fps and for some reason when the game slows down to 30 FPS it seems to lower the timescale by about half at the same time as if I had used game.speed = 0.5.

This can easily be reproduced with Bandicam or DXTory by limiting the framerate.

Factorio 0.8.8 x64
Windows 7 Ultimate x64
Core i7 950 3.06 Ghz
24 GB 1600mhz DDR 3
GeForce GTX 590
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Timescale seems to correlate with framerate

Post by kovarex »

Hello,
not sure what the reason is, the rendering parts waits for vertical sync, it can be affected by that maybe.

You can try to select Options->other->Low fps, this way, the game runs on 30fps, but there are two logic updates per one render update, so the game speed is preserved.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Timescale seems to correlate with framerate

Post by ssilk »

Just to make that thread complete: What should I do to set the timescale to 50 Hz?
In my opinion I need to set

Code: Select all

game.speed = 0.83333333 -- set game-tick to 50 Hz
??
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: Timescale seems to correlate with framerate

Post by ficolas »

Should be so but... Why?
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Timescale seems to correlate with framerate

Post by ssilk »

Let the game run with 50 Hz update rate... So in a video with 25 frames/sec there is no stutter, when recorded with 50 Hz from your grafix card, which was running on a 50 Hz screen.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Post Reply

Return to “Resolved Problems and Bugs”