Open skinkie opened 5 years ago
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)
@tobrun even better: the emulator :)
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.
Definitely a must have to disable this
D/eglCodecCommon(13088): setVertexArrayObject: set vao to 1363 (1363) 17301 5963
...
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.
The latest Flutter, Android 9.0. Downgrading to 8.1 helps. Haven't checked yet on 10
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.
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
This is not happening on API 27
nor API 29
Perhaps related : https://stackoverflow.com/questions/60299236/
Getting the same issue on API 29
. Did anyone found a workaround so far?
@YegorMedvedev: I'm starting to investigate a workaround/fix for this issue. I'll circle back and tag you if I find a fix.
@jmealo and progress on this issue? Is there any additional information you need?
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.
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!
Having the same problem on the Pixel API 28
emulator.
Simple, exclude log !setVertexArrayObject
Simple, exclude log !setVertexArrayObject
So you would accept that internally the functional logging is actually taking place?
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.
any news ?
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.
Keep open.
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.
Keep open.
any news ?
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
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?