PhoneGap Eclipse Issue - eglCodecCommon glUtilsParamSize: unknow param errors

匿名 (未验证) 提交于 2019-12-03 02:11:02

问题:

I have just started on phonegap and trying to setup first basic minimal project in eclipse. I followed through the phonegap docs at http://docs.phonegap.com/en/edge/guide_platforms_android_index.md.html#Android%20Platform%20Guide

but I am getting continuous errors like these. Any pointer to fix this would be helpful. thx

03-12 06:08:05.970: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000b44 03-12 06:08:05.980: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000bd0 03-12 06:08:06.080: I/chromium(825): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported 03-12 06:08:06.280: I/chromium(825): [INFO:async_pixel_transfer_manager_android.cc(56)] Async pixel transfers not supported 03-12 06:08:06.660: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.660: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.720: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000b44 03-12 06:08:06.720: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000bd0 03-12 06:08:06.760: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.760: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.800: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000b44 03-12 06:08:06.810: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000bd0 03-12 06:08:06.870: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.870: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.890: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000b44 03-12 06:08:06.890: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000bd0 03-12 06:08:06.930: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.940: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:06.960: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000b44 03-12 06:08:06.980: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000bd0 03-12 06:08:07.180: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:07.180: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:07.210: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000b44 03-12 06:08:07.240: E/eglCodecCommon(825): glUtilsParamSize: unknow param 0x00000bd0 03-12 06:08:07.320: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 03-12 06:08:07.320: E/eglCodecCommon(825): **** ERROR unknown type 0x0 (glSizeof,72) 

回答1:

This is caused if you use the "Use host GPU" setting of the emulator and it will disappear after you uncheck this option. If you still need "Use host GPU", you can just filter out the errors by customizing the Logcat Filter. Enter ^(?!eglCodecCommon) into the "by Log Tag (regex)" field in order to strip out the unwanted lines from the Logcat output.



回答2:

This is an error that you see when your emulator has the "Use host GPU" setting checked. If you uncheck it then the error goes away. Of course, then your emulator is not as responsive anymore.



回答3:

For those who like to work close to the metal, here is a command that will clear out the unwanted soot, without needing any special tools or scripts:

adb logcat "eglCodecCommon:S" 


回答4:

I Get the same message, when using Intel XHAM emulator (instead of ARM) and have "Use Host GPU" option enabled. I belive when you disable it, it goes away.



回答5:

It's very annoying. I'm not sure why Google places it there - no one needs these trash from emulator at all; we know what we are doing. I'm using pidcat and I modified it a bit
BUG_LINE = re.compile(r'.*nativeGetEnabledTags.*') BUG_LINE2 = re.compile(r'.*glUtilsParamSize.*') BUG_LINE3 = re.compile(r'.*glSizeof.*')

and
bug_line = BUG_LINE.match(line) if bug_line is not None: continue bug_line2 = BUG_LINE2.match(line) if bug_line2 is not None: continue bug_line3 = BUG_LINE3.match(line) if bug_line3 is not None: continue

It's an ugly fix and if you're using the real device you may need those OpenGL errors, but you got the idea.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!