Created
December 3, 2017 00:57
-
-
Save eseidelGoogle/d9c6ceb79d0960f6ed6de27302c9372f to your computer and use it in GitHub Desktop.
SurfaceFlinger data for https://github.com/flutter/flutter/issues/13088
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eseidel@eseidel-macbookpro3 /tmp/bug %adb shell dumpsys SurfaceFlinger [/tmp/bug] | |
Build configuration: [sf HAS_CONTEXT_PRIORITY=0 DISABLE_TRIPLE_BUFFERING PRESENT_TIME_OFFSET=0 FORCE_HWC_FOR_RBG_TO_YUV=0 MAX_VIRT_DISPLAY_DIM=0 RUNNING_WITHOUT_SYNC_FRAMEWORK=0 NUM_FRAMEBUFFER_SURFACE_BUFFERS=3] [libui] [libgui] | |
Wide-Color information: | |
hasWideColorDisplay: 0 | |
Display 0 color modes: | |
Unknown color mode -22 (-22) | |
Current color mode: HAL_COLOR_MODE_NATIVE (0) | |
Sync configuration: [using: EGL_KHR_fence_sync] | |
DispSync configuration: app phase 1000000 ns, sf phase 1000000 ns, present offset 0 ns (refresh 16666666 ns) | |
Static screen stats: | |
< 1 frames: 12.115 s (5.0%) | |
< 2 frames: 19.520 s (8.0%) | |
< 3 frames: 4.678 s (1.9%) | |
< 4 frames: 1.053 s (0.4%) | |
< 5 frames: 0.360 s (0.1%) | |
< 6 frames: 1.042 s (0.4%) | |
< 7 frames: 0.552 s (0.2%) | |
7+ frames: 203.687 s (83.8%) | |
Buffering stats: | |
[Layer name] <Active time> <Two buffer> <Double buffered> <Triple buffered> | |
[BootAnimation#0] 31.73 0.000 1.000 0.000 | |
[com.android.settings/com.android.settings.FallbackHome#0] 5.20 0.000 1.000 0.000 | |
[StatusBar#0] 1.08 1.000 1.000 0.000 | |
[com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#0] 0.87 0.424 1.000 0.000 | |
[com.yourcompany.bug/com.yourcompany.bug.MainActivity#0] 0.34 0.000 1.000 0.000 | |
[NavigationBar#0] 0.24 1.000 1.000 0.000 | |
Visible layers (count = 5) | |
+ Layer 0xb37e7000 (com.android.systemui.ImageWallpaper#0) | |
Region transparentRegion (this=0xb37e7274, count=1) | |
[ 0, 0, 0, 0] | |
Region visibleRegion (this=0xb37e7008, count=1) | |
[ 0, 0, 1243, 1920] | |
Region surfaceDamageRegion (this=0xb37e7044, count=1) | |
[ 0, 0, 0, 0] | |
layerStack= 0, z= 11000, pos=(0,0), size=(1243,1920), crop=( 0, 0, -1, -1), finalCrop=( 0, 0, -1, -1), isOpaque=1, invalidate=0, alpha=1.000, flags=0x00000002, tr=[1.00, 0.00][0.00, 1.00] | |
client=0xb4914140 | |
format= 2, activeBuffer=[1243x1920:1243, 2], queued-frames=0, mRefreshPending=0 | |
mTexName=1727 mCurrentTexture=-1 | |
mCurrentCrop=[0,0,0,0] mCurrentTransform=0 | |
mAbandoned=0 | |
-BufferQueue mMaxAcquiredBufferCount=1, mMaxDequeuedBufferCount=2, mDequeueBufferCannotBlock=0 mAsyncMode=0, default-size=[1243x1920], default-format=2, transform-hint=00, FIFO(0)={} | |
[00:0x0] state=FREE | |
[01:0x0] state=FREE | |
[02:0x0] state=FREE | |
+ Layer 0xb37c4000 (com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#1) | |
Region transparentRegion (this=0xb37c4274, count=1) | |
[ 0, 0, 0, 0] | |
Region visibleRegion (this=0xb37c4008, count=1) | |
[ 0, 0, 1080, 1920] | |
Region surfaceDamageRegion (this=0xb37c4044, count=1) | |
[ 0, 0, 0, 0] | |
layerStack= 0, z= 21000, pos=(0,0), size=(1080,1920), crop=( 0, 0,1080,1920), finalCrop=( 0, 0, 0, 0), isOpaque=0, invalidate=0, alpha=1.000, flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00] | |
client=0xb4c26440 | |
format= 1, activeBuffer=[1080x1920:1080, 1], queued-frames=0, mRefreshPending=0 | |
mTexName=2038 mCurrentTexture=2 | |
mCurrentCrop=[0,0,0,0] mCurrentTransform=0 | |
mAbandoned=0 | |
-BufferQueue mMaxAcquiredBufferCount=1, mMaxDequeuedBufferCount=2, mDequeueBufferCannotBlock=0 mAsyncMode=0, default-size=[1080x1920], default-format=1, transform-hint=00, FIFO(0)={} | |
[01:0xb4921200] state=DEQUEUED, 0xb4922640 [1080x1920:1080, 1] | |
>[02:0xb4921680] state=ACQUIRED, 0xb4922820 [1080x1920:1080, 1] | |
[00:0xb4921480] state=FREE , 0xb49225a0 [1080x1920:1080, 1] | |
+ Layer 0xb37c2000 (com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#0) | |
Region transparentRegion (this=0xb37c2274, count=1) | |
[ 0, 0, 0, 0] | |
Region visibleRegion (this=0xb37c2008, count=1) | |
[ 0, 0, 0, 0] | |
Region surfaceDamageRegion (this=0xb37c2044, count=1) | |
[ 0, 0, 0, 0] | |
layerStack= 0, z= 21005, pos=(0,0), size=(1080,1920), crop=( 0, 0,1080,1920), finalCrop=( 0, 0, 0, 0), isOpaque=0, invalidate=0, alpha=0.000, flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00] | |
client=0xb4c245a0 | |
format= 1, activeBuffer=[1080x1920:1080, 1], queued-frames=0, mRefreshPending=0 | |
mTexName=2036 mCurrentTexture=2 | |
mCurrentCrop=[0,0,0,0] mCurrentTransform=0 | |
mAbandoned=0 | |
-BufferQueue mMaxAcquiredBufferCount=1, mMaxDequeuedBufferCount=2, mDequeueBufferCannotBlock=0 mAsyncMode=0, default-size=[1080x1920], default-format=1, transform-hint=00, FIFO(0)={} | |
[01:0xb4921280] state=DEQUEUED, 0xb4922000 [1080x1920:1080, 1] | |
>[02:0xb4921400] state=ACQUIRED, 0xb4922500 [1080x1920:1080, 1] | |
[00:0xb4921300] state=FREE , 0xb4922280 [1080x1920:1080, 1] | |
+ Layer 0xb3791000 (StatusBar#0) | |
Region transparentRegion (this=0xb3791274, count=1) | |
[ 0, 0, 0, 0] | |
Region visibleRegion (this=0xb3791008, count=1) | |
[ 0, 0, 1080, 63] | |
Region surfaceDamageRegion (this=0xb3791044, count=1) | |
[ 0, 0, 1080, 63] | |
layerStack= 0, z= 181000, pos=(0,0), size=(1080, 63), crop=( 0, 0,1080, 63), finalCrop=( 0, 0, -1, -1), isOpaque=0, invalidate=0, alpha=1.000, flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00] | |
client=0xb4914140 | |
format= 1, activeBuffer=[1080x 63:1080, 1], queued-frames=0, mRefreshPending=0 | |
mTexName=1652 mCurrentTexture=1 | |
mCurrentCrop=[0,0,0,0] mCurrentTransform=0 | |
mAbandoned=0 | |
-BufferQueue mMaxAcquiredBufferCount=1, mMaxDequeuedBufferCount=2, mDequeueBufferCannotBlock=0 mAsyncMode=0, default-size=[1080x63], default-format=1, transform-hint=00, FIFO(0)={} | |
[00:0xb4c19b80] state=DEQUEUED, 0xb4c40f00 [1080x 63:1080, 1] | |
>[01:0xb4c19d00] state=ACQUIRED, 0xb4c40fa0 [1080x 63:1080, 1] | |
[02:0xb4c50100] state=FREE , 0xb4c410e0 [1080x 63:1080, 1] | |
+ Layer 0xb378f000 (NavigationBar#0) | |
Region transparentRegion (this=0xb378f274, count=1) | |
[ 0, 0, 0, 0] | |
Region visibleRegion (this=0xb378f008, count=1) | |
[ 0, 1794, 1080, 1920] | |
Region surfaceDamageRegion (this=0xb378f044, count=1) | |
[ 0, 0, 0, 0] | |
layerStack= 0, z= 231000, pos=(0,1794), size=(1080, 126), crop=( 0, 0,1080, 126), finalCrop=( 0, 0, -1, -1), isOpaque=0, invalidate=0, alpha=1.000, flags=0x00000000, tr=[1.00, 0.00][0.00, 1.00] | |
client=0xb4914140 | |
format= 1, activeBuffer=[1080x 126:1080, 1], queued-frames=0, mRefreshPending=0 | |
mTexName=1621 mCurrentTexture=2 | |
mCurrentCrop=[0,0,0,0] mCurrentTransform=0 | |
mAbandoned=0 | |
-BufferQueue mMaxAcquiredBufferCount=1, mMaxDequeuedBufferCount=2, mDequeueBufferCannotBlock=0 mAsyncMode=0, default-size=[1080x126], default-format=1, transform-hint=00, FIFO(0)={} | |
[01:0xb4c19e80] state=DEQUEUED, 0xb4c41220 [1080x 126:1080, 1] | |
>[02:0xb4c19f00] state=ACQUIRED, 0xb4c40b40 [1080x 126:1080, 1] | |
[00:0xb4c19e00] state=FREE , 0xb4c41180 [1080x 126:1080, 1] | |
Displays (1 entries) | |
+ DisplayDevice: Built-in Screen | |
type=0, hwcId=0, layerStack=0, (1080x1920), ANativeWindow=0xb37b2008, orient= 0 (type=00000000), flips=2022, isSecure=1, powerMode=2, activeConfig=0, numLayers=4 | |
v:[0,0,1080,1920], f:[0,0,1080,1920], s:[0,0,1080,1920],transform:[[1.000,0.000,-0.000][0.000,1.000,-0.000][0.000,0.000,1.000]] | |
mAbandoned=0 | |
-BufferQueue mMaxAcquiredBufferCount=2, mMaxDequeuedBufferCount=1, mDequeueBufferCannotBlock=0 mAsyncMode=0, default-size=[1080x1920], default-format=1, transform-hint=00, FIFO(0)={} | |
>[00:0xb4c19480] state=ACQUIRED, 0xb4c401e0 [1080x1920:1080, 1] | |
[02:0xb4c19580] state=DEQUEUED, 0xb4c40320 [1080x1920:1080, 1] | |
[01:0xb4c19500] state=FREE , 0xb4c40280 [1080x1920:1080, 1] | |
SurfaceFlinger global state: | |
EGL implementation : 1.4 | |
EGL_ANDROID_image_native_buffer EGL_KHR_fence_sync EGL_KHR_image_base EGL_KHR_gl_texture_2d_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_ANDROID_recordable | |
GLES: Google (ATI Technologies Inc.), Android Emulator OpenGL ES Translator (AMD Radeon Pro 560 OpenGL Engine), OpenGL ES 2.0 (2.1 ATI-1.51.8) | |
GL_EXT_debug_marker 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 ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 | |
Wide-color: Off | |
Region undefinedRegion (this=0xb4c3b2ac, count=1) | |
[ 0, 0, 0, 0] | |
orientation=0, isDisplayOn=1 | |
last eglSwapBuffers() time: 759.000000 us | |
last transaction time : 26.000000 us | |
transaction-flags : 00000000 | |
refresh-rate : 60.000002 fps | |
x-dpi : 72.000000 | |
y-dpi : 72.000000 | |
gpu_to_cpu_unsupported : 0 | |
eglSwapBuffers time: 0.000000 us | |
transaction time: 0.000000 us | |
VSYNC state: disabled | |
soft-vsync: disabled | |
numListeners=18, | |
events-delivered: 917 | |
0xb4c1ec80: count=-1 | |
0xb4c1ee30: count=-1 | |
0xb4c1f0d0: count=-1 | |
0xb4c1f130: count=-1 | |
0xb4c1f310: count=-1 | |
0xb4c1f3d0: count=-1 | |
0xb4c1f4f0: count=-1 | |
0xb4c1f6a0: count=-1 | |
0xb4c1f6d0: count=-1 | |
0xb4c1f700: count=-1 | |
0xb4c1f910: count=-1 | |
0xb4c1f940: count=-1 | |
0xb4c1fa60: count=-1 | |
0xb4c1fa90: count=-1 | |
0xb4c1fac0: count=-1 | |
0xb4c6e630: count=-1 | |
0xb4c6ec90: count=-1 | |
0xb4c6ed20: count=-1 | |
Display 0 HWC layers: | |
------------------------------------------------------------------------------- | |
Layer name | |
Z | Comp Type | Disp Frame (LTRB) | Source Crop (LTRB) | |
------------------------------------------------------------------------------- | |
com.android.systemui.ImageWallpaper#0 | |
11000 | Client | 0 0 1080 1920 | 0.0 0.0 1080.0 1920.0 | |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
com.google.android.apps.nexuslaunche[...]exuslauncher.NexusLauncherActivity#1 | |
21000 | Client | 0 0 1080 1920 | 0.0 0.0 1080.0 1920.0 | |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
StatusBar#0 | |
181000 | Client | 0 0 1080 63 | 0.0 0.0 1080.0 63.0 | |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
NavigationBar#0 | |
231000 | Client | 0 1794 1080 1920 | 0.0 0.0 1080.0 126.0 | |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
h/w composer state: | |
h/w composer enabled | |
-- HWC2On1Adapter -- | |
Adapting to a HWC 1.1 device | |
Capabilities: | |
PresentFenceIsNotReliable | |
Displays: | |
Display 1: Physical HWC1 ID: 0 Power mode: On Vsync: Disable | |
Color modes [active]: -22 | |
1 Config (* active) | |
* 1080 x 1920 @ 60.0 Hz, DPI: 72.0 x 72.0 | |
HWC1 ID/Color transform: 0/-22 | |
4 Layers | |
Client Layer HWC2/1: 11/0 Z: 0 Buffer: 0xad1ca5a0/-1 | |
Display frame [LTRB]: [0, 0, 1080, 1920] | |
Source crop: [0, 0, 1080, 1920] | |
Transform: None Blend mode: None | |
Visible Region Surface Damage | |
[0, 0, 1080, 1920] None | |
Client Layer HWC2/1: 12/1 Z: 1 Buffer: 0xacdd56e0/-1 | |
Display frame [LTRB]: [0, 0, 1080, 1920] | |
Source crop: [0, 0, 1080, 1920] | |
Transform: None Blend mode: Premultiplied | |
Visible Region Surface Damage | |
[0, 0, 1080, 1920] None | |
Client Layer HWC2/1: 3/2 Z: 2 Buffer: 0xacdd55a0/-1 | |
Display frame [LTRB]: [0, 0, 1080, 63] | |
Source crop: [0, 0, 1080, 63] | |
Transform: None Blend mode: Premultiplied | |
Visible Region Surface Damage | |
[0, 0, 1080, 63] None | |
Client Layer HWC2/1: 4/3 Z: 3 Buffer: 0xacdd5320/-1 | |
Display frame [LTRB]: [0, 1794, 1080, 1920] | |
Source crop: [0, 0, 1080, 126] | |
Transform: None Blend mode: Premultiplied | |
Visible Region Surface Damage | |
[0, 1794, 1080, 1920] None | |
Client target: 0xad1ca140 | |
Last requested HWC1 state | |
Geometry changed: Y | |
5 Layers | |
Layer 0 Composition: Framebuffer Buffer: 0xad1ca5a0/-1 | |
Display frame: [0, 0, 1080, 1920] | |
Source crop: [0, 0, 1080, 1920] | |
Transform: None Blend mode: None Alpha: 0.000 | |
Layer 1 Composition: Framebuffer Buffer: 0xacdd56e0/-1 | |
Display frame: [0, 0, 1080, 1920] | |
Source crop: [0, 0, 1080, 1920] | |
Transform: None Blend mode: Premultiplied Alpha: 0.000 | |
Layer 2 Composition: Framebuffer Buffer: 0xacdd55a0/-1 | |
Display frame: [0, 0, 1080, 63] | |
Source crop: [0, 0, 1080, 63] | |
Transform: None Blend mode: Premultiplied Alpha: 0.000 | |
Layer 3 Composition: Framebuffer Buffer: 0xacdd5320/-1 | |
Display frame: [0, 1794, 1080, 1920] | |
Source crop: [0, 0, 1080, 126] | |
Transform: None Blend mode: Premultiplied Alpha: 0.000 | |
Layer 4 Composition: FramebufferTarget Buffer: 0xad1ca140/-1 | |
Display frame: [0, 0, 1080, 1920] | |
Source crop: [0, 0, 1080, 1920] | |
Transform: None Blend mode: Premultiplied | |
HWC1 dump: | |
Allocated buffers: | |
0xb4922000: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x900 | com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#0 | |
0xb4922280: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x900 | | |
0xb4922500: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x900 | com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#0 | |
0xb49225a0: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x900 | | |
0xb4922640: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x900 | com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#1 | |
0xb4922820: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x900 | com.google.android.apps.nexuslauncher/com.google.android.apps.nexuslauncher.NexusLauncherActivity#1 | |
0xb4c401e0: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x1a00 | FramebufferSurface | |
0xb4c40280: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x1a00 | FramebufferSurface | |
0xb4c40320: 8100.00 KiB | 1080 (1080) x 1920 | 1 | 1 | 0x1a00 | FramebufferSurface | |
0xb4c40b40: 531.56 KiB | 1080 (1080) x 126 | 1 | 1 | 0x900 | | |
0xb4c40f00: 265.78 KiB | 1080 (1080) x 63 | 1 | 1 | 0x900 | | |
0xb4c40fa0: 265.78 KiB | 1080 (1080) x 63 | 1 | 1 | 0x900 | StatusBar#0 | |
0xb4c410e0: 265.78 KiB | 1080 (1080) x 63 | 1 | 1 | 0x900 | StatusBar#0 | |
0xb4c41180: 531.56 KiB | 1080 (1080) x 126 | 1 | 1 | 0x900 | | |
0xb4c41220: 531.56 KiB | 1080 (1080) x 126 | 1 | 1 | 0x900 | | |
0xb4c41720: 9322.50 KiB | 1243 (1243) x 1920 | 1 | 2 | 0x900 | com.android.systemui.ImageWallpaper#0 | |
Total allocated (estimate): 84614.53 KB | |
eseidel@eseidel-macbookpro3 /tmp/bug % [/tmp/bug] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment