cancel
Showing results for 
Search instead for 
Did you mean: 

RenderDoc for Oculus not working

bobcober
Level 3
I am having problems getting RenderDoc for Oculus to work.

I am using the Oculus build of UnrealEngine 4.25.4 and Vulkan.

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 
com.oculus.rederdoccmd.artm64 
com.oculus.rederdoccmd.artm32
 
Renderdoc lists "Remote Server Ready"

In the logs it see,s 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

When trying to launch, I get a crash:
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: kDebuggerdTombstone
01-04 09:56:05.353: I//system/bin/tombstoned(794): received crash request for pid 3517
01-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-0700
01-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: 10155
01-04 09:56:05.357: A/DEBUG(3586): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x10
01-04 09:56:05.357: A/DEBUG(3586): Cause: null pointer dereference
01-04 09:56:05.357: A/DEBUG(3586):     x0  0000006fd70ed000  x1  0000000000000010  x2  0000006f7c9e13d8  x3  0000000000000000
01-04 09:56:05.357: A/DEBUG(3586):     x4  0000006f7c9dd878  x5  0000006f7c9dd858  x6  0000000000000017  x7  0000000000000000
01-04 09:56:05.357: A/DEBUG(3586):     x8  0000000000000000  x9  0000006fd1c53d88  x10 0000000000004001  x11 0000006fd1d5dea0
01-04 09:56:05.357: A/DEBUG(3586):     x12 0000000000000000  x13 0000000000000001  x14 00000000ffff6fff  x15 0000000000000000
01-04 09:56:05.357: A/DEBUG(3586):     x16 0000006fd1d5f930  x17 0000007069649568  x18 000000706ea2e000  x19 0000006fd7052c00
01-04 09:56:05.357: A/DEBUG(3586):     x20 000000706dc58800  x21 0000000000000010  x22 0000000000000000  x23 0000006fd70ed000
01-04 09:56:05.357: A/DEBUG(3586):     x24 0000000000000008  x25 0000006f7c9e13d8  x26 000000706db84cb0  x27 0000000000000002
01-04 09:56:05.357: A/DEBUG(3586):     x28 000000000000000d  x29 0000007fc8a560a0
01-04 09:56:05.357: A/DEBUG(3586):     sp  0000007fc8a56000  lr  0000006fd1ca5a14  pc  0000006fd1b0fea4
01-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  
0 REPLIES 0