-
-
Notifications
You must be signed in to change notification settings - Fork 82
How to ask for help
If you're encountering an issue with lsfg-vk, this guide will help you create a proper bug report. Vague reports like "it doesn't work" or "this is broken" are not helpful. The more information you provide, the faster we can identify and fix the problem.
With the latest version of lsfg-vk, a debug build is no longer required for most troubleshooting (unless you're performing deep-dive debugging).
Tip
Before reporting, please check the Quirks page to see if your issue is already documented.
Follow these steps to gather the necessary information for your report.
Enabling Vulkan Validation Layers and debug logging provides crucial diagnostic messages that help us understand the root cause of your issue.
Install the vulkan-validation-layers package using your distribution's package manager:
sudo pacman -S vulkan-validation-layerssudo apt install vulkan-validationlayerssudo dnf install vulkan-validation-layersnix-shell -p vulkan-validation-layersSet the following environment variables to enable verbose logging:
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validationVK_LOADER_DEBUG=all
The method for capturing log output depends on how you launch your application.
If you are running the game or application from your terminal, append 2>&1 | tee output.log to your command. This will redirect all output (including debug messages) to both your console and a file named output.log in your current directory.
Example:
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=all <your app> 2>&1 | tee output.logIf you are running a game through Steam, follow these steps:
-
Clear existing log: Before launching the game, clear Steam's console log file to ensure you only capture relevant output for the current session.
truncate -s 0 ~/.steam/steam/logs/console-linux.txt -
Set Steam Launch Options: Go to the game's properties in Steam, then navigate to "Launch Options" and add the following:
VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation VK_LOADER_DEBUG=all %command%
-
Launch the game: Start the game normally from your Steam library.
In addition to the log file (output.log or console-linux.txt), please include the following details about your environment and the issue itself:
- Linux Distribution: Which Linux distribution are you using (e.g., Ubuntu 22.04, Fedora 39, Arch Linux)?
- Linux Familiarity: How familiar are you with Linux (e.g., newcomer, intermediate, experienced)? This helps us tailor our advice.
-
liblsfg-vk.soOrigin: How did you obtain theliblsfg-vk.sofile? Did you use a pre-built package (e.g.,.deb,.rpm,.tar.zst), unzip a generic.zip, or compile it from source? If compiled, please specify how. - Game Launch Method: Are you running the game through Steam (Proton or Native)? Have you tried running it directly from the command line without Steam?
- Game Type: Is the game running natively on Linux or is it a Windows game running via Proton/Wine?
- Gamescope Usage: Are you using Gamescope?
- Issue Description: Detail exactly what you are encountering. Be as specific as possible.
- Visual Evidence: Attach photos or videos if possible. These are often invaluable for diagnosing visual bugs.
- Regression Information: Did this work before? If so, what changed in your setup (e.g., updated lsfg-vk version, driver update, game update)?
Once you have gathered all the information, you can open a new issue on the Issues page.
Please be patient while waiting for a response; the maintainer may be extremely busy! <3
Getting started:
Troubleshooting & More:
How lsfg-vk works: