Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Vulkan Swapchain creation fails on my GPU  (Read 526 times)

0 Members and 1 Guest are viewing this topic.

n0F4x

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Vulkan Swapchain creation fails on my GPU
« on: July 30, 2023, 04:40:15 pm »
Swapchain creation fails on my device (NVIDIA GTX 1060) with the surface created by the SFML window.
I tested it on my other PC (with an integrated GPU) and I also swapped the whole sf::WindowBase I was using with a GLFW implementation - both worked fine.

I got a VK_ERROR_VALIDATION_FAILED_EXT result combined with the following validation layer message: "vkCreateSwapchainKHR: internal drawable creation failed".

The source code is attached in a zip file.

n0F4x

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: Vulkan Swapchain creation fails on my GPU
« Reply #1 on: July 30, 2023, 05:55:16 pm »
I found the problem. I was creating my WindowBase with "new Window(...)" instead of "new WindowBase(...)".

 

anything