Forums - Bug report: Oculus Quest 2 application crashes on startup when snapdragon profile layer is enabled

5 posts / 0 new
Last post
Bug report: Oculus Quest 2 application crashes on startup when snapdragon profile layer is enabled
andersrein87
Join Date: 23 May 21
Posts: 4
Posted: Sat, 2022-03-05 07:32

Title says it all. I don't know if this is at all helpful, but here is the stack trace from adb:

03-05 16:09:39.863  9932  9962 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 9962 (Thread-1), pid 9932 (nsoft.yarvetest)
03-05 16:09:39.889  9995  9995 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-05 16:09:39.889  9995  9995 F DEBUG   : Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/22310100587300000:user/release-keys'
03-05 16:09:39.889  9995  9995 F DEBUG   : Revision: '0'
03-05 16:09:39.889  9995  9995 F DEBUG   : ABI: 'arm64'
03-05 16:09:39.889  9995  9995 F DEBUG   : Timestamp: 2022-03-05 16:09:39+0100
03-05 16:09:39.889  9995  9995 F DEBUG   : pid: 9932, tid: 9962, name: Thread-1  >>> com.reensoft.yarvetest <<<
03-05 16:09:39.889  9995  9995 F DEBUG   : uid: 10091
03-05 16:09:39.889  9995  9995 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-05 16:09:39.889  9995  9995 F DEBUG   : Cause: null pointer dereference
03-05 16:09:39.889  9995  9995 F DEBUG   :     x0  0000000000000000  x1  0000007813b66b40  x2  0000007807111f7e  x3  332b0ba3ab932b98
03-05 16:09:39.889  9995  9995 F DEBUG   :     x4  0000000000000000  x5  21111c1007041716  x6  16170407101c1121  x7  51736d647264714f
03-05 16:09:39.889  9995  9995 F DEBUG   :     x8  0000000000000000  x9  00000079007e97f8  x10 0000000000000000  x11 0000000000000000
03-05 16:09:39.889  9995  9995 F DEBUG   :     x12 0000000000001de0  x13 000000000000004c  x14 0000000000000002  x15 000055118c14c9f5
03-05 16:09:39.889  9995  9995 F DEBUG   :     x16 0000007813d96318  x17 0000007900884aa8  x18 0000000000400000  x19 0000007807111f7e
03-05 16:09:39.889  9995  9995 F DEBUG   :     x20 000000786c73a128  x21 0000000000000000  x22 0000007813d8c030  x23 00000000000000f1
03-05 16:09:39.889  9995  9995 F DEBUG   :     x24 00000000000000ef  x25 00000000000001df  x26 00000000000000ee  x27 000000780716f000
03-05 16:09:39.889  9995  9995 F DEBUG   :     x28 0000007807293354  x29 0000007817c01060
03-05 16:09:39.889  9995  9995 F DEBUG   :     sp  0000007817c01010  lr  0000007813bd2c18  pc  0000007813bd2c64
03-05 16:09:39.895  9995  9995 F DEBUG   :  
03-05 16:09:39.895  9995  9995 F DEBUG   : backtrace:
03-05 16:09:39.895  9995  9995 F DEBUG   :       #00 pc 00000000000b8c64  /vendor/lib64/hw/vulkan.kona.so (!!!0000!22bee8ea1f9ea739bfeb3d3b55a253!c5a97243fb!+164) (BuildId: 86421839991f71a5374a82d70edc13be)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #01 pc 00000000000aa24c  /data/app/com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a-dbvjNcDSlyrH6ao50gFVKw==/lib/arm64/libVkLayer_adreno.so (BuildId: f0830fce08dbd0556962a37c26c74d1d754e93c5)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #02 pc 00000000000a8ea0  /data/app/com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a-dbvjNcDSlyrH6ao50gFVKw==/lib/arm64/libVkLayer_adreno.so (BuildId: f0830fce08dbd0556962a37c26c74d1d754e93c5)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #03 pc 00000000000d674c  /data/app/com.reensoft.yarvetest-CFxzXmqodDSDZrrJ-tI8HQ==/lib/arm64/libVkLayer_unique_objects.so (BuildId: 26e44fb318358f6fdcf8d8fcdef5426cb411aba5)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #04 pc 00000000003c39a0  /data/app/com.reensoft.yarvetest-CFxzXmqodDSDZrrJ-tI8HQ==/lib/arm64/libVkLayer_core_validation.so (BuildId: f0cad13b9980afcd98225aff577a378f92f5339d)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #05 pc 0000000000190874  /data/app/com.reensoft.yarvetest-CFxzXmqodDSDZrrJ-tI8HQ==/lib/arm64/libVkLayer_object_tracker.so (BuildId: a7d985919cac10207375d9c1d4d77946c46e765e)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #06 pc 00000000001fe7f0  /data/app/com.reensoft.yarvetest-CFxzXmqodDSDZrrJ-tI8HQ==/lib/arm64/libVkLayer_parameter_validation.so (BuildId: 0bc82edb898c39492b64f8a669fde34ae939a4af)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #07 pc 000000000015224c  /data/app/com.reensoft.yarvetest-CFxzXmqodDSDZrrJ-tI8HQ==/lib/arm64/libVkLayer_threading.so (BuildId: e8b04b4239cbb87f9b354301762909de2338d6db)
03-05 16:09:39.895  9995  9995 F DEBUG   :       #08 pc 0000000000012f9c  /system/lib64/libvulkan.so (vulkan::api::CreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+2212) (BuildId: 5fe21a9a5ca6062a5732bc32f1a47224)

Snapdragon profiler version: v2022.1.0.2022022
Host system: Oculus Quest 2
Engine: Proprietary
Graphics API: Vulkan
VrApi: Oculus VrAPI (Vulkan)
 

  • Up0
  • Down0
DuBo
Join Date: 9 Dec 13
Posts: 41
Posted: Thu, 2022-03-10 03:23

Is it always crash in this backtrace?

 

thanks

Bob Du

  • Up0
  • Down0
andersrein87
Join Date: 23 May 21
Posts: 4
Posted: Thu, 2022-03-17 14:43

Hi Bob,

It appears to be the same. Ran it again and got this stack trace. It seems pretty similar to me:


03-17 22:34:18.736 27944 27971 E vulkan  : internal vkGetInstanceProcAddr called for vkCreateInstance with an instance
03-17 22:34:18.743 27944 27971 E vulkan  : internal vkGetInstanceProcAddr called for vkCreateInstance with an instance
03-17 22:34:18.744 27944 27971 E vulkan  : internal vkGetInstanceProcAddr called for vkCreateInstance with an instance
03-17 22:34:19.049 27944 27971 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 27971 (Thread-1), pid 27944 (eensoft.vrhands)
03-17 22:34:19.143 28005 28005 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-17 22:34:19.143 28005 28005 F DEBUG   : Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/24721900527300000:user/release-keys'
03-17 22:34:19.143 28005 28005 F DEBUG   : Revision: '0'
03-17 22:34:19.143 28005 28005 F DEBUG   : ABI: 'arm64'
03-17 22:34:19.144 28005 28005 F DEBUG   : Timestamp: 2022-03-17 22:34:19+0100
03-17 22:34:19.144 28005 28005 F DEBUG   : pid: 27944, tid: 27971, name: Thread-1  >>> com.reensoft.vrhands <<<
03-17 22:34:19.144 28005 28005 F DEBUG   : uid: 10030
03-17 22:34:19.144 28005 28005 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
03-17 22:34:19.144 28005 28005 F DEBUG   : Cause: null pointer dereference
03-17 22:34:19.144 28005 28005 F DEBUG   :     x0  0000000000000000  x1  00000074d2731b5d  x2  00000074c5ce0f7e  x3  332b0ba3ab932b98
03-17 22:34:19.144 28005 28005 F DEBUG   :     x4  0000000000000000  x5  21111c1007041716  x6  16170407101c1121  x7  51736d647264714f
03-17 22:34:19.144 28005 28005 F DEBUG   :     x8  0000000000000000  x9  00000075c08297f8  x10 0000000000000000  x11 0000000000000000
03-17 22:34:19.144 28005 28005 F DEBUG   :     x12 0000000000001f60  x13 000000000000004c  x14 0000000000000002  x15 0000879fd93f21cb
03-17 22:34:19.144 28005 28005 F DEBUG   :     x16 00000074d29684e8  x17 00000075c08c4aa8  x18 0000000000400000  x19 00000074c5ce0f7e
03-17 22:34:19.144 28005 28005 F DEBUG   :     x20 000000752b74ee28  x21 0000000000000000  x22 00000074d295e030  x23 00000000000000fb
03-17 22:34:19.145 28005 28005 F DEBUG   :     x24 00000000000000fb  x25 00000000000001f6  x26 00000000000000fb  x27 00000074c5d3e000
03-17 22:34:19.145 28005 28005 F DEBUG   :     x28 00000074c5e55354  x29 00000074d4f0b020
03-17 22:34:19.145 28005 28005 F DEBUG   :     sp  00000074d4f0afd0  lr  00000074d279dc40  pc  00000074d279dc8c
03-17 22:34:19.158 28005 28005 F DEBUG   :
03-17 22:34:19.158 28005 28005 F DEBUG   : backtrace:
03-17 22:34:19.158 28005 28005 F DEBUG   :       #00 pc 00000000000b9c8c  /vendor/lib64/hw/vulkan.kona.so (!!!0000!22bee8ea1f9ea739bfeb3d3b55a253!4c6931a711!+164) (BuildId: 38bbe6f5bf16d4d32d5c5ef8a3deca6e)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #01 pc 00000000000aa24c  /data/app/com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a-iRedBYEyf3h6MKPl1lTGoQ==/lib/arm64/libVkLayer_adreno.so (BuildId: f0830fce08dbd0556962a37c26c74d1d754e93c5)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #02 pc 00000000000a8ea0  /data/app/com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a-iRedBYEyf3h6MKPl1lTGoQ==/lib/arm64/libVkLayer_adreno.so (BuildId: f0830fce08dbd0556962a37c26c74d1d754e93c5)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #03 pc 00000000000d674c  /data/app/com.reensoft.vrhands-SfTTibbE1EkM8axT1a6diA==/lib/arm64/libVkLayer_unique_objects.so (BuildId: 26e44fb318358f6fdcf8d8fcdef5426cb411aba5)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #04 pc 00000000003c39a0  /data/app/com.reensoft.vrhands-SfTTibbE1EkM8axT1a6diA==/lib/arm64/libVkLayer_core_validation.so (BuildId: f0cad13b9980afcd98225aff577a378f92f5339d)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #05 pc 0000000000190874  /data/app/com.reensoft.vrhands-SfTTibbE1EkM8axT1a6diA==/lib/arm64/libVkLayer_object_tracker.so (BuildId: a7d985919cac10207375d9c1d4d77946c46e765e)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #06 pc 00000000001fe7f0  /data/app/com.reensoft.vrhands-SfTTibbE1EkM8axT1a6diA==/lib/arm64/libVkLayer_parameter_validation.so (BuildId: 0bc82edb898c39492b64f8a669fde34ae939a4af)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #07 pc 000000000015224c  /data/app/com.reensoft.vrhands-SfTTibbE1EkM8axT1a6diA==/lib/arm64/libVkLayer_threading.so (BuildId: e8b04b4239cbb87f9b354301762909de2338d6db)
03-17 22:34:19.158 28005 28005 F DEBUG   :       #08 pc 0000000000012f9c  /system/lib64/libvulkan.so (vulkan::api::CreateInstance(VkInstanceCreateInfo const*, VkAllocationCallbacks const*, VkInstance_T**)+2212) (BuildId: 5fe21a9a5ca6062a5732bc32f1a47224)

 

However, I did notice that if I disable the validation layers that I enable manually inside the application it crashes at a different point. Then the stack trace looks like this:

03-17 22:31:30.955 26111 26140 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x28 in tid 26140 (Thread-1), pid 26111 (eensoft.vrhands)
03-17 22:31:30.980 26182 26182 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-17 22:31:30.980 26182 26182 F DEBUG   : Build fingerprint: 'oculus/hollywood/hollywood:10/QQ3A.200805.001/24721900527300000:user/release-keys'
03-17 22:31:30.980 26182 26182 F DEBUG   : Revision: '0'            
03-17 22:31:30.980 26182 26182 F DEBUG   : ABI: 'arm64'             
03-17 22:31:30.981 26182 26182 F DEBUG   : Timestamp: 2022-03-17 22:31:30+0100
03-17 22:31:30.981 26182 26182 F DEBUG   : pid: 26111, tid: 26140, name: Thread-1  >>> com.reensoft.vrhands <<<
03-17 22:31:30.981 26182 26182 F DEBUG   : uid: 10030               
03-17 22:31:30.981 26182 26182 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x28
03-17 22:31:30.981 26182 26182 F DEBUG   : Cause: null pointer dereference
03-17 22:31:30.981 26182 26182 F DEBUG   :     x0  00000075c258d0c8  x1  0000000000000000  x2  000000753dc30e40  x3  00000074cfdec880
03-17 22:31:30.981 26182 26182 F DEBUG   :     x4  0000000000000000  x5  0000000000000074  x6  4c444c5e4a551f7b  x7  7f7f7f7f7f7f7f7f
03-17 22:31:30.981 26182 26182 F DEBUG   :     x8  0000007533224000  x9  0000000000002db4  x10 0000000000000001  x11 0000000000000000
03-17 22:31:30.981 26182 26182 F DEBUG   :     x12 fffffffffe000000  x13 0000000000000001  x14 0000000000000031  x15 00000074c67a7bdf
03-17 22:31:30.981 26182 26182 F DEBUG   :     x16 00000075c08e2110  x17 00000075c08d77b4  x18 c858ea9d89ba974a  x19 00000074d6289970
03-17 22:31:30.981 26182 26182 F DEBUG   :     x20 00000074d0db7800  x21 0000000000000000  x22 0000000000000000  x23 00000074d10c5890
03-17 22:31:30.981 26182 26182 F DEBUG   :     x24 0000000000000019  x25 00000074cfdec880  x26 0000000000000000  x27 00000074d628d020
03-17 22:31:30.981 26182 26182 F DEBUG   :     x28 00000074d6289c80  x29 00000074d6289910
03-17 22:31:30.981 26182 26182 F DEBUG   :     sp  00000074d6289810  lr  00000074c5f2e6a4  pc  00000074c5f2e6bc
03-17 22:31:30.983 26182 26182 F DEBUG   :-                         
03-17 22:31:30.983 26182 26182 F DEBUG   : backtrace:               
03-17 22:31:30.983 26182 26182 F DEBUG   :       #00 pc 00000000003aa6bc  /data/app/com.qualcomm.snapdragonprofiler.profilerlayer.arm64_v8a-iRedBYEyf3h6MKPl1lTGoQ==/lib/arm64/libVkLayer_PROFILER_Snapshot.so (BuildId: 3ad515ab0cfaefd8a1427
03-17 22:31:30.983 26182 26182 F DEBUG   :       #01 pc 0000000000242628  /system/priv-app/VrDriver/VrDriver.apk!libvrapiimpl.so (offset 0xee7000) (BuildId: 9c6534492bdd2543e57fc80773097c0fd8603602)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #02 pc 00000000002bb1ac  /system/priv-app/VrDriver/VrDriver.apk!libvrapiimpl.so (offset 0xee7000) (BuildId: 9c6534492bdd2543e57fc80773097c0fd8603602)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #03 pc 0000000000281f98  /system/priv-app/VrDriver/VrDriver.apk!libvrapiimpl.so (offset 0xee7000) (BuildId: 9c6534492bdd2543e57fc80773097c0fd8603602)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #04 pc 00000000002823f4  /system/priv-app/VrDriver/VrDriver.apk!libvrapiimpl.so (offset 0xee7000) (vrapi_CreateTextureSwapChain3+252) (BuildId: 9c6534492bdd2543e57fc80773097c0fd8603602)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #05 pc 000000000026cd84  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (ovr_sdk_mobile::OVR::initialize_system_vulkan::h4f83b43c567565e0+176)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #06 pc 00000000002591c0  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (gpu::internal::ovr_swapchain::OVRSwapchain$LT$gpu..internal..implementation..vulk
03-17 22:31:30.983 26182 26182 F DEBUG   :       #07 pc 0000000000262e7c  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (gpu::generics::ovr_swapchain::OVRSwapchain$LT$gpu..internal..implementation..vulk
03-17 22:31:30.983 26182 26182 F DEBUG   :       #08 pc 000000000006d5b4  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (render::engine::Engine::new::hd82d51bbecdcf389+388)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #09 pc 00000000000786cc  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (engine::engine_context::Engine::new::hdf546ad421a6f66e+128)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #10 pc 0000000000071a9c  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (_ZN3std10sys_common9backtrace28__rust_begin_short_backtrace17h79bf0930ef760cd1E.l
03-17 22:31:30.983 26182 26182 F DEBUG   :       #11 pc 0000000000071d3c  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (core::ops::function::FnOnce::call_once$u7b$$u7b$vtable.shim$u7d$$u7d$::h1f2e39c24
03-17 22:31:30.983 26182 26182 F DEBUG   :       #12 pc 00000000002eeca8  /data/app/com.reensoft.vrhands-YmUP8oOs7qUPffCQGogJ6A==/lib/arm64/libhandsonly.so (std::sys::unix::thread::Thread::new::thread_start::heda1dbebdeedeacc+24)
03-17 22:31:30.983 26182 26182 F DEBUG   :       #13 pc 00000000000d5884  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: a6e0ca3a9989715134d1d1e2126e0f7a)

 

I don't need to have my own validation layers enabled so if you have any idea why it fails in the second scenario that would be sufficient.

  • Up0
  • Down0
andersrein87
Join Date: 23 May 21
Posts: 4
Posted: Thu, 2022-03-17 15:12

Extending on my previous post.

There are some warnings errors in the adb log before I get the stack trace as well. Seems like some form of permission issue:

03-17 23:06:36.404  1101 20519 W ProcessStats: Tracking association SourceState{fba98f com.oculus.shellenv/10082 Top #26148} whose proc state 1 is better than process ProcessState{c6af41c com.oculus.presence/10089 pkg=com.oculus.presence} proc state 2 (3 skipped)
03-17 23:06:38.347  7308  7308 W libc    : Unable to set property "vendor.debug.vulkan.layer.1" to "VK_LAYER_PROFILER_Capture": error code: 0x18
03-17 23:06:38.400  7312  7312 E libc    : Access denied finding property "vendor.ro.build.version.release"
03-17 23:06:38.383  7312  7312 W getprop : type=1400 audit(0.0:457): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15995 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-17 23:06:38.459  7316  7316 E libc    : Access denied finding property "vendor.debug.vulkan.layer.1"
03-17 23:06:38.443  7316  7316 W getprop : type=1400 audit(0.0:458): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15995 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-17 23:06:38.503   958   958 W /system/bin/adbd: type=1400 audit(0.0:459): avc: denied { search } for comm=73796E6320737663203532 name="oem" dev="dm-4" ino=47 scontext=u:r:adbd:s0 tcontext=u:object_r:oemfs:s0 tclass=dir permissive=0
03-17 23:06:38.627  7332  7332 E libc    : Access denied finding property "vendor.debug.vulkan.layer.1"
03-17 23:06:38.613  7332  7332 W getprop : type=1400 audit(0.0:460): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15995 scontext=u:r:shell:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-17 23:06:39.343  7389  7389 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.enable_apex_image"
03-17 23:06:39.343  7389  7389 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.disable_lock_profiling"
03-17 23:06:39.333  7389  7389 W app_process: type=1400 audit(0.0:461): avc: denied { read } for name="u:object_r:device_config_runtime_native_boot_prop:s0" dev="tmpfs" ino=15906 scontext=u:r:shell:s0 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0
03-17 23:06:39.343  7389  7389 E libc    : Access denied finding property "persist.device_config.runtime_native_boot.enable_generational_cc"
03-17 23:06:39.333  7389  7389 W app_process: type=1400 audit(0.0:462): avc: denied { read } for name="u:object_r:device_config_runtime_native_boot_prop:s0" dev="tmpfs" ino=15906 scontext=u:r:shell:s0 tcontext=u:object_r:device_config_runtime_native_boot_prop:s0 tclass=file permissive=0
03-17 23:06:39.440  7389  7389 W app_process: JNI RegisterNativeMethods: attempt to register 0 native methods for android.media.AudioAttributes
03-17 23:06:39.443  7389  7389 W Monkey  : args: [-p, com.reensoft.vrhands, -c, android.intent.category.LAUNCHER, 1]
03-17 23:06:39.443  7389  7389 W Monkey  :  arg: "-p"
03-17 23:06:39.443  7389  7389 W Monkey  :  arg: "com.reensoft.vrhands"
03-17 23:06:39.443  7389  7389 W Monkey  :  arg: "-c"
03-17 23:06:39.443  7389  7389 W Monkey  :  arg: "android.intent.category.LAUNCHER"
03-17 23:06:39.443  7389  7389 W Monkey  :  arg: "1"
03-17 23:06:39.443  7389  7389 W Monkey  : data="com.reensoft.vrhands"
03-17 23:06:39.444  7389  7389 W Monkey  : data="android.intent.category.LAUNCHER"
03-17 23:06:39.458  1101  1139 W BroadcastQueue: Skipping deliver [background] BroadcastRecord{ca8eaa7 u-1 android.net.conn.CONNECTIVITY_CHANGE} to ReceiverList{f94fb54 7389 (unknown name)/2000/u-1 remote:a67b3c1}: process gone or crashing
03-17 23:06:39.479  1101  2889 W Binder  : Outgoing transactions from this process must be FLAG_ONEWAY
03-17 23:06:39.479  1101  2889 W Binder  : java.lang.Throwable
03-17 23:06:39.479  1101  2889 W Binder  :     at android.os.BinderProxy.transact(BinderProxy.java:481)
03-17 23:06:39.479  1101  2889 W Binder  :     at android.app.IActivityController$Stub$Proxy.activityStarting(IActivityController.java:273)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.wm.ActivityStarter.startActivity(ActivityStarter.java:831)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.wm.ActivityStarter.startActivity(ActivityStarter.java:599)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.wm.ActivityStarter.startActivityMayWait(ActivityStarter.java:1355)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.wm.ActivityStarter.execute(ActivityStarter.java:530)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1108)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.wm.ActivityTaskManagerService.startActivityAsUser(ActivityTaskManagerService.java:1037)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.am.ActivityManagerService.startActivityAsUser(ActivityManagerService.java:3536)
03-17 23:06:39.479  1101  2889 W Binder  :     at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:3569)
03-17 23:06:39.479  1101  2889 W Binder  :     at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:2769)
03-17 23:06:39.479  1101  2889 W Binder  :     at android.os.Binder.execTransactInternal(Binder.java:1021)
03-17 23:06:39.479  1101  2889 W Binder  :     at android.os.Binder.execTransact(Binder.java:994)
03-17 23:06:39.552  7407  7407 E eensoft.vrhand: Unknown bits set in runtime_flags: 0x8000
03-17 23:06:39.572  1101 24674 W InputReader: Device has associated, but no associated display id.
03-17 23:06:39.703  7407  7407 W RenderThread: type=1400 audit(0.0:464): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15995 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-17 23:06:39.703  7407  7407 W RenderThread: type=1400 audit(0.0:465): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=15995 scontext=u:r:untrusted_app_27:s0:c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
03-17 23:06:39.716  7407  7435 E libc    : Access denied finding property "persist.vendor.sys.qti.profiler.lib64"
03-17 23:06:39.716  7407  7435 E libc    : Access denied finding property "ro.vendor.debuggable"
03-17 23:06:40.076  1101  1133 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{a4fb3f2 u0 com.reensoft.vrhands/android.app.NativeActivity t1672}
03-17 23:06:40.077  1101  1133 W ActivityTaskManager: Activity pause timeout for ActivityRecord{a4fb3f2 u0 com.reensoft.vrhands/android.app.NativeActivity t1672}
03-17 23:06:40.188  2453  7460 W REFLECT : Broadcasting -1931655175, com.reensoft.vrhands, com.reensoft.vrhands
03-17 23:06:40.206  2418  2573 W PublicLibraryProvider: Cannot find entitlement for com.reensoft.vrhands
03-17 23:06:40.225  7407  7439 E TREX    : Package 'com.oculus.superres' was not found!
03-17 23:06:40.225  7407  7439 E TREXLoadPolicy: Package com.oculus.superres has an invalid signature! (Debugging)
03-17 23:06:40.225  7407  7439 E TREXLoadPolicy: Skipping load of package com.oculus.superres due to an invalid signature!
03-17 23:06:40.385  7407  7439 E vulkan  : internal vkGetInstanceProcAddr called for vkCreateInstance with an instance
03-17 23:06:40.394  7407  7439 E vulkan  : internal vkGetInstanceProcAddr called for vkCreateInstance with an instance
03-17 23:06:40.404  7407  7439 E vulkan  : internal vkGetDeviceProcAddr called for vkCreateDevice
03-17 23:06:40.920  7407  7439 W VulkanLoader: VulkanLoader::LoadInstanceFunctions: Failed to load vkCreateDebugReportCallbackEXT, likely vkInstance created without xrGetVulkanInstanceExtensionsKHR/vrapi_GetInstanceExtensionsVulkan
03-17 23:06:40.920  7407  7439 W VulkanLoader: VulkanLoader::LoadInstanceFunctions: Failed to load vkDestroyDebugReportCallbackEXT, likely vkInstance created without xrGetVulkanInstanceExtensionsKHR/vrapi_GetInstanceExtensionsVulkan
03-17 23:06:40.920  7407  7439 W VulkanLoader: VulkanLoader::LoadDeviceFunctions: Failed to load vkCmdDebugMarkerInsertEXT, likely vkDevice created without xrGetVulkanDeviceExtensionsKHR/vrapi_GetDeviceExtensionsVulkan
03-17 23:06:40.931  7407  7439 W Vulkan_Utils: Memory type 1 with properties 2 not found.

 

My AndroidManifest.xml looks like this:

<?xml version="1.0" encoding="utf-8"?>                              
<manifest                                                           
    xmlns:android="http://schemas.android.com/apk/res/android"      
    package="com.reensoft.vrhands"                                  
    android:versionCode="1"                                         
    android:versionName="1.0"                                       
    android:installLocation="auto">                                 
                                                                    
    <uses-feature android:glEsVersion="0x00030001" android:required="true"/>
    <uses-feature android:name="android.hardware.vr.headtracking" android:required="true" />
    <uses-feature android:name="android.hardware.usb.host" />       
    <uses-permission android:name="android.permission.INTERNET" />  
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
                                                                    
    <application                                                    
        android:label="VR Hands Test"                               
        android:debuggable="true"                                   
        android:allowBackup="false">                                
                                                                    
        <meta-data android:name="com.samsung.android.vr.application.mode" android:value="vr_only"/>
        <meta-data android:name="com.oculus.supportedDevices" android:value="all" />----
                                                                    
        <activity                                                   
            android:name="android.app.NativeActivity"               
            android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
            android:launchMode="singleTask"                         
            android:screenOrientation="landscape"                   
            android:excludeFromRecents="false"                      
            android:configChanges="screenSize|screenLayout|orientation|keyboardHidden|keyboard|navigation|uiMode">
                                                                    
            <meta-data                                              
                android:name="android.app.lib_name"                 
                android:value="handsonly" />                 
            <meta-data                                              
                android:name="android.app.func_name"                
                android:value="native_activity_on_create" />                            
            <meta-data                                              
                android:name="com.oculus.vr.focusaware"             
                android:value="true" />                                               
            <intent-filter>                                         
                <action android:name="android.intent.action.MAIN" />                                 
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>                                        
        </activity>                                                 
    </application>                                                                                               
</manifest>

 

 

 

  • Up0
  • Down0
DuBo
Join Date: 9 Dec 13
Posts: 41
Posted: Fri, 2022-04-22 01:54

Hi, andersrein87

Do you test with the latest version Snapdragon profiler tool?  Snapdragon profiler version: v2022.2.0

Also want you to check the GFX Adreno libs versoin on your Host system: Oculus Quest 2, so can you get one logcat log when you reproduce the issue?

Thanks
Bob Du

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