create_info.enabled_extensions: contains `ext_validation_features`, but this extension is not supported by the library
MarkusTieger opened this issue · 5 comments
MarkusTieger commented
Template
- Version of vulkano: 0.34.1
- OS: Gentoo Linux (Wayland, Hyprland)
- GPU (the selected PhysicalDevice): TODO
- GPU Driver: Propreitary Nvidia
- Upload of a reasonably minimal complete
main.rs
file that demonstrates the issue: https://gist.github.com/MarkusTieger/1814cc43c820b956a31450c83864e9b7 (you may have to change a few lines if you are not using linux with wayland)
Issue
I am relatively new to vulkan, but I am trying to use the "ext_validation_features" extension in my application (for debugging). But after instance creation it panics with this message:
thread 'main' panicked at src/main.rs:23:10:
called `Result::unwrap()` on an `Err` value: a validation error occurred
Caused by:
create_info.enabled_extensions: contains `ext_validation_features`, but this extension is not supported by the library
Vulkan VUIDs:
VUID-vkCreateInstance-ppEnabledExtensionNames-01388
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
marc0246 commented
Did you install the Vulkan SDK? If you did it should work, and you also shouldn't need to do this because you can use vkconfig.
MarkusTieger commented
I have just the default vulkan packages from gentoo installed:
- dev-util/vulkan-headers
- dev-util/vulkan-tools (should contain the sdk I think, but unsure)
- media-libs/vulkan-layers
- media-libs/vulkan-loader
MarkusTieger commented
So "vulkaninfo" doesn't have the extension listed. So it is definitly a problem on my side.
nvm. It should be supported "VK_EXT_validation_features : extension revision 2"
marc0246 commented
Oh - you didn't enable the validation layer.
MarkusTieger commented
Ah thx, that fixed it.