Forums - Snapdragon Profiler never retrieves Snapshot

4 posts / 0 new
Last post
Snapdragon Profiler never retrieves Snapshot
jpasek
Join Date: 7 Apr 16
Posts: 1
Posted: Sat, 2020-03-28 09:36

Hi, I could use some help troubleshooting here. I am attempting to run Snapdragon Profiler on an Oculus Quest but am unable to retrieve a snapshot. It simply hangs on Retrieving Snapshot forever.

 

Any ideas on where to start troubleshooting this?

 

Thanks in advance.

  • Up0
  • Down0
peterthor79
Join Date: 19 Jun 19
Posts: 9
Posted: Sun, 2020-03-29 14:59

I've had the same question, this is how I was able to fixed it on my side. I hope it works for you too.

Basically, you need to allow access for the app you are building to read/write to the external storage.

https://developer.qualcomm.com/forum/qdn-forums/software/snapdragon-profiler/67547

 

  • Up0
  • Down0
gordon.wood
Join Date: 4 Apr 20
Posts: 2
Posted: Fri, 2020-05-08 06:58

I am having the same issue trying to take a snapshot with a Pixel 4. It is hanging on "retrieving snapshot". As far as I know, I have the permissions stated in the linked question.

Doing a dumpsys shows:

bash-3.2$ adb shell dumpsys package com.test.AndroidTest | grep permission
    requested permissions:
      android.permission.INTERNET
      android.permission.WRITE_EXTERNAL_STORAGE: restricted=true
      android.permission.READ_EXTERNAL_STORAGE: restricted=true
    install permissions:
      android.permission.INTERNET: granted=true
      runtime permissions:
        android.permission.READ_EXTERNAL_STORAGE: granted=true, flags=[ RESTRICTION_INSTALLER_EXEMPT]
        android.permission.WRITE_EXTERNAL_STORAGE: granted=true, flags=[ RESTRICTION_INSTALLER_EXEMPT]
 
But it never retrieves the capture. At the moment of attempting the capture, logcat (grep with "SDP" shows:
 
05-08 10:51:07.768 23357 23357 I SDP     : SDPCore: QGL_DP: Start snapshot capture
05-08 10:51:07.798 23350 23350 I SDP     : SDPCore: GLES_DP: Sending QSTREAM Token 0x4020040
05-08 10:51:07.798 23350 23350 I SDP     : SDPCore: GLES_DP: Sending QSTREAM Token 0x4020003
05-08 10:51:07.798 23350 23350 I SDP     : SDPCore: GLES_DP: Sending QSTREAM Token 0x902000B
05-08 10:51:07.798 23350 23350 I SDP     : SDPCore: GLES_DP: Sending QSTREAM Token 0x1020006
05-08 10:51:07.798 23350 23350 I SDP     : SDPCore: GLES_DP: Sending QSTREAM Token 0x102000E
05-08 10:51:07.798 23350 23350 I SDP     : SDPCore: Metric 'OpenGL Snapshot' deactivated for PID 24951
05-08 10:51:08.166 23350 25038 I SDP     : SDPCore: GLES_DP: Sending QSTREAM Token 0x102000F
 
If (big if) I'm interpreting that right, it means it completed the capture (deactived) but the UI never manages to retrieve it.
 
Anyone have any advice or troubleshooting steps I can do to fix this?
 
EDIT: I should have noted that I have tried enabling all options for frame delimiters but it still results in hanging retrieving the snapshot...
 
Thanks 

 

  • Up0
  • Down0
gordon.wood
Join Date: 4 Apr 20
Posts: 2
Posted: Fri, 2020-05-15 07:27

As an update to this, I was able to capture fine with a Galaxy S10, so the hanging-while-retrieving-snapshot appears to be specific to (at least) the Pixel 4. Is there anything I can do to help diagnose the issue for someone on the Qualcomm team to help resolve? In the meantime, I can use the S10, but for any device-specific rendering bugs, it will be massively useful to be able to run it on all Snapdragon based devices I have available to me.

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.