Skip to content
Using lsfg-vk-cli

Using lsfg-vk-cli

Bundles with every installation of lsfg-vk is a command-line interface called lsfg-vk-cli.

Running lsfg-vk-cli is as simple as typing lsfg-vk-cli into a terminal. However, if you installed lsfg-vk into ~/.local as the installation guide suggests, then you will need to specify the full path to the binary: ~/.local/bin/lsfg-vk-cli:

$ ~/.local/bin/lsfg-vk-cli
Validate, benchmark, and debug lsfg-vk.

USAGE:
    /home/pancake/.local/bin/lsfg-vk-cli <COMMAND> [OPTIONS] [ARGS]

COMMANDS:
    validate    Validate a configuration file
    benchmark   Run a benchmark
    debug       Run lsfg-vk on a set of images

SUBCOMMAND OPTIONS:

    validate
        -c, --config <PATH>             Optional path to the configuration file
        -l, --list-files                List all manually installed files

    benchmark & debug
        -d, --dll <PATH>                Path to lsfg-vk.dll
        -a, --no-fp16                   Disable FP16 acceleration
        -w, --width <INT>               Width of the input frames
        -h, --height <INT>              Height of the input frames
        -f, --flow <FLOAT>              Flow scale
        -m, --multiplier <INT>          Multiplier
        -p, --performance-mode          Use performance mode
        -g, --gpu <STRING>              GPU to use

    benchmark
        -t, --duration <SECONDS>        Benchmark duration in seconds

    debug
        <folder>                        Path to the debug frames