Author Topic: Weird errors in Samsung Y logcat  (Read 4030 times)

Offline zammbi

  • float
  • ****
  • Posts: 360
    • View Profile
Weird errors in Samsung Y logcat
« on: March 12, 2012, 03:54:28 am »
Not sure if its anything to worry about but I keep getting such errors in the logcat:

Quote
03-12 15:48:20.453: D/BRCM_EGL(9668): eglDestroyContext() context: 0x4be3f0, VC context: 1, Thread 9752
03-12 15:48:20.460: E/EGL_SERVER(9668): pid mem_get_free_space before =  5fffa0
03-12 15:48:20.460: E/EGL_SERVER(9668): pid mem_get_free_space =  5fffa0
03-12 15:48:20.468: I/GLThread(9668): releasing EGL context because paused tid=30
03-12 15:48:20.593: I/GLThread(9668): noticed surfaceView surface lost tid=30

Also had my logcat spammed full pages of "Unable to Find Phys Addr for 0" as errors, though forgot to copy the log. I'll post it again when it happens.

Thought I'll let you know just in case it leads to a bug/crash.


Edit:
Repeatable and just spams the whole logcat when JPCT is loaded. Can't be good :S
Quote
03-12 15:59:20.023: E/(10035): Unable to Find Phys Addr for 0
« Last Edit: March 12, 2012, 03:59:17 am by zammbi »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Weird errors in Samsung Y logcat
« Reply #1 on: March 12, 2012, 07:02:11 am »
What does the driver initialization part prints out?

Offline zammbi

  • float
  • ****
  • Posts: 360
    • View Profile
Re: Weird errors in Samsung Y logcat
« Reply #2 on: March 12, 2012, 07:50:32 am »
Quote
03-12 19:47:53.984: I/jPCT-AE(13003): GL20 render pipeline initialized!
03-12 19:47:53.984: I/jPCT-AE(13003): OpenGL vendor:     Broadcom
03-12 19:47:53.984: I/jPCT-AE(13003): OpenGL renderer:   VideoCore IV HW
03-12 19:47:53.984: I/jPCT-AE(13003): OpenGL version:    OpenGL ES 2.0
03-12 19:47:53.992: I/jPCT-AE(13003): OpenGL renderer initialized (using 2 texture stages)
I don't have time to test any more atm, but seems it could be something to do with lines (maybe hiding).

Basically the error is spamming 20 lines per second.

Here is more logs, me going into the 3d world and then quickly backing out:

Quote
03-12 19:47:53.750: I/jPCT-AE(13003): Text file from InputStream loaded...2008 bytes
03-12 19:47:53.757: D/WebViewActivity(13003): ### onStop is being called
03-12 19:47:53.757: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.765: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.773: I/jPCT-AE(13003): Text file from InputStream loaded...3897 bytes
03-12 19:47:53.773: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.804: I/jPCT-AE(13003): Handles of 3: 6/1245184
03-12 19:47:53.804: I/jPCT-AE(13003): Loading default shaders (Tex0)!
03-12 19:47:53.804: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.804: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.804: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.804: I/jPCT-AE(13003): Text file from InputStream loaded...201 bytes
03-12 19:47:53.804: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.812: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.812: I/jPCT-AE(13003): Text file from InputStream loaded...3421 bytes
03-12 19:47:53.812: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.828: I/jPCT-AE(13003): Handles of 6: 3/720896
03-12 19:47:53.828: I/jPCT-AE(13003): Loading default shaders (Tex1)!
03-12 19:47:53.828: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.828: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.835: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.835: I/jPCT-AE(13003): Text file from InputStream loaded...871 bytes
03-12 19:47:53.835: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.835: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.835: I/jPCT-AE(13003): Text file from InputStream loaded...3791 bytes
03-12 19:47:53.835: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.859: I/jPCT-AE(13003): Handles of 9: 4/1048576
03-12 19:47:53.859: I/jPCT-AE(13003): Loading default shaders (Tex0Light0)!
03-12 19:47:53.859: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.859: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.859: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.859: I/jPCT-AE(13003): Text file from InputStream loaded...201 bytes
03-12 19:47:53.859: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.867: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.867: I/jPCT-AE(13003): Text file from InputStream loaded...1200 bytes
03-12 19:47:53.867: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.875: I/jPCT-AE(13003): Handles of 12: 3/589824
03-12 19:47:53.875: I/jPCT-AE(13003): Loading default shaders (Fog)!
03-12 19:47:53.875: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.875: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.882: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.882: I/jPCT-AE(13003): Text file from InputStream loaded...328 bytes
03-12 19:47:53.890: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.890: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.890: I/jPCT-AE(13003): Text file from InputStream loaded...3668 bytes
03-12 19:47:53.890: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.906: I/jPCT-AE(13003): Handles of 15: 3/917504
03-12 19:47:53.906: I/jPCT-AE(13003): Loading default shaders (FogLight0)!
03-12 19:47:53.914: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.914: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.914: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.914: I/jPCT-AE(13003): Text file from InputStream loaded...328 bytes
03-12 19:47:53.914: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.914: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.921: I/jPCT-AE(13003): Text file from InputStream loaded...1516 bytes
03-12 19:47:53.921: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.929: I/jPCT-AE(13003): Handles of 18: 3/851968
03-12 19:47:53.929: I/jPCT-AE(13003): Loading default shaders (Tex0Amb)!
03-12 19:47:53.929: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.929: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.929: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.937: I/jPCT-AE(13003): Text file from InputStream loaded...199 bytes
03-12 19:47:53.937: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.937: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.937: I/jPCT-AE(13003): Text file from InputStream loaded...757 bytes
03-12 19:47:53.937: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.945: I/jPCT-AE(13003): Handles of 21: 2/327680
03-12 19:47:53.945: I/jPCT-AE(13003): Loading default shaders (Depth)!
03-12 19:47:53.953: I/jPCT-AE(13003): 0 shaders in replacement map!
03-12 19:47:53.953: I/jPCT-AE(13003): Default fragment shader is: /defaultFragmentShader.src
03-12 19:47:53.953: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.953: I/jPCT-AE(13003): Text file from InputStream loaded...745 bytes
03-12 19:47:53.953: I/jPCT-AE(13003): Default vertex shader is: /defaultVertexShader.src
03-12 19:47:53.960: I/jPCT-AE(13003): Loading file from InputStream
03-12 19:47:53.960: I/jPCT-AE(13003): Text file from InputStream loaded...248 bytes
03-12 19:47:53.968: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:53.984: I/jPCT-AE(13003): Handles of 24: 0/0
03-12 19:47:53.984: I/jPCT-AE(13003): GL20 render pipeline initialized!
03-12 19:47:53.984: I/jPCT-AE(13003): OpenGL vendor:     Broadcom
03-12 19:47:53.984: I/jPCT-AE(13003): OpenGL renderer:   VideoCore IV HW
03-12 19:47:53.984: I/jPCT-AE(13003): OpenGL version:    OpenGL ES 2.0
03-12 19:47:53.992: I/jPCT-AE(13003): OpenGL renderer initialized (using 2 texture stages)
03-12 19:47:53.992: I/jPCT-AE(13003): 29fps
03-12 19:47:54.046: D/dalvikvm(13003): GC_FOR_MALLOC freed 4489K, 78% free 6217K/27527K, external 3644K/4271K, paused 52ms
03-12 19:47:54.140: D/dalvikvm(13003): GC_CONCURRENT freed 63K, 70% free 8321K/27527K, external 3644K/4271K, paused 5ms+7ms
03-12 19:47:54.390: D/dalvikvm(13003): GC_FOR_MALLOC freed 67K, 70% free 8437K/27527K, external 3644K/4271K, paused 48ms
03-12 19:47:54.484: D/dalvikvm(13003): GC_FOR_MALLOC freed 47K, 54% free 12729K/27527K, external 3644K/4271K, paused 46ms
03-12 19:47:54.734: D/dalvikvm(13003): GC_CONCURRENT freed 2179K, 62% free 10578K/27527K, external 3644K/4271K, paused 5ms+7ms
03-12 19:47:54.953: D/dalvikvm(13003): GC_FOR_MALLOC freed 27K, 62% free 10575K/27527K, external 3644K/4271K, paused 46ms
03-12 19:47:57.140: W/KeyCharacterMap(13003): Can't open keycharmap file
03-12 19:47:57.140: W/KeyCharacterMap(13003): Error loading keycharmap file '/system/usr/keychars/sec_touchscreen_.kcm.bin'. hw.keyboards.65538.devname='sec_touchscreen '
03-12 19:47:57.140: W/KeyCharacterMap(13003): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-12 19:47:57.187: I/jPCT-AE(13003): OpenGL context has changed(2)...recovering for renderer 2/1!
03-12 19:47:57.187: I/jPCT-AE(13003): Creating buffers...
03-12 19:47:57.187: I/jPCT-AE(13003): Compiling shader program!
03-12 19:47:57.195: I/jPCT-AE(13003): Handles of 27: 0/65536
03-12 19:47:57.281: I/GLThread(13003): onPause tid=33
03-12 19:47:57.281: I/Main thread(13003): onPause waiting for mPaused.
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.320: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.328: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: E/(13003): Unable to Find Phys Addr for 0
03-12 19:47:57.335: I/GLThread(13003): mPaused is now true tid=33
03-12 19:47:57.335: I/GLThread(13003): releasing EGL surface because paused tid=33
03-12 19:47:57.335: W/EglHelper(13003): destroySurface()  tid=33
03-12 19:47:57.343: D/BRCM_EGL(13003): eglMakeCurrent(NULL) Thread: 13271
03-12 19:47:57.343: D/BRCM_EGL(13003): eglDestroySurface() surface: 0x641a00, android window 0x5f2280, Thread: 13271
03-12 19:47:57.343: W/EglHelper(13003): finish() tid=33
03-12 19:47:57.343: D/BRCM_EGL(13003): eglDestroyContext() context: 0x6c49a8, VC context: 1, Thread 13271
03-12 19:47:57.343: E/EGL_SERVER(13003): pid mem_get_free_space before =  5fffa0
03-12 19:47:57.343: E/EGL_SERVER(13003): pid mem_get_free_space =  5fffa0
03-12 19:47:57.351: I/GLThread(13003): releasing EGL context because paused tid=33
03-12 19:47:57.351: I/GLThread(13003): sending render notification tid=33
« Last Edit: March 12, 2012, 07:52:47 am by zammbi »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Weird errors in Samsung Y logcat
« Reply #3 on: March 12, 2012, 08:20:56 am »
VideoCore IV...i've never seen this used by any device. Anyway, i think that this is a driver bug. It seems to return address 0 for the position of the position attribute in the vertex shader (which is valid), but then tells you that it can't find that address. That doesn't make much sense to me. Have you tried to use OpenGL ES 1.1 for this device instead?

Offline zammbi

  • float
  • ****
  • Posts: 360
    • View Profile
Re: Weird errors in Samsung Y logcat
« Reply #4 on: March 12, 2012, 09:40:22 am »
I'll give OpenGL 1.1 a try once I'm back at work. If that works fine I can just set OpenGL 2.0 to be on the higher end phones.

What about the mem_get_free_space and mem_get_free_space showing as errors?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Weird errors in Samsung Y logcat
« Reply #5 on: March 12, 2012, 11:28:54 am »
What about the mem_get_free_space and mem_get_free_space showing as errors?
No idea..the EGL server seems to wonder why the amount of used memory doesn't change, but what can one do!? Given that this GPU is really strange and i never saw it before, i wouldn't trust the driver quality much in this case.

Offline zammbi

  • float
  • ****
  • Posts: 360
    • View Profile
Re: Weird errors in Samsung Y logcat
« Reply #6 on: March 12, 2012, 10:19:15 pm »
I've tested more for OpenGL 2.0 it seems to fun fine but just the logcat is spammed.

OpenGL 1.1 is fine, no spam. So what I've done is only turn on OpenGL 2.0 when I need AA support.

Quote
Given that this GPU is really strange and i never saw it before, i wouldn't trust the driver quality much in this case.
Haha ok.