Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless spam in emulator syslog (eglCodecCommon: setVertexArrayObject: set vao) #2199

Open
matkoniecz opened this issue Oct 22, 2020 · 5 comments

Comments

@matkoniecz
Copy link
Contributor

matkoniecz commented Oct 22, 2020

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:

  • Installed Android Studio
  • Created emulated device with Android Studio
  • Installed StreetComplete (this app is using tangram-es)

RESULT:

2020-10-21 21:37:43.819 7274-7337/de.westnordost.streetcomplete.debug D/eglCodecCommon: setVertexArrayObject: set vao to 1 (1) 4 7

spamming syslog

See streetcomplete/StreetComplete#2187 for full listing from a single milisecond

EXPECTED RESULT:

I have no insane syslog spam that makes debugging of an actual problem impossible.

ENVIRONMENT:

OTHER:

I have not reproduced it on physical devices that I own.

I have no idea how to eliminate it and what kind of debugging would be useful, but I would be happy to perform it if directed.

https://hastebin.com/ixikosofuf.apache

@matteblair
Copy link
Member

Yikes, that definitely shouldn't happen. Seems like it's printing one of these for every VAO that's drawn, which is quite a lot.

I believe eglCodecCommon is Android platform code, so this might just be a bug in the emulator that's out of our control. However, I'll see if we can do anything to suppress these logs.

@matkoniecz
Copy link
Contributor Author

bug in the emulator

If that is the case - if anyone knows what is the workaround it also would be valuable.

@westnordost
Copy link
Contributor

@matkoniecz Which processor architecture does your emulated virtual device use? Usually it is the x86 architecture (for performance reasons). Actual devices usually use the arm64-v8 processor architecture. For each architecture, a different binary is used, maybe you can try if it is reproducible on an emulator using the arm64-v8 architecture.

@matteblair
Copy link
Member

Update: I'm able to reproduce this issue by running our Android demo app in an emulator on macOS. I used an x86 Pixel 2 API 29 (Android 10) image. The issue does not occur when using images with earlier Android versions, so this means that something changed with the Android emulator - not Tangram.

That said, it's still possible that we could find a workaround to include in Tangram, for developer convenience.

@matkoniecz
Copy link
Contributor Author

matkoniecz commented Oct 26, 2020

Both x86 Android 9 and x86 Android 10 and exhibit this problem for me.

Android Studio offers Android 7.1.1 arm64-v8 image and no later ones. I am downloading it right now and test whatever deeper downgrade and/or arm64-v8 is sufficient as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants