Description

Game applications crash on Zenfone 5 once they're launched. This seems to be due to the InitDebugContext().

Chris requested this to be entered for tracking purposes.

Chris B:
I believe the problem is with glDebugMessageControlKHR in InitDebugContext(). For 4.11 we are now checking for GL_RENDERER to contain Rogue Han (one of the PowerVR chips) to disable this, but I may need to make it even more generic. The ZenPhone 5 has a fairly standard PowerVR 544, but it is likely the driver changed in Lollipop which is why you started having trouble.

Your log doesn't contain all the debug information I'd need to see what the GPU family returned by the driver is so I cannot see the version number.

If you could test reenabling InitDebugContext() but add the following to AndroidOpenGL.cpp in FPlatformOpenGLDevice::LoadEXT():

if( !FAndroidMisc::GetGPUFamily().Contains(TEXT("PowerVR")) )

{ glDebugMessageControlKHR = (PFNGLDEBUGMESSAGECONTROLKHRPROC)((void*)eglGetProcAddress("glDebugMessageControlKHR")); }

So glDebugMessageControlKHR is not set (left NULL) if PowerVR, this might be the change I'll need to make in 4.11 to be safe. Please let me know and I'll see about getting it in for 4.11.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.10
Target Fix4.11
Fix Commit2805277
Main Commit2818924
Release Commit2805277
CreatedDec 15, 2015
ResolvedDec 16, 2015
UpdatedApr 27, 2018
View Jira Issue