Skip to content

Instantly share code, notes, and snippets.

@nanmi
Last active June 15, 2021 03:30
Show Gist options
  • Save nanmi/27d3fc1044259237d4b9fb3dd4471fad to your computer and use it in GitHub Desktop.
Save nanmi/27d3fc1044259237d4b9fb3dd4471fad to your computer and use it in GitHub Desktop.
Install VulkanSDK

安装Vulkan SDK

Download VulkanSDK

web: https://vulkan.lunarg.com/sdk/home#linux

move vulkan to spefic path

mv 1.1.130.0 vulkan-1.1.130.0
mv vulkan-1.1.130.0  /usr/local/

add env

export VULKAN_SDK=/usr/local/vulkan-1.1.130.0/x86_64
export PATH=$VULKAN_SDK/bin:$PATH
export LD_LIBRARY_PATH=$VULKAN_SDK/lib:$LD_LIBRARY_PATH
export LIBRARY_PATH=$VULKAN_SDK/lib:$LIBRARY_PATH
export VK_LAYER_PATH=$VULKAN_SDK/etc/vulkan/explicit_layer.d

validation

$ vulkaninfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment