Assigned
Status Update
Comments
bi...@gmail.com <bi...@gmail.com> #2
Posting an update. I was able to fix the bug by downgrading mesa (from 25 to 21).
I don't know if you're supposed to close my issue as the root cause of the problem remains undetermined and I'm not sure whether it's your or mesa developers' bug.
rk...@google.com <rk...@google.com>
bo...@google.com <bo...@google.com> #3
we see quite some problem with intel graphics card, mostly due to buggy drivers. here it appears to be the case.
as you downgraded the mesa and that changed the intel gl driver as well.
please keep using software rendering in this case, as we cannot fix intel driver.
as you downgraded the mesa and that changed the intel gl driver as well.
please keep using software rendering in this case, as we cannot fix intel driver.
Description
Please Read:https://developer.android.com/studio/report-bugs.html#emulator-bugs
Android Studio Version: Unknown
Emulator Version (Emulator--> Extended Controls--> Emulator Version): 35.4.9-13025442 Hypervisor Version: KVM 12.0.0
Android SDK Tools: invalid
Host Operating System: Linux Mint 20.3
CPU Manufacturer: Intel CPU Virtualization is supported Bare metal 64-bit CPU
RAM: 15839 MB
GPU:
Build Fingerprint: Android/sdk_phone_x86/generic_x86:7.0/NYC/4174735:userdebug/test-keys
AVD Details: Name: Medium_Phone_API_24 CPU/ABI: x86 Path: /home/bighugemister/.android/avd/Medium_Phone_API_24.avd Target: default [] (API level 24) Skin: 1080x2400 SD Card: 512 MB AvdId: Medium_Phone_API_24 PlayStore.enabled: false avd.ini.displayname: Medium Phone API 24 avd.ini.encoding: UTF-8 disk.dataPartition.size: 2G fastboot.chosenSnapshotFile: fastboot.forceChosenSnapshotBoot: no fastboot.forceColdBoot: no fastboot.forceFastBoot: yes hw.accelerometer: yes hw.arc: false hw.audioInput: yes hw.battery: yes hw.camera.back: virtualscene hw.camera.front: emulated hw.cpu.ncore: 4 hw.dPad: no hw.device.hash2: MD5:3db3250dab5d0d93b29353040181c7e9 hw.device.manufacturer: Generic hw.device.name: medium_phone hw.gps: yes hw.gpu.enabled: no hw.gpu.mode: off hw.initialOrientation: Portrait hw.keyboard: yes hw.lcd.density: 420 hw.lcd.height: 2400 hw.lcd.width: 1080 hw.mainKeys: no hw.ramSize: 2048 hw.sdCard: yes hw.sensors.orientation: yes hw.sensors.proximity: yes hw.trackBall: no image.sysdir.1: system-images/android-24/default/x86/ runtime.network.latency: none runtime.network.speed: full showDeviceFrame: no skin.dynamic: yes skin.path.backup: _no_skin tag.display: tag.id: default vm.heapSize: 2048
Steps to Reproduce Bug:Actually this issue has something to do with Vulkan or Mesa. Maybe the last update of either of them broke Android Emulator. Who knows...
I wouldn't be able to open Extended Controls if I hadn't run the virtual device successfully. And to run it successfully, I had to switch to Software Rendering instead of Hardware Rendering. The problem occurs with Hardware Rendering! And it didn't use to be there before. I think I've tried everything.
Expected Behavior: The successful launch of the virtual device.
Observed Behavior: It says "Starting AVD..." for a second or two, then the message disappears, but the loader keeps spinning.
I also tried launching the virtual device using command line. I think you'll find this information useful:
./emulator -avd Medium_Phone_API_24 INFO | Android emulator version 35.4.9.0 (build_id 13025442) (CL:N/A) INFO | Graphics backend: gfxstream INFO | Found systemPath /home/bighugemister/Android/Sdk/system-images/android-24/default/x86/ INFO | Found systemPath /home/bighugemister/Android/Sdk/system-images/android-24/default/x86/ INFO | Checking system compatibility: INFO | Checking: hasSufficientDiskSpace INFO | Ok: Disk space requirements to run avd:
Medium_Phone_API_24
are met INFO | Checking: hasSufficientHwGpu INFO | Ok: Hardware GPU requirements to run avd:Medium_Phone_API_24
are passed INFO | Checking: hasSufficientSystem INFO | Ok: System requirements to run avd:Medium_Phone_API_24
are met WARNING | encryption is off WARNING | FeatureControl is requesting a non existing feature. INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_btn_xr_environment_living_room_day_clicked() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_btn_xr_environment_living_room_night_clicked() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_resizable_requested(PresetEmulatorSizeType) (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_resizable_dialog() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_xr_environment_mode_changed(int) (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_xr_environment_mode_dialog() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_xr_input_mode_changed(int) (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_xr_input_mode_dialog() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_sleep_timer_done() (:0, ) INFO | Warning: QMetaObject::connectSlotsByName: No matching signal for on_unfold_timer_done() (:0, ) INFO | Storing crashdata in: /tmp/android-bighugemister/emu-crash-35.4.9.db, detection is enabled for process: 30528 INFO | Guest Driver: Auto (ext controls) library_mode host gpu mode host MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0INFO | emuglConfig_get_vulkan_hardware_gpu_support_info: Found physical GPU 'Intel(R) UHD Graphics 630 (CML GT2)', type: VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU, apiVersion: 1.2.182, driverVersion: 21.2.6
INFO | emuglConfig_get_vulkan_hardware_gpu_support_info: Found physical GPU 'llvmpipe (LLVM 12.0.0, 256 bits)', type: VK_PHYSICAL_DEVICE_TYPE_CPU, apiVersion: 1.1.182, driverVersion: 0.0.1
INFO | Enabled VulkanAllocateHostMemory feature for gpu vendor Intel(R) UHD Graphics 630 (CML GT2) on Linux
INFO | GPU device local memory = 11879MB INFO | Initializing hardware OpenGLES emulation support I0312 05:43:00.306641 30528 opengles.cpp:285] android_startOpenglesRenderer: gpu info I0312 05:43:00.306678 30528 opengles.cpp:286] INFO | Raised nofile soft limit to 4096. INFO | HealthMonitor disabled. INFO | SharedLibrary::open for [libX11]
INFO | SharedLibrary::open for [libX11]: not found in map, open for the first time
INFO | SharedLibrary::open for [libX11] (posix): begin
INFO | SharedLibrary::open for [libX11] (posix,linux): call dlopen on [libX11.so]
INFO | SharedLibrary::open for [libGL.so.1]
INFO | SharedLibrary::open for [libGL.so.1]: not found in map, open for the first time
INFO | SharedLibrary::open for [libGL.so.1] (posix): begin
INFO | SharedLibrary::open for [libGL.so.1] (posix,linux): call dlopen on [libGL.so.1]
Ошибка сегментирования (стек памяти сброшен на диск)
I've never had that one before. I'll keep you updated if there's anything new.