Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix GPU Driver Issue error when running the Android emulator

My android emulator was working perfectly a few weeks ago but has now given me an error. When I run the code, a GPU Driver Issue error dialogue pops up along with the emulator. When I click "OK", the android emulator does not run the app as expected.

The error is as follows:

Your GPU driver information: ... Some users have experienced emulator stability issues with this driver version. As a result, we're selecting a compatibility renderer. Please check with your manufacturer to see if there is an updated driver available.

Here's a screenshot of the error, followed by a screenshot of the results of clicking "OK":

GPU driver issue error when running the Android emulator

GPU driver issue error stopping Android app in emulator

like image 944
myt Avatar asked Oct 18 '22 07:10

myt


1 Answers

These steps made the emulator fast for me in my Dell latitude e7440 In the AVD manager, edit your emulator. Emulated performance- Graphics set to Software- GLES2.0 When your emulator starts, on the right side panel click on the three dots(extended controls) Go to settings tab- advanced. Select OpenGL ES renderer - ANGLE(D3D11) OpenGL ES API level - Renderer maximum

Restart your emulator.

Got the idea from here https://developer.android.com/studio/run/emulator-acceleration

angle_indirect: (Windows only) Use a Quick Boot-compatible variant of ANGLE Direct3D to render graphics using software acceleration. This option is a good alternative to host mode if your computer can't use hardware acceleration. In most cases, ANGLE performance should be similar to using host mode because ANGLE uses Microsoft DirectX instead of OpenGL. On Windows, Microsoft DirectX drivers typically have fewer issues than OpenGL drivers. This option uses Direct3D 11 and requires Windows 10, Windows 8.1, or Windows 7 SP1 with the Windows 7 Platform Update.

like image 120
PKV Avatar answered Oct 21 '22 09:10

PKV