Emulator: Warning: QXcbIntegration - android

When i run Android Emulator from Android Studio, i get this Warning:
Emulator: Warning: QXcbIntegration: Cannot create platform
OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
This warning didn't appear before. What this warning is for and should i ignore it or not? What is the Fix for it?

With hw.gpu.mode = host it seems to run with hardware OpenGLES emulation:
emulator: CPU Acceleration: working
emulator: CPU Acceleration status: KVM (version 12) is installed and usable.
Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
...
emulator: GPU emulation enabled using 'host' mode
emulator: Initializing hardware OpenGLES emulation support
emulator: VERBOSE: emulator-qt-window.cpp:2824: setUIMultiDisplay id 0 0 0 1080 2220 add
Either wait until the next version of the emulator will be released - or downgrade < 29.2.1.

Related

Android Emulator black screen on Phenom II X4 965

I can not start the android emulator on my machine. I can see the phone "frame" but the content is black.
I also tried to start the emulator from command line and I get the following error messages:
./emulator -avd Pixel_3_Edited_API_28
emulator: Android emulator version 30.5.5.0 (build_id 7285888) (CL:N/A)
handleCpuAcceleration: feature check for hvf
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
cannot add library /home/ps/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
added library /home/ps/Android/Sdk/emulator/lib64/vulkan/libvulkan.so
cannot add library /home/ps/Android/Sdk/emulator/lib64/vulkan/libvulkan.so.1: full
host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
host doesn't support requested feature: CPUID.01H:ECX.sse4.1 [bit 19]
host doesn't support requested feature: CPUID.01H:ECX.sse4.2 [bit 20]
qemu-system-x86_64: can't open backing store /home/ps/.android/avd/Pixel_3_Edited_API_28.avd/snapshots/default_boot/ram.img for guest RAM: Permission denied
qemu-system-x86_64: falling back to regular RAM allocation.
emulator: INFO: GrpcServices.cpp:301: Started GRPC server at 127.0.0.1:8554, security: Local
Is my computer to old? Do I need a newer CPU?
System
CPU: AMD Phenom II X4 965
Linux Mint 19.3
Yes your computer is too old, see
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
even you are lucky enough to be able to start it, it would not be in usable performance. You should either buy a new computer or use a cloud service to do it. Any recent i5 desktop with like 8gb ram should have given you usable performance.

First time trying Android Studio. Emulator won't start - Linux

OS: Linux Mint 19.1
Android Studio: android-studio-ide-191.6010548-linux
CPU: AMD Phenom(tm) II X4 965 Processor
RAM: 16GB
API Level: 22 ; Android: 5.1
I am following this guide: https://codelabs.developers.google.com/codelabs/build-your-first-android-app/#2
I've reached step 5 but the emulator doesn't start.
I have tried using both Hardware and Software GPU.
I have set hw.audioInput and hw.gps to no
Running the emulator from ~/Android/Sdk/tools using the command ./emulator -avd 7_WSVGA_Tablet_API_22 -netspeed full -netdelay none returns the following:
emulator: WARNING: encryption is off
emulator: WARNING: Host CPU is missing the following feature(s) required for x86 emulation: SSSE3
Hardware-accelerated emulation may not work properly!
emulator: WARNING: Not all modern X86 virtualization features supported, which introduces problems with slowdown when running Android on multicore vCPUs. Setting AVD to run with 1 vCPU core only.
emulator: INFO: QtLogger.cpp:68: Warning: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ((null):0, (null))
host doesn't support requested feature: CPUID.01H:ECX.ssse3 [bit 9]
checkValid: hw configs not eq
So a bunch of warnings that I can't clear.
What do you think ?
Make sure HW virtualization support is enabled in bios. Also look here: https://developer.android.com/studio/run/emulator-acceleration.html

I installed intel HAXM and enabled virtual technologies in BIOS, but stil can`t run the emulator

Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
14:59 Emulator: init: Could not find wglGetExtensionsString!
14:59 Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!
14:59 Emulator: Failed to obtain GLES 2.x extensions string!
14:59 Emulator: Could not initialize emulated framebuffer
14:59 Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
14:59 Emulator: Process finished with exit code -1073741819 (0xC0000005)

Emulator says Process finished with exit code -1073741819 (0xC0000005)?? what should i do

i'll get this error....what should i do to run my emulator...
11-05-2018
16:17 Gradle sync started
16:17 Project setup started
16:17 Gradle sync finished in 14s 711ms (from cached state)
16:22 Emulator: Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT + UG features is currently needed. We will address this in a future release.
16:22 Emulator: emulator: WARNING: Host CPU is missing the following feature(s) required for x86_64 emulation: SSE4.2 POPCNT
16:22 Emulator: Hardware-accelerated emulation may not work properly!
16:22 Emulator: init: Could not find wglGetExtensionsStringARB!
16:22 Emulator: getGLES2ExtensionString: Could not find GLES 2.x config!
16:22 Emulator: Failed to obtain GLES 2.x extensions string!
16:22 Emulator: Could not initialize emulated framebuffer
16:22 Emulator: emulator: ERROR: Missing initial data partition file: C:\Users\Parth\.android\avd\Nexus_5X_API_23.avd/userdata.img
16:22 Emulator: emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
16:22 Emulator: Process finished with exit code -1073741819 (0xC0000005)
what is this error mean? and what i have to do for fix this...i use emuator of nexus 5x api 23

Error when launching avd

I launched the AVD Manager with Android Studio 2.2.3 in order to run the avd Nexus 5X API 25 x86 and I got these errors :
emulator: WARNING: Crash service did not start
ERROR: resizing partition e2fsck failed with exit code 1
init: Could not find wglGetExtensionsStringARB!
getGLES2ExtensionString: Could not find GLES 2.x config!
Failed to obtain GLES 2.x extensions string!
Could not initialize emulated framebuffer
Warning: requested ram_size 1536M too big, reduced to 1024M
emulator: WARNING: userdata partition is resized from 550 M to 800 M
Hax is enabled
Hax ram_size 0x40000000
HAX is working and emulator runs in fast virt mode.
emulator: WARNING: UpdateCheck: Failure: Error
emulator: Listening for console connections on port: 5554
emulator: Serial number of this emulator (for ADB): emulator-5554
emulator: ERROR: Could not initialize OpenglES emulation, use '-gpu off' to disable it.
My computer has 4Gb of RAM. So what should I do to fix the errors ?
It seems that your VGA driver doesn't support OpenglES.
Turn this option off.

Categories

Resources