Skip to content

Instantly share code, notes, and snippets.

@lewa-j
Created June 14, 2025 16:33
Show Gist options
  • Select an option

  • Save lewa-j/77e85c7697b36ce52d7af4c15b811977 to your computer and use it in GitHub Desktop.

Select an option

Save lewa-j/77e85c7697b36ce52d7af4c15b811977 to your computer and use it in GitHub Desktop.
Linux update Vulkan-Tools, Header & Loader from sources without X11 support
git clone https://github.com/KhronosGroup/Vulkan-Tools.git
cd Vulkan-Tools/
cmake -S . -B build -D BUILD_WSI_XCB_SUPPORT=OFF -D BUILD_WSI_XLIB_SUPPORT=OFF -D BUILD_ICD=OFF -D UPDATE_DEPS=ON -D CMAKE_BUILD_TYPE=Debug -D TOOLS_CODEGEN=ON
cmake --build build --target tools_codegen
cmake --build build --config Debug
sudo cmake --install external/Debug/64/Vulkan-Headers/build --prefix /usr
sudo cmake --install external/Debug/64/Vulkan-Loader/build --prefix /usr/local
sudo cmake --install build --prefix /usr/local
sudo ldconfig
vulkaninfo --summary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment