Weird error on Android 2.3 (Samsung Galaxy Y)

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Weird error on Android 2.3 (Samsung Galaxy Y)

Post by porcus »

Hi,

On my tablet (Android 4.0.3, mips cpu, Vivante GC800 core gpu) everything works fine but I get a weird error an a Samsung Galaxy Y smartphone (Android 2.3.5, arm cpu, Broadcom VideoCore IV HW gpu).
The logcat prints always "11-30 17:52:23.789: E/(10922): Unable to Find Phys Addr for 1c7628" which is caused by

Code: Select all

glDrawElements((LastMaterial.Wireframe) ? GL_LINES : (LastMaterial.PointCloud) ? GL_POINTS : GL_TRIANGLES, primitiveCount*3, indexSize, indexList);
in the EPT_TRIANGLES case in drawVertexPrimitiveList2d3d in COGLES2Driver.

I have absolutely no idea what is going on. Can anybody help me?
Thanks in advance.
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Weird error on Android 2.3 (Samsung Galaxy Y)

Post by Nadro »

Which ogl-es revision do you use? I didn't see similar issues before, maybe is it drivers problem? Did you try ogl es 1.0?
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Re: Weird error on Android 2.3 (Samsung Galaxy Y)

Post by porcus »

Thanks for your reply.

egl version 1.4 is used according to the logcat.
When I use ogles 1 I don't get the error in the logcat, but nothing is displayed on the screen except of the background color.
(With ogles2 I get also only a blank screen with the background color and of course the error in the logcat)

And I noticed when I press the home button I get an error on the logcat: "surface (identity=24) is invalid, err=-19 (No such device)".
Nadro
Posts: 1648
Joined: Sun Feb 19, 2006 9:08 am
Location: Warsaw, Poland

Re: Weird error on Android 2.3 (Samsung Galaxy Y)

Post by Nadro »

Nadro wrote:Which ogl-es revision do you use?
Please post this info.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
porcus
Posts: 149
Joined: Sun May 27, 2007 6:24 pm
Location: Germany

Re: Weird error on Android 2.3 (Samsung Galaxy Y)

Post by porcus »

I tried it with ogl-es 2.0 (blank screen + error "11-30 17:52:23.789: E/(10922): Unable to Find Phys Addr for 1c7628" in the logcat)
and ogl-es 1.0 (only blank screen)
Lysenko
Posts: 10
Joined: Wed Jan 25, 2012 6:32 pm

Re: Weird error on Android 2.3 (Samsung Galaxy Y)

Post by Lysenko »

@porcus
You were asked not which version of OpenGL ES you were using.
The question is, which revision of irrlicht ogl-es branch you were using.
I hope you understand version control and subversion.
I don't know current revision, but my local code is at r4615.
So your answer should be something close to 4615, not 1 or 2.
TL;DR:
1) go to the irrlicht directory
2) run `svn log | head`
3) post output
4) ????
5) PROFIT!!!
Post Reply