Forum Discussion
Anonymous
5 years agoRenderDoc for Oculus not working.
I am having problems getting RenderDoc for Oculus to work.
Using ODH, I downloaded and installed RenderDoc for Oculus v23.1(forked from v1.11).
When I switch the Replay Context to "Oculus Quest 2 Profiling Mode" it installs the packages:
com.oculus.rederdoccmd.artm64
com.oculus.rederdoccmd.artm32
In the logs it seems to grant permissions:
01-04 09:38:45.432: V/GrantPermissionsActivity(8583): Permission grant result requestId=3382198378034757955 callingUid=10159 callingPackage=com.oculus.renderdoccmd.arm64 permission=android.permission.WRITE_EXTERNAL_STORAGE isImplicit=false result=5
Renderdoc lists "Remote Server Ready" in lower left status.
I can select from the installed packages on the "Launch Application" tab.
When trying to launch, I get
01-04 09:48:10.073: A/DEBUG(10876): #02 pc 000000000040c1ec /data/app/com.oculus.renderdoccmd.arm64-1Xw1ET_itjwA9Dp37MAtpA==/lib/arm64/libVkLayer_GLES_RenderDoc.so (WrappedOpenGL::glDeleteBuffers(int, unsigned int const*)+428) (BuildId: d8d6fb3c8bf21b0512c022b00c59f6eff80fc276)
01-04 09:48:10.073: A/DEBUG(10876): #03 pc 000000000026a270 /data/app/com.oculus.renderdoccmd.arm64-1Xw1ET_itjwA9Dp37MAtpA==/lib/arm64/libVkLayer_GLES_RenderDoc.so (WrappedOpenGL::DeleteContext(void*)+680) (BuildId: d8d6fb3c8bf21b0512c022b00c59f6eff80fc276)
01-04 09:48:10.073: A/DEBUG(10876): #04 pc 000000000071a050 /data/app/com.oculus.renderdoccmd.arm64-1Xw1ET_itjwA9Dp37MAtpA==/lib/arm64/libVkLayer_GLES_RenderDoc.so (eglDestroyContext_renderdoc_hooked+168) (BuildId: d8d6fb3c8bf21b0512c022b00c59f6eff80fc276)
Thanks for any help/advice on how to fix/troubleshoot
3 Replies
- AnonymousUsing Oculus Unreal Engine 4.25.4 and Vulkan
- AnonymousThe crash seems to indicate it is in OpenGL es though?01-04 09:56:05.333: D/UE4(3517): [GameActivity] Used memory: 13977401-04 09:56:05.333: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Moving esxConnectionState from ESXReady (2) to ESXDisconnected (0).01-04 09:56:05.335: A/libc(3517): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 3517 (MainThread-UE4), pid 3517 (MainThread-UE4)01-04 09:56:05.353: I/crash_dump64(3586): obtaining output fd from tombstoned, type: kDebuggerdTombstone01-04 09:56:05.353: I//system/bin/tombstoned(794): received crash request for pid 351701-04 09:56:05.354: I/crash_dump64(3586): performing dump of process 3517 (target tid = 3517)01-04 09:56:05.356: A/DEBUG(3586): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***01-04 09:56:05.356: A/DEBUG(3586): Build fingerprint: 'oculus/hollywood/hollywood:10/QP1A.190711.020/12018400103000000:user/release-keys'01-04 09:56:05.356: A/DEBUG(3586): Revision: '0'01-04 09:56:05.356: A/DEBUG(3586): ABI: 'arm64'01-04 09:56:05.357: A/DEBUG(3586): Timestamp: 2021-01-04 09:56:05-070001-04 09:56:05.357: A/DEBUG(3586): pid: 3517, tid: 3517, name: MainThread-UE4 >>> com.YourCompany.BobsQuest4 <<<01-04 09:56:05.357: A/DEBUG(3586): uid: 1015501-04 09:56:05.357: A/DEBUG(3586): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1001-04 09:56:05.357: A/DEBUG(3586): Cause: null pointer dereference01-04 09:56:05.357: A/DEBUG(3586): x0 0000006fd70ed000 x1 0000000000000010 x2 0000006f7c9e13d8 x3 000000000000000001-04 09:56:05.357: A/DEBUG(3586): x4 0000006f7c9dd878 x5 0000006f7c9dd858 x6 0000000000000017 x7 000000000000000001-04 09:56:05.357: A/DEBUG(3586): x8 0000000000000000 x9 0000006fd1c53d88 x10 0000000000004001 x11 0000006fd1d5dea001-04 09:56:05.357: A/DEBUG(3586): x12 0000000000000000 x13 0000000000000001 x14 00000000ffff6fff x15 000000000000000001-04 09:56:05.357: A/DEBUG(3586): x16 0000006fd1d5f930 x17 0000007069649568 x18 000000706ea2e000 x19 0000006fd7052c0001-04 09:56:05.357: A/DEBUG(3586): x20 000000706dc58800 x21 0000000000000010 x22 0000000000000000 x23 0000006fd70ed00001-04 09:56:05.357: A/DEBUG(3586): x24 0000000000000008 x25 0000006f7c9e13d8 x26 000000706db84cb0 x27 000000000000000201-04 09:56:05.357: A/DEBUG(3586): x28 000000000000000d x29 0000007fc8a560a001-04 09:56:05.357: A/DEBUG(3586): sp 0000007fc8a56000 lr 0000006fd1ca5a14 pc 0000006fd1b0fea401-04 09:56:05.390: I/QProfiler(8509): GLESCollector.ShimConnection: Initiated a connection to a new process.01-04 09:56:05.391: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Completed a connection to process 'com.YourCompany.BobsQuest4'01-04 09:56:05.391: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Moving esxConnectionState from ESXConnected (1) to ESXReady (2).01-04 09:56:05.605: A/DEBUG(3586): backtrace:01-04 09:56:05.606: A/DEBUG(3586): #00 pc 000000000020cea4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!299f15cbf4aaee70dc8cc8a5583d24!e476303!+2268) (BuildId: 0eaed95fed07130cf89833f02d56c6bb)
- AnonymousHere is a crash from earlier in the log:01-04 09:56:05.078: I/QProfiler(8509): GLESCollector.ShimConnection: Initiated a connection to a new process.01-04 09:56:05.078: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Completed a connection to process 'com.YourCompany.BobsQuest4'01-04 09:56:05.078: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Moving esxConnectionState from ESXConnected (1) to ESXReady (2).01-04 09:56:05.333: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Disconnecting process 'com.YourCompany.BobsQuest4'...01-04 09:56:05.333: D/UE4(3517): [GameActivity] Used memory: 13977401-04 09:56:05.333: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Moving esxConnectionState from ESXReady (2) to ESXDisconnected (0).01-04 09:56:05.335: A/libc(3517): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10 in tid 3517 (MainThread-UE4), pid 3517 (MainThread-UE4)01-04 09:56:05.353: I/crash_dump64(3586): obtaining output fd from tombstoned, type: kDebuggerdTombstone01-04 09:56:05.353: I//system/bin/tombstoned(794): received crash request for pid 351701-04 09:56:05.354: I/crash_dump64(3586): performing dump of process 3517 (target tid = 3517)01-04 09:56:05.356: A/DEBUG(3586): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***01-04 09:56:05.356: A/DEBUG(3586): Build fingerprint: 'oculus/hollywood/hollywood:10/QP1A.190711.020/12018400103000000:user/release-keys'01-04 09:56:05.356: A/DEBUG(3586): Revision: '0'01-04 09:56:05.356: A/DEBUG(3586): ABI: 'arm64'01-04 09:56:05.357: A/DEBUG(3586): Timestamp: 2021-01-04 09:56:05-070001-04 09:56:05.357: A/DEBUG(3586): pid: 3517, tid: 3517, name: MainThread-UE4 >>> com.YourCompany.BobsQuest4 <<<01-04 09:56:05.357: A/DEBUG(3586): uid: 1015501-04 09:56:05.357: A/DEBUG(3586): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1001-04 09:56:05.357: A/DEBUG(3586): Cause: null pointer dereference01-04 09:56:05.357: A/DEBUG(3586): x0 0000006fd70ed000 x1 0000000000000010 x2 0000006f7c9e13d8 x3 000000000000000001-04 09:56:05.357: A/DEBUG(3586): x4 0000006f7c9dd878 x5 0000006f7c9dd858 x6 0000000000000017 x7 000000000000000001-04 09:56:05.357: A/DEBUG(3586): x8 0000000000000000 x9 0000006fd1c53d88 x10 0000000000004001 x11 0000006fd1d5dea001-04 09:56:05.357: A/DEBUG(3586): x12 0000000000000000 x13 0000000000000001 x14 00000000ffff6fff x15 000000000000000001-04 09:56:05.357: A/DEBUG(3586): x16 0000006fd1d5f930 x17 0000007069649568 x18 000000706ea2e000 x19 0000006fd7052c0001-04 09:56:05.357: A/DEBUG(3586): x20 000000706dc58800 x21 0000000000000010 x22 0000000000000000 x23 0000006fd70ed00001-04 09:56:05.357: A/DEBUG(3586): x24 0000000000000008 x25 0000006f7c9e13d8 x26 000000706db84cb0 x27 000000000000000201-04 09:56:05.357: A/DEBUG(3586): x28 000000000000000d x29 0000007fc8a560a001-04 09:56:05.357: A/DEBUG(3586): sp 0000007fc8a56000 lr 0000006fd1ca5a14 pc 0000006fd1b0fea401-04 09:56:05.390: I/QProfiler(8509): GLESCollector.ShimConnection: Initiated a connection to a new process.01-04 09:56:05.391: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Completed a connection to process 'com.YourCompany.BobsQuest4'01-04 09:56:05.391: I/QProfiler(8509): GLESCollector.ShimConnection: [pid:3517] Moving esxConnectionState from ESXConnected (1) to ESXReady (2).01-04 09:56:05.605: A/DEBUG(3586): backtrace:01-04 09:56:05.606: A/DEBUG(3586): #00 pc 000000000020cea4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!299f15cbf4aaee70dc8cc8a5583d24!e476303!+2268) (BuildId: 0eaed95fed07130cf89833f02d56c6bb)01-04 09:56:05.606: A/DEBUG(3586): #01 pc 00000000003a2a10 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!b7c2f7bcd0fdbd08020360acc4d3a6!e476303!+232) (BuildId: 0eaed95fed07130cf89833f02d56c6bb)01-04 09:56:05.606: A/DEBUG(3586): #02 pc 000000000040c1ec /data/app/com.oculus.renderdoccmd.arm64-1Xw1ET_itjwA9Dp37MAtpA==/lib/arm64/libVkLayer_GLES_RenderDoc.so (WrappedOpenGL::glDeleteBuffers(int, unsigned int const*)+428) (BuildId: d8d6fb3c8bf21b0512c022b00c59f6eff80fc276)01-04 09:56:05.606: A/DEBUG(3586): #03 pc 000000000026a270 /data/app/com.oculus.renderdoccmd.arm64-1Xw1ET_itjwA9Dp37MAtpA==/lib/arm64/libVkLayer_GLES_RenderDoc.so (WrappedOpenGL::DeleteContext(void*)+680) (BuildId: d8d6fb3c8bf21b0512c022b00c59f6eff80fc276)01-04 09:56:05.606: A/DEBUG(3586): #04 pc 000000000071a050 /data/app/com.oculus.renderdoccmd.arm64-1Xw1ET_itjwA9Dp37MAtpA==/lib/arm64/libVkLayer_GLES_RenderDoc.so (eglDestroyContext_renderdoc_hooked+168) (BuildId: d8d6fb3c8bf21b0512c022b00c59f6eff80fc276)01-04 09:56:05.606: A/DEBUG(3586): #05 pc 00000000000d4964 /system/lib64/libandroid_runtime.so (android_eglDestroyContext(_JNIEnv*, _jobject*, _jobject*, _jobject*)+152) (BuildId: ce3589128b789c81a8ae4f6eb57fec05)01-04 09:56:05.606: A/DEBUG(3586): #06 pc 00000000002a9bc8 /system/framework/arm64/boot-framework.oat (art_jni_trampoline+200) (BuildId: 8dee2301cdb35bacc426ebe944ed79ccfeaba357)01-04 09:56:05.606: A/DEBUG(3586): #07 pc 0000000000773623 /system/framework/framework.jar01-04 09:56:05.631: W/[CT](795): CONSTELLATION: No tracked objects initialized!!01-04 09:56:05.690: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.706: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.711: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.719: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.724: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.730: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.737: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.742: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.748: E/ResolverController(677): No valid NAT64 prefix (100, <unspecified>/0)01-04 09:56:05.789: E//system/bin/tombstoned(794): Tombstone written to: /data/tombstones/tombstone_02
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device