Forums - Debugging GPU hang on Oculus Quest

2 posts / 0 new
Last post
Debugging GPU hang on Oculus Quest
william1
Join Date: 15 Aug 21
Posts: 1
Posted: Tue, 2023-05-02 20:10
Hi,
 
We've been seeing a sporadic freeze in our Vulkan-based app (Quest 2, Quest Pro). The freeze appears as the view becoming mostly unresponsive to user input, and the image only changing every few seconds, with black areas towards the side of the screen when moving the view.
 
From the ADB logs, it looks like this may be due to a GPU hang. Here's an extract of what we're seeing from the logs:
MISC: GPU hang detected
gpu fault ctx 31 ctx_type VK ts 61149 status 00C01005 rb 1bb5/1bb5 ib1 00000040137B1000/0067 ib2 0000004013980000/0000
gpu fault rb 2 rb sw r/w 1bb5/1c62
GMU snapshot started at 0x16ad33d86 ticks
set FENCE to ALLOW mode:0
kgsl-3d0: GPU snapshot froze 144Kb of GPU buffers
GPU snapshot created at pa 0x0000000351000000++0x14529c
platform 3d6a000.qcom,gmu: Suspended GMU
 
We've tried to check if the crash is caused by a particular state in our app, but there's nothing obvious. For example, we've tracked the number of polygons we render and it is about the same when the freeze occurs compared to when the app is working.
 
Does anyone know if any of the numbers / information in those logs are something we can interpret to help debug this?
 
Thanks!

 

  • Up0
  • Down0
pedro.boechat
Join Date: 2 Mar 23
Posts: 2
Posted: Thu, 2023-05-25 02:38

Could you send a full logcat of when this is happening? I wonder if there are driver/vulkan impl issues popping up there. Also, have you tried enabling the Vulkan validation layer to see if it is able to spot something weird?

  • 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.