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 option | What 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
| Variable | Meaning |
|---|---|
LIQUIDFRAMES=1 | Turn LiquidFrames on for this program from the start |
LIQUIDFRAMES_PROFILE="Name" | Use this profile instead of matching by executable |
DISABLE_LIQUIDFRAMES=1 | Never load into this program |
LIQUIDFRAMES_CONFIG=/path/file.toml | Use another config file |
LIQUIDFRAMES_LOG=1 | Print 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
| What | Where |
|---|---|
| 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.
| Command | What it does |
|---|---|
gpus | List graphics cards and what they support (frame generation, dual-GPU) |
profiles | Show the config file and its profiles |
layer · layer install · layer uninstall | Show, install or remove the click-to-hook layer |
hook list | List running programs with LiquidFrames loaded |
hook on PID [PROFILE] · hook off PID | Hook or unhook a program |
hook focused [SECONDS] | Hook the focused window after a countdown (X11/XWayland windows) |
run [-p PROFILE] -- CMD | Run a program with LiquidFrames on |
fgtest --scene all | Test 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