[0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync

This subforum contains all the issues which we already resolved.
AntiElitz
Filter Inserter
Filter Inserter
Posts: 456
Joined: Sat Aug 29, 2015 11:37 pm
Contact:

[0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync

Post by AntiElitz »

related thread: viewtopic.php?f=28&t=33045

When Vsync is on there is a cap at 300 UPS, when off there is none. Very annoying for testing purposes and nobody knows why he is capped at 300 UPS.
posila
Factorio Staff
Factorio Staff
Posts: 5350
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.14.x] game.speed capped at 300 UPS when using v-sync

Post by posila »

It seems it is capped at 5 UPS per 1 FPS. I'll try to find out what is intention behind that.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.14.x] game.speed capped at 300 UPS when using v-sync

Post by kovarex »

posila wrote:It seems it is capped at 5 UPS per 1 FPS. I'll try to find out what is intention behind that.
It is twinsens main loop magic.
Twinsen
Factorio Staff
Factorio Staff
Posts: 1348
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync

Post by Twinsen »

Fixed in Version: 0.14.9.

UPS will now be be capped at FPS * 5 * gamespeed.

Keep in mind that setting game speed to very high numbers(>100) is not recommended. But nonetheless let me know if it causes any problems.
posila
Factorio Staff
Factorio Staff
Posts: 5350
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.14.x][Twinsen] game.speed capped at 300 UPS when using v-sync

Post by posila »

Twinsen wrote:Keep in mind that setting game speed to very high numbers(>100) is not recommended. But nonetheless let me know if it causes any problems.
They use it to run map generation in maximum possible speed when searching for good starting area for speedruns :)
Post Reply

Return to “Resolved Problems and Bugs”