Status Update
Comments
sa...@squareup.com <sa...@squareup.com> #2
[Deleted User] <[Deleted User]> #3
I can confirm the same problem. Noticed poor performance, manually switched to HW graphics, performance improved. I've tried several other settings and images, nothing else affects it.
Not sure if it's related, but the emulator is also beachballing me (and I have to kill it) at least once a day at random moments. It happens on both graphics settings.
Android Studio Flamingo | 2022.2.1 Beta 3
Build #AI-222.4459.24.2221.9601061, built on February 14, 2023
Runtime version: 17.0.6+0-17.0.6b802.4-9586694 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.2.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Metal Rendering is ON
Emulator version: 33.1.1
cs...@google.com <cs...@google.com>
jp...@google.com <jp...@google.com> #4
It's a duplicated on 270034824 , which has a fix in aosp/2451107 , which should be cherry picked in the 33.1.x
sa...@squareup.com <sa...@squareup.com> #5
Hmm are you sure? 270034824
suggests that this is a month old regression, but I'm fairly confident I've seen my emulator perform badly for many months. It also only mentions M1, but a few Linux users have confirmed their emulators are defaulting to SW acceleration as well.
jp...@google.com <jp...@google.com>
ya...@google.com <ya...@google.com> #6
This bug has been there for multiple canary release versions, but is recently dropped to stable. If you use canary emulator you might have seen it for a while.
If you know anyone who encounters the same issue on Linux, please ask them if they have some interesting configuration (remote desktop? linux within an VM? etc), and if they could help to run the command "glxinfo | grep OpenGL" and send us the output.
ev...@tatarka.me <ev...@tatarka.me> #7
glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 525.89.02
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 525.89.02
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 525.89.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
ya...@google.com <ya...@google.com> #8
do we have anything similar to #7 that could try to see if we could repro the issue? (Linux machine with NVIDIA GeForce GPU, emulator version 33.1.2, check if "-gpu auto" picks up the hardware or software rendering)
ra...@google.com <ra...@google.com> #9
Yahan, I have asked the team but it seems no one has the Linux machine with NVIDIA GeForce GPU.
sa...@squareup.com <sa...@squareup.com> #10
This bug has been there for multiple canary release versions, but is recently dropped to stable. If you use canary emulator you might have seen it for a while
Yea that sounds about right. I've been using canaries for some time.
ya...@google.com <ya...@google.com> #11
If you are experiencing similar issues on linux, would you help to run the emulator from command line with -verbose tag and send us the logs? Your command will look like:
/path/to/emulator -avd your_avd_name -verbose
Please post them in
Thanks!
Description
I'm not sure when this started, but emulators are no longer HW accelerated on macOS Ventura 13.2.1. There's a massive performance drop in emulators that seems to have gone unnoticed for a while.
Android Studio prints this line every time an emulator is started with vanilla config:
When the acceleration mode is manually changed to hardware, Android Studio displays a warning message:
Considering that SW acceleration is terrible, can we also show a warning message in the future if HW can't be used? It's sad that this problem has gone unnoticed for so long.