Forums - OpenCL application debug layer app not installed

2 posts / 0 new
Last post
OpenCL application debug layer app not installed
nk569
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:

 

Quote:
2021-05-04 16:43:48.714 6273-6273/? I/m.nkastanos.mn: Late-enabling -Xcheck:jni 2021-05-04 16:43:48.736 6273-6273/? I/m.nkastanos.mn: Unquickening 20 vdex files! 2021-05-04 16:43:48.736 6273-6273/? E/m.nkastanos.mn: 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 android.content.pm.ApplicationInfo.primaryCpuAbi' on a null object reference         at android.os.GraphicsEnvironment.chooseAbi(GraphicsEnvironment.java:888)         at android.os.GraphicsEnvironment.getDebugLayerAppPaths(GraphicsEnvironment.java:253)         at android.os.GraphicsEnvironment.getDebugLayerPathsFromSettings(GraphicsEnvironment.java:227)         at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:841)         at android.app.LoadedApk.getClassLoader(LoadedApk.java:958)         at android.app.LoadedApk.getResources(LoadedApk.java:1190)         at android.app.ContextImpl.createAppContext(ContextImpl.java:2683)         at android.app.ContextImpl.createAppContext(ContextImpl.java:2675)         at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6847)         at android.app.ActivityThread.access$1700(ActivityThread.java:270)         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2089)         at android.os.Handler.dispatchMessage(Handler.java:106)         at android.os.Looper.loop(Looper.java:245)         at android.app.ActivityThread.main(ActivityThread.java:8004)         at java.lang.reflect.Method.invoke(Native Method)         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:631)         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:978) 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,
Nicholas
  • Up1
  • Down0
jim
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.