http://bugs.winehq.org/show_bug.cgi?id=59085
Bug ID: 59085 Summary: UE4 based games have VK_ERROR_DEVICE_LOST error on launch in DX11 mode Product: vkd3d Version: 1.18 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: vkd3d Assignee: wine-bugs@list.winehq.org Reporter: andrey.goosev@gmail.com Distribution: ---
Using proprietary NVIDIA driver and XWayland.
01cc:err:d3d:wined3d_context_vk_submit_command_buffer Failed to submit command buffer 00007FFFFEDF95B0, vr VK_ERROR_DEVICE_LOST. Validation Error: [ VUID-VkPresentInfoKHR-pImageIndices-01430 ] | MessageID = 0x48ad24c6 vkQueuePresentKHR(): pPresentInfo->pSwapchains[0] images passed to present must be in layout VK_IMAGE_LAYOUT_PRESENT_SRC_KHR or VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR but is in VK_IMAGE_LAYOUT_UNDEFINED. The Vulkan spec states: Each element of pImageIndices must be the index of a presentable image acquired from the swapchain specified by the corresponding element of the pSwapchains array, and the presented image subresource must be in the VK_IMAGE_LAYOUT_PRESENT_SRC_KHR or VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR layout at the time the operation is executed on a VkDevice (https://docs.vulkan.org/spec/latest/chapters/VK_KHR_surface/wsi.html#VUID-Vk...) Objects: 1 [0] VkQueue 0x7d7d303c4ea0
Validation Error: [ VUID-vkBeginCommandBuffer-commandBuffer-00049 ] | MessageID = 0x84029a9f vkBeginCommandBuffer(): on active VkCommandBuffer 0x7fe68804c800 before it has completed. You must check command buffer fence before this call. The Vulkan spec states: commandBuffer must not be in the recording or pending state (https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#VUID-vkBeginCom...) Objects: 1 [0] VkCommandBuffer 0x7fe68804c800
Validation Error: [ VUID-vkResetFences-pFences-01123 ] | MessageID = 0x68a5074e vkResetFences(): pFences[0] (VkFence 0x1010000000101) is in use. The Vulkan spec states: Each element of pFences must not be currently associated with any queue command that has not yet completed execution on that queue (https://docs.vulkan.org/spec/latest/chapters/synchronization.html#VUID-vkRes...) Objects: 1 [0] VkFence 0x1010000000101
Validation Error: [ VUID-vkQueueSubmit-pCommandBuffers-00071 ] | MessageID = 0x2e2f4d65 vkQueueSubmit(): pSubmits[0].pCommandBuffers[0] VkCommandBuffer 0x7fe68804c800 is already in use and is not marked for simultaneous use. The Vulkan spec states: If any element of the pCommandBuffers member of any element of pSubmits was not recorded with the VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state (https://docs.vulkan.org/spec/latest/chapters/cmdbuffers.html#VUID-vkQueueSub...)
01cc:err:d3d:wined3d_context_vk_submit_command_buffer Failed to submit command buffer 00007FFFFEDF95B0, vr VK_ERROR_DEVICE_LOST.
vkd3d-1.18-71-g90196f7d