简体   繁体   中英

Android Emulator stuttering + Artifacts (Windows 11 on AMD Processor)

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)

模拟器上的黑神器 模拟器2上的黑神器

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

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 .

在此处输入图像描述

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'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:

  1. After changing these settings, you MUST power off the virtual phone and close it.
  2. In my case, I also deleted the selected device and reinstalled it from VS2022 ( Tools - Android - Android Device Manager ). The Direct-3D settings was still activated as I had set.

I hope it can help someone.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM