Forums - Vulkan: vkQueueSubmit has returned VK_ERROR_DEVICE_LOST for compute operations

6 posts / 0 new
Last post
Vulkan: vkQueueSubmit has returned VK_ERROR_DEVICE_LOST for compute operations
AndreyVK_D3D
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Thu, 2020-07-16 00:38
Hi! 
 
Android 9, Vulkan 1.1, Adreno 506
 
 
After second callingI vkQueueSubmit  I have error VK_ERROR_DEVICE_LOST, i have no erorrs from Vulkan Validation layers. Also  it works on Mali/PowerVR GPU
 
adb log info from Qualcomm:
 
2020-07-16 10:08:47.509 5383-5488/androidvulkan.androidvulkan.d I/Adreno: QUALCOMM build          : dd44a11, I3cb150eb74
    Build Date              : 02/28/19
    Shader Compiler Version : EV031.25.03.02
    Local Branch            : 
    Remote Branch           : 
    Remote Branch           : 
    Reconstruct Branch      : 
2020-07-16 10:08:47.509 5383-5488/androidvulkan.androidvulkan.d I/Adreno: Build Config                     : S L 6.0.7 AArch32
 
 
 
  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Tue, 2020-09-01 13:57

Hi Andrey, thanks for reporting this issue. I have downloaded your apk, I will try to repro and get back to you asap.

  • Up0
  • Down0
AndreyVK_D3D
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Mon, 2020-09-07 01:05

Hi Carlos Dominguez, do you have any update ?

Thanks.

  • Up0
  • Down0
Carlos Dominguez Moderator
Join Date: 27 Jul 15
Location: San Diego
Posts: 110
Posted: Tue, 2020-09-08 09:12

Hi Andrey,

I was able to reproduce your issue on our devices. I don't think I make it to the vkQueueSubmit but for me it seems to crash on CreateDevice. With the info I have I can't still pinpoint why you are getting a device lost. It does look like the apk uses several debug/validation layers including non Qualcomm ones, have you tried running it without these or validation layers at all just to see if it is a combination of permutations of layers that is creating the problem? 

Thanks,

Carlos

  • Up0
  • Down0
AndreyVK_D3D
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Tue, 2020-09-08 12:15
Hi Carlos, Thank you for your responce and help!
 
I don't think I make it to the vkQueueSubmit but for me
I attached release version without validation layers:https://www.dropbox.com/s/so7uga0mtmygpqx/VulkanTest-release.apk?dl=0
I have error messages for for release version:
...
2020-09-08 21:23:03.966 10315-10334/? D/3DMove:  Error: Vulkan Error: vkQueueSubmit has returned error VK_ERROR_DEVICE_LOST 
2020-09-08 21:23:03.967 10315-10334/? D/3DMove:  Error: Vulkan Error: vkWaitForFences has returned error VK_TIMEOUT 
...
as we se, we have VK_ERROR_DEVICE_LOST for vkQueueSubmit 
 
it seems to crash on CreateDevice
I have crash for assert after vkQueueSubmit:
 
VkResult err = vkQueueSubmit(vkQueue, num, vkInSubmitInfo, vkFence);
//assert(VK_SUCCESS == err && "vkQueueSubmit failed");
 
I attached updated debug vesion without assert after vkQueueSubmit https://www.dropbox.com/s/y2hfo96pzla4cfg/VulkanTest-debug.apk?dl=0 may be it can help to find problem.
 
Also you can test release version without compute operation(Particle System, Objects/light source culling without compute)
 
Thank
 
Andrey
  • Up0
  • Down0
AndreyVK_D3D
Profile picture
Join Date: 10 Jun 13
Location: Moscow
Posts: 36
Posted: Mon, 2020-09-14 00:51

Hi Carlos Dominguez, do you have any update ?

Thanks.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.