Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Emulator closed because of an internal error: GPU Found

I haven't been on Android Studios in a number of days. When I went back on my emulator kept getting killed. I deleted all my emulators and the AVD manager folder in .android. After selecting that the emulator graphics be Software GLES 2.0 the emulator works and can run the application but it is very, very slow. Only a week ago the emualtor and Android Studios worked great.

I am receiving this error messaging now after re-installing an emulator with API level 28 (Pie):

enter image description here

enter image description here

enter image description here

like image 542
Mick jAGGER Avatar asked Apr 29 '21 11:04

Mick jAGGER


People also ask

How do I fix the emulator process for AVD has terminated?

1. Create any Emulator configuration in Device Manager, start it, won't start and terminates immediately. 2. Uninstall Android Emulator tools from SDK Manager, re-install the same tools, create emulator configuration, start the same, won't start and terminates immediately.

How to fix Android Studio not opening on emulator error?

Just follow this steps to avoid those error, hope it works: Close your Android studio and also emulator error popup. Go to Control Panel. Select Programs --> Programs and Features --> Turn windows feature on or off (which lies in the extreme right side of the screen).

Why doesn't Intel iGPU support OpenGL?

Intel iGPUs of that generation (and older) have many issues with OpenGL compatibility. It appears that Intel iGPU drivers for Haswell (4th gen) processor and older don't support OpenGL well enough for Android 7.1+ devices. So they are purposely falling back to using software emulation which better supports the new Android emulators.

How to enable accelerated rendering of OpenGL ES on an emulator?

The solution is to, if possible, switch to using an external GPU for running the emulator. If an Intel GPU is the only GPU available on system it is possible to re-enable accelerated rendering of OpenGL ES, by overriding the default OpenGL ES renderer in settings (see below).

How do I fix the GPU driver issue?

Also, the "GPU driver issue" window that pops up doesn't even label WHICH one of the GPUs it thinks is the problem. For me the solution that worked is to run emulator from terminal, forcing it to run using hardware graphics (instead of letting emulator decide on which) using command where mode is host so that it will run with hardware.


3 Answers

Answer that work [28. July 2021]

  1. First of all update your graphic card with the latest driver. (Graphic Card Model can be checked through your Device Manager)
  2. Type in your explorer the following path, where <pc_name> need to be replaced with your individual name:

C:\Users<pc_name>.android

  1. In the above mentioned directory we will put a .ini file that I prepared and is ready to download here. This file will disable your Vulkan driver and enable your GLDirect driver that your AVDs don't lag anymore. (watch image below)
  2. Start your AVD and you will be able to use it without any troubles.

Where you have to put the file

like image 102
Etienne Kaiser Avatar answered Oct 22 '22 17:10

Etienne Kaiser


There is a missing or corrupted file amdvlk64.dll.I fixed this by given steps.

  1. Download amdvlk64.dll from This Link , this is for 64 bit OS, you can search fro 32 bit also.
  2. After Download, extract the folder on your desktop.
  3. Open Extracted folder and Copy the amdvlk64.dll file.
  4. Now Paste this file in C:\Windows\System32
  5. Again run the emulator, hopefully it will run.
like image 40
Faizan Haidar Khan Avatar answered Oct 22 '22 18:10

Faizan Haidar Khan


In my case I resolved this by performing the pending SDK Tools updates in the SDK Manager. Reference : https://superuser.com/a/1583394/961460

like image 2
Mawardy Avatar answered Oct 22 '22 16:10

Mawardy