[Android Q&A, Help & Troubleshooting] sooorajjj:
hi guys yesterday i was compile cm9 from source for lg l3

when i test my build with antutu benchmark

i get GL_OUT_OF_MEMORY , IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory

while it testing 2d graphics or 3d

D/OpenGLRenderer( 2122): Flushing caches (mode 0)
D/OpenGLRenderer( 2122): Flushing caches (mode 0)
W/IInputConnectionWrapper( 2122): showStatusIcon on inactive InputConnection
W/InputManagerService( 234): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@410afa50 (uid=10045 pid=2122)
D/OpenGLRenderer( 2122): Flushing caches (mode 2)
D/OpenGLRenderer( 2122): Flushing caches (mode 0)
W/ManagedEGLContext( 2122): doTerminate failed: EGL count is 2 but managed count is 1
I/ActivityManager( 234): START {flg=0x14000000 cmp=com.antutu.ABenchMark/com.antutu.benchmark.test3d.Antutu3DLoader} from pid 1560
I/ActivityManager( 234): Start proc com.antutu.ABenchMark:antutu3dtest for activity com.antutu.ABenchMark/com.antutu.benchmark.test3d.Antutu3DLoader: pid=2150 uid=10045 gids={3003, 1015, 1006}
I/InputReader( 234): Reconfiguring input devices. changes=0x00000004
I/InputReader( 234): Device reconfigured: id=7, name='touch_mcs8000', surface size is now 240x320, mode is 1
I/ActivityManager( 234): Config changed: {0.85 404mcc72mnc en_US layoutdir=0 sw240dp w426dp h294dp smll land finger -keyb/v/h -nav/h s.17 themeResource=null}
D/OpenGLRenderer( 1560): Flushing caches (mode 0)
D/OpenGLRenderer( 1560): Flushing caches (mode 0)
D/OpenGLRenderer( 1560): Flushing caches (mode 1)
D/dalvikvm( 2150): Trying to load lib /data/data/com.antutu.ABenchMark/lib/libabenchmark.so 0x40d49410
D/dalvikvm( 2150): Added shared lib /data/data/com.antutu.ABenchMark/lib/libabenchmark.so 0x40d49410
I/ActivityManager( 234): START {cmp=com.antutu.ABenchMark/com.antutu.benchmark.test3d.Native3DLoader} from pid 2150
W/printf ( 2150): VFileAccessManager: Setting root 'app_cache' to native path '/data/data/com.antutu.ABenchMark/cache'
W/printf ( 2150): Added file system "app_cache" with base path "/data/data/com.antutu.ABenchMark/cache"
W/printf ( 2150): VFileAccessManager: Setting root 'template_root' to native path '/data/app/com.antutu.ABenchMark-1.apk?assets/'
W/printf ( 2150): VFileAccessManager: Setting root 'app_data' to native path '/data/data/com.antutu.ABenchMark/app_data'
W/printf ( 2150): VFileAccessManager: Added search path ':template_root' at index 0.
W/printf ( 2150): VFileAccessManager: Added search path ':template_root/Data/Vision/Base' at index 1.
W/printf ( 2150): VFileAccessManager: Added search path ':app_data' at index 2.
W/printf ( 2150): InitEnginePlugin:VisionEnginePlugin statically
W/printf ( 2150): Scripting: Open master state
W/printf ( 2150): InitEnginePlugin:AntutuEnginePlugin statically
W/printf ( 2150): AntutuEnginePluginClass:eek:nInitEnginePlugin()
W/printf ( 2150):
W/printf ( 2150): Vision Initialization
W/printf ( 2150): Vision version ANDROID - 2014, 1, 0, 1
W/printf ( 2150): Using safe timer
W/IInputConnectionWrapper( 1560): showStatusIcon on inactive InputConnection
I/ActivityManager( 234): Displayed com.antutu.ABenchMark/com.antutu.benchmark.test3d.Native3DLoader: +796ms (total +1s389ms)
D/OpenGLRenderer( 1560): Flushing caches (mode 2)
D/OpenGLRenderer( 1560): Flushing caches (mode 0)
D/OpenGLRenderer( 1560): Flushing caches (mode 0)
D/libEGL ( 2150): loaded /system/lib/egl/libGLES_android.so
D/libEGL ( 2150): loaded /system/lib/egl/libEGL_adreno200.so
D/libEGL ( 2150): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
D/libEGL ( 2150): loaded /system/lib/egl/libGLESv2_adreno200.so
I/ONCRPC ( 120): rpc_handle_rpc_call: for Xid: 97f, Prog: 31000000, Vers: fc37ad5c, Proc: 00000012
I/ONCRPC ( 120): rpc_handle_rpc_call: Find Status: 0 Xid: 97f
I/ONCRPC ( 120): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 97f
W/printf ( 2150): GLES2 - PVRTC Supported: false
W/printf ( 2150): GLES2 - ETC Supported: true
W/printf ( 2150): GLES2 - Packed Depth-Stencil Supported: true
W/printf ( 2150): GLES2 - GL_EXT_shadow_samplers Supported: false
W/printf ( 2150): GL_MAX_TEXTURE_SIZE = 4096, GL_MAX_RENDERBUFFER_SIZE = 4096, GL_MAX_VIEWPORT_DIMS = 4096 x 4096
W/printf ( 2150): Initializing Google Analytics for Android.
W/dalvikvm( 2150): dvmFindClassByName rejecting 'com/google/analytics/tracking/android/GoogleAnalytics'
W/printf ( 2150): ++ unable to find 'method_tracker_setAppVersion'
W/printf ( 2150):
W/printf ( 2150): Engine Initialization
W/printf ( 2150): Setting screen mode to 320 * 240 / frontbuffer bpp:32 / refresh:0
W/printf ( 2150): Screen Mode is fullscreen
W/printf ( 2150): Screen DPI: 120.000000
W/printf ( 2150):
W/printf ( 2150): Initializing Rendering Subsystem
W/printf ( 2150): Initializing OpenGL ES 2.0 Rendering Subsystem
W/printf ( 2150):
W/printf ( 2150): Renderer Info
W/printf ( 2150): Vendor: Qualcomm
W/printf ( 2150): Renderer: Adreno (TM) 200
W/printf ( 2150): Driver Version: OpenGL ES 2.0 2184622
W/printf ( 2150): Supported Texture Formats:
W/printf ( 2150): R8G8B8, R8G8B8A8, B8G8R8, B8G8R8A8, B5G6R5, A8, L8, ETC_RGB_4BPP, A1B5G5R5, A4B4G4R4, D24S8, D16, L8A8
W/printf ( 2150): Supported Render Target Formats:
W/printf ( 2150): R8G8B8, R8G8B8A8
W/printf ( 2150): Supported Depth Stencil Formats:
W/printf ( 2150): D24S8, D16
W/printf ( 2150): Engine initialized.
W/printf ( 2150): VFileAccessManager: Added search path ':template_root' at index 0.
W/printf ( 2150): VFileAccessManager: Added search path ':template_root/Data/Vision/Base' at index 1.
W/printf ( 2150): VFileAccessManager: Added search path ':app_data' at index 2.
W/printf ( 2150): VFileAccessManager: Added search path ':template_root/Assets' at index 3.
W/printf ( 2150):
W/printf ( 2150): VSceneLoader::LoadScene
W/printf ( 2150): [Scenes/test3.vscene]
W/printf ( 2150): Loading scene: 'Scenes/test3.android.vscene'
W/printf ( 2150): Resource file found: Scenes/test3.android.vscene_data\resources.vres
D/dalvikvm( 234): GC_EXPLICIT freed 1273K, 56% free 4774K/10695K, paused 4ms+6ms
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/MobileShadersFog.ShaderLib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/DefaultSky.Shaderlib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/Mirror.Shaderlib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/vMaterial.ShaderLib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/MobileShaders.ShaderLib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/BaseShaders.ShaderLib'
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
E/Adreno200-ES20( 2150): <qgl2DrvAPI_glRenderbufferStorage:514>: GL_OUT_OF_MEMORY
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/ONCRPC ( 120): rpc_handle_rpc_call: for Xid: 982, Prog: 31000000, Vers: fc37ad5c, Proc: 00000012
I/ONCRPC ( 120): rpc_handle_rpc_call: Find Status: 0 Xid: 982
I/ONCRPC ( 120): oncrpc_proxy_handle_cmd_rpc_call: Dispatching xid: 982
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory

W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/MobileShadersFog.ShaderLib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/DefaultSky.Shaderlib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/Mirror.Shaderlib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/vMaterial.ShaderLib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/MobileShaders.ShaderLib'
W/printf ( 2150): Warning: Resource file failed to open : 'Shaders/BaseShaders.ShaderLib'
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
E/Adreno200-ES20( 2150): <qgl2DrvAPI_glRenderbufferStorage:514>: GL_OUT_OF_MEMORY
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory
I/Adreno ( 2150): ioctl code 0xc00c092f (IOCTL_KGSL_GPMEM_ALLOC) failed: errno 12 Out of memory

pls help

is this caused by antutu bench mark app or its my adreno or kgsl or genlock ?