jakoch / install-vulkan-sdk-action

A Github Action to install the current Vulkan SDK and runtime library.
MIT License
4 stars 3 forks source link

run vulkaninfo.exe after installation and show summary #310

Open jakoch opened 1 year ago

jakoch commented 1 year ago

e.g. on windows powershell.exe C:/VulkanSDK/<version>/runtime/x64/vulkaninfo.exe --summary

jakoch commented 4 months ago

ref. https://github.com/jakoch/install-vulkan-sdk-action/commit/57b0e3f8be

Cannot create Vulkan instance.
  This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
  ERROR at /vulkan-sdk/1.3.261.1/source/Vulkan-Tools/vulkaninfo/vulkaninfo.h:676:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
  Error: Error: Command failed: /home/runner/vulkan-sdk/1.3.261.1/x86_64/bin/vulkaninfo --summary
  Cannot create Vulkan instance.
  This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan.
  ERROR at /vulkan-sdk/1.3.261.1/source/Vulkan-Tools/vulkaninfo/vulkaninfo.h:676:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER

This works only if the driver is configured to lavapipe or swiftshader (software rasterizer). Disabled with https://github.com/jakoch/install-vulkan-sdk-action/commit/ae328fa