https://github.com/PancakeTAS/lsfg-vk
Caution: It directly uses the Lossless Scaling tool for Windows, which has to be bought from Steam for like $7
The goal is to run Factorio with 120Hz, while each other frame is generated. This should offer a more fluid experience, esp. on LCD monitors, which can get quite blurry on 60Hz.
lsfg-vk only works with the Vulkan Layer and Factorio works with OpenGL, afaik.
Windows users probably can use Lossless Scaling directly
But, The mesa library offers Zink, which transforms OpenGL to Vulkan.
I'm not sure, if that is an AMD GPU only thing
I called it like this:
Code: Select all
__GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_KOPPER_DRI2=1 factorio
Now, packing all that together. I installed "lsfg-vk" as described on its github Wiki.
For the ~/.config/lsfg-vk/conf.toml I filled it like this.
Code: Select all
version = 1
[global]
# override the location of Lossless Scaling
dll = "[..]/Steam/steamapps/common/Lossless Scaling/Lossless.dll"
[[game]] # default vkcube entry
exe = "vkcube"
multiplier = 4
performance_mode = true
[[game]] # default benchmark entry
exe = "benchmark"
#enable = true
multiplier = 4
#performance_mode = true
[[game]] # override Factorio
exe = "Factorio2SA"
multiplier = 2
Code: Select all
LSFG_PROCESS=Factorio2SA __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_KOPPER_DRI2=1 factorio
And voila, it clearly works. The motion blur when moving is much better. The framerate is also very stable
However, I have some issues, when closing factorio, then it throws an error. And its sometimes problematic to restart factorio as it crashes. It doesn't seem to be connected to Zink itself, but rather lsfg-vk.
I also did not play longer sessions with it, so I don't know, how stable it is.
I thought, I share my experience and maybe some brave players want to try it as well