System Specifications:
- Windows 11
- AMD Ryzen 9 5900x
- RTX 2080 TI
- ASUS PRIME x570 PRO Motherboard
- 32GB RAM
The Android Emulator is extremely laggy (No matter the image chosen, I’ve tried all the way from API 21 to 33 and the problem persists on every image). The animations are not smooth and stutter a lot while animating (It’s like they’re jumping between the current state and the previous state 1ms ago) and a lot of weird black artifacts show up randomly and I can’t even use the recording feature on the emulator (The result is just a black screen)
What I’ve tried:
- BIOS is updated to the latest version (4403)
- Chipset driver for AMD processor updated to the latest version
- Hyper-V, Windows Hypervisor Platform and Virtual Machine Platform are turned off
- Android Emulator Hypervisor for AMD is installed (Through Android SDK)
- Using "Hardware" for emulator graphics
- Reinstalling Android studio
- Reinstalling Android Emulator Hypervisor
- Windows has no updates
- The GPU usage is about 2-3% while running the Emulator
- Running the Emulator in the Tool window or floating window doesn’t have an effect
- Tried all the renderers in the emulator settings (Even through terminal)
- Edit: No antivirus installed
4
Answers
You need to make sure that AMD virtualization is enabled in your BIOS. Please post a screenshot of your CPU Performance screen inside Task Manager. I’m looking for it to say that virtualization is enabled, like this:
Also, did you make sure that Hyper-V is completely disabled? And Core Isolation turned off? There are a bunch other apps that could be causing it to turn back on. Please refer to Google’s instructions
just solved a similar problem, managed to fix after completely uninstalling android studio (https://stackoverflow.com/a/39953746) and deleting the gvm.sys file from the windows / system 32 / drivers folder
I notice same issue. Solved with change emulator Graphics option to Software – GLES 2.0
that will fix the glitch issue, but you will notice decrease performance.
this issue has submit to google issue tracker.
I’m working on VS2022 17.4.3 based on an Intel i9-7900k w/64Gb RAM, Hyper-V enabled, and an old-but-gold NVidia GTX 1080Ti (driver 577.56) running in two 4k monitors.
What solved my problem? I just changed the settings of the virtual device from "Auto"-"Auto" to "Angle D3D11"-"Auto", as shown below:
IMPORTANT:
I hope it can help someone.