You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description Semaphore must not have any pending operations is triggered by the vulkan validations when acquiring the next surface texture.
I have not been able to find a minimal reproduction of this issue, and this issue started appearing when the rendering got more complex; most specifically taking more time per frame.
If I further increase the time taken in the shader (skybox convolution shader), the device becomes lost.
Removing the time intensive skybox convolving code removes the validation error, so it is likely time-dependent.
Expected vs observed behavior
Validation errors should not error on invalid semaphore usage
Extra materials
INFO get next surface texture
INFO present
INFO get next surface texture
INFO present
INFO get next surface texture
INFO present
INFO get next surface texture
INFO present
INFO get next surface texture
ERROR VALIDATION [VUID-vkAcquireNextImageKHR-semaphore-01779 (0x5717e75b)]
Validation Error: [ VUID-vkAcquireNextImageKHR-semaphore-01779 ] Object 0: handle = 0xd000000000d, type = VK_OBJECT_TYPE_SEMAPHORE;| MessageID = 0x5717e75b | vkAcquireNex
tImageKHR(): Semaphore must not have any pending operations. The Vulkan spec states: If semaphore is not VK_NULL_HANDLE it must not have any uncompleted signal or wait operations
pending (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkAcquireNextImageKHR-semaphore-01779)
ERROR objects: (type: SEMAPHORE, hndl: 0xd000000000d, name: ?)
INFO present
INFO get next surface texture
ERROR VALIDATION [VUID-vkAcquireNextImageKHR-semaphore-01779 (0x5717e75b)]
Validation Error: [ VUID-vkAcquireNextImageKHR-semaphore-01779 ] Object 0: handle = 0xe000000000e, type = VK_OBJECT_TYPE_SEMAPHORE;| MessageID = 0x5717e75b | vkAcquireNex
tImageKHR(): Semaphore must not have any pending operations. The Vulkan spec states: If semaphore is not VK_NULL_HANDLE it must not have any uncompleted signal or wait operations
pending (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkAcquireNextImageKHR-semaphore-01779)
ERROR objects: (type: SEMAPHORE, hndl: 0xe000000000e, name: ?)
INFO present
INFO get next surface texture
ERROR VALIDATION [VUID-vkAcquireNextImageKHR-semaphore-01779 (0x5717e75b)]
Validation Error: [ VUID-vkAcquireNextImageKHR-semaphore-01779 ] Object 0: handle = 0xf000000000f, type = VK_OBJECT_TYPE_SEMAPHORE;| MessageID = 0x5717e75b | vkAcquireNex
tImageKHR(): Semaphore must not have any pending operations. The Vulkan spec states: If semaphore is not VK_NULL_HANDLE it must not have any uncompleted signal or wait operations
pending (https://www.khronos.org/registry/vulkan/specs/1.3-extensions/html/vkspec.html#VUID-vkAcquireNextImageKHR-semaphore-01779)
ERROR objects: (type: SEMAPHORE, hndl: 0xf000000000f, name: ?)
Platforms
Linux; nvidia 550 (validation error; device lost if increase complexity even more)
HP Probook, Intel integrated graphics (device lost)
The text was updated successfully, but these errors were encountered:
I have tried submitting the heavy work on the same queue prior to getting the first image, and within a get_current_texture/present pair, and the same result is observed.
The issue is fixed and no validations errors are observed if I comment out the draw command for the compute heavy/time heavy convolution code on both my 2 devices I tried.
Is it incorrect to create textures while recording an encoder, or is that ok behavior?
Description
Semaphore must not have any pending operations
is triggered by the vulkan validations when acquiring the next surface texture.I have not been able to find a minimal reproduction of this issue, and this issue started appearing when the rendering got more complex; most specifically taking more time per frame.
If I further increase the time taken in the shader (skybox convolution shader), the device becomes lost.
The following commit experiences the error: ten3roberts/ivy@5ae30c1
Removing the time intensive skybox convolving code removes the validation error, so it is likely time-dependent.
Expected vs observed behavior
Validation errors should not error on invalid semaphore usage
Extra materials
Platforms
The text was updated successfully, but these errors were encountered: