From fe2b63a1021fd59f736de05f464633e59c0e81ff Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan <y.bera003.06@protonmail.com> Date: Tue, 3 Aug 2021 00:45:01 +0300 Subject: [PATCH] docs(nix): add notice for vulkan driver error potentially relating to nixpkgs mismatches --- nix/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nix/README.md b/nix/README.md index 5bc94b991c..5ee218f80b 100644 --- a/nix/README.md +++ b/nix/README.md @@ -22,6 +22,11 @@ git lfs install --local && git lfs fetch && git lfs checkout ``` This should be automatically done if you use the development shell. +If you get an issue such as `WARN gfx_backend_vulkan: Unable to create Vulkan instance: VkError(ERROR_INCOMPATIBLE_DRIVER)`, +it might be that your system nixpkgs version and veloren repo nixpkgs version might be too far apart. In that case, you can try +changing your system nixpkgs to the unstable channel, or change the `nixpkgs` input in the `flake.nix` to match your system +nixpkgs. + ## Usage for players ### With flakes