-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vulkan SDK installation in Windows seems to be still required #9244
Comments
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. |
@DanielAtCosmicDNA are you still having a problem here? I feel the issue is not related to the Validation Layers, but rather a system path issue |
The problem is still there... and after running the command: winget remove VulkanSDK |
I suppose one the points for having a https://vcpkg.io/en/package/vulkan-validationlayers vcpkg package is to avoid the need to install Vulkan SDK to the host computer when actually Vulkan SDK can be installed in manifest mode to a local folder. So in my understanding, no path problem should occur when Vulkan Validation layers were supposedly linking to assets in the local manifest mode vcpkg folder instead of looking for them within standard would be Vulkan SDK folders. |
Yeah, that doesn't have any of the VK_LOADER_DEBUG=all output. Is this a file created by the samples? On windows, stderr output (which the loader writes too) does NOT go to the parent console. The only way to get Vulkan-Loader logging is through the debug utils callback. (this is because the Vulkan Samples & VkCube are windows programs, not console ones) The solution? Just run |
Here is the vulkaninfo output: vulkaninfo.log |
I apologize but I meant to run vulkaninfo --summary with the VK_LOADER_DEBUG env-var set to all, so VK_LOADER_DEBUG=all. |
No worries, here it is: vulkaninfo-summary.log |
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: