You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GPU and driver version: Quadro M1000M driver Nvidia 566.03
SDK or header version if building from repo: I am using vulkan vcpkg package together with a fork from Vulkan-Samples repository
Options enabled (synchronization, best practices, etc.):
I have in debug mode _VKB_VALIDATION_LAYERS_ and _VKB_VALIDATION_LAYERS_BEST_PRACTICES_ set to true.
I have added VK_LAYER_ADD_PATH to the path where VkLayer_khronos_validation.json is in the CMAKE_BINARY_DIR/vcpkg_installed/x64-windows/bin.
Describe the Issue
The problem I am facing is that the hpp_push_descriptors sample code is not able to find the validation layers when I uninstall Vulkan SDK and rely solely on the vulkan validation layers and vulkan packages from vcpkg. When I reinstall Vulkan SDK, it then is able to find validation layers again...
Expected behavior
I would expect the validation layers to detect them regardless if vulkan SDK is installed in the host machine and utilise vulkan from vulkan vcpkg.
Reproduction
To reproduce the problem, make sure you have uninstalled Vulkan SDK in Windows and then:
VK_LAYER_ADD_PATH isn't sufficient if the build of Vulkan-ValidationLayers from vcpkg is creating a manifest with a "default search path" library path, eg "foo.dll" instead of "./foo.dll" in the "library_path" field.
If you add the path of the .dll file to PATH, then it should work.
If you run the samples with the environment variable VK_LOADER_DEBUG=all then logging about the missing dll should be printed. And if what I said above isn't the issue, this log will likely reveal what the actual issue is.
Environment:
I have in debug mode
_VKB_VALIDATION_LAYERS_
and_VKB_VALIDATION_LAYERS_BEST_PRACTICES_
set to true.I have added VK_LAYER_ADD_PATH to the path where VkLayer_khronos_validation.json is in the
CMAKE_BINARY_DIR/vcpkg_installed/x64-windows/bin
.Describe the Issue
The problem I am facing is that the hpp_push_descriptors sample code is not able to find the validation layers when I uninstall Vulkan SDK and rely solely on the vulkan validation layers and vulkan packages from vcpkg. When I reinstall Vulkan SDK, it then is able to find validation layers again...
Expected behavior
I would expect the validation layers to detect them regardless if vulkan SDK is installed in the host machine and utilise vulkan from vulkan vcpkg.
Reproduction
To reproduce the problem, make sure you have uninstalled Vulkan SDK in Windows and then:
vcpkg install
cmake --preset windows-release
cmake --build --preset windows-release
vulkan_samples
command only - the other args will not affect as it will always select the hpp_push_descriptors sample.Repeat the process and compare with Vulkan SDK installed.
The text was updated successfully, but these errors were encountered: