-
-
Notifications
You must be signed in to change notification settings - Fork 95
Installation Guide
If you want to get lsfg-vk up and running as fast as possible, follow these steps:
- Buy and install Lossless Scaling on Steam.
- Go to the Releases page and download the file suiting your Linux distribution.
- Download the file ending in
.debfor distributions using DPKG (Debian, Ubuntu, Mint, etc.). - Download the file ending in
.rpmfor distributions using RPM (Fedora, etc.). - Download the file ending in
.tar.zstfor distributions using ALPM (Arch Linux, CachyOS, SteamOS, etc.). - Otherwise download the file ending in
.zip.
- Download the file ending in
- Open a terminal in the folder where you downloaded the file and follow the instructions for your distribution (see below, make sure to adjust the filenames!).
- (Optional) If you're running Flatpak, follow the install instructions below.
- After installing, continue reading this page to configure lsfg-vkx
Should you encounter any issues during these steps, read the troubleshooting guide.
sudo apt install ./lsfg-vk-x.y.z-x86_64.debsudo dnf install ./lsfg-vk-x.y.z-x86_64.rpmImportant
Steam Deck users need to run these commands before installing:
sudo pacman-key --init
sudo pacman-key --populate holo
sudo pacman -Syy
sudo pacman -U ./lsfg-vk-x.y.z-x86_64.tar.zstChange into the /usr/local directory:
cd /usr/localSpecify the full path to the zip file you downloaded:
unzip /path/to/lsfg-vk-x.y.z-x86_64.zipEdit the .json file that was just created using a text editor and replace the following line:
"library_path": "liblsfg-vk.so",
turns into
"library_path": "/usr/local/lib/liblsfg-vk.so",Note
As of right now, this method does not install the graphical configuration editor lsfg-vk-ui.
Download both Flatpak files from the same page, then install both (you can omit the --user in a system installation):
flatpak --user install ./org.freedesktop.Platform.VulkanLayer.lsfg_vk_23.08.flatpak
flatpak --user install ./org.freedesktop.Platform.VulkanLayer.lsfg_vk_24.08.flatpakNext, you need to give any Flatpak app you want to use access to the lsfg-vk configuration directory.
# replace <user> with your username and <appid> with the appid (e.g. io.mpv.Mpv)
mkdir -pv ~/.config/lsfg-vk
flatpak override --user --filesystem=/home/<user>/.config/lsfg-vk:rw <appid>
flatpak override --user --env=LSFG_CONFIG=/home/<user>/.config/lsfg-vk/conf.toml <appid>Getting started:
Troubleshooting & More:
How lsfg-vk works: