Skip to content

Issue in execution of samples #1373

@BenLag2906

Description

@BenLag2906

Hi All,

After compiling VulKan, I launch the following command line :
./vulkan_samples sample swapchain_images

I obtain the following prompt :

" Logger initialized
[info] Initializing Vulkan sample
[info] Vulkan debug utils enabled (VK_EXT_debug_utils)
[info] Extension VK_KHR_surface available, enabling it
[info] Extension VK_KHR_get_physical_device_properties2 available, enabling it
[info] Extension VK_EXT_debug_utils available, enabling it
[info] Extension VK_KHR_wayland_surface available, enabling it
[info] Found GPU: Intel(R) Graphics (ADL GT2)
[info] Found GPU: NVIDIA GeForce RTX 3060 Laptop GPU
[info] Found GPU: llvmpipe (LLVM 15.0.7, 256 bits)
[info] Selected GPU: NVIDIA GeForce RTX 3060 Laptop GPU
[info] Dedicated Allocation enabled
[info] Device supports the following requested extensions:
[info] VK_KHR_get_memory_requirements2
[info] VK_KHR_dedicated_allocation
[info] VK_KHR_swapchain
[info] Surface supports the following surface formats:
[info] B8G8R8A8Unorm, SrgbNonlinear
[info] Surface supports the following present modes:
[info] Mailbox
[info] Fifo
[warning] (HPPSwapchain) Surface format (Undefined, SrgbNonlinear) not supported. Selecting (B8G8R8A8Unorm, SrgbNonlinear).
[info] (HPPSwapchain) Image usage flags: TransferSrc ColorAttachment
[info] (HPPSwapchain) Present mode selected: Mailbox
[error] Error Message: vk::Device::createSwapchainKHR: ErrorInitializationFailed
[error] Failed when running application Swapchain Images

Could you please provide a piece of advise ? to execute samples( for all samples this kind of error is thrown)

Best regards.

Ben

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions