vulkano-rs/vulkano

create_info.enabled_extensions: contains `ext_validation_features`, but this extension is not supported by the library

MarkusTieger opened this issue · 5 comments

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

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.

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

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"

Oh - you didn't enable the validation layer.

Ah thx, that fixed it.