Factorio

Factorio

View Stats:
TableruChan Apr 26, 2021 @ 7:15am
Is there a mod or hack to avoid the 60 FPS Frame lock
So while I use a 75 hz monitor I am forced to set my monitor to 60hz and enable Composite to avoid Screen tearing. Without the FPS lock this would never happen or would be much more less annoying.

The Nvidia Composite gives a small mouse latency that is very noticable for me and annoys me. I don't want to play the game in windowed mode either.
Last edited by TableruChan; Apr 26, 2021 @ 7:16am
< >
Showing 1-15 of 16 comments
Jupiter3927 Apr 26, 2021 @ 9:54am 
All of the game animations are designed for 60 frames per second.
The only way to change it is to speed up the game 1.25x to make everything run at 75 fps.
There should be a console command to do this.
ShutEye_DK Apr 26, 2021 @ 8:55pm 
Originally posted by Jupiter3927:
...
There should be a console command to do this.
Yep: https://wiki.factorio.com/Console#Change_game_speed
Pablo Apr 28, 2021 @ 5:58am 
Last edited by Pablo; Apr 28, 2021 @ 5:59am
Chimera May 7, 2021 @ 9:21am 
Off-topic, but what's Nvidia Composite and what does it do? Couldn't find too much about it.
TableruChan May 7, 2021 @ 1:05pm 
Originally posted by ✞Chimera✞:
Off-topic, but what's Nvidia Composite and what does it do? Couldn't find too much about it.

Well I see it like some V-Sync function from Nvidia.
Every page talks about window managers and desktops while I think Nvidia does something different.
https://passthroughpo.st/linux-desktop-compositors-performance-functionality/
PunCrathod May 7, 2021 @ 8:31pm 
Originally posted by Gladox:
Originally posted by ✞Chimera✞:
Off-topic, but what's Nvidia Composite and what does it do? Couldn't find too much about it.

Well I see it like some V-Sync function from Nvidia.
Every page talks about window managers and desktops while I think Nvidia does something different.
https://passthroughpo.st/linux-desktop-compositors-performance-functionality/
Nvidia does not do that any differently than other gpu vendors. There is no such thing as Nvidia composite. There is a composite extension in the X server that Nvidia drivers(and other gpu drivers too as it was not made by nvidia) can use to draw into a pixmaps instead of drawing directly on the screen. Then the X server draws that on the screen whenever it is convenient for it. It is not meant for getting rid of screen tearing and has nothing to do with V-sync. It is meant for enabling desktop compositors to make cool window effects like transparent or "jiggly" windows. If you want V-sync you should just use V-sync.
Chimera May 8, 2021 @ 11:29am 
Originally posted by Gladox:
-snip-
Originally posted by PunCrathod:
-snip-

Thank you both. How was it supposed to be helping with OP's issue?
PunCrathod May 8, 2021 @ 12:24pm 
Originally posted by ✞Chimera✞:
Originally posted by Gladox:
-snip-
Originally posted by PunCrathod:
-snip-

Thank you both. How was it supposed to be helping with OP's issue?
I guess the explanation of what is going on was a bit lacking. There is no screentearing when using composite because the X server only paints the pixmaps to the screen when the pixmaps is not being updated. However it introduces noticeable input lag as the game first renders to the pixmaps that then goes throught the window manager and compositor and then through the X server. To avoid both screentearing and the input lag you need to skip the composite and turn on V-sync.
PhantomDgen May 8, 2021 @ 2:47pm 
I think you can use GTTS mod or console command to speed up time.

Speeding up the game could make some issues since now everything happens 25% faster and make the whole game kinda whacky since biters and productions now feel way faster, so you use GTTS mod to try and lock the game into 60 UPS but maintain the graphics rolling at 75Hz to fit your own monitor!

So download GTTS mod from the mod browser
-enable it
-open console with ' key
-Type this "/c game.speed = {target-ups} / 60"
-And unlock the frames on graphics settings

Correct me if im wrong but i think this should do it
Last edited by PhantomDgen; May 8, 2021 @ 2:47pm
TableruChan May 9, 2021 @ 6:06am 
Originally posted by PunCrathod:
I guess the explanation of what is going on was a bit lacking. There is no screentearing when using composite because the X server only paints the pixmaps to the screen when the pixmaps is not being updated. However it introduces noticeable input lag as the game first renders to the pixmaps that then goes throught the window manager and compositor and then through the X server. To avoid both screentearing and the input lag you need to skip the composite and turn on V-sync.

The problem is that the V-Sync feature of Factorio is not working at all.
Using my screen on 75hz gives a more of a random spot of tearing and gives a weird stuttering feeling. Doing this on 60hz gives a slowly walking screen tearing across the screen.

Last edited by TableruChan; May 9, 2021 @ 6:07am
PunCrathod May 9, 2021 @ 8:32am 
Originally posted by Gladox:
Originally posted by PunCrathod:
I guess the explanation of what is going on was a bit lacking. There is no screentearing when using composite because the X server only paints the pixmaps to the screen when the pixmaps is not being updated. However it introduces noticeable input lag as the game first renders to the pixmaps that then goes throught the window manager and compositor and then through the X server. To avoid both screentearing and the input lag you need to skip the composite and turn on V-sync.

The problem is that the V-Sync feature of Factorio is not working at all.
Using my screen on 75hz gives a more of a random spot of tearing and gives a weird stuttering feeling. Doing this on 60hz gives a slowly walking screen tearing across the screen.
Have you tried to enable "Sync to VBlank" and "Allow Flipping" in the nvidia-settings tool. It should be in X screen 0 - OpenGL Settings. There is also "Enable Graphics API Visual Indicator" that will make the driver to display if vsync is on when you are running an OpenGL application.

You should also consider giving up on 75hz. It can be made to work but IMHO it's more trouble than it's worth.
TableruChan May 9, 2021 @ 9:41am 
Originally posted by PunCrathod:
Originally posted by Gladox:

The problem is that the V-Sync feature of Factorio is not working at all.
Using my screen on 75hz gives a more of a random spot of tearing and gives a weird stuttering feeling. Doing this on 60hz gives a slowly walking screen tearing across the screen.
Have you tried to enable "Sync to VBlank" and "Allow Flipping" in the nvidia-settings tool. It should be in X screen 0 - OpenGL Settings. There is also "Enable Graphics API Visual Indicator" that will make the driver to display if vsync is on when you are running an OpenGL application.

You should also consider giving up on 75hz. It can be made to work but IMHO it's more trouble than it's worth.

It's already activated and I will look if it factorio enables v-sync witht the visualizer.
EDIT: It says that vsync is on but it gives screen tearing on 60hz and 75hz

But 60hz is still giving me screen tearing.
Last edited by TableruChan; May 9, 2021 @ 9:43am
PunCrathod May 9, 2021 @ 10:46am 
Originally posted by Gladox:
It's already activated and I will look if it factorio enables v-sync witht the visualizer.
EDIT: It says that vsync is on but it gives screen tearing on 60hz and 75hz

But 60hz is still giving me screen tearing.
If that is the case then it's probably something specific with the linux distro you are using. I would recommend going to the distros own forums and asking for help there. They won't be able to help with making factorio run at 75hz but they should be able to help fixing screen tearing without introducing input lag.
TableruChan May 9, 2021 @ 1:46pm 
Originally posted by PunCrathod:
Originally posted by Gladox:
It's already activated and I will look if it factorio enables v-sync witht the visualizer.
EDIT: It says that vsync is on but it gives screen tearing on 60hz and 75hz

But 60hz is still giving me screen tearing.
If that is the case then it's probably something specific with the linux distro you are using. I would recommend going to the distros own forums and asking for help there. They won't be able to help with making factorio run at 75hz but they should be able to help fixing screen tearing without introducing input lag.


After searching for nvidia vsync problems with Linux I found out that it's because I use two monitors and NVidia doesn't support VSync on each monitor. Somehow only the First screen.

So I tested if these statements were true and yeah they are true. My secondary Screen has no issues with tearing. My main screen has issues only if the secondary screen is plugged in / used. So they aren't distro specific but more graphics card specific. So you helped me a lot tbh. Thanks a lot.
Last edited by TableruChan; May 9, 2021 @ 1:47pm
Chimera May 9, 2021 @ 6:21pm 
what a cool thread lol. stuff you can only see in a factorio forum
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Apr 26, 2021 @ 7:15am
Posts: 16