Samsung GearVR S7 again signal 11 crash

I have 2 Samsung S7, I try to run the same app on both, my S7 are

SM-G930A (AT&T version) Qualcomm MSM8996 Snapdragon 820, Adreno 530
Android Version: 6.0.1
VR service version: 2.5.38/253801000

and

SM-G930FD (International Version) Exynos 8890 Octa, Mali-T880 MP12
Android Version: 6.0.1
VR Service version: 2.4.29/242900000

With the same app, SM-G930FD one run without any issue, and SM-G930A one crash with a singal 11. Both of the machine can run the game when GearVR mode turn of (only 1 viewport rendering).

For the crash,

09-12 02:59:00.146: D/UE4(24387): AndroidEGL::ResetDisplay()
09-12 02:59:00.186: D/UE4(24387): [2016.09.11-17.59.00:193][  0]LogHMD: !!! Rendering thread is released! tid = 24433
09-12 02:59:00.186: D/UE4(24387): [2016.09.11-17.59.00:193][  0]LogHMD: !!! Rendering thread is acquired! tid = 24454
09-12 02:59:00.196: D/UE4(24387): AndroidEGL::ResetDisplay()
09-12 02:59:00.196: D/UE4(24387): [2016.09.11-17.59.00:204][  0]LogHMD: !!! Rendering thread is released! tid = 24454
09-12 02:59:00.196: D/UE4(24387): [2016.09.11-17.59.00:204][  0]LogHMD: Allocating Render Target textures
09-12 02:59:00.196: D/UE4(24387): [2016.09.11-17.59.00:204][  0]LogHMD: Allocated a new swap texture set (size 2048 x 1024)
09-12 02:59:00.196: D/UE4(24387): [2016.09.11-17.59.00:205][  0]LogHMD: Allocated textureSet 0xa1179180 (2048 x 1024), fr = 1
09-12 02:59:00.206: D/UE4(24387): [2016.09.11-17.59.00:208][  0]LogHMD: !!! Rendering thread is acquired! tid = 24456
09-12 02:59:00.286: D/UE4(24387): [2016.09.11-17.59.00:291][  0]LogRenderer: Reallocating scene render targets to support 2048x1024 (Frame:2).
09-12 02:59:00.326: D/UE4(24387): +++++++ EnterVRMode ++++++, tid = 24414
09-12 02:59:01.986: D/UE4(24387): [2016.09.11-17.59.01:990][  0]LogHMD:Warning: Skipping frame: No RenderContext set
09-12 02:59:01.986: D/UE4(24387): [2016.09.11-17.59.01:991][  0]LogHMD: EnterVRMode: Display 0x1, Window 0xEE672708, ShareCtx EE53F040
09-12 02:59:02.486: D/UE4(24387): ------- EnterVRMode -------, tid = 24414
09-12 02:59:02.866: D/UE4(24387): [2016.09.11-17.59.02:872][  0]LogHMD: Just mounted
09-12 02:59:03.376: D/UE4(24387): Signal 11 caught!

And by looking at log by PID, I got more info

09-12 03:52:34.736: W/TimeWarp(24387): WarpToScreen: No valid eye buffers
09-12 03:52:34.736: W/TimeWarp(24387): WarpToScreen: Nothing valid to draw
09-12 03:52:34.806: D/libEGL(650): eglInitialize EGLDisplay = 0x7fc5740278
09-12 03:52:34.826: W/Adreno-GSL(24387): <gsl_ldd_control:475>: ioctl fd 38 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
09-12 03:52:34.826: W/Adreno-GSL(24387): <log_gpu_snapshot:384>: panel.gpuSnapshotPath is not set.not generating user snapshot
09-12 03:52:34.826: W/Adreno-GSL(24387): <gsl_ldd_control:475>: ioctl fd 38 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
09-12 03:52:34.826: W/Adreno-GSL(24387): <log_gpu_snapshot:384>: panel.gpuSnapshotPath is not set.not generating user snapshot
09-12 03:52:34.826: W/Adreno-GSL(24387): <gsl_ldd_control:475>: ioctl fd 38 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
09-12 03:52:34.826: W/Adreno-GSL(24387): <log_gpu_snapshot:384>: panel.gpuSnapshotPath is not set.not generating user snapshot
09-12 03:52:34.826: W/Adreno-GSL(24387): <gsl_ldd_control:475>: ioctl fd 38 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
09-12 03:52:34.826: W/Adreno-GSL(24387): <log_gpu_snapshot:384>: panel.gpuSnapshotPath is not set.not generating user snapshot
09-12 03:52:34.826: W/Adreno-GSL(24387): <gsl_ldd_control:475>: ioctl fd 38 code 0xc040094a (IOCTL_KGSL_GPU_COMMAND) failed: errno 35 Resource deadlock would occur
09-12 03:52:34.826: W/Adreno-GSL(24387): <log_gpu_snapshot:384>: panel.gpuSnapshotPath is not set.not generating user snapshot
09-12 03:52:34.826: W/Adreno-GSL(24387): <gsl_ldd_control:475>: ioctl fd 38 code 0xc0140933 (IOCTL_KGSL_TIMESTAMP_EVENT) failed: errno 22 Invalid argument
09-12 03:52:34.826: W/Adreno-GSL(24387): <ioctl_kgsl_syncobj_create:2979>: (27, 10, 42240) fail 22 Invalid argument
09-12 03:52:34.826: W/TimeWarp(24387): eglCreateSyncKHR returned EGL_NO_SYNC_KHR
09-12 03:52:34.826: W/TimeWarp(24387): VSync 51755633: eye=1,late=0.1ms,over=0.0ms,CPU=70.0ms,GPU>=0.1
09-12 03:52:34.826: W/TimeWarp(24387): eglClientWaitSyncKHR returned EGL_FALSE
09-12 03:52:34.826: D/UE4(24387): Signal 11 caught!

Is the log showing some GPU driver issue? Can someone provide some direction to find out more what is going on?

Are you using any masked materials? It’s a known issue for snapdragon S7 and UE4:

If not are you using Fresnels on instanced static meshes? Then it’s also a known issue for snapdragon S7 and UE4:

Either way would not surprise me to find out there are more UE4 features that cause this driver crash on the snapdragon S7 devices :frowning:

Wow, that’s suck… I wonder what is the status of those issue since it is in Engine version 4.11 while I am using 4.12

So are you using one of those things? If so would be great if you could comment in the relevant answerhub to get some more friction there :wink:

Yes, the masked material, I will post what I found on that post