Forums - OpenCL application debug layer app not installed

2 posts / 0 new
Last post
OpenCL application debug layer app not installed
Join Date: 6 Mar 21
Posts: 1
Posted: Tue, 2021-05-04 08:56

Hi there.

I am trying to do a trace capture of an OpenCL application on a OnePlus Nord AC2003, and whenever I try and launch the app with "Enable GPU debug layers" developer option enabled, I get the following message:


2021-05-04 16:43:48.714 6273-6273/? I/ Late-enabling -Xcheck:jni 2021-05-04 16:43:48.736 6273-6273/? I/ Unquickening 20 vdex files! 2021-05-04 16:43:48.736 6273-6273/? E/ Unknown bits set in runtime_flags: 0x800000 2021-05-04 16:43:48.791 6273-6273/com.nkastanos.mnn I/GraphicsEnvironment: GPU debug layers enabled for com.nkastanos.mnn 2021-05-04 16:43:48.792 6273-6273/com.nkastanos.mnn I/GraphicsEnvironment: GPU debug layer apps: com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a 2021-05-04 16:43:48.792 6273-6273/com.nkastanos.mnn W/GraphicsEnvironment: Debug layer app 'com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a' not installed 2021-05-04 16:43:48.792 6273-6273/com.nkastanos.mnn D/AndroidRuntime: Shutting down VM 2021-05-04 16:43:48.793 6273-6273/com.nkastanos.mnn E/AndroidRuntime: FATAL EXCEPTION: main     Process: com.nkastanos.mnn, PID: 6273     java.lang.NullPointerException: Attempt to read from field 'java.lang.String' on a null object reference         at android.os.GraphicsEnvironment.chooseAbi(         at android.os.GraphicsEnvironment.getDebugLayerAppPaths(         at android.os.GraphicsEnvironment.getDebugLayerPathsFromSettings(         at         at         at         at         at         at         at$1700(         at$H.handleMessage(         at android.os.Handler.dispatchMessage(         at android.os.Looper.loop(         at         at java.lang.reflect.Method.invoke(Native Method)         at$         at 2021-05-04 16:43:48.927 6273-6273/com.nkastanos.mnn I/Process: Sending signal. PID: 6273 SIG: 9
The debug layer app is clearly installed as it is listed under the list of all applications. Could I please get some guidence on how to solve this issue? Should you need any more information or logs please let me know with instructions on how to access them. 
Kind regards,
  • Up0
  • Down0
Join Date: 11 Oct 18
Posts: 1
Posted: Fri, 2021-06-11 00:39

I am getting the same problem profiling Vulkan apps. Same issue on several devices with snapdragon chipset. Tried it on Moto G9 ( Android v10), Pixel 4a among others (Android v11). Is there any way to solve this issue? Is there any app prerequisites I am missing?

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