-
Notifications
You must be signed in to change notification settings - Fork 26.7k
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
[Impeller] Vulkan validation layers are (still) crashing Android emulators. #148481
Comments
Hi @matvuric, did this happen prior to flutter 3.22? What gpu is your device using? |
@danagbemava-nc, no that also was happening on 3.19 too. I've started trying yesterday with 3.19 and had the same problem. Now I have flutter 3.22. |
Which Android emulator version and API level are you using? I would recommend updating to the very latest AVD that you can. |
@jonahwilliams, I've tried pixel 3a and pixel 8 pro. API 34 x86_64 |
The device skin doesn't matter, its the AVD version. Can you try updating to latest and/or listing the AVD version you have installed? |
@jonahwilliams I have Android 14.0 API 34 x86_64 and installed Android VanillaIceCream x86_64. With the last one I have no problem with GPU, but emulator is crashing.
|
The emulator version is the important part, not the API level or phone form factor. You can look up the emulator version with:
|
@ciriousjoker @matvuric please run the command in #148481 (comment) and provide the output. Thank you |
|
As per Android Studio sdk manager, this already is the newest version: |
Thanks! This is unfortunate. We suspect the crash is related to vulkan validation layers being enabled by default for debugging, and while we've reached out to the Android emulator team about this several times they've been unable to fix it. On the current master channel, we've disabled the validation layers and intend to keep them opt in, so you might be able to try there to see if it works. Otherwise, if you choose an ABI that we support profile/release builds for (x86_64, arm32, arm64), running in a profile build will disable validation layers. |
We're going to cherry pick a change to turn off validation layers on 3.22, that should work around this problem |
CP request and PR opened. |
I believe the latest flutter hotfix should have resolved this issue. if not, please comment on this bug or file a new issue. |
Steps to reproduce
Expected results
App is running on the emulator
Actual results
After running the project my screen is locked and doesn't react on any input actions. Computer is still running, but doesn't show anything new.
Code sample
Code sample
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: