Configuration Options
There are two types of configuration options. Global options apply to all profiles and profile options only apply to a single profile.
Global / [global]
- Path to Lossless Scaling /
dll: By default, lsfg-vk will search certain hardcoded directories for Lossless Scaling. If you have Lossless Scaling installed to a custom location, you can specify the full path to the “lsfg-vk.dll” file inside of it here. - Allow half-precision /
allow_fp16: If enabled, this will allow lsfg-vk to take advantage of half-precision shader operations if supported by the GPU. This has a giant performance uplift on AMD GPUs, but does not affect NVIDIA GPUs (GTX 1000-series will actually see a performance decrease). This option does not influence quality. (Default:true) - (Hidden) /
log_level: The level of logging to output. Can be eitherdebug,info,warningorerror. (Default:info) - (Hidden) /
log_file: An optional file path to write logs to. Can be useful in case stderr is swallowed by the application.
Please note that the Steam runtime may hide other partitions from the game, so it is recommended to have lsfg-vk.dll on your main partition.
Profile / [[profile]]
- Profile Name /
name: The name of the profile, displayed in the graphical interface. Additionally, this is used when selecting a profile through theLSFGVK_PROFILEenvironment variable. - Active In /
active_in: A list of 1) linux binary names, such asmpv, 2) windows executables, such asGenshinImpact.exeand 3) process names, such asGameThread. It is also possible to specify the last part of a path (e.g.,Ghostrunner2/Binaries/Win64/Ghostrunner2-Win64-Shipping.exe). When a process matching one of these rules is detected, this profile will be activated. - Multiplier /
multiplier: The frame generation multiplier. A value of3means that for every frame rendered by the application, lsfg-vk will generate 2 additional frames. (Default:2) - Flow Scale /
flow_scale: The resolution scale at which the motion vectors are calculated. A lower value means better performance, but worse quality. (Default:1.0) - Performance Mode /
performance_mode: When enabled, a significantly lighter frame generation model is used. This has a minor quality impact, but greatly improves performance. (Default:false) - Pacing Mode /
pacing: Change how lsfg-vk handles frame pacing. See here for details. (Default:vsync). - Override Present Mode /
override_present_mode: When enabled, lsfg-vk will override the present mode to Vsync/FIFO, as required for frame pacing to function correctly. Do not turn this option off, unless you know what you are doing. (Default:true)
The “Multiplier”, “Flow Scale” and “Performance Mode” options can be hot-reloaded, meaning that changes to these options will take effect immediately without needing to restart the affected application. Options such as “Pacing Mode” or removal of the profile require a swapchain recreation, which usually means resizing or restarting the application.