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

Stream of: setVertexArrayObject: set vao to .. (..) 100 ... #93

Open
skinkie opened this issue Aug 19, 2019 · 26 comments
Open

Stream of: setVertexArrayObject: set vao to .. (..) 100 ... #93

skinkie opened this issue Aug 19, 2019 · 26 comments

Comments

@skinkie
Copy link

skinkie commented Aug 19, 2019

When developing and running the application I see an ocean debug messages flying by in the form of setVertexArrayObject: set vao to .. (..) 83 ...

I wonder a few things about this. I would expect that if there is no screen interaction the last rendered state would be taken, and no updates to the screen are executed, the debug stream suggests an updating window.

This error message is rather, verbose, and I can't find it in this repository, any suggestions?

@tobrun
Copy link
Collaborator

tobrun commented Nov 10, 2019

Do you have any information on the used device? Do you see this when running the normal Android SDK? (eg. Mapbox demo app in play store)

@skinkie
Copy link
Author

skinkie commented Nov 10, 2019

@tobrun even better: the emulator :)

@moopat
Copy link

moopat commented Nov 27, 2019

I have the same problem using the Pixel 2 Emulator:

CPU/ABI: Google Play Intel Atom (x86)
Target: google_apis_playstore [Google Play] (API level 29)
Skin: pixel_2
SD Card: 512M
fastboot.chosenSnapshotFile: 
runtime.network.speed: full
hw.accelerometer: yes
hw.device.name: pixel_2
hw.lcd.width: 1080
hw.initialOrientation: Portrait
image.androidVersion.api: 29
tag.id: google_apis_playstore
hw.mainKeys: no
hw.camera.front: emulated
hw.gpu.mode: auto
hw.ramSize: 1536
PlayStore.enabled: true
fastboot.forceColdBoot: no
hw.cpu.ncore: 4
hw.keyboard: yes
hw.sensors.proximity: yes
hw.dPad: no
hw.lcd.height: 1920
vm.heapSize: 256
skin.dynamic: yes
hw.device.manufacturer: Google
hw.gps: yes
hw.audioInput: yes
image.sysdir.1: system-images/android-29/google_apis_playstore/x86/
showDeviceFrame: yes
hw.camera.back: virtualscene
hw.lcd.density: 420
hw.arc: false
hw.device.hash2: MD5:55acbc835978f326788ed66a5cd4c9a7
fastboot.forceChosenSnapshotBoot: no
fastboot.forceFastBoot: yes
hw.trackBall: no
hw.battery: yes
hw.sdCard: yes
tag.display: Google Play
runtime.network.latency: none
disk.dataPartition.size: 6442450944
hw.sensors.orientation: yes
avd.ini.encoding: UTF-8
hw.gpu.enabled: yes

It spams the log very aggressively, causing an EOF error in Logcat, so that I cannot use Logcat at all while the map is displayed. I don't see these logs when running the demo from the Play Store on a real device, maybe the logs are only printed in debug builds.

@kleeb
Copy link
Contributor

kleeb commented Jan 9, 2020

Definitely a must have to disable this

D/eglCodecCommon(13088): setVertexArrayObject: set vao to 1363 (1363) 17301 5963
...

@m0nac0
Copy link
Collaborator

m0nac0 commented Jan 12, 2020

I'm not sure whether this is a bug with the plugin, as a similar issue has been described at flutter with a webview.
Would be interesting to know which Flutter and Android versions you are experiencing this on, and if downgrading either of solves the issue.

@kleeb
Copy link
Contributor

kleeb commented Jan 13, 2020

The latest Flutter, Android 9.0. Downgrading to 8.1 helps. Haven't checked yet on 10

@m0nac0
Copy link
Collaborator

m0nac0 commented Jan 13, 2020

What flutter channel are you on? And if you're running anything later than flutter 1.12.13+hotfix.5, could you please try that version temporarily? I'm asking because the person who opened the issue I mentioned above described that downgrading flutter to 1.12.13+hotfix.5 solved the issue for them.

@pomarec
Copy link

pomarec commented Jun 17, 2020

Same problem :

  • android 9 API 28 in sumulator, flutter 1.20.0-0.0.pre
  • android 9 API 28 in sumulator, flutter 1.20.0-1.0.pre.84

This leads to a full CPU usage aswell

@pomarec
Copy link

pomarec commented Jun 17, 2020

This is not happening on API 27 nor API 29

@pomarec
Copy link

pomarec commented Jun 25, 2020

Perhaps related : https://stackoverflow.com/questions/60299236/

@YegorMedvedev
Copy link

Getting the same issue on API 29. Did anyone found a workaround so far?

@jmealo
Copy link

jmealo commented Sep 1, 2020

@YegorMedvedev: I'm starting to investigate a workaround/fix for this issue. I'll circle back and tag you if I find a fix.

@iwo
Copy link

iwo commented Oct 9, 2020

@jmealo and progress on this issue? Is there any additional information you need?

@m0nac0 m0nac0 mentioned this issue Nov 2, 2020
@Protofall
Copy link

A fix would be very helpful, currently finding my own output is like finding a needle in the haystack. I'm also on an emulated Android API 29.

@tobrun
Copy link
Collaborator

tobrun commented Nov 7, 2020

I believe this is a emulator only issue on Android, with the way the egl context gets created.
Let us know if you have seen this on an actual device though!

@iuliuh
Copy link

iuliuh commented Apr 9, 2021

Having the same problem on the Pixel API 28 emulator.

@edofritz
Copy link

Simple, exclude log !setVertexArrayObject

@skinkie
Copy link
Author

skinkie commented May 11, 2021

Simple, exclude log !setVertexArrayObject

So you would accept that internally the functional logging is actually taking place?

@edofritz
Copy link

Simple, exclude log !setVertexArrayObject

So you would accept that internally the functional logging is actually taking place?

you're right, I can't see the other logs because of this.

@kleeb
Copy link
Contributor

kleeb commented Jun 1, 2021

any news ?

@stale
Copy link

stale bot commented Jan 14, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 14, 2022
@skinkie
Copy link
Author

skinkie commented Jan 14, 2022

Keep open.

@stale stale bot removed the stale label Jan 14, 2022
@stale
Copy link

stale bot commented Mar 15, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 15, 2022
@skinkie
Copy link
Author

skinkie commented Mar 15, 2022

Keep open.

@stale stale bot removed the stale label Mar 15, 2022
@m0nac0 m0nac0 added the pinned label Apr 30, 2022
@battlecook
Copy link

any news ?

@youssefgh
Copy link

I upgraded my emulator from API 28 to API 31. and that fixed the high cpu/crashing of vscode
Now i only get this log that prints every 1s while moving the map

D/EGL_emulation( 8754): app_time_stats: avg=19.11ms min=11.98ms max=57.92ms count=52

But you can remove it by putting "!D/EGL_emulation" in the debug console filter

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

No branches or pull requests