Help Guide · 8 of 9

Launch options, config & CLI

For Steam launch options, scripting and the command line.

Steam launch options

Right-click a game in Steam → Properties → Launch options:

Launch optionWhat it does
LIQUIDFRAMES=1 %command%LiquidFrames on from the start, with the game's profile (or Default)
LIQUIDFRAMES=1 LIQUIDFRAMES_PROFILE="Name" %command%The same, with a profile you choose
DISABLE_LIQUIDFRAMES=1 %command%Keeps LiquidFrames out of this game completely
LIQUIDFRAMES=1 LIQUIDFRAMES_LOG=1 %command%Also prints frame-rate lines every second (start Steam from a terminal to see them)

Each game's page in the app has a Steam launch option card with a Copy button.

Environment variables

VariableMeaning
LIQUIDFRAMES=1Turn LiquidFrames on for this program from the start
LIQUIDFRAMES_PROFILE="Name"Use this profile instead of matching by executable
DISABLE_LIQUIDFRAMES=1Never load into this program
LIQUIDFRAMES_CONFIG=/path/file.tomlUse another config file
LIQUIDFRAMES_LOG=1Print frame-rate lines every second

The config file

All settings and profiles are in ~/.config/liquidframes/config.toml, a plain TOML file. The app writes it for you; Settings → Configuration file → Open folder takes you there. Games read it when they're hooked.

Where things are

WhatWhere
The app (per-user install)~/.local/share/liquidframes
The app (all users)/opt/liquidframes
Click-to-hook layer~/.local/share/vulkan/implicit_layer.d/VkLayer_liquidframes.json
Settings~/.config/liquidframes/config.toml
The .run's unpacked files~/.cache/liquidframes

liquidframes-cli

Everything the app does, from a terminal. With the .run file, use ./LiquidFrames-0.1.1-x86_64.run cli in place of liquidframes-cli.

CommandWhat it does
gpusList graphics cards and what they support (frame generation, dual-GPU)
profilesShow the config file and its profiles
layer · layer install · layer uninstallShow, install or remove the click-to-hook layer
hook listList running programs with LiquidFrames loaded
hook on PID [PROFILE] · hook off PIDHook or unhook a program
hook focused [SECONDS]Hook the focused window after a countdown (X11/XWayland windows)
run [-p PROFILE] -- CMDRun a program with LiquidFrames on
fgtest --scene allTest frame generation on this graphics card with built-in test scenes

Examples

liquidframes-cli hook list
liquidframes-cli hook on 12345 "Space Engineers 2"
liquidframes-cli run -- vkcube
LIQUIDFRAMES_LOG=1 liquidframes-cli run -p "My game" -- ./mygame