Status Update
Comments
hu...@google.com <hu...@google.com>
bo...@google.com <bo...@google.com>
ya...@google.com <ya...@google.com> #2
Thank you for the report. We will try to fix this soon. In the meantime, could you please start the emulator from the console (see the commands below), open the camera app to crash it and attach the output, it might help to figure out what the problem is:
cd /Users/YOUR_USERNAME/Library/Android/sdk/emulator
./emulator -list-avds
./emulator -verbose -avd YOUR_AVD_FROM_PREVIOUS_STEP
if there is a crash report to send, please send it and attach the report id.
jb...@gtempaccount.com <jb...@gtempaccount.com> #3
We got a crash report (thanks JP): 872e3b20bc34905b. It says EXC_BAD_INSTRUCTION / 0x00000001
and the console also says "Illegal hardware instruction". I suspect the new MacOS brought a new hypervizor which causes this behavior. Haitao, could you please take a look?
ya...@google.com <ya...@google.com> #4
We have quite some crashes like this:
product_name="AndroidEmulator" AND crash.Reason="EXC_BAD_INSTRUCTION / 0x00000001" AND cpu.Architecture="arm64"
jb...@gtempaccount.com <jb...@gtempaccount.com> #5
The most of crashes happen here:
vVertical_Scale_ARGB_8888_Accelerate
vImageVerticalShear_ARGB8888
vImageVerticalShear_ARGB8888
vImageScale_ARGB8888
vRotateClockwise270Degree_ARGB8888_Accelerate2
vRotate_90_ARGB_8888_270Degree_Accelerate2
ya...@google.com <ya...@google.com> #6
I suspect EXC_BAD_INSTRUCTION
happens in vImageRotate90_ARGB8888
and vImageScale_ARGB8888
which are used by webcam on MacOS.
ya...@google.com <ya...@google.com> #7
jb...@gtempaccount.com <jb...@gtempaccount.com> #8
Hi rforzani22, I am sorry for this experience. This bug is my top priority. We expect a fix to be merged within a week. You should be able to download a build directly from our build server (
ya...@google.com <ya...@google.com> #9
jb...@gtempaccount.com <jb...@gtempaccount.com> #10
We confirmed vImageRotate90...
and vImageScale...
and use what I could find (which is not as efficient as vImage...
ones, we will try to figure out why these functions crash), it does not handle all aspect ratios and resolutions so far (it might crash for different reasons, I will be working on this tomorrow). If anyone wants to try my local build, I can share it.
ya...@google.com <ya...@google.com> #11
ni...@gmail.com <ni...@gmail.com> #12
sa...@exalt.ps <sa...@exalt.ps> #13
ya...@google.com <ya...@google.com> #14
rforzani22 and treblew2017, I shared a Google Drive link with you, see your email.
rv...@gmail.com <rv...@gmail.com> #15
le...@gmail.com <le...@gmail.com> #16
lechun.sk, I shared with you.
ya...@google.com <ya...@google.com> #17
[Deleted User] <[Deleted User]> #18
lechun.sk, this is unexpected. Do you mind uploading a crash report and sharing its id?
su...@innomatic.ca <su...@innomatic.ca> #19
da...@gmail.com <da...@gmail.com> #20
lechun.sk, unfortunately a bug report will not help here. It would useful to debug issues inside Android. This crash happens outside. There should be a popup window when you start the emulator asking to send a crash report. Maybe it is not available for local builds. The fix is in code review.
iv...@gmail.com <iv...@gmail.com> #21
cc...@logitech.com <cc...@logitech.com> #22
Do you mind trying API34? We have a new camera HAL there.
ya...@google.com <ya...@google.com> #23
aw...@google.com <aw...@google.com> #27
ca...@google.com <ca...@google.com> #28
But it lags
yes, it does, because our rotation is not as efficient as vImageRotate90_ARGB8888.
and then crashes
I can't repro it with a build-in camera in my laptop. What camera do you use? Do you see a crash upload dialog to upload it (please share the ID if you have one)?
wb...@gmail.com <wb...@gmail.com> #29
I can't repro it with a build-in camera in my laptop. What camera do you use?
You can use OBS Studio or XSplit VCam to create a virtual webcam, or you can purchase any Logitech camera, both of which should cause a crash.
Do you see a crash upload dialog to upload it (please share the ID if you have one)?
The dialog doesn't appear at all.
ya...@google.com <ya...@google.com> #30
wb...@gmail.com <wb...@gmail.com> #31
You can use OBS Studio
No crash, see the emulator screen recording. What resolution do you use in OBS Studio?
wb...@gmail.com <wb...@gmail.com> #32
What resolution do you use in OBS Studio?
1280 * 720. By the way, I'm using mac mini 2023(M2).
- simulator version: sdk-repo-darwin_aarch64-emulator-10914596
- log(only four lines)
VERBOSE | Timed out with running command |/Users/user/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am broadcast -a com.android.emulator.multidisplay.START -n com.android.emulator.multidisplay/.MultiDisplayServiceReceiver |
[54176:8959974:20231007,XXXXXX.766822:WARNING in_range_cast.h:38] value -634136515 out of range
[54176:8959974:20231007,XXXXXX.823661:WARNING crash_report_exception_handler.cc:235] UniversalExceptionRaise: (os/kern) failure (5)
[1] 54174 illegal hardware instruction emulator -avd Test_Pixel_5_API_31 -verbose
le...@gmail.com <le...@gmail.com> #33
1280 * 720
Still cannot reproduce, unfortunately. I put 60FPS to match your screenshot. I also tried 720*1280, it even crops correctly.
I'm using mac mini 2023(M2)
MacBook 2021 (M1 Max).
aw...@google.com <aw...@google.com> #34
aw...@google.com <aw...@google.com> #35
The emulator camera is very slow
le...@gmail.com <le...@gmail.com> #36
Unfortunately, I don't have an update as it works for me (somewhat slow, yes).
oe...@gmail.com <oe...@gmail.com> #37
Hi
In case anybody is still experimenting a crash with
crashreport -l
to see if a local crash has been createdcrashreport -u
to upload the crash (if any). It will give a crash report-id, and please enter the crashid as a comment of this bug. It will help us if you can also say what you were doing during the crash, and if you were using a specific webcam
crashreport
being part of the zipfile sdk-repo-darwin_aarch64-emulator-10914596.zip
We were able to reproduce the crashes on different MacOS running Sonoma before the fix in 10914596, but since the fix, the emulator is not crashing anymore in our tests on Sonoma.
Thanks
jo...@spork.tech <jo...@spork.tech> #38
ro...@veeva.com <ro...@veeva.com> #39
You want to download the file (sdk-repo-darwin_aarch64-emulator-10914596.zip
) and
xattr -d com.apple.quarantine sdk-repo-darwin_aarch64-emulator-10914596.zip
then unzip it.
aw...@google.com <aw...@google.com> #40
ja...@gmail.com <ja...@gmail.com> #41
So how do I open it?
Start it from the console, e.g. ANDROID_SDK_ROOT=/Users/rforzani22/Library/Android/sdk ./emulator -avd YOUR_AVD -wipe-data -no-snapshot -camera-back webcam0
ro...@veeva.com <ro...@veeva.com> #42
aw...@google.com <aw...@google.com> #43
Hi skergx, thank you for the feedback. What CPU do you run on?
ro...@veeva.com <ro...@veeva.com> #44
hs...@google.com <hs...@google.com> #45
pc...@gmail.com <pc...@gmail.com> #46
We are working on a better patch (the performance should be about as before and should also work on non-Max CPUs as we see here), the build should be available today-tomorrow.
t9...@gmail.com <t9...@gmail.com> #47
I shared my local build with our next patch to fix this issue.
hs...@google.com <hs...@google.com> #49
hs...@google.com <hs...@google.com> #50
Report 7d004e0f-9c06-49d8-b57e-30cd0fe4f033 is available remotely as d6281b959cb2c138
Report 149d7151-6381-46a2-83f8-1d77ab7280f3 is available remotely as 96a1cd1205509b81
ya...@google.com <ya...@google.com> #52
Hi Andi, the Android Emulator is released independently from the Android Studio. The 32.x.x version is EOL, 33.x.x will be promoted to stable soon and the webcam fixes will be available there.
bo...@google.com <bo...@google.com> #53
hs...@google.com <hs...@google.com> #54
- seems the performance is not the same as before (as already reported)
- also the image has different size as before, at least with obs before sonoma i was seeing a cropped image out of the 1280x720 but now i can see it full size on the emulator screen.
- it crash after some time (as already reported) see here: Report 5f27bfa1-d033-4b91-9dcf-53c0fcb2a09c is available remotely as 62b6433b9dd77685
ya...@google.com <ya...@google.com>
hs...@google.com <hs...@google.com> #55
also the image has different size as before, at least with obs before sonoma i was seeing a cropped image out of the 1280x720 but now i can see it full size on the emulator screen.
In the first fix there is no scale function, I crop and put black everywhere I have no pixels for. When we have the scale function, we crop a smaller image and resize to fill all requested pixels.
bo...@google.com <bo...@google.com> #56
Tested on M1 Pro 10914596 emulator build and it just hang when launching default camera app with verbose printout
"
DEBUG | getMultiDisplay 0 x 0 y 0 w 1440 h 3120 dpi 560 flag 0 enable 1
DEBUG | getMultiDisplay 0 x 0 y 0 w 1440 h 3120 dpi 560 flag 0 enable 1 (3x)
ERROR | -[MacCamera init:]: cannot add camera capture input device
ERROR | camera_device_open: Unable to initialize camera device.
ERROR | _camera_client_query_connect: Unable to open camera device
"
hs...@google.com <hs...@google.com> #57
Hi Andi, thank you for reporting this. I think this is a different problem here as 10914596 does not change anything related to opening the device and 10937044 probably missed even more around this case.
hs...@google.com <hs...@google.com> #58
I am marking this as "fixed" for our internal release process. We are still looking into it. The changes should be available in 34.1.7 (canary) and 33.1.21 (stable).
hs...@google.com <hs...@google.com> #59
For anyone wondering how to do implement this fix, follow the instructions in post #39 above. Download the file and follow the instructions in post #39 (do not just unzip the file!). Go into the unzipped folder and copy the 'emulator' folder to Users/<user>/Library/Android/sdk overwriting the existing 'emulator' folder.
When you launch Android Studio and start a new emulator it will be using the fixed version. However, if you check under Tools > SDK Manger you will not see the emulator installed (this is due to using the version provided above), ignore this.
I can confirm that I had the original issue before overwriting the 'emulator' folder, and now, I do not have the original issue any longer. Camera now works.
bo...@google.com <bo...@google.com> #60
#56 is due to running emulator as standalone as described in #41 and it may not have the necessary camera permission.
Thank you for the prompt response.
rk...@google.com <rk...@google.com> #61
bo...@google.com <bo...@google.com> #62
But the emulator is crashing again when using Webcam0 on 34.1.8 (Canary)
This is one report ID for it:
4b297feadfa6737b
hs...@google.com <hs...@google.com> #63
hs...@google.com <hs...@google.com> #64
rk...@google.com <rk...@google.com> #65
I use macbook pro m2 sonoma.
hs...@google.com <hs...@google.com> #66
hs...@google.com <hs...@google.com> #67
The Emulator is release independently from the Android Studio. This fix is available in the Emulator 34.1.11 which is shipped with the Android Studio Iguana (2023.2.1 Canary 14).
rk...@google.com <rk...@google.com> #68
Perhaps this can be considered, as otherwise it is confusing how it is independent for those of us that wish to stay on our current version of Android Studio for various other reasons.
ya...@google.com <ya...@google.com> #69
If the Emulator is released independently, I would expect that it would also be updated in SDK Manager for prior versions of Android Studio, no?
We ship the emulator through several channels (stable, canary, beta), if you are on the stable channel, you will get the emulator updates later. Consider getting
bo...@google.com <bo...@google.com> #70
The fix does work with the actual webcam but it BREAKS the virtual webcam. Here's the error message:
ERROR | -[MacCamera captureOutput:didOutputSampleBuffer:fromConnection:]: error in allocate rotateInputBuffer_: -21602
ERROR | -[MacCamera captureOutput:didOutputSampleBuffer:fromConnection:]: error in allocate rotateInputBuffer_: -21602
(127x)
ERROR | _camera_client_query_frame: Unable to obtain first video frame from the camera '7626645E-4425-469E-9D8B-97E0FA59AC75' in 2001 milliseconds: Undefined error: 0.
Please help take a look
hs...@google.com <hs...@google.com> #71
Also got the same error as above comment. The 34.1.11 breaks emulator with virtual cam on Sonoma.
hs...@google.com <hs...@google.com> #74
OS: Mac M1(Sonoma 14.1.2).
Emulator Version: 34.1.13-11169323
API: API 33, 34
hs...@google.com <hs...@google.com> #75
This one works, thank you! Will this new version be released anytime soon?
Please try our latest stable push (33.1.23).
hs...@google.com <hs...@google.com> #76
All of a sudden, with the 33.1.23 version, I cannot record the screen anymore in Android Studio in mp4 format. It produces a 11 KB file whatever I do. Does anyone else experience this problem? Thanks!
ro...@veeva.com <ro...@veeva.com> #77
Hi Timar, please file a new bug with repro steps and screenshots. Please specify the Android Studio version, the Emulator version and the system image you use.
hs...@google.com <hs...@google.com> #78
hs...@google.com <hs...@google.com> #79
bo...@google.com <bo...@google.com> #80
Timar, file a new bug into the Android Studio component.
bo...@google.com <bo...@google.com> #81
I am forced to use other devices as the performance is so poor after the camera opens. Unfortunately it is not possible to use just macOS any longer to work on Android/Flutter projects because of this.
It's been a couple months so I am very hopeful I am just missing the fix?
Thank you for the hard work.
aw...@google.com <aw...@google.com> #82
bo...@google.com <bo...@google.com> #83
You can try the latest Emulator version from
If the performance is still bad, you could try fixing this yourself and send us your patch. The Emulator is open source, this is what we changed:
em...@gmail.com <em...@gmail.com> #84
I wish this was my area of expertise. Hopefully someone with the capability will work on this, it's extremely significant for Android Studio on macOS obviously.
bo...@google.com <bo...@google.com> #85
Unfortunate.
bo...@google.com <bo...@google.com> #86
hs...@google.com <hs...@google.com> #87
still poor performance after opening camera.
Hi industrialstrengthdatasystems, if you can build Emulator yourself, please try this patch:
ro...@veeva.com <ro...@veeva.com> #88
luunguyen0811, this is tracked in
bo...@google.com <bo...@google.com> #91
Downgrading to Ventura solves this problem, but it's not an ideal solution.
ya...@google.com <ya...@google.com>
ya...@google.com <ya...@google.com> #92
Hi bien2k4. Unfortunately, MacOS camera experts are in short supply here :) Thank you for reporting that the issue does not repro on Ventura.
hs...@google.com <hs...@google.com> #93
BTW, the camera performance issue is tracked here:
bo...@google.com <bo...@google.com> #94
you can try the following to disasble QuickbootFileBacked and see if that can work around the kvm bad address for now
-feature -QuickbootFileBacked
bo...@google.com <bo...@google.com> #95
the same size of ramSize (due to QuickbootFileBacked feature)
then, in themiddle of running emulator, somewhere munmap came an unmapped a few pages of that continous memory;
which then lead to kvm page fault.
disabling QuickbootFileBacked might mitigate this problem, but the root cause is to find the offending munmap and fix it.
bo...@google.com <bo...@google.com> #96
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000c0000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000000c0000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000000c0000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000000d0000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000000d0000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000c0000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000c0000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000000c0000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x0000000000000000, flags=0x00000000
Set : GPA = 0x0000000000000000 HVA=0x00007ff4b4800000, size=0x00000000000c0000, flags=0x00000000
---------- Start of EFAULT Debugging Info ----------
faulting guest physical address 0x000000002048d000
Found host virtual address of the faulting gpa 0x00007ff4d4c8d000
Printing /proc/self/maps...
7ff4b4700000-7ff4b4800000 rw-p 00000000 00:00 0
7ff4b4800000-7ff4d4c8d000 rw-p 00000000 00:00 0
7ff4d4c8f000-7ff574800000 rw-p 00000000 00:00 0
7ff574800000-7ff574801000 ---p 00000000 00:00 0
7ff574801000-7ff574803000 rw-s 00000000 00:05 748 /dev/nvidiactl
7ff574803000-7ff574807000 rw-s 00000000 00:05 748 /dev/nvidiactl
7ff574807000-7ff574808000 rw-s 00000000 00:05 750 /dev/nvidia0
7ff574808000-7ff57480a000 rw-s 00000000 00:05 748 /dev/nvidiactl
7ff57480a000-7ff57480b000 rw-s 00000000 00:05 750 /dev/nvidia0
7ff57480b000-7ff57480c000 rw-s 00000000 00:05 750 /dev/nvidia0
7ff57480c000-7ff57480d000 ---p 00000000 00:00 0
7ff57480d000-7ff57480f000 rw-p 00000000 00:00 0
7ff57480f000-7ff574811000 ---p 00000000 00:00 0
bo...@google.com <bo...@google.com> #97
then some unmap operation came along and punch a hole of 8192 bytes at
7ff4d4c8d000 to 7ff4d4c8f000
7ff4b4800000-7ff4d4c8d000 rw-p 00000000 00:00 0
7ff4d4c8f000-7ff574800000 rw-p 00000000 00:00 0
hs...@google.com <hs...@google.com> #98
bo...@google.com <bo...@google.com> #99
I traced the munmap, and it does not touch the hole at all.
btw, the ram.img is not mapped by mmap nither.
so, it probably is due to qemu itself.
st...@gmail.com <st...@gmail.com> #100
I confirm that flag -Vulkan resolve the issue.
What does this option do? Does it disable Vulkan?
ya...@google.com <ya...@google.com> #101
Hi,
-feature -Vulkan
disables Vulkan.
bo...@google.com <bo...@google.com> #102
when that happens, could you keep emulator alive (guest hangs but emulator still alive) and do the following
grep ram.img /proc/`pgrep qemu`/maps
I want to confirm you run into the same issue as I do here
bo...@google.com <bo...@google.com> #103
MainLoopThread-2043089 [003] 348786.632249: sys_enter_munmap: addr: 0x7fa66a367000, len: 0x00002000
MainLoopThread-2043089 [003] 348786.632439: sys_exit_munmap: 0x0
this unmapped two pages here: 7fa6526b8000-7fa66a367000 rw-s 00000000 fe:01 589 /usr/local/google/home/bohu/.android/avd/fold.avd/snapshots/default_boot/ram.img
7fa66a369000-7fa7126b8000 rw-s 17cb1000 fe:01 589 /usr/local/google/home/bohu/.android/avd/fold.avd/snapshots/default_boot/ram.img
it is our MainLoopThread
guest/GoldfishAddressSpace/include/goldfish_address_space_android.impl: ::munmap(ptr, size);
guest/GoldfishAddressSpace/include/goldfish_address_space_android.impl: ::munmap(pagePtr, size);
guest/OpenglCodecCommon/goldfish_dma.cpp: munmap(reinterpret_cast<void *>(cxt->mapped_addr), cxt->size);
guest/OpenglSystemCommon/VirtioGpuPipeStream.cpp: munmap(m_virtio_mapped, kTransferBufferSize);
guest/platform/linux/VirtGpuBlobMapping.cpp: munmap(mPtr, mSize);
guest/profiler/perfetto.cpp: int res = munmap(start, outer_size);
guest/profiler/perfetto.cpp: munmap(start(), size());
we have a bunch of munmap in gfxstream
hs...@google.com <hs...@google.com> #104
Although it looks like a different issue from Bo's. But it is also a memory issue.
I caught it using gdb. Due to my gdb issue, I cannot do source code level debugging. But I can use assembly to locate the source line. See below.
******************** Source Code**********************************************
void reservedunmarshal_VkPhysicalDeviceFeatures2(
VulkanStream* vkStream,
VkStructureType rootType,
VkPhysicalDeviceFeatures2* forUnmarshaling,
uint8_t** ptr)
{
memcpy((VkStructureType*)&forUnmarshaling->sType, *ptr, sizeof(VkStructureType));
*ptr += sizeof(VkStructureType);
if (rootType == VK_STRUCTURE_TYPE_MAX_ENUM)
{
rootType = forUnmarshaling->sType;
}
uint32_t pNext_size;
memcpy((uint32_t*)&pNext_size, *ptr, sizeof(uint32_t));
android::base::Stream::fromBe32((uint8_t*)&pNext_size);
*ptr += sizeof(uint32_t);
forUnmarshaling->pNext = nullptr;
if (pNext_size)
{
vkStream->alloc((void**)&forUnmarshaling->pNext, sizeof(VkStructureType));
memcpy((void*)forUnmarshaling->pNext, *ptr, sizeof(VkStructureType));
*ptr += sizeof(VkStructureType);
VkStructureType extType = *(VkStructureType*)(forUnmarshaling->pNext);
vkStream->alloc((void**)&forUnmarshaling->pNext, goldfish_vk_extension_struct_size_with_stream_features(vkStream->getFeatureBits(), rootType, forUnmarshaling->pNext));
----> *(VkStructureType*)forUnmarshaling->pNext = extType;
reservedunmarshal_extension_struct(vkStream, rootType, (void*)(forUnmarshaling->pNext), ptr);
}
reservedunmarshal_VkPhysicalDeviceFeatures(vkStream, rootType, (VkPhysicalDeviceFeatures*)(&forUnmarshaling->features), ptr);
}
**********************gdb output:******************************************
Thread 246 "MainLoopThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa411154640 (LWP 228985)]
0x00007fa55dfbcaf8 in goldfish_vk::reservedunmarshal_VkPhysicalDeviceFeatures2(goldfish_vk::VulkanStream*, VkStructureType, VkPhysicalDeviceFeatures2*, unsigned char**) () from /home/tony/testemu/external/qemu/objs/distribution/emulator/lib64/libOpenglRender.so
(gdb) disas $rip
Dump of assembler code for function _ZN11goldfish_vk43reservedunmarshal_VkPhysicalDeviceFeatures2EPNS_12VulkanStreamE15VkStructureTypeP25VkPhysicalDeviceFeatures2PPh:
0x00007fa55dfbca50 <+0>: push %rbp
0x00007fa55dfbca51 <+1>: push %r15
0x00007fa55dfbca53 <+3>: push %r14
0x00007fa55dfbca55 <+5>: push %r13
0x00007fa55dfbca57 <+7>: push %r12
0x00007fa55dfbca59 <+9>: push %rbx
0x00007fa55dfbca5a <+10>: push %rax
0x00007fa55dfbca5b <+11>: mov %rcx,%rbx
0x00007fa55dfbca5e <+14>: mov %rdx,%r14
0x00007fa55dfbca61 <+17>: mov %esi,%r13d
0x00007fa55dfbca64 <+20>: mov %rdi,%r15
0x00007fa55dfbca67 <+23>: mov (%rcx),%rax
0x00007fa55dfbca6a <+26>: mov (%rax),%ebp
0x00007fa55dfbca6c <+28>: mov %ebp,(%rdx)
0x00007fa55dfbca6e <+30>: mov (%rcx),%rax
0x00007fa55dfbca71 <+33>: lea 0x4(%rax),%rcx
0x00007fa55dfbca75 <+37>: mov %rcx,(%rbx)
0x00007fa55dfbca78 <+40>: mov 0x4(%rax),%eax
0x00007fa55dfbca7b <+43>: mov %eax,0x4(%rsp)
0x00007fa55dfbca7f <+47>: lea 0x4(%rsp),%rdi
0x00007fa55dfbca84 <+52>: call 0x7fa55e7e8760 <_ZN7android4base6Stream8fromBe32EPh@plt>
0x00007fa55dfbca89 <+57>: addq $0x4,(%rbx)
0x00007fa55dfbca8d <+61>: movq $0x0,0x8(%r14)
0x00007fa55dfbca95 <+69>: cmpl $0x0,0x4(%rsp)
0x00007fa55dfbca9a <+74>: je 0x7fa55dfbcb08 <_ZN11goldfish_vk43reservedunmarshal_VkPhysicalDeviceFeatures2EPNS_12VulkanStreamE15VkStructureTypeP25VkPhysicalDeviceFeatures2PPh+184>
0x00007fa55dfbca9c <+76>: lea 0x8(%r14),%r12
0x00007fa55dfbcaa0 <+80>: cmp $0x7fffffff,%r13d
0x00007fa55dfbcaa7 <+87>: cmovne %r13d,%ebp
0x00007fa55dfbcaab <+91>: mov $0x4,%edx
0x00007fa55dfbcab0 <+96>: mov %r15,%rdi
0x00007fa55dfbcab3 <+99>: mov %r12,%rsi
0x00007fa55dfbcab6 <+102>: call 0x7fa55df5bd40
0x00007fa55dfbcabb <+107>: mov (%r12),%rax
0x00007fa55dfbcabf <+111>: mov (%rbx),%rcx
0x00007fa55dfbcac2 <+114>: mov (%rcx),%ecx
0x00007fa55dfbcac4 <+116>: mov %ecx,(%rax)
0x00007fa55dfbcac6 <+118>: addq $0x4,(%rbx)
0x00007fa55dfbcaca <+122>: mov (%r12),%rax
0x00007fa55dfbcace <+126>: mov (%rax),%r13d
0x00007fa55dfbcad1 <+129>: mov %r15,%rdi
0x00007fa55dfbcad4 <+132>: call 0x7fa55df5c4e0
0x00007fa55dfbcad9 <+137>: mov (%r12),%rdx
0x00007fa55dfbcadd <+141>: mov %eax,%edi
0x00007fa55dfbcadf <+143>: mov %ebp,%esi
0x00007fa55dfbcae1 <+145>: call 0x7fa55df68eb0 <_ZN11goldfish_vk54goldfish_vk_extension_struct_size_with_stream_featuresEj15VkStructureTypePKv>
0x00007fa55dfbcae6 <+150>: mov %r15,%rdi
0x00007fa55dfbcae9 <+153>: mov %r12,%rsi
0x00007fa55dfbcaec <+156>: mov %rax,%rdx
0x00007fa55dfbcaef <+159>: call 0x7fa55df5bd40
0x00007fa55dfbcaf4 <+164>: mov (%r12),%rdx
=> 0x00007fa55dfbcaf8 <+168>: mov %r13d,(%rdx)
0x00007fa55dfbcafb <+171>: mov %r15,%rdi
0x00007fa55dfbcafe <+174>: mov %ebp,%esi
0x00007fa55dfbcb00 <+176>: mov %rbx,%rcx
0x00007fa55dfbcb03 <+179>: call 0x7fa55dfb14a0 <_ZN11goldfish_vk34reservedunmarshal_extension_structEPNS_12VulkanStreamE15VkStructureTypePvPPh>
0x00007fa55dfbcb08 <+184>: add $0x10,%r14
0x00007fa55dfbcb0c <+188>: mov %r14,%rdx
0x00007fa55dfbcb0f <+191>: mov %rbx,%rcx
0x00007fa55dfbcb12 <+194>: call 0x7fa55dfb4ce0 <_ZN11goldfish_vk42reservedunmarshal_VkPhysicalDeviceFeaturesEPNS_12VulkanStreamE15VkStructureTypeP24VkPhysicalDeviceFeaturesPPh>
0x00007fa55dfbcb17 <+199>: add $0x8,%rsp
0x00007fa55dfbcb1b <+203>: pop %rbx
0x00007fa55dfbcb1c <+204>: pop %r12
0x00007fa55dfbcb1e <+206>: pop %r13
0x00007fa55dfbcb20 <+208>: pop %r14
0x00007fa55dfbcb22 <+210>: pop %r15
0x00007fa55dfbcb24 <+212>: pop %rbp
0x00007fa55dfbcb25 <+213>: ret
End of assembler dump.
(gdb) p $rip
$1 = (void (*)()) 0x7fa55dfbcaf8 <goldfish_vk::reservedunmarshal_VkPhysicalDeviceFeatures2(goldfish_vk::VulkanStream*, VkStructureType, VkPhysicalDeviceFeatures2*, unsigned char**)+168>
(gdb) p $rdx
$2 = 0
(gdb) p $r13d
$3 = 1000338000
ya...@google.com <ya...@google.com> #105
Haitao,
what was your system image build and emulator build? We have a few changes recently that might affect the behavior of VkPhysicalDeviceFeatures2. It could be a recent regression.
hs...@google.com <hs...@google.com> #106
System Image is API 34 Google Play image I downloaded yesterday.
ya...@google.com <ya...@google.com> #107
Haitao,
For the google play image, did you download it from internal or external? Do you have the build id?
For the emulator, would you try to go to hardware/google/gfxstream, do a git log and see if you are before or after this one aosp/2768212 ?
ya...@google.com <ya...@google.com> #108
Also, does it print anything like unknown structType
hs...@google.com <hs...@google.com> #109
I will check gfxstream.
I did not see anything else from console. Just "Segmentation fault (core dumped)".
hs...@google.com <hs...@google.com> #110
ya...@google.com <ya...@google.com> #111
If you run this:
cat ~/Android/Sdk/system-images/android-34/google_apis/x86_64/build.prop
There should be a ro.build.id
and a ro.build.display.id
ya...@google.com <ya...@google.com> #112
Would you try to roll back to before 2768212?
hs...@google.com <hs...@google.com> #113
hs...@google.com <hs...@google.com> #114
hs...@google.com <hs...@google.com> #115
ya...@google.com <ya...@google.com> #116
Chat with Haitao offline regarding #104. gfxstream emulator works but non-gfxstream doesn't.
The non-gfxstream emulator does not support vk1.3, so please stick with the gfxstream build for newer Android U images.
ya...@google.com <ya...@google.com>
de...@gmail.com <de...@gmail.com> #118
pa...@infocusp.com <pa...@infocusp.com> #119
The emulator crashes for me as well, when I open the Chrome app.
Android Studio Giraffe | 2022.3.1 Patch 2
Build #AI-223.8836.35.2231.10811636, built on September 15, 2023
Runtime version: 17.0.6+0-17.0.6b829.9-10027231 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.0-34-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Registry:
external.system.auto.import.disabled=true
debugger.new.tool.window.layout=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.experimental.ui=true
Non-Bundled Plugins:
com.tabnine.TabNine (1.9.0)
idea.plugin.protoeditor (223.8214.6)
Current Desktop: ubuntu:GNOME
Emulator version: 32.1.15
Android image: API 34 Google APIs x86_64
bo...@google.com <bo...@google.com> #120
va...@gmail.com <va...@gmail.com> #121
What's worse is that when I went through the process of logging into a Google account on the virtual device, giving Chrome all permissions to use Photos, Mic, Location, etc, I clicked on Chrome, it opened fully, allowed me to select my account, and then it crashed and crashed the emulator. Now the entire Emulator crashes as soon as it starts without me opening anything or interacting with it lol.
The crashing behavior does not occur on API 33.
I'm running Windows 11 x64 with an Nvidia GPU
Android Studio Giraffe | 2022.3.1 Patch 2
Build #AI-223.8836.35.2231.10811636, built on September 14, 2023
Runtime version: 17.0.6+0-b2043.56-10027231 amd64
What files and information do you need to help fix this that I can provide from my machine? Do you have a template?
hs...@google.com <hs...@google.com> #122
In addition, can you let us know your CPU model, memory size? Can you run the emulator from commandline "emulator.exe -avd <avd name> -verbose -show-kernel" and paste the output here?
va...@gmail.com <va...@gmail.com> #123
Where can I find the crash IDs at? I don't see any crash ID or crash window when the emulator forcibly shuts down. I saw it once and I made a report but I haven't seen it since.
I attached the output of the emulator starting, it crashed after it started but it didn't make any mention of it in the log output. It crashed right after message [ 31.973264]
CPU Model: Intel Core i7-10700K
Memory: 16GBs of DDR4-3200 using XMP
Let me know if you need any other info
bo...@google.com <bo...@google.com> #124
emulator:Found AVD name 'Pixel_5_API_34'
emulator:Found AVD target architecture: x86_6
this version is a bit outdated, could you try updating it to latest stable or canary ?
va...@gmail.com <va...@gmail.com> #125
@ #124 Android Studio shows version 32.1.15 being installed as seen in my screen shot. I only installed Android Studio in the last 5 days from the latest release, I'm not sure where it would be finding 26.0.3.0 at. The SDK Manager gives no option to update the emulator. Maybe this is part of the issue?
Is there a newer binary you'd like me to try out and report back on that you can link me to?
va...@gmail.com <va...@gmail.com> #126
Just for reference, I downloaded 32.1.15 from here - emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel
...
INFO | Android emulator version 32.1.15.0 (build_id 10696886) (CL:N/A)
It shows the correct version when launching but still crashes without any user input after Android boots up.
I attached the kernel log as well. Happy to test more stuff if it helps.
hs...@google.com <hs...@google.com> #127
Can you check if adding "-feature -Vulkan" or "-feature -feature -GLDirectMem,-GLDMA,-GLDMA2" can solve your problem?
I had an AMD CPU and NVidia GPU but was not able to reproduce the issue. Note that all other reports in this bug are on Linux. It is hard to tell whether yours are the same one at the moment.
va...@gmail.com <va...@gmail.com> #128
Ah interesting, so adding the flag -feature -Vulkan
, the emulator seems to be stable. Opening Chrome seems okay but web pages do not render correctly. If I shutdown the emulator and start it up again without the Vulkan flag it crashes as soon as I click on Chrome.
.\emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel -feature -Vulkan
<-- Doesn't crash, Chrome opens okay but web pages do not render correctly, any site that tries to render shows up blank.
.\emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel -feature -GLDirectMem
<-- Crashes when clicking Chrome
.\emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel -feature -GLDirectMem -feature -GLDMA
<-- Crashes when clicking Chrome
.\emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel -feature -GLDirectMem -feature -GLDMA -feature -GLDMA2
<-- Crashed before I clicked on Chrome
.\emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel -feature -GLDirectMem -feature -GLDMA2
<-- Crashes when clicking Chrome
.\emulator.exe -avd Pixel_5_API_34 -verbose -show-kernel -feature -GLDirectMem -feature -GLDMA2 -feature -Vulkan
<-- Chrome opens but won't render web pages, they show up blank.
Let me know if you want any other info or something else tested. Doesn't seem limited to only Linux :)
I have an Nvidia 3080 for reference.
va...@gmail.com <va...@gmail.com> #129
Attached are images of how the web pages look with issues.
gs...@gmail.com <gs...@gmail.com> #130
Re #121, #122: On windows (at least for me) this issue of chrome immediately crashing started with the release of the 'Google APIs Intel x86_64 Atom System Image' API Level 34 revision 9. API 34 revision 10, that I got offered today, is also affected. Before that, i.e. up to and including API 34 revision 8 system image, this issue did NOT occur. It also des NOT occur on API 33 system images, up to and including the recent revision 15.
The emulator was in all those cases 32.1.15.
I've submitted an emulator crash report (as offered on the next emulator startup) and left a reference to this issue / comment 130 in the description.
If this issue here is only about linux (and started long time ago), would it make sense to split this windows related issue (which started only recently and seems to be api 34 system image related) off into a separate track?
hs...@google.com <hs...@google.com> #131
bo...@google.com <bo...@google.com> #132
you can try the canary using canary studio
or some 33.1.17 here
ya...@google.com <ya...@google.com> #133
Hi,
if you are using API 34 system image revision 10, please either use -feature -Vulkan
, or switch to the latest emulator version 33* or 34*. They are available with the Preview version of Android Studio
de...@gmail.com <de...@gmail.com> #134
This issue persists on Windows 11 including emulator v10
ca...@google.com <ca...@google.com> #135
On emu 34.1.9-11009885 and Windows. When I run API 33 on swifthshader opening chrome crashes the AVD for me.
cl...@gmail.com <cl...@gmail.com> #136
Same happens to me on Windows 11 23H2 with i5-11400F and GTX1660 Super (using latest driver 546.17). Using Android Studio Giraffe 2022.3.1 Patch 3, Emulator 32.1.15 running Android 14. Issue is gone when using the Vulkan flag but I don't want to do this everytime I want to start my emulator.
ta...@gmail.com <ta...@gmail.com> #137
-verbose -show-kernel -feature -Vulkan
open chrome runing ok.
crash when open chrome in the AVD
./Sdk/emulator/emulator -avd Pixel_7_Pro_API_34 -verbose -show-kernel
INFO | Storing crashdata in: /tmp/android-takeseem/emu-crash-34.1.10.db, detection is enabled for process: 61527
INFO | Android emulator version 34.1.10.0 (build_id 11042718) (CL:N/A)
DEBUG | Current emulator version 34.1.10 is the same as the required version 34.1.10.
INFO | Deleting /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/bootcompleted.ini done
INFO | Found AVD name 'Pixel_7_Pro_API_34'
INFO | Found AVD target architecture: x86_64
INFO | argv[0]: './Sdk/emulator/emulator'; program directory: '/data/app/android/Android/Sdk/emulator'
INFO | Found systemPath /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64/
INFO | emuDirName: '/data/app/android/Android/Sdk/emulator'
INFO | try dir /data/app/android/Android/Sdk/emulator
INFO | Trying emulator path '/data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64'
INFO | Found target-specific 64-bit emulator binary: /data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64
INFO | Adding library search path: '/data/app/android/Android/Sdk/emulator/lib64'
INFO | Adding library search path: '/data/app/android/Android/Sdk/emulator/lib64/gles_swiftshader'
INFO | Adding library search path: '/data/app/android/Android/Sdk/emulator/lib64/libstdc++'
DEBUG | emulator: Running :/data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64
DEBUG | qemu backend: argv[00] = "/data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64"
DEBUG | qemu backend: argv[01] = "-avd"
DEBUG | qemu backend: argv[02] = "Pixel_7_Pro_API_34"
DEBUG | qemu backend: argv[03] = "-verbose"
DEBUG | qemu backend: argv[04] = "-show-kernel"
DEBUG | Concatenated backend parameters: /data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 -avd Pixel_7_Pro_API_34 -verbose -show-kernel
INFO | Storing crashdata in: /tmp/android-takeseem/emu-crash-34.1.10.db, detection is enabled for process: 61527
INFO | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
DEBUG | autoconfig: -skin pixel_7_pro
DEBUG | autoconfig: -skindir /home/takeseem/Android/Sdk/skins/
DEBUG | autoconfig: -kernel /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//kernel-ranchu
DEBUG | Target arch = 'x86_64'
DEBUG | Auto-detect: Kernel image requires new device naming scheme.
DEBUG | Auto-detect: Kernel does not support YAFFS2 partitions.
DEBUG | autoconfig: -ramdisk /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//ramdisk.img
DEBUG | Using initial system image: /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//system.img
DEBUG | Using initial vendor image: /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//vendor.img
DEBUG | autoconfig: -data /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/userdata-qemu.img
DEBUG | autoconfig: -initdata /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/userdata.img
DEBUG | autoconfig: -cache /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/cache.img
DEBUG | autoconfig: -sdcard /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/sdcard.img
DEBUG | foldable or large screen devices with api >=33 is set to have minimum ram 3G
INFO | Increasing RAM size to 3072MB
DEBUG | VM heap size 384MB is below hardware specified minimum of 576MB,setting it to that value
DEBUG | System image is read only
DEBUG | Found 1 DNS servers:
DEBUG | 127.0.0.53
DEBUG | Starting hostapd main loop.
DEBUG | trying to load skin file '/home/takeseem/Android/Sdk/skins//pixel_7_pro/layout'
DEBUG | File System is ext4, do not disable QuickbootFileBacked feature
DEBUG | statvfs('/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/snapshots/default_boot/ram.img') failed: No such file or directory
DEBUG | CPU Acceleration: working
DEBUG | CPU Acceleration status: KVM (version 12) is installed and usable.
DEBUG | handleCpuAcceleration: feature check for hvf
DEBUG | Bluetooth requested by guest
DEBUG | started modem simulator host server at port: 37603
library_mode host gpu mode host
DEBUG | GPU emulation enabled using 'host' mode
DEBUG | Initializing hardware OpenGLES emulation support
I1203 23:52:09.207024 61527 HealthMonitor.cpp:279] HealthMonitor disabled.
DEBUG | create display 0
DEBUG | setDisplayPose 0 x 0 y 0 w 1440 h 3120 dpi 0
cannot add library libvulkan.so: failed
added library libvulkan.so.1
createGlobalVkEmulation:964 Selecting Vulkan device: AMD Unknown (RADV GFX1103_R1)
initialize: Supports id properties, got a vulkan device UUID
WARNING: could not open libX11.so, try libX11.so.6
I1203 23:52:09.312144 61527 VkCommonOperations.cpp:1226] Initializing VkEmulation features:
I1203 23:52:09.312160 61527 VkCommonOperations.cpp:1227] glInteropSupported: true
I1203 23:52:09.312163 61527 VkCommonOperations.cpp:1228] useDeferredCommands: true
I1203 23:52:09.312167 61527 VkCommonOperations.cpp:1230] createResourceWithRequirements: true
I1203 23:52:09.312170 61527 VkCommonOperations.cpp:1231] useVulkanComposition: false
I1203 23:52:09.312173 61527 VkCommonOperations.cpp:1232] useVulkanNativeSwapchain: false
I1203 23:52:09.312176 61527 VkCommonOperations.cpp:1233] enable guestRenderDoc: false
I1203 23:52:09.312179 61527 VkCommonOperations.cpp:1234] ASTC LDR emulation mode: 2
I1203 23:52:09.312182 61527 VkCommonOperations.cpp:1235] enable ETC2 emulation: true
I1203 23:52:09.312185 61527 VkCommonOperations.cpp:1236] enable Ycbcr emulation: false
I1203 23:52:09.312188 61527 VkCommonOperations.cpp:1237] guestUsesAngle: false
I1203 23:52:09.312190 61527 VkCommonOperations.cpp:1238] useDedicatedAllocations: true
I1203 23:52:09.312361 61527 FrameBuffer.cpp:486] Graphics Adapter Vendor Google (AMD)
I1203 23:52:09.312366 61527 FrameBuffer.cpp:487] Graphics Adapter Android Emulator OpenGL ES Translator (GFX1103_R1 (gfx1103_r1, LLVM 15.0.7, DRM 3.49, 6.2.0-37-generic))
I1203 23:52:09.312370 61527 FrameBuffer.cpp:488] Graphics API Version OpenGL ES 3.0 (4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1)
I1203 23:52:09.312373 61527 FrameBuffer.cpp:489] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888
I1203 23:52:09.312377 61527 FrameBuffer.cpp:490] Graphics Device Extensions N/A
INFO | Setting vsync to 60 hz
DEBUG | Found 1 DNS servers:
DEBUG | 127.0.0.53
INFO | Content of hardware configuration file:
INFO | hw.cpu.arch = x86_64
INFO | hw.cpu.ncore = 4
INFO | hw.ramSize = 3072
INFO | hw.screen = multi-touch
INFO | hw.mainKeys = false
INFO | hw.trackBall = false
INFO | hw.keyboard = true
INFO | hw.keyboard.lid = false
INFO | hw.keyboard.charmap = qwerty2
INFO | hw.dPad = false
INFO | hw.rotaryInput = false
INFO | hw.gsmModem = true
INFO | hw.gps = true
INFO | hw.battery = true
INFO | hw.accelerometer = true
INFO | hw.accelerometer_uncalibrated = true
INFO | hw.gyroscope = true
INFO | hw.audioInput = true
INFO | hw.audioOutput = true
INFO | hw.sdCard = true
INFO | hw.sdCard.path = /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/sdcard.img
INFO | disk.cachePartition = true
INFO | disk.cachePartition.path = /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/cache.img
INFO | disk.cachePartition.size = 66m
INFO | test.quitAfterBootTimeOut = -1
INFO | test.delayAdbTillBootComplete = 0
INFO | test.monitorAdb = 0
INFO | hw.lcd.width = 1440
INFO | hw.lcd.height = 3120
INFO | hw.lcd.depth = 16
INFO | hw.lcd.circular = false
INFO | hw.lcd.density = 560
INFO | hw.lcd.backlight = true
INFO | hw.lcd.vsync = 60
INFO | hw.gltransport = pipe
INFO | hw.gltransport.asg.writeBufferSize = 1048576
INFO | hw.gltransport.asg.writeStepSize = 4096
INFO | hw.gltransport.asg.dataRingSize = 32768
INFO | hw.gltransport.drawFlushInterval = 800
INFO | hw.displayRegion.0.1.xOffset = -1
INFO | hw.displayRegion.0.1.yOffset = -1
INFO | hw.displayRegion.0.1.width = 0
INFO | hw.displayRegion.0.1.height = 0
INFO | hw.displayRegion.0.2.xOffset = -1
INFO | hw.displayRegion.0.2.yOffset = -1
INFO | hw.displayRegion.0.2.width = 0
INFO | hw.displayRegion.0.2.height = 0
INFO | hw.displayRegion.0.3.xOffset = -1
INFO | hw.displayRegion.0.3.yOffset = -1
INFO | hw.displayRegion.0.3.width = 0
INFO | hw.displayRegion.0.3.height = 0
INFO | hw.display1.width = 0
INFO | hw.display1.height = 0
INFO | hw.display1.density = 0
INFO | hw.display1.xOffset = -1
INFO | hw.display1.yOffset = -1
INFO | hw.display1.flag = 0
INFO | hw.display2.width = 0
INFO | hw.display2.height = 0
INFO | hw.display2.density = 0
INFO | hw.display2.xOffset = -1
INFO | hw.display2.yOffset = -1
INFO | hw.display2.flag = 0
INFO | hw.display3.width = 0
INFO | hw.display3.height = 0
INFO | hw.display3.density = 0
INFO | hw.display3.xOffset = -1
INFO | hw.display3.yOffset = -1
INFO | hw.display3.flag = 0
INFO | hw.multi_display_window = false
INFO | hw.hotplug_multi_display = false
INFO | hw.gpu.enabled = true
INFO | hw.gpu.mode = host
INFO | hw.initialOrientation = Portrait
INFO | hw.camera.back = virtualscene
INFO | hw.camera.front = emulated
INFO | vm.heapSize = 576
INFO | hw.sensors.light = true
INFO | hw.sensors.pressure = true
INFO | hw.sensors.humidity = true
INFO | hw.sensors.proximity = true
INFO | hw.sensors.magnetic_field = true
INFO | hw.sensors.magnetic_field_uncalibrated = true
INFO | hw.sensors.gyroscope_uncalibrated = true
INFO | hw.sensors.orientation = true
INFO | hw.sensors.temperature = true
INFO | hw.sensors.rgbclight = false
INFO | hw.sensor.hinge = false
INFO | hw.sensor.hinge.count = 0
INFO | hw.sensor.hinge.type = 0
INFO | hw.sensor.hinge.sub_type = 0
INFO | hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture = 1
INFO | hw.sensor.roll = false
INFO | hw.sensor.roll.count = 0
INFO | hw.sensor.roll.resize_to_displayRegion.0.1_at_posture = 6
INFO | hw.sensor.roll.resize_to_displayRegion.0.2_at_posture = 6
INFO | hw.sensor.roll.resize_to_displayRegion.0.3_at_posture = 6
INFO | hw.sensors.heart_rate = false
INFO | hw.sensors.wrist_tilt = false
INFO | hw.useext4 = true
INFO | hw.arc = false
INFO | hw.arc.autologin = false
INFO | hw.device.name = pixel_7_pro
INFO | kernel.path = /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//kernel-ranchu
INFO | kernel.newDeviceNaming = yes
INFO | kernel.supportsYaffs2 = no
INFO | disk.ramdisk.path = /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//ramdisk.img
INFO | disk.systemPartition.initPath = /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//system.img
INFO | disk.systemPartition.size = 2957m
INFO | disk.vendorPartition.initPath = /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//vendor.img
INFO | disk.vendorPartition.size = 800m
INFO | disk.dataPartition.path = /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/userdata-qemu.img
INFO | disk.dataPartition.size = 6g
INFO | disk.encryptionKeyPartition.path = /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/encryptionkey.img
INFO | PlayStore.enabled = true
INFO | avd.name = Pixel_7_Pro_API_34
INFO | avd.id = Pixel_7_Pro_API_34
INFO | fastboot.forceColdBoot = false
INFO | userdata.useQcow2 = true
INFO | firstboot.bootFromDownloadableSnapshot = true
INFO | firstboot.bootFromLocalSnapshot = true
INFO | firstboot.saveToLocalSnapshot = true
INFO | android.sdk.root = /data/app/android/Android/Sdk
INFO | android.avd.home = /home/takeseem/.android/avd
INFO | .
INFO | QEMU options list:
INFO | argv[00] = "/data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64"
INFO | argv[01] = "-dns-server"
INFO | argv[02] = "127.0.0.53"
INFO | argv[03] = "-mem-path"
INFO | argv[04] = "/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/snapshots/default_boot/ram.img"
INFO | argv[05] = "-mem-file-shared"
INFO | argv[06] = "-serial"
INFO | argv[07] = "stdio"
INFO | argv[08] = "-device"
INFO | argv[09] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/data/misc/pstore/pstore.bin"
INFO | argv[10] = "-cpu"
INFO | argv[11] = "android64-xts"
INFO | argv[12] = "-enable-kvm"
INFO | argv[13] = "-smp"
INFO | argv[14] = "cores=4"
INFO | argv[15] = "-m"
INFO | argv[16] = "3072"
INFO | argv[17] = "-lcd-density"
INFO | argv[18] = "560"
INFO | argv[19] = "-object"
INFO | argv[20] = "iothread,id=disk-iothread"
INFO | argv[21] = "-nodefaults"
INFO | argv[22] = "-kernel"
INFO | argv[23] = "/data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//kernel-ranchu"
INFO | argv[24] = "-initrd"
INFO | argv[25] = "/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/initrd"
INFO | argv[26] = "-drive"
INFO | argv[27] = "if=none,index=0,id=system,if=none,file=/data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//system.img,read-only"
INFO | argv[28] = "-device"
INFO | argv[29] = "virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify"
INFO | argv[30] = "-drive"
INFO | argv[31] = "if=none,index=1,id=cache,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO | argv[32] = "-device"
INFO | argv[33] = "virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify"
INFO | argv[34] = "-drive"
INFO | argv[35] = "if=none,index=2,id=userdata,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO | argv[36] = "-device"
INFO | argv[37] = "virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify"
INFO | argv[38] = "-drive"
INFO | argv[39] = "if=none,index=3,id=encrypt,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO | argv[40] = "-device"
INFO | argv[41] = "virtio-blk-pci,drive=encrypt,iothread=disk-iothread,modern-pio-notify"
INFO | argv[42] = "-drive"
INFO | argv[43] = "if=none,index=4,id=vendor,if=none,file=/data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//vendor.img,read-only"
INFO | argv[44] = "-device"
INFO | argv[45] = "virtio-blk-pci,drive=vendor,iothread=disk-iothread,modern-pio-notify"
INFO | argv[46] = "-drive"
INFO | argv[47] = "if=none,index=5,id=sdcard,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO | argv[48] = "-device"
INFO | argv[49] = "virtio-blk-pci,drive=sdcard,iothread=disk-iothread,modern-pio-notify"
INFO | argv[50] = "-netdev"
INFO | argv[51] = "user,id=mynet"
INFO | argv[52] = "-device"
INFO | argv[53] = "virtio-net-pci,netdev=mynet"
INFO | argv[54] = "-chardev"
INFO | argv[55] = "null,id=forhvc0"
INFO | argv[56] = "-chardev"
INFO | argv[57] = "null,id=forhvc1"
INFO | argv[58] = "-device"
INFO | argv[59] = "virtio-serial-pci,ioeventfd=off"
INFO | argv[60] = "-device"
INFO | argv[61] = "virtconsole,chardev=forhvc0"
INFO | argv[62] = "-device"
INFO | argv[63] = "virtconsole,chardev=forhvc1"
INFO | argv[64] = "-chardev"
INFO | argv[65] = "netsim,id=bluetooth"
INFO | argv[66] = "-device"
INFO | argv[67] = "virtserialport,chardev=bluetooth,name=bluetooth"
INFO | argv[68] = "-device"
INFO | argv[69] = "virtio-serial,ioeventfd=off"
INFO | argv[70] = "-chardev"
INFO | argv[71] = "socket,port=36775,host=::1,nowait,nodelay,reconnect=10,ipv6,id=modem"
INFO | argv[72] = "-device"
INFO | argv[73] = "virtserialport,chardev=modem,name=modem"
INFO | argv[74] = "-device"
INFO | argv[75] = "virtio-rng-pci"
INFO | argv[76] = "-show-cursor"
INFO | argv[77] = "-device"
INFO | argv[78] = "virtio_input_multi_touch_pci_1"
INFO | argv[79] = "-device"
INFO | argv[80] = "virtio_input_multi_touch_pci_2"
INFO | argv[81] = "-device"
INFO | argv[82] = "virtio_input_multi_touch_pci_3"
INFO | argv[83] = "-device"
INFO | argv[84] = "virtio_input_multi_touch_pci_4"
INFO | argv[85] = "-device"
INFO | argv[86] = "virtio_input_multi_touch_pci_5"
INFO | argv[87] = "-device"
INFO | argv[88] = "virtio_input_multi_touch_pci_6"
INFO | argv[89] = "-device"
INFO | argv[90] = "virtio_input_multi_touch_pci_7"
INFO | argv[91] = "-device"
INFO | argv[92] = "virtio_input_multi_touch_pci_8"
INFO | argv[93] = "-device"
INFO | argv[94] = "virtio_input_multi_touch_pci_9"
INFO | argv[95] = "-device"
INFO | argv[96] = "virtio_input_multi_touch_pci_10"
INFO | argv[97] = "-device"
INFO | argv[98] = "virtio_input_multi_touch_pci_11"
INFO | argv[99] = "-device"
INFO | argv[100] = "virtio-keyboard-pci"
INFO | argv[101] = "-netdev"
INFO | argv[102] = "user,id=virtio-wifi,dhcpstart=10.0.2.16"
INFO | argv[103] = "-device"
INFO | argv[104] = "virtio-wifi-pci,netdev=virtio-wifi"
INFO | argv[105] = "-device"
INFO | argv[106] = "virtio-vsock-pci,guest-cid=77"
INFO | argv[107] = "-L"
INFO | argv[108] = "/data/app/android/Android/Sdk/emulator/lib/pc-bios"
INFO | argv[109] = "-soundhw"
INFO | argv[110] = "virtio-snd-pci"
INFO | argv[111] = "-vga"
INFO | argv[112] = "none"
INFO | argv[113] = "-append"
INFO | argv[114] = "no_timer_check 8250.nr_uarts=1 clocksource=pit console=ttyS0,38400 cma=326M@0-4G loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on bootconfig"
INFO | argv[115] = "-android-hw"
INFO | argv[116] = "/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/hardware-qemu.ini"
INFO | Concatenated QEMU options: /data/app/android/Android/Sdk/emulator/qemu/linux-x86_64/qemu-system-x86_64 -dns-server 127.0.0.53 -mem-path /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/snapshots/default_boot/ram.img -mem-file-shared -serial stdio -device goldfish_pstore,addr=0xff018000,size=0x10000,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/data/misc/pstore/pstore.bin -cpu android64-xts -enable-kvm -smp cores=4 -m 3072 -lcd-density 560 -object iothread,id=disk-iothread -nodefaults -kernel /data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//kernel-ranchu -initrd /home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/initrd -drive if=none,index=0,id=system,if=none,file=/data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//system.img,read-only -device virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify -drive if=none,index=1,id=cache,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify -drive if=none,index=2,id=userdata,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify -drive if=none,index=3,id=encrypt,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=encrypt,iothread=disk-iothread,modern-pio-notify -drive if=none,index=4,id=vendor,if=none,file=/data/app/android/Android/Sdk/system-images/android-34/google_apis_playstore/x86_64//vendor.img,read-only -device virtio-blk-pci,drive=vendor,iothread=disk-iothread,modern-pio-notify -drive if=none,index=5,id=sdcard,if=none,file=/home/takeseem/.android/avd/../avd/Pixel_7_Pro_API_34.avd/sdcard.
DEBUG | Android qemu version 34.1.10.0 (build_id 11042718) (CL:N/A)
DEBUG | Starting QEMU main loop
DEBUG | registered 'boot-properties' qemud service
DEBUG | Adding boot property: 'ro.opengles.version' = '196608'
DEBUG | Adding boot property: 'qemu.sf.fake_camera' = 'front'
DEBUG | Adding boot property: 'qemu.adb.secure' = '1'
DEBUG | Adding boot property: 'dalvik.vm.heapsize' = '576m'
DEBUG | Adding boot property: 'qemu.hw.mainkeys' = '0'
DEBUG | Adding boot property: 'qemu.sf.lcd_density' = '560'
DEBUG | control console listening on port 5554, ADB on port 5555
DEBUG | goldfish_events.have-dpad: false
DEBUG | goldfish_events.have-trackball: false
DEBUG | goldfish_events.have-camera: true
DEBUG | goldfish_events.have-keyboard: false
DEBUG | goldfish_events.have-lidswitch: false
DEBUG | goldfish_events.have-tabletmode: false
DEBUG | goldfish_events.have-touch: false
DEBUG | goldfish_events.have-multitouch: false
DEBUG | Adding boot property: 'net.wifi_mac_prefix' = '5554'
DEBUG | Adding boot property: 'qemu.timezone' = 'Asia/Shanghai'
DEBUG | android_hw_fingerprint_init: fingerprint qemud listen service initialized
WARNING | The emulator now requires a signed jwt token for gRPC access! Use the -grpc flag if you really want an open unprotected grpc port
DEBUG | (input_volume_stats_reporter.cc:98): Will not log any `WebRTC.Audio.Apm.AppliedInputVolume.*` histogram stats.
DEBUG | (input_volume_stats_reporter.cc:98): Will not log any `WebRTC.Audio.Apm.RecommendedInputVolume.*` histogram stats.
DEBUG | (audio_processing_impl.cc:695): Injected APM submodules:
Echo control factory: 0
Echo detector: 0
Capture analyzer: 0
Capture post processor: 0
Render pre processor: 0
DEBUG | (audio_processing_impl.cc:708): AudioProcessing: AudioProcessing::Config{ pipeline: { maximum_internal_processing_rate: 48000, multi_channel_render: 0, multi_channel_capture: 0 }, pre_amplifier: { enabled: 0, fixed_gain_factor: 1 },capture_level_adjustment: { enabled: 0, pre_gain_factor: 1, post_gain_factor: 1, analog_mic_gain_emulation: { enabled: 0, initial_level: 255 }}, high_pass_filter: { enabled: 0 }, echo_canceller: { enabled: 0, mobile_mode: 0, enforce_high_pass_filtering: 1 }, noise_suppression: { enabled: 0, level: Moderate }, transient_suppression: { enabled: 0 }, gain_controller1: { enabled: 0, mode: AdaptiveAnalog, target_level_dbfs: 3, compression_gain_db: 9, enable_limiter: 1, analog_gain_controller { enabled: 1, startup_min_volume: 0, clipped_level_min: 70, enable_digital_adaptive: 1, clipped_level_step: 15, clipped_ratio_threshold: 0.1, clipped_wait_frames: 300, clipping_predictor: { enabled: 0, mode: 0, window_length: 5, reference_window_length: 5, reference_window_delay: 5, clipping_threshold: -1, crest_factor_margin: 3, use_predicted_step: 1 }}}, gain_controller2: { enabled: 0, fixed_digital: { gain_db: 0 }, adaptive_digital: { enabled: 0, headroom_db: 6, max_gain_db: 30, initial_gain_db: 8, max_gain_change_db_per_second: 3, max_output_noise_level_dbfs: -50 }, input_volume_control : { enabled 0}}
DEBUG | (webrtc_voice_engine.cc:311): WebRtcVoiceEngine::WebRtcVoiceEngine
DEBUG | (webrtc_voice_engine.cc:333): WebRtcVoiceEngine::Init
DEBUG | (webrtc_voice_engine.cc:424): WebRtcVoiceEngine::ApplyOptions: AudioOptions {aec: 1, agc: 1, ns: 1, hf: 1, swap: 0, audio_jitter_buffer_max_packets: 200, audio_jitter_buffer_fast_accelerate: 0, audio_jitter_buffer_min_delay_ms: 0, }
DEBUG | (audio_processing_impl.cc:911): AudioProcessing::ApplyConfig: AudioProcessing::Config{ pipeline: { maximum_internal_processing_rate: 48000, multi_channel_render: 0, multi_channel_capture: 0 }, pre_amplifier: { enabled: 0, fixed_gain_factor: 1 },capture_level_adjustment: { enabled: 0, pre_gain_factor: 1, post_gain_factor: 1, analog_mic_gain_emulation: { enabled: 0, initial_level: 255 }}, high_pass_filter: { enabled: 1 }, echo_canceller: { enabled: 1, mobile_mode: 0, enforce_high_pass_filtering: 1 }, noise_suppression: { enabled: 1, level: High }, transient_suppression: { enabled: 0 }, gain_controller1: { enabled: 1, mode: AdaptiveAnalog, target_level_dbfs: 3, compression_gain_db: 9, enable_limiter: 1, analog_gain_controller { enabled: 1, startup_min_volume: 0, clipped_level_min: 70, enable_digital_adaptive: 1, clipped_level_step: 15, clipped_ratio_threshold: 0.1, clipped_wait_frames: 300, clipping_predictor: { enabled: 0, mode: 0, window_length: 5, reference_window_length: 5, reference_window_delay: 5, clipping_threshold: -1, crest_factor_margin: 3, use_predicted_step: 1 }}}, gain_controller2: { enabled: 0, fixed_digital: { gain_db: 0 }, adaptive_digital: { enabled: 0, headroom_db: 6, max_gain_db: 30, initial_gain_db: 8, max_gain_change_db_per_second: 3, max_output_noise_level_dbfs: -50 }, input_volume_control : { enabled 0}}
DEBUG | (matched_filter.cc:139): AEC3: Pre echo configuration: threshold = 0.5, mode = 0.
DEBUG | (transparent_mode.cc:239): AEC3 Transparent Mode: Legacy
DEBUG | (echo_canceller3.cc:793): AEC3 created with sample rate: 16000 Hz, num render channels: 1, num capture channels: 1
DEBUG | (clipping_predictor.cc:358): [AGC2] Clipping prediction disabled.
DEBUG | (agc_manager_direct.cc:481): [agc] analog controller enabled: yes
DEBUG | (agc_manager_direct.cc:484): [agc] Min mic level: 12 (overridden: no)
DEBUG | (input_volume_stats_reporter.cc:98): Will not log any `WebRTC.Audio.Apm.AppliedInputVolume.*` histogram stats.
DEBUG | (input_volume_stats_reporter.cc:98): Will not log any `WebRTC.Audio.Apm.RecommendedInputVolume.*` histogram stats.
DEBUG | (audio_processing_impl.cc:695): Injected APM submodules:
Echo control factory: 0
Echo detector: 0
Capture analyzer: 0
Capture post processor: 0
Render pre processor: 0
DEBUG | (audio_processing_impl.cc:708): AudioProcessing: AudioProcessing::Config{ pipeline: { maximum_internal_processing_rate: 48000, multi_channel_render: 0, multi_channel_capture: 0 }, pre_amplifier: { enabled: 0, fixed_gain_factor: 1 },capture_level_adjustment: { enabled: 0, pre_gain_factor: 1, post_gain_factor: 1, analog_mic_gain_emulation: { enabled: 0, initial_level: 255 }}, high_pass_filter: { enabled: 0 }, echo_canceller: { enabled: 0, mobile_mode: 0, enforce_high_pass_filtering: 1 }, noise_suppression: { enabled: 0, level: Moderate }, transient_suppression: { enabled: 0 }, gain_controller1: { enabled: 0, mode: AdaptiveAnalog, target_level_dbfs: 3, compression_gain_db: 9, enable_limiter: 1, analog_gain_controller { enabled: 1, startup_min_volume: 0, clipped_level_min: 70, enable_digital_adaptive: 1, clipped_level_step: 15, clipped_ratio_threshold: 0.1, clipped_wait_frames: 300, clipping_predictor: { enabled: 0, mode: 0, window_length: 5, reference_window_length: 5, reference_window_delay: 5, clipping_threshold: -1, crest_factor_margin: 3, use_predicted_step: 1 }}}, gain_controller2: { enabled: 0, fixed_digital: { gain_db: 0 }, adaptive_digital: { enabled: 0, headroom_db: 6, max_gain_db: 30, initial_gain_db: 8, max_gain_change_db_per_second: 3, max_output_noise_level_dbfs: -50 }, input_volume_control : { enabled 0}}
DEBUG | (webrtc_voice_engine.cc:311): WebRtcVoiceEngine::WebRtcVoiceEngine
DEBUG | (webrtc_voice_engine.cc:333): WebRtcVoiceEngine::Init
DEBUG | (webrtc_voice_engine.cc:424): WebRtcVoiceEngine::ApplyOptions: AudioOptions {aec: 1, agc: 1, ns: 1, hf: 1, swap: 0, audio_jitter_buffer_max_packets: 200, audio_jitter_buffer_fast_accelerate: 0, audio_jitter_buffer_min_delay_ms: 0, }
DEBUG | (audio_processing_impl.cc:911): AudioProcessing::ApplyConfig: AudioProcessing::Config{ pipeline: { maximum_internal_processing_rate: 48000, multi_channel_render: 0, multi_channel_capture: 0 }, pre_amplifier: { enabled: 0, fixed_gain_factor: 1 },capture_level_adjustment: { enabled: 0, pre_gain_factor: 1, post_gain_factor: 1, analog_mic_gain_emulation: { enabled: 0, initial_level: 255 }}, high_pass_filter: { enabled: 1 }, echo_canceller: { enabled: 1, mobile_mode: 0, enforce_high_pass_filtering: 1 }, noise_suppression: { enabled: 1, level: High }, transient_suppression: { enabled: 0 }, gain_controller1: { enabled: 1, mode: AdaptiveAnalog, target_level_dbfs: 3, compression_gain_db: 9, enable_limiter: 1, analog_gain_controller { enabled: 1, startup_min_volume: 0, clipped_level_min: 70, enable_digital_adaptive: 1, clipped_level_step: 15, clipped_ratio_threshold: 0.1, clipped_wait_frames: 300, clipping_predictor: { enabled: 0, mode: 0, window_length: 5, reference_window_length: 5, reference_window_delay: 5, clipping_threshold: -1, crest_factor_margin: 3, use_predicted_step: 1 }}}, gain_controller2: { enabled: 0, fixed_digital: { gain_db: 0 }, adaptive_digital: { enabled: 0, headroom_db: 6, max_gain_db: 30, initial_gain_db: 8, max_gain_change_db_per_second: 3, max_output_noise_level_dbfs: -50 }, input_volume_control : { enabled 0}}
DEBUG | (matched_filter.cc:139): AEC3: Pre echo configuration: threshold = 0.5, mode = 0.
DEBUG | (transparent_mode.cc:239): AEC3 Transparent Mode: Legacy
DEBUG | (echo_canceller3.cc:793): AEC3 created with sample rate: 16000 Hz, num render channels: 1, num capture channels: 1
DEBUG | (clipping_predictor.cc:358): [AGC2] Clipping prediction disabled.
DEBUG | (agc_manager_direct.cc:481): [agc] analog controller enabled: yes
DEBUG | (agc_manager_direct.cc:484): [agc] Min mic level: 12 (overridden: no)
INFO | Using security allow list from: /data/app/android/Android/Sdk/emulator/lib/emulator_access.json
WARNING | *** Basic token auth should only be used by android-studio ***
INFO | The active JSON Web Key Sets can be found here: /run/user/1000/avd/running/61527/jwks/c0f8ea9d-0d55-4cdd-9f5e-63734fecae6a/active.jwk
INFO | Scanning /run/user/1000/avd/running/61527/jwks/c0f8ea9d-0d55-4cdd-9f5e-63734fecae6a for jwk keys.
INFO | Started GRPC server at 127.0.0.1:8554, security: Local, auth: +token
INFO | Advertising in: /run/user/1000/avd/running/pid_61527.ini
DEBUG | Successfully initialized Wi-Fi
DEBUG | emulator_window_fb_rotate
I1203 23:52:09.429387 61588 FrameBuffer.cpp:3682] setDisplayConfigs w 1440 h 3120 dpiX 560 dpiY 560
DEBUG | setDisplayPose 0 x 0 y 0 w 1440 h 3120 dpi 0
I1203 23:52:09.429435 61588 FrameBuffer.cpp:3695] setDisplayActiveConfig 0
DEBUG | no root specified:
DEBUG | Path:/data/app/android/Android/Sdk/platform-tools/adb protocol version: 41
DEBUG | Found: 1 adb executables
DEBUG | Adb: /data/app/android/Android/Sdk/platform-tools/adb
DEBUG | Path:/data/app/android/Android/Sdk/platform-tools/adb protocol version: 41
DEBUG | config multidisplay with config.ini 0x0 0x0 0x0
DEBUG | No acpi ini file provided, using default
DEBUG | added one RIL client
INFO | Loading snapshot 'default_boot'...
DEBUG | OpenGL Vendor=[Google (AMD)]
DEBUG | OpenGL Renderer=[Android Emulator OpenGL ES Translator (GFX1103_R1 (gfx1103_r1, LLVM 15.0.7, DRM 3.49, 6.2.0-37-generic))]
DEBUG | OpenGL Version=[OpenGL ES 3.0 (4.6 (Core Profile) Mesa 23.0.4-0ubuntu1~22.04.1)]
WARNING | Device 'cache' does not have the requested snapshot 'default_boot'
WARNING | Failed to load snapshot 'default_boot'
DEBUG | No acpi ini file provided, using default
DEBUG | getMultiDisplay 0 x -1 y -1 w 1440 h 3120 dpi 560 flag 0 enable 1
DEBUG | getMultiDisplay 0 x -1 y -1 w 1440 h 3120 dpi 560 flag 0 enable 1 (3x)
DEBUG | change window size to 1440x3120
[ 134.156841] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1203 23:54:24.937362 61797 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
error: kvm run failed Bad address
RAX=0000704545376000 RBX=000070454548f400 RCX=0000000000000000 RDX=0000000000119400
RSI=0000000008446000 RDI=0000704545376000 RBP=0000704545376000 RSP=00007045531ddee0
R8 =0000704545377000 R9 =0000000000000010 R10=000038fa0012b800 R11=00000000000cc000
R12=0000000000119400 R13=0000000000001680 R14=0000000000000000 R15=0000000000000000
RIP=00007048574e1ac4 RFL=00000206 [-----P-] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0033 0000000000000000 ffffffff 00a0fb00 DPL=3 CS64 [-RA]
SS =002b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
DS =0000 0000000000000000 00000000 00000000
FS =0000 00007045531e2000 00000000 00000000
GS =0000 00007045c352b950 00000000 00000000
LDT=0000 0000000000000000 00000000 00000000
TR =0040 fffffe0000079000 00004087 00008b00 DPL=0 TSS64-busy
GDT= fffffe0000077000 0000007f
IDT= fffffe0000000000 00000fff
CR0=80050033 CR2=000070454d7bc000 CR3=00000000b6954000 CR4=000406a0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
Code=41 0f 6f 4c 30 10 f3 41 0f 6f 54 30 20 f3 41 0f 6f 5c 30 30 <66> 41 0f 7f 00 41 0f 29 48 10 41 0f 29 50 20 41 0f 29 58 30 4d 8d 40 40 4c 39 c3 77 bf 48
ta...@gmail.com <ta...@gmail.com> #138
settings -> Advanced, OpenGL ES renderer: SwiftShader ==> open chrome running ok
./Sdk/emulator/emulator -avd Pixel_7_Pro_API_34 -verbose -show-kernel
open chrome console print
[ 52.647636] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1204 00:09:11.066272 64426 VkDecoderGlobalState.cpp:444] Creating Vulkan instance for app: Chromium
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
I1204 00:09:11.100449 64426 VkDecoderGlobalState.cpp:1271] Created new VkDevice. ASTC emulation? 0. CPU decoding? 0
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000338000
../../third_party/SwiftShader/src/Vulkan/VkPhysicalDevice.cpp:649 WARNING: UNSUPPORTED: curExtension->sType: 1000437000
[ 53.816821] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1204 00:09:11.334916 64428 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
I1204 00:09:11.474187 64426 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8_UNORM
[ 54.653653] servicemanager: Since 'artd' could not be found, trying to start it as a lazy AIDL service. (if it's not configured to be a lazy service, it may be stuck starting or still starting).
[ 54.656529] init: starting service 'artd'...
[ 54.681796] init: ... started service 'artd' has pid 4566
[ 54.683066] init: Control message: Processed ctl.interface_start for 'aidl/artd' from pid: 156 (/system/bin/servicemanager)
[ 54.694136] BpBinder: onLastStrongRef automatically unlinking death recipients:
[ 54.704357] servicemanager: Notifying artd they do (previously: don't) have clients when service is guaranteed to be in use
[ 58.584202] servicemanager: Found android.hardware.security.keymint.IRemotelyProvisionedComponent/default in device VINTF manifest.
settings -> Advanced, OpenGL ES renderer: Desktop native OpenGL ==> AVD crash when open chrome
I1204 00:13:03.050591 64903 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
error: kvm run failed Bad address
RAX=00007bc5de263000 RBX=00007bc5de37c400 RCX=0000000000000000 RDX=0000000000119400
RSI=0000000000a6a000 RDI=00007bc5de263000 RBP=00007bc5de263000 RSP=00007bc5e2dddee0
R8 =00007bc5de264000 R9 =0000000000000010 R10=00003de80012b800 R11=0000000000000047
R12=0000000000119400 R13=0000000000001680 R14=0000000000000000 R15=0000000000000000
RIP=00007bc8f6c87ac4 RFL=00000206 [-----P-] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0033 0000000000000000 ffffffff 00a0fb00 DPL=3 CS64 [-RA]
SS =002b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
DS =0000 0000000000000000 00000000 00000000
FS =0000 00007bc5e2de2000 00000000 00000000
GS =0000 00007bc80d48f520 00000000 00000000
LDT=0000 0000000000000000 00000000 00000000
TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy
GDT= fffffe0000001000 0000007f
IDT= fffffe0000000000 00000fff
CR0=80050033 CR2=00007bc5deccd000 CR3=0000000045db0000 CR4=000406b0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
Code=41 0f 6f 4c 30 10 f3 41 0f 6f 54 30 20 f3 41 0f 6f 5c 30 30 <66> 41 0f 7f 00 41 0f 29 48 10 41 0f 29 50 20 41 0f 29 58 30 4d 8d 40 40 4c 39 c3 77 bf 48
DEBUG | Timed out with running command
ta...@gmail.com <ta...@gmail.com> #139
settings -> Advanced, OpenGL ES renderer: Autodetect based on host(default), OpenGL ES API level: Autoselect
my solution
- for Android Studio start AVD
echo "Vulkan = off" >> ~/.android/advancedFeatures.ini
- direct start AVD with cmd: emulator
./Sdk/emulator/emulator -avd $your_avd_name -verbose -show-kernel -feature -Vulka
why AVD hang when open chrome?
Starting with API level 30, Chrome uses the Vulkan graphics library as its rendering backend, and it could have compatibility issues on certain machines. If Chrome does not render correctly for you, try to launch the emulator from the command line with the flag -feature -Vulkan
my test details
- -verbose -show-kernel -feature -Vulkan <-- AVD don't crash, chrome running ok
- -verbose -show-kernel -feature -GLDirectMem <-- AVD don't crash, chrome not crash but page is blank. console print:
DEBUG | getMultiDisplay 0 x -1 y -1 w 1440 h 3120 dpi 560 flag 0 enable 1 (3x)
DEBUG | change window size to 1440x3120
[ 120.657520] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1204 00:23:17.207660 65957 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
[ 121.050977] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1204 00:23:17.372141 65957 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8_UNORM
DEBUG | getMultiDisplay 0 x 0 y 0 w 1440 h 3120 dpi 560 flag 0 enable 1
[ 127.305413] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
[ 134.296904] binder: undelivered transaction 156259, process died.
[ 134.298405] binder: undelivered transaction 156260, process died.
[ 134.299351] binder: undelivered transaction 156258, process died.
-
-verbose -show-kernel -feature -GLDirectMem -feature -GLDMA <-- it's the same
-verbose -show-kernel -feature -GLDirectMem
-
-verbose -show-kernel -feature -GLDirectMem -feature -GLDMA -feature -GLDMA2 <-- it's the same
-verbose -show-kernel -feature -GLDirectMem
-
-verbose -show-kernel -feature -GLDirectMem -feature -GLDMA2 <-- AVD don't crash, chrome not crash but splash screen. console print:
[ 145.147145] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1204 00:31:23.907154 67481 VkDecoderGlobalState.cpp:444] Creating Vulkan instance for app: Chromium
I1204 00:31:23.930584 67481 VkDecoderGlobalState.cpp:1271] Created new VkDevice. ASTC emulation? 1. CPU decoding? 0
I1204 00:31:24.007138 67481 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
[ 145.606239] servicemanager: Could not find android.hardware.graphics.allocator.IAllocator/default in the VINTF manifest.
I1204 00:31:24.090714 67481 VkDecoderGlobalState.cpp:1551] gfxstream_texture_format_manifest: VK_FORMAT_R8_UNORM
- -verbose -show-kernel -feature -GLDirectMem -feature -GLDMA2 -feature -Vulkan <-- AVD is ok, chrome is ok, and can load state when restart AVD
ya...@google.com <ya...@google.com> #140
aa...@xqz.ca <aa...@xqz.ca> #141
ya...@google.com <ya...@google.com> #142
Because many different kinds of issues are involved in this bug, it would be great if you could tell us which emulator version + system image version you are using, your OS, your graphics card model, as well as a short description of what happens (emulator crashes when loading a webpage, emulator does not crash but webpage looks empty, webpage flickers, etc).
Thanks!
ca...@google.com <ca...@google.com> #143
Chrome is running fine on a Windows machine with:
- nVidia P1000. Driver 535.98
- nVidia RTX 3060. Driver 546.33
- AMD RDNA 3 Integrated graphics. Driver 31.0.22024.3002
A setup that was having issues is the one with an 2080 Super as we discussed on
Otherwise all the other setups were running and exiting chrome no problem. Even when using swiftshader.
Emulator: 34.2.3-11271302
System Image build: [ro.vendor_dlkm.build.fingerprint]: [google/sdk_gphone64_x86_64/emu64xa:14/UE1A.230829.036/11036701:user/release-keys]
ca...@google.com <ca...@google.com> #144
Got this to repro on a Steam Deck with RDNA 2.0 Van Gogh gpu and on emu 34.2.4.0-11307001
The verbose output looks similar to
DEBUG | MultiDisplayPipe created 0x5597d86fa540
DEBUG | MultiDisplayPipe recevied QUERY
DEBUG | MultiDisplayPipe send add id 0 width 2208 height 1840 dpi 420 flag 0
I0117 11:26:42.953790 7567 VkDecoderGlobalState.cpp:444] Creating Vulkan instance for app: Chromium
I0117 11:26:43.475909 7567 VkDecoderGlobalState.cpp:1279] Created new VkDevice. ASTC emulation? 1. CPU decoding? 0
DEBUG | getMultiDisplay 0 x -1 y -1 w 2208 h 1840 dpi 420 flag 0 enable 1
DEBUG | getMultiDisplay 0 x -1 y -1 w 2208 h 1840 dpi 420 flag 0 enable 1 (21x)
DEBUG | getMultiDisplay 0 x 0 y 0 w 2208 h 1840 dpi 420 flag 0 enable 1
I0117 11:27:17.780623 7567 VkDecoderGlobalState.cpp:1559] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
error: kvm run failed Bad address
RAX=000079915f050000 RBX=000079915f8ae000 RCX=0000000000000000 RDX=0000000000225d80
RSI=000000000085e000 RDI=000079915f050000 RBP=000079915f050000 RSP=00007991623ddee0
R8 =000079915f050040 R9 =0000000000000010 R10=00001e1c0012b800 R11=0000000000000045
R12=0000000000225d80 R13=0000000000002280 R14=0000000000000000 R15=0000000000000000
RIP=000079947ce91a4e RFL=00000206 [-----P-] CPL=3 II=0 A20=1 SMM=0 HLT=0
ES =0000 0000000000000000 00000000 00000000
CS =0033 0000000000000000 ffffffff 00a0fb00 DPL=3 CS64 [-RA]
SS =002b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
DS =0000 0000000000000000 00000000 00000000
FS =0000 00007991623e2000 00000000 00000000
GS =0000 000079935eabccc0 00000000 00000000
LDT=0000 fffffe0000000000 00000000 00000000
TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy
GDT= fffffe0000001000 0000007f
IDT= fffffe0000000000 00000fff
CR0=80050033 CR2=000079915f8ae000 CR3=0000000003792000 CR4=000406b0
DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
DR6=00000000ffff0ff0 DR7=0000000000000400
EFER=0000000000000d01
Code=41 0f 6f 6c 30 10 f3 41 0f 6f 74 30 20 f3 41 0f 6f 7c 30 30 <f3> 0f 7f 07 f3 0f 7f 4f 10 f3 0f 7f 57 20 f3 0f 7f 5f 30 66 41 0f 7f 20 41 0f 29 68 10 41
DEBUG | getMultiDisplay 0 x 0 y 0 w 2208 h 1840 dpi 420 flag 0 enable 1 (119x)
DEBUG | Timed out with running command
^CDEBUG | Timed out with running command (14x)
INFO | Wait for emulator (pid 7066) 20 seconds to shutdown gracefully before kill;you can set environment variable ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL(in seconds) to change the default value (20 seconds)
INFO | Wait for emulator (pid 7066) 20 seconds to shutdown gracefully before kill;you can set environment variable ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL(in seconds) to change the default value (20 seconds)
WARNING | Not saving state: current state does not support snapshotting
INFO | Deleting snapshot default_boot
INFO | Deleting snapshot default_boot
ERROR | stop: Not implemented
DEBUG | Done with QEMU main loop
Segmentation fault (core dumped)
(139)(deck@steamdeck emulator)$
ya...@google.com <ya...@google.com> #145
Carlos do you have the crash report id?
ca...@google.com <ca...@google.com> #146
It does not crash but stays frozen. After launching again from a force close it doesn't produce a crash report.
ta...@gmail.com <ta...@gmail.com> #147
Thank you. It's better, now it's not crash, but stay frozen.
.android/advancedFeatures.ini
#Vulkan = off
it is frozen in canary 34.2.3
I must to keep disable Vulkan
.android/advancedFeatures.ini
Vulkan = off
to keep chrome running ok.
ya...@google.com <ya...@google.com>
ko...@google.com <ko...@google.com>
bo...@google.com <bo...@google.com> #148
we recently had a work around for that problem and you can try
we will have a canary emulator with that fix coming out soon, if you want to wait
bo...@google.com <bo...@google.com> #149
for windows crash, it might be something else.
ro...@veeva.com <ro...@veeva.com> #150
#148 I just tried with sdk-repo-linux-emulator-11484481.zip
and for me it still freezes as soon as I open a website (e.g. I do a Google search).
Attached the output of emulator -avd Nexus_5_API_30_Play -verbose -show-kernel &> emu.log
bo...@google.com <bo...@google.com> #151
you can add option to #150
-feature VulkanAllocateDeviceMemoryOnly
and post the output here please
le...@gmail.com <le...@gmail.com> #152
you have intel gpu: Intel(R) Graphics (RPL-P)
Sorry, I forgot to mention that.
Attached the output of emulator -avd Nexus_5_API_30_Play -verbose -show-kernel -feature VulkanAllocateDeviceMemoryOnly &> emu.log
bo...@google.com <bo...@google.com> #153
le...@gmail.com <le...@gmail.com> #154
I just tried and it freezes as soon as I open Chrome. Log attached.
bo...@google.com <bo...@google.com> #155
if you can, please try this
run the x86_64/bin/vulkaninfo and upload the information there so I can have better idea of
the vulkan support your intel gpu has.
the build in #148 is for the issue we found on AMD gpu, it does not seem to fix intel gpu for the moment
and.I hope to get more details about your intel gpu so to find one that can reproduce. thanks
le...@gmail.com <le...@gmail.com> #156
Sure, here you go. Let me know if I can help with some other tests.
bo...@google.com <bo...@google.com> #157
I have Intel Graphics ADL GT2, and it runs ok with vulkan, not perfect as I saw some blackscreen when rendering chrome, but
it does not freeze
my driver is 23.3.3 vs your driver is 24.0.1, updating my driver and try again
still cannot reproduce
I am running on ubuntu 24.04 btw
bo...@google.com <bo...@google.com> #158
(after
source setup-env.sh under vunkan dir)
x86_64/bin/vkconfig
(you might need to install a bunch of libxcb* libraries, sudo apt install libxcb*)
and click the "Validation" radio checkbox,
then source setup-env.sh under vunkan dir again, and launch emulator
it should catch some validation problem and please post it.
bo...@google.com <bo...@google.com> #159
-feature SystemBlob
le...@gmail.com <le...@gmail.com> #160
So I did some tests and it seems that using -feature SystemBlob
fixes the issue (or at least it did not crash the 3 times I tried it). Is there a way to add this SystemBlob
to the advancedFeatures.ini
file so that it will be executed automatically every time the emulator runs?
BTW, I tried also to follow the instructions for the x86_64/bin/vkconfig
, not sure if I did it right but I've attached the logs using SystemBlob
and without (where it crashed).
ya...@google.com <ya...@google.com> #161
When will the fix land on the goldfish instances? All UI tests that open up the browser are blocked by this. Thanks!
ko...@google.com <ko...@google.com> #162
Yang, the workaround for AMD GPU issue is submitted, but we're still working on a fix for the Intel related problems. Can you provide a link to the failing UI tests so that I can check if it's the same issue?
bo...@google.com <bo...@google.com> #163
with SystemBlob turned on for Intel GPU, the "Bad Address" does not show up anymore (so far);
however, it seems there are some blackscreens in chrome once you open any of the tabs (such as youtube).
not sure what else went wrong.
bo...@google.com <bo...@google.com> #164
on amd gpu, systemblob (after some hack to just use anonymous mmap in sharedmanager) does show normal rendering of chrome ;
bo...@google.com <bo...@google.com> #165
it appears that there is some race condition somewhere.
bo...@google.com <bo...@google.com> #166
thanks for the report, for the moment, we will enable "SystemBlob" on intel gpu when vulkan is turned on.
you can try this build that is from presubmit server with this cl:
bo...@google.com <bo...@google.com> #167
le...@gmail.com <le...@gmail.com> #168
Yeah I'm experiencing the black screen issue.
If I start the emulator from command line, with emulator -avd Nexus_5_API_34_Play -verbose -show-kernel
, I get the black screen issue but it doesn't seem to freeze (I can close chrome or change tab). If I start it from AS it freezes as soon as the black screen is shown.
bo...@google.com <bo...@google.com> #169
could you upload the idea.log when launch from AS ?
if it is due to kvm error of bad address, the idea.log should show that; and you can try adb shell to check whether it is the ANR (which will recover and adb shell should still work) or guest freezes completely
le...@gmail.com <le...@gmail.com> #170
Sure, idea.log
attached. The emulator freezes completely: notification and status bar are unresponsive and adb logcat
and adb shell}
do nothing.
bo...@google.com <bo...@google.com> #171
22055918] INFO - Emulator: Nexus 5 API 29 Play - Process finished with exit code 0
2024-02-27 16:14:21,228 [22056050] INFO - #com.android.tools.idea.adb.AdbService - Device [emulator-5554] is offline
2024-02-27 16:14:26,206 [22061028] INFO - Emulator: Nexus 5 API 34 Play - /home/rleinardi/android-sdk/emulator-old/emulator -netdelay none -netspeed full -avd Nexus_5_API_34_Play -qt-hide-window -grpc-use-token -idle-grpc-timeout 300
2024-02-27 16:14:26,214 [22061036] INFO - Emulator: Nexus 5 API 34 Play - Storing crashdata in: /tmp/android-rleinardi/emu-crash-34.1.17.db, detection is enabled for process: 1580157
2024-02-27 16:14:26,214 [22061036] INFO - Emulator: Nexus 5 API 34 Play - Android emulator version 34.1.17.0 (build_id 11438439) (CL:N/A)
2024-02-27 16:14:26,214 [22061036] INFO - Emulator: Nexus 5 API 34 Play - Found systemPath /home/rleinardi/android-sdk/system-images/android-34/google_apis_playstore/x86_64/
2024-02-27 16:14:26,425 [22061247] INFO - Emulator: Nexus 5 API 34 Play - Storing crashdata in: /tmp/android-rleinardi/emu-crash-34.1.17.db, detection is enabled for process: 1580157
2024-02-27 16:14:26,425 [22061247] INFO - Emulator: Nexus 5 API 34 Play - Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
2024-02-27 16:14:26,425 [22061247] INFO - Emulator: Nexus 5 API 34 Play - Increasing RAM size to 2048MB
2024-02-27 16:14:26,425 [22061247] INFO - Emulator: Nexus 5 API 34 Play - library_mode host gpu mode host
2024-02-27 16:14:26,426 [22061248] INFO - Emulator: Nexus 5 API 34 Play - Initializing hardware OpenGLES emulation supportandroid_startOpenglesRenderer: gpu infoI0227 16:14:26.426136 1580157 HealthMonitor.cpp:279] HealthMonitor disabled.
2024-02-27 16:14:26,426 [22061248] INFO - Emulator: Nexus 5 API 34 Play - added library libvulkan.so
2024-02-27 16:14:26,458 [22061280] INFO - Emulator: Nexus 5 API 34 Play - createGlobalVkEmulation:964 Selecting Vulkan device: Intel(R) Graphics (RPL-P)
2024-02-27 16:14:26,460 [22061282] INFO - Emulator: Nexus 5 API 34 Play - initialize: Supports id properties, got a vulkan device UUID
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530414 1580157 VkCommonOperations.cpp:1226] Initializing VkEmulation features:
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530427 1580157 VkCommonOperations.cpp:1227] glInteropSupported: true
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530429 1580157 VkCommonOperations.cpp:1228] useDeferredCommands: true
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530430 1580157 VkCommonOperations.cpp:1230] createResourceWithRequirements: true
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530430 1580157 VkCommonOperations.cpp:1231] useVulkanComposition: false
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530431 1580157 VkCommonOperations.cpp:1232] useVulkanNativeSwapchain: false
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530432 1580157 VkCommonOperations.cpp:1233] enable guestRenderDoc: false
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530433 1580157 VkCommonOperations.cpp:1234] ASTC LDR emulation mode: 2
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530433 1580157 VkCommonOperations.cpp:1235] enable ETC2 emulation: true
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530434 1580157 VkCommonOperations.cpp:1236] enable Ycbcr emulation: false
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530434 1580157 VkCommonOperations.cpp:1237] guestUsesAngle: false
2024-02-27 16:14:26,530 [22061352] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530435 1580157 VkCommonOperations.cpp:1238] useDedicatedAllocations: true
2024-02-27 16:14:26,531 [22061353] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530956 1580157 FrameBuffer.cpp:486] Graphics Adapter Vendor Google (Intel)
2024-02-27 16:14:26,531 [22061353] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530958 1580157 FrameBuffer.cpp:487] Graphics Adapter Android Emulator OpenGL ES Translator (Mesa Intel(R) Graphics (RPL-P))
2024-02-27 16:14:26,531 [22061353] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530959 1580157 FrameBuffer.cpp:488] Graphics API Version OpenGL ES 3.0 (4.6 (Core Profile) Mesa 24.0.0 - kisak-mesa PPA)
2024-02-27 16:14:26,531 [22061353] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530960 1580157 FrameBuffer.cpp:489] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_shader_framebuffer_fetch GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888
2024-02-27 16:14:26,531 [22061353] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.530967 1580157 FrameBuffer.cpp:490] Graphics Device Extensions N/A
2024-02-27 16:14:26,536 [22061358] INFO - Emulator: Nexus 5 API 34 Play - OpenGL Vendor=[Google (Intel)]OpenGL Renderer=[Android Emulator OpenGL ES Translator (Mesa Intel(R) Graphics (RPL-P))]OpenGL Version=[OpenGL ES 3.0 (4.6 (Core Profile) Mesa 24.0.0 - kisak-mesa PPA)]INFO | Sending adb public key [QAAAAE8/AkdRiNhUjTrfG15p3ir4LBMCkzp6+OxWeEtTk/ZFqlB9xtpuvQAkVO/2hORKr4L1HmyrUWD4YYrK9NUkhJzDug4vmJcEKKUKcaVsOSWvqfunNH1aW/mwQtQH1VSkZke9Rd9y73qBJpCnAjwv35ZerKRms9F+3oER9Ezv9xNnIxXBuzcCVOkb93Yh/ATx+8BH5Fkba86gYUp3YIUdGCgUuvuAIjwJNOR4mlSm3i4J9+9bHn51P1eCfznNjUgrjfkdumxXlbIvxldwX5JwIfE0ZUAX3lJrV3w1EtTHNs+b83a5hvoC2ZKIDKxy7bPXXcCzieGrqtWhOPHPhm0QovicT3LxmvSvX0uo3tMTw15s+NmfIeDhJa7BOE673biAC6yuF04yItgYhOPof61yZ/9nGCyE5OD47IH41CF3GG4meVDr4aZ/u8COaPRMpnQL3txV/B8qLpM75BtfaS0nV41kHq8bB/pss+7+Mi23KT/oL2mi6IUpObPaQbml9HkglDsSpGFVkztqSoJmEo6+WqoMuApN4zuM4NzB+mmy7FrI99mcZDcOQcny2T70BnCULHi9HRlOBGdBYCebXfdD8n9VSzeyITxvWDhw0XRGw0xPamwGGH6pGqcZNjYCQgGFIzfXr2ec/ZE2exS9fWHOGMZcpLbEaxnAl083+KRXL6wAqx5FNAEAAQA= rleinardi@unknown]
2024-02-27 16:14:26,624 [22061446] INFO - Emulator: Nexus 5 API 34 Play - Using security allow list from: /home/rleinardi/android-sdk/emulator-old/lib/emulator_access.json
2024-02-27 16:14:26,626 [22061448] WARN - Emulator: Nexus 5 API 34 Play - *** Basic token auth should only be used by android-studio ***
2024-02-27 16:14:26,627 [22061449] INFO - Emulator: Nexus 5 API 34 Play - The active JSON Web Key Sets can be found here: /run/user/1000/avd/running/1580157/jwks/c1f6a0ee-4979-4141-a124-8c1ec1f06be8/active.jwk
2024-02-27 16:14:26,627 [22061449] INFO - Emulator: Nexus 5 API 34 Play - Scanning /run/user/1000/avd/running/1580157/jwks/c1f6a0ee-4979-4141-a124-8c1ec1f06be8 for jwk keys.
2024-02-27 16:14:26,629 [22061451] INFO - Emulator: Nexus 5 API 34 Play - Started GRPC server at
2024-02-27 16:14:26,631 [22061453] INFO - Emulator: Nexus 5 API 34 Play - Advertising in: /run/user/1000/avd/running/pid_1580157.ini
2024-02-27 16:14:26,653 [22061475] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.653479 1580232 FrameBuffer.cpp:3707] setDisplayConfigs w 1080 h 1920 dpiX 480 dpiY 480
2024-02-27 16:14:26,653 [22061475] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:26.653496 1580232 FrameBuffer.cpp:3720] setDisplayActiveConfig 0
2024-02-27 16:14:26,721 [22061543] INFO - Emulator: Nexus 5 API 34 Play - Loading snapshot 'default_boot'...
2024-02-27 16:14:26,725 [22061547] WARN - Emulator: Nexus 5 API 34 Play - Device 'cache' does not have the requested snapshot 'default_boot'
2024-02-27 16:14:26,725 [22061547] WARN - Emulator: Nexus 5 API 34 Play - Failed to load snapshot 'default_boot'
2024-02-27 16:14:27,263 [22062085] INFO - Emulator: Nexus 5 API 34 Play - OpenGL Vendor=[Google (Intel)]OpenGL Renderer=[Android Emulator OpenGL ES Translator (Mesa Intel(R) Graphics (RPL-P))]OpenGL Version=[OpenGL ES 3.0 (4.6 (Core Profile) Mesa 24.0.0 - kisak-mesa PPA)]INFO | Camera notification event: cameraNotification { }
2024-02-27 16:14:27,263 [22062085] INFO - Emulator: Nexus 5 API 34 Play - Not yet booted
2024-02-27 16:14:27,263 [22062085] INFO - #com.android.tools.idea.streaming.emulator.EmulatorView - Received notification: cameraNotification { }
2024-02-27 16:14:27,688 [22062510] INFO - Emulator: Nexus 5 API 34 Play - Activated packet streamer for bluetooth emulation
2024-02-27 16:14:31,709 [22066531] INFO - Emulator: Nexus 5 API 34 Play - Not yet booted
2024-02-27 16:14:34,189 [22069011] INFO - Emulator: Nexus 5 API 34 Play - Displaychange event: 0
2024-02-27 16:14:34,189 [22069011] INFO - Emulator: Nexus 5 API 34 Play - Display notification event: event: DISPLAY_CONFIGURATIONS_CHANGED_UI displayConfigurationsChangedNotification { displayConfigurations { displays { width: 1080 height: 1920 dpi: 480 } userConfigurable: 3 maxDisplays: 11 } }
2024-02-27 16:14:34,190 [22069012] INFO - #com.android.tools.idea.streaming.emulator.EmulatorView - Received notification: event: DISPLAY_CONFIGURATIONS_CHANGED_UI displayConfigurationsChangedNotification { displayConfigurations { displays { width: 1080 height: 1920 dpi: 480 } userConfigurable: 3 maxDisplays: 11 } }
2024-02-27 16:14:34,299 [22069121] INFO - #com.android.tools.idea.adb.AdbService - Device [emulator-5554] is offline
2024-02-27 16:14:34,306 [22069128] INFO - #com.android.tools.idea.adb.AdbService - Device [emulator-5554] is offline
2024-02-27 16:14:34,306 [22069128] INFO - #com.android.tools.idea.adb.AdbService - Device [emulator-5554] has come online
2024-02-27 16:14:34,454 [22069276] INFO - #com.android.adblib.impl.SyncSendHandler - device:serial-emulator-5554,sync:SEND - AdbInputFileChannel("/home/rleinardi/android-studio/plugins/android/resources/process-tracker-agent/native/x86_64/process-tracker") -> "/data/local/tmp/.studio/process-tracker"
2024-02-27 16:14:35,246 [22070068] WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
2024-02-27 16:14:36,284 [22071106] WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
2024-02-27 16:14:37,321 [22072143] WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
2024-02-27 16:14:38,358 [22073180] WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
2024-02-27 16:14:39,420 [22074242] WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
2024-02-27 16:14:40,461 [22075283] WARN - #com.android.tools.idea.avdmanager.EmulatorConnectionListener - Emulator not ready yet, dev.bootcomplete = null
2024-02-27 16:14:41,327 [22076149] INFO - Emulator: Nexus 5 API 34 Play - Boot completed in 15088 ms
2024-02-27 16:14:41,327 [22076149] INFO - Emulator: Nexus 5 API 34 Play - Booted notification event: booted { time: 15088 }
2024-02-27 16:14:41,328 [22076150] INFO - Emulator: Nexus 5 API 34 Play - Increasing screen off timeout, logcat buffer size to 2M.
2024-02-27 16:14:41,328 [22076150] INFO - #com.android.tools.idea.streaming.emulator.EmulatorView - Received notification: 5: { 1: 15088 }
2024-02-27 16:14:45,220 [22080042] INFO - #c.i.o.a.i.PopupMenuPreloader - 24863 ms since showing to preload popup menu 'Project View Popup Menu' at 'ProjectViewPopup(preload-bgt)' in 4 ms
2024-02-27 16:14:50,012 [22084834] INFO - #com.android.tools.idea.adb.AdbService - Device [emulator-5554] has come online
2024-02-27 16:14:50,056 [22084878] INFO - #com.android.ddmlib - Device 'Nexus_5_API_34_Play [emulator-5554]' tracking jdwp process (pid=1963)
2024-02-27 16:14:50,056 [22084878] INFO - #com.android.ddmlib - Device 'Nexus_5_API_34_Play [emulator-5554]' jdwp process '1963' is now known as pkg='com.veeva.link.workflow.debug' (proc='com.veeva.link.workflow.debug')
2024-02-27 16:14:54,851 [22089673] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:54.851309 1586753 VkDecoderGlobalState.cpp:444] Creating Vulkan instance for app: Chromium
2024-02-27 16:14:54,938 [22089760] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:54.938461 1586753 VkDecoderGlobalState.cpp:1279] Created new VkDevice. ASTC emulation? 0. CPU decoding? 0
2024-02-27 16:14:57,460 [22092282] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:57.460351 1587520 VkDecoderGlobalState.cpp:1559] gfxstream_texture_format_manifest: VK_FORMAT_R8G8B8A8_UNORM
2024-02-27 16:14:58,058 [22092880] INFO - Emulator: Nexus 5 API 34 Play - I0227 16:14:58.058786 1586753 VkDecoderGlobalState.cpp:1559] gfxstream_texture_format_manifest: VK_FORMAT_R8_UNORM
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - error: kvm run failed Bad address
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - RAX=000071d60b76e000 RBX=000071d60c53925c RCX=0000000000000001 RDX=0000000000000040
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - RSI=000071d60c53925c RDI=000071d60b76e000 RBP=0000000000000008 RSP=000071d61906d9e0
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - R8 =0000000000000001 R9 =0000000000000008 R10=000000000000398e R11=a0761d6478bd642f
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - R12=0000000000000040 R13=000071d60b76e000 R14=0000000000000000 R15=0000000000000001
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - RIP=000071d9260c7997 RFL=00010246 [---Z-P-] CPL=3 II=0 A20=1 SMM=0 HLT=0
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - ES =0000 0000000000000000 ffffffff 00c00000
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - CS =0033 0000000000000000 ffffffff 00a0fb00 DPL=3 CS64 [-RA]
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - SS =002b 0000000000000000 ffffffff 00c0f300 DPL=3 DS [-WA]
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - DS =0000 0000000000000000 ffffffff 00c00000
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - FS =0000 000071d619070000 ffffffff 00c00000
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - GS =0000 000071d752982950 ffffffff 00c00000
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - LDT=0000 0000000000000000 ffffffff 00c00000
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - GDT= fffffe0000001000 0000007f
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - IDT= fffffe0000000000 00000fff
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - CR0=80050033 CR2=000071d60eec2a58 CR3=000000004c0ad000 CR4=000406b0
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - DR6=00000000ffff0ff0 DR7=0000000000000400
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - EFER=0000000000000d01
2024-02-27 16:14:58,062 [22092884] INFO - Emulator: Nexus 5 API 34 Play - Code=0f 6f 06 f3 0f 6f 4e 10 f3 0f 6f 54 16 f0 f3 0f 6f 5c 16 e0 <f3> 0f 7f 07 f3 0f 7f 4f 10 f3 0f 7f 54 17 f0 f3 0f 7f 5c 17 e0 e9 7f 04 00 00 48 81 fa 80
2024-02-27 16:14:58,256 [22093078] INFO - #com.android.ddmlib - Device 'Nexus_5_API_34_Play [emulator-5554]' jdwp process '1963' is now known as pkg='com.veeva.link.workflow.debug' (proc='com.veeva.link.workflow.debug')
2024-02-27 16:15:01,591 [22096413] INFO - #o.j.p.t.LocalTerminalDirectRunner - Started com.pty4j.unix.UnixPtyProcess in 69 ms from [/bin/bash, --rcfile, /home/rleinardi/android-studio/plugins/terminal/shell-integrations/bash/bash-integration.bash, -i] in /home/rleinardi/Workspace/Misc/MyApplication, [columns=334, rows=15], diff_envs={FIG_JETBRAINS_SHELL_INTEGRATION=1, TERM=xterm-256color, TERMINAL_EMULATOR=JetBrains-JediTerm, TERM_SESSION_ID=646fd8d5-f526-44a8-b749-e24575b44597, __INTELLIJ_COMMAND_HISTFILE__=/home/rleinardi/.cache/Google/AndroidStudio2023.2/terminal/history/My Application-history1}
2024-02-27 16:15:15,608 [22110430] INFO - #c.i.o.a.i.PopupMenuPreloader - 3880 ms since showing to preload popup menu 'Edit' at 'MainMenu(preload-bgt)' in 1 ms
2024-02-27 16:15:15,608 [22110430] INFO - #c.i.o.a.i.PopupMenuPreloader - 3880 ms since showing to preload popup menu 'File' at 'MainMenu(preload-bgt)' in 1 ms
2024-02-27 16:15:15,609 [22110431] INFO - #c.i.o.a.i.PopupMenuPreloader - 3881 ms since showing to preload popup menu 'Window' at 'MainMenu(preload-bgt)' in 2 ms
2024-02-27 16:15:15,610 [22110432] INFO - #c.i.o.a.i.PopupMenuPreloader - 3882 ms since showing to preload popup menu 'Navigate' at 'MainMenu(preload-bgt)' in 3 ms
2024-02-27 16:15:15,610 [22110432] INFO - #c.i.o.a.i.PopupMenuPreloader - 3882 ms since showing to preload popup menu 'Help' at 'MainMenu(preload-bgt)' in 3 ms
2024-02-27 16:15:15,611 [22110433] INFO - #c.i.o.a.i.PopupMenuPreloader - 3883 ms since showing to preload popup menu 'Ru
bo...@google.com <bo...@google.com> #172
you can move out the /home/rleinardi/android-sdk/emulator-old/package.xml from that, and then put the newer one at /home/rleinardi/android-sdk/emulator/, and copy the package.xml to /home/rleinardi/android-sdk/emulator/
le...@gmail.com <le...@gmail.com> #173
Hey thanks, now AS uses the same version as if I start it from command line.
ko...@google.com <ko...@google.com> #174
I believe the issues on both AMD and Intel side are now resolved with recent changes and default feature flags.
I'm closing this one as I cannot repro any similar issues, but feel free to reopen or file a new ticket if you're still experiencing black screens or freeze issues on Chome with the canary Emulator.
Thanks
ca...@google.com <ca...@google.com> #175
Tried this on an Ubuntu machine with an AMD APU with RDNA3 graphics and it still crashes on emu 35.1.1-11577608 when opening chrome. On an Arch with RDNA2 it still freezes.
Here's a crash report ID: c93fcb003eb008a7
ko...@google.com <ko...@google.com> #176
Catly, according to the log attached, that instance is switching to software rendering, can you please try enforcing hardware/host GPU and let me know if it'll make a difference?
Logs suggests an unbox_VkImage operation is failing, but it's not clear to me if that's related to some unsupported path with swiftshader.
2024-03-14 13:53:43,840 [ 660622] WARN - Emulator: Pixel Fold API 34 - Your GPU drivers may have a bug. Switching to software rendering.
2024-03-14 13:53:43,840 [ 660622] INFO - Emulator: Pixel Fold API 34 - library_mode swangle_indirect gpu mode swangle_indirect
2024-03-14 13:53:43,841 [ 660623] INFO - Emulator: Pixel Fold API 34 - Initializing hardware OpenGLES emulation support
2024-03-14 13:53:44,216 [ 660998] INFO - Emulator: Pixel Fold API 34 - android_startOpenglesRenderer: gpu infoI0314 13:53:44.216145 6531 HealthMonitor.cpp:279] HealthMonitor disabled.
2024-03-14 13:53:44,216 [ 660998] INFO - Emulator: Pixel Fold API 34 - cannot add library /home/catly/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
2024-03-14 13:53:44,216 [ 660998] INFO - Emulator: Pixel Fold API 34 - cannot add library /home/catly/Android/Sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so.1: failed
2024-03-14 13:53:44,249 [ 661031] INFO - Emulator: Pixel Fold API 34 - added library /home/catly/Android/Sdk/emulator/lib64/vulkan/libvulkan.so
2024-03-14 13:53:44,403 [ 661185] INFO - Emulator: Pixel Fold API 34 - createGlobalVkEmulation:995 Selecting Vulkan device: SwiftShader Device (Subzero)
2024-03-14 13:53:44,442 [ 661224] INFO - Emulator: Pixel Fold API 34 - initialize: Supports id properties, got a vulkan device UUID
ca...@google.com <ca...@google.com> #177
When I run it in the terminal with -gpu host
, the issue still repros.
ga...@gmail.com <ga...@gmail.com> #178
ko...@google.com <ko...@google.com> #179
We have made some changes (aosp/3014040) to ensure the flags are propagated correctly to the rendering operations and the issues on Intel and AMD should be resolved with the latest builds.
For the software rendering case, I'm unable to repro with the latest.
Carlos, can you try testing with -gpu host
, -gpu swangle
and -gpu swiftshader
flags separately with the latest (build id > 11635764) and let me know if there are still crashes? Thank you
ca...@google.com <ca...@google.com> #180
For build 11650704, it still freezes when using -gpu host
but it's not freezing with -gpu swangle
and -gpu swiftshader
.
ko...@google.com <ko...@google.com> #181
I can see the VulkanAllocateDeviceMemoryOnly
option is enabled for that device, but it's a different AMD gpu and it's still not working. It'll take time to solve it properly without getting a repro locally. I'll add another workaround for switching to swiftshader for that GPU model.
ko...@google.com <ko...@google.com> #182
A CL is uploaded to fix the issues on that specific AMD Custom GPU, I will close the issue with emulator build links once it is submitted and please reopen if the issue still persists.
This ticket has been used for many Chrome related issues from different devices, would be better to create separate tickets for new host devices and GPUs, to help implement and track the fixes more efficiently.
mt...@gmail.com <mt...@gmail.com> #184
When starting the latest emulator (which supposedly includes a fix for this issue,
Android emulator version 34.2.13.0 (build_id 11772612) (CL:N/A)
with an AVD with the following properties
avd.ini.displayname Pixel Tablet API VanillaIceCream
avd.ini.encoding UTF-8
AvdId Pixel_Tablet_API_VanillaIceCream
disk.dataPartition.size 6442450944
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.device.hash2 MD5:3eb16c85159ad6e1cbb3263194d1a735
hw.device.manufacturer Google
hw.device.name pixel_tablet
hw.dPad no
hw.gps no
hw.gpu.enabled yes
hw.gpu.mode auto
hw.initialOrientation landscape
hw.keyboard yes
hw.lcd.density 320
hw.lcd.height 1600
hw.lcd.width 2560
hw.mainKeys no
hw.ramSize 2048
hw.sdCard yes
hw.sensors.orientation yes
hw.sensors.proximity no
hw.trackBall no
image.androidVersion.api 34
image.androidVersion.codename VanillaIceCream
image.sysdir.1 system-images/android-VanillaIceCream/google_apis_playstore/x86_64/
PlayStore.enabled true
runtime.network.latency none
runtime.network.speed full
showDeviceFrame yes
skin.dynamic yes
tag.display Google Play
tag.displaynames Google Play
tag.id google_apis_playstore
tag.ids google_apis_playstore
vm.heapSize 192
Chrome still crashes the emulator:
I0517 08:08:55.024747 680611 VkDecoderGlobalState.cpp:631] Creating Vulkan instance for app: Chromium I0517 08:08:55.088433 680611 VkDecoderGlobalState.cpp:1482] Created new VkDevice. ASTC emulation? 0. CPU decoding? 0 Segmentation fault (core dumped)
With
Vulkan = off
GLDirectMem = on
in advancedFeatures.ini, emulator does not crash, but pages are not rendered correctly, neither in Chrome app, nor Chrome custom tabs.
ya...@google.com <ya...@google.com> #185
Hi,
after it crashes, would you help to run the command:
/path/to/emulator/crashreport -u
And send us the crash report ID? Thanks.
Description
DESCRIBE THE ISSUE IN DETAIL:
STEPS TO REPRODUCE:
See Screenshot as attachement
Log:
Studio Build: Version of Gradle Plugin: Version of Gradle: Version of Java: OS: Emulator Version: 31.2.8-8143646 Android Version: 2.0 (S) - API 31 AVD Image:Pixel 5 Android 12.0 Google APIs | x86_64 Android SDK PlatformTools: 33.0.0 Host CPU: AMD Ryzen 7 PRO 5850U hw,device.name: pixel_5