how to run android studio emulator on nVidia GT 365M - android

I created an emulator via Android studio AVD.
when i run the emulator, it show a message saying
your gpu driver information :
make:8086
Model:Intel (R) HD graphics 4000
device id :0166
Some users have experienced emulator stability issues with this driver version. As a result, were selecting a compatibility renderer. Please check with your manufacturer to see if there is an updated driver available.
https://i.ibb.co/60pY4pm/emulator2.jpg
I Added Android Studio to my nvidia card to run automatically on GPU driver whenever i open android studio
I Also added emulator executive files to nvidia card control
So it supposed that the emulator run on My nividia GT 365M not intel 4000
http://i63.tinypic.com/5bd7vk.jpg
But same message appear and my emulator is extremely slow
it is on that stage after 15 min of running
http://i66.tinypic.com/2zfv2hz.jpg
I tried every single option in emulator setting
http://i68.tinypic.com/71jpm0.jpg
***I tried to run the emulator by command line
emulator -avd pixel -gpu on
But the same problem
**** I enabled Intel HAXM (intel hardware acceleratio),,,nothing changed
********I ensured that my nividia card Driver is up-to-date
My Laptop Specs
CPU Intel Core i5 (3rd Gen) 3210M / 2.5 GHz
*Number of Cores Dual-Core
*Cache 3 MB
*Ram: 6 GB
*Graphics Processor Intel HD Graphics 4000
*Graphic card : nVidia GT365M
What is the solution ?

problem solved by installing intel 4000 graphic card update
https://downloadcenter.intel.com/product/81499/Intel-HD-Graphics-4000
but I still think my emulator runs on Intel card not GPU nividia card
any solutions for that ?

Related

Poor performance and wrong work of emulator on fedora

I install android studio following android docs instructions. I run emulator and after about 10 minutes I see this error or this error. After that I tried some configurations, I change emulator RAM and heap size, turn on GLES 2.0 software and hardware. And all works good when I increase RAM to 4096mb, increase heap size to 2048mb, select cold boot and run emulator from console by command ./emulator -avd Pixel_3a_API_33 -gpu host. And when after that I select quick boot again emulator work very slowly.
Hardware:
Ram: Netac 16gb 3200mhz
APU: AMD A10 9600P
OS: Fedora 36 and Fedora 37, I tried both systems
I expect that I will be able to run emulator in android studio not in console, and with quick boot on Fedora.

GPU Driver issue with Android Emulator

I an new to Android Development and Android Studio, and I am trying to run the emulator, but unfortunately, everytime I run it I get the following error.
GPU #1
Make: 8086
Model: Intel(R) HD Graphics Family
Device ID: 0a16
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.
Does anyone know how to fix it,
My computer's details:
Processor: Intel Core i3-4005 CPU # 1.70 GHz
Graphics: Intel HD Graphics Family
Model: Dell Inspiron 3542
RAM: 4GB
Hard Disk 1TB
I encounter this warning on my hackintosh (Lenovo X230, Intel HD 4000).
I tried to force hardware use with no success.
Did you try this one emulator from Microsoft?
https://www.visualstudio.com/vs/msft-android-emulator/
In my case, on my Windows machine (same X230), the emulator keeps stalling on the profiles screen...
I have an old macbook pro with HD3000 on which the emulator runs fine, though the graphic chip is part of from Intel's HD family.

Run an emulator on an AMD processor

I have created an emulator with Google API of API 25 in Android Studio and my machine has AMD Processor. Can I run the emulator?
Yes you can,Just Follow below things
open Android AVD Manager: Tools -> Android -> AVD Manager and create an emulator:
-Create Virtual Device
-Choose any hardware
-Now in system image you need to click on the "Other Images" tab
-Select an image to install. IMPORTANT: Notice that for AMD in the "ABI" column it has to say: ARM EABI v7a or ARM 64 v8a
-Install it and restart Android Studio
This works for me.
On AMD processor you may be run ARM architecture Android Image not Intel but
emulator become very slow.
better way
use Genymotion emulator for personal use, This work on both
Intel VT-X and AMD-V technology.
after running 15 emulator follow this blog post finally, I can run my android emulator super fast on my AMD Ryzen 5 1600 machine.
window emulator very slow and crash and old
Genymotion Emulator is expensive without free
Bluestack cannot inspect with "HTTP/1.1 404 Not Found" error and have problem with keyboard
Nox Emulator cannot connect to browser to inspect
MEmu cannot connect to browser to inspect
Andy Emulator the only one can work perfectly
trust me, no seeding, just take 3 days investigate on this

Android emulator running extremely slow on Ubuntu 17.04

I know this is a duplicate but i am unable to comment on this thread in order to find out a solution. I have done exactly as the accepted answer but my problem isn't solved.
I am running Ubuntu 17.04 on a laptop with Intel Core i7 4th Gen Processor, 8GB RAM, 256GB SSD and Dual Graphics.
I have installed nVidia Prime drivers and switched to Intel graphics card because it performs better than the nVidia.
I have created a Virtual Device with the following settings:
Device: Google Pixel with API 26
Graphics: Automatic(i have tried both software and hardware btw).
RAM: 4096MB
VM Heap: 1024MB
Internal Storage: 4096MB
First, reduce the RAM of the emulator image to something more reasonable (1024MB, perhaps 1536MB). Do not allocate half of your development machine's RAM to an emulator.
Second, confirm that you are using an x86 emulator image (or perhaps x86-64). This shows up in the CPU column of the AVD Manager.

Android emulator: how to find out if hardware virtualization feature is used?

Starting with Android SDK Tools rev 17 the Android emulator supports using the hardware virtualization feature (Intel VT, VT-x, vmx and AMD-V, SVM) which should speed-up x86 based emulator images a lot: http://developer.android.com/guide/developing/devices/emulator.html#accel-vm
I installed all necessary components:
The newest SDK tools
The Intel Hardware Accelerated Execution Manager (and installed it by executing IntelHaxm.exe)
Intel Atom x86 System Image (available as API 10 and API 15 image)
Then I created a new AVD using that image, but I could not "feel" any difference regarding the execution speed.
Therefore my question is: How to find out if hardware virtualization feature is used?
And if not what needs to be done to use it?
I know that it is enabled by the BIOS, because I can run Windows 64 bit VMs in VirtualBox.
Additionally I have verified it using the Microsoft® Hardware-Assisted Virtualization Detection Tool.
During emulator loading you should see this line:
[2012-03-26 14:06:22 - Emulator] HAX is working and emulator runs in fast virt mode
After steping through this tutorial on OS X Lion, I see the following in the console, when starting the emulator:
./emulator-x86 -avd Test3
HAX is working and emulator runs in fast virt mode
Had the same issue on Windows 7 32bit with Q6600 Intel processor and pretty outdated Asus P5E-VM SE motherboard.
The motherboard did not even have a switch for virtualization, though Intel tool:
http://www.intel.com/support/processors/tools/piu/sb/CS-014921.htm
indicated that VT technology is enabled.
The culprit was that Data Execution prevention was enabled only for windows services, I have enabled it for all programs and after computer restart received this message in the Android Console of the Eclipse:
HAX is working and emulator runs in fast virt mode
DEP setting is located:
Located Windows/Control Panel/System&Security/System/Advanced System Settings/Advanced tab/Performance/Data Execution Prevention tab
The idea to check it I received here: https://developer.tizen.org/sdk/haxm
Though only used standard images (not Tizen ones).
Have to say that loading of the emulator in the virtualization mode is not nearly as impressive as on Intel promo video: http://www.youtube.com/watch?v=pt9IeJ777zw
But uploading of the application (mine is pretty big ~5MB) and general responsiveness of the emulator is quite significant. One cannot say that it works as native computer (that it sometimes there is a visible lag), but again it is visibly faster.
It eats a lot of memory though (I have 4 GB, only 14MB is free when emulator will run).
A quick solution for Windows platform, Launch CMD as an administrator and type this command
SC query INTELHAXM
And you should see output like this (if hardware acceleration is up and running)
SERVICE_NAME: intelhaxm
TYPE : 1 KERNEL_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0

Categories

Resources