Skip to content
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

Layer VK_LAYER_LUNARG_standard_validation not supported #7

Open
stolk opened this issue May 14, 2022 · 3 comments
Open

Layer VK_LAYER_LUNARG_standard_validation not supported #7

stolk opened this issue May 14, 2022 · 3 comments

Comments

@stolk
Copy link

stolk commented May 14, 2022

I can build the binary, but it fails to run for me:

$ ./vulkan_minimal_compute 
Layer VK_LAYER_LUNARG_standard_validation not supported

I have validation layers Ubuntu package installed:

bram@deca:~/src/vulkan_minimal_compute/build$ ./vulkan_minimal_compute 
Layer VK_LAYER_LUNARG_standard_validation not supported

bram@deca:~/src/vulkan_minimal_compute/build$ dpkg --list | grep vulkan
ii  libvulkan-dev:amd64                        1.3.204.1-2                             amd64        Vulkan loader library -- development files
ii  libvulkan1:amd64                           1.3.204.1-2                             amd64        Vulkan loader library
ii  mesa-vulkan-drivers:amd64                  22.0.1-1ubuntu2                         amd64        Mesa Vulkan graphics drivers
ii  vulkan-tools                               1.3.204.0+dfsg1-1                       amd64        Miscellaneous Vulkan utilities
ii  vulkan-validationlayers:amd64              1.3.204.1-2                             amd64        Vulkan validation layers
ii  vulkan-validationlayers-dev:amd64          1.3.204.1-2                             amd64        Vulkan validation layers -- development files

Is this issue caused by the fact that I use Integrated Graphics (Alderlake?)

I notice that the vulkaninfo tool does show an alternate validation layer called VK_LAYER_KHRONOS_validation instead of VK_LAYER_LUNARG_standard_validation.

Layers: count = 3
=================
VK_LAYER_KHRONOS_validation (Khronos Validation Layer) Vulkan version 1.3.204, layer version 1:
        Layer Extensions: count = 3
                VK_EXT_debug_report        : extension revision 9
                VK_EXT_debug_utils         : extension revision 1
                VK_EXT_validation_features : extension revision 2
        Devices: count = 2
                GPU id = 0 (llvmpipe (LLVM 13.0.1, 256 bits))
                Layer-Device Extensions: count = 3
                        VK_EXT_debug_marker     : extension revision 4
                        VK_EXT_tooling_info     : extension revision 1
                        VK_EXT_validation_cache : extension revision 1

                GPU id = 1 (Intel(R) Graphics (ADL-S GT1))
                Layer-Device Extensions: count = 3
                        VK_EXT_debug_marker     : extension revision 4
                        VK_EXT_tooling_info     : extension revision 1
                        VK_EXT_validation_cache : extension revision 1

VK_LAYER_MESA_device_select (Linux device selection layer) Vulkan version 1.2.73, layer version 1:
        Layer Extensions: count = 0
        Devices: count = 2
                GPU id = 0 (llvmpipe (LLVM 13.0.1, 256 bits))
                Layer-Device Extensions: count = 0

                GPU id = 1 (Intel(R) Graphics (ADL-S GT1))
                Layer-Device Extensions: count = 0

VK_LAYER_MESA_overlay (Mesa Overlay layer) Vulkan version 1.2.199, layer version 1:
        Layer Extensions: count = 0
        Devices: count = 2
                GPU id = 0 (llvmpipe (LLVM 13.0.1, 256 bits))
                Layer-Device Extensions: count = 0

                GPU id = 1 (Intel(R) Graphics (ADL-S GT1))
                Layer-Device Extensions: count = 0

NOTE: vkcube runs fine on this machine.

OS: Ubuntu 22.04

GPU: AlderLake-S GT1

Kernel: 5.18.0-rc6

@satanson
Copy link

@stolk I also encounter this issue
OS: Manjaro Linux
GPU: Quadro T1000
Kernel: 5.10.114-1-MANJARO

@YangShen398
Copy link

I also have this issue in Windows.

@warren-lei
Copy link

warren-lei commented Jul 10, 2024

set const bool enableValidationLayers = false in src/main.cpp
Do not to enable validation layers because your system maybe only installed vulkan loader without installing vulkan validation layers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants