11 Replies Latest reply on Apr 24, 2016 11:07 AM by ashalah

    vkQueuePresentKHR() randomly returning VK_ERROR_INITIALIZATION_FAILED

    ashalah

      I have a very simple Vulkan app that just clears the screen, it basically follows the samples, but on the current driver (Version 16.15.1009 Beta 5), and not on the previous version, when I run my app, vkQueuePresentKHR() randomly (10% of the time) returns VK_ERROR_INITIALIZATION_FAILED on the 2nd rendered frame. The value of VkPresentInfoKHR::pResults is unchanged by the call. (it should be written to)

       

      I'm using semaphores to synchronize between vkAcquireNextImageKHR and my command buffer, and another semaphore between my command buffer and vkQueuePresentKHR. My code is attached. I've consulted the spec, and multiple samples, and have run out of ideas to try, so I'm reporting here in case this is a driver problem.

       

      /edit: The validation layers report nothing.

       

      OS: Win7 64bit

      Visual Studio 2015

      Building 64bit binary