when android system power up ,the second display will black screen or splash screen random.when restart SurfaceFlinger,it will normal.
black screen log:
11-04 16:58:24.410 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.450 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.450 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.480 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.500 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.520 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.530 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.560 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.580 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.620 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.630 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.650 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.670 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.680 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.700 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.720 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.730 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.750 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.780 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.800 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.840 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.860 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.870 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.890 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.900 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.920 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.950 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:24.970 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:24.990 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:25.010 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:25.040 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
11-04 16:58:25.060 E/SurfaceFlinger( 2364): eglSwapBuffers(0x1, 0x4039ae50) failed with 0x0000300b
11-04 16:58:25.070 E/BufferQueue( 2364): [FramebufferSurface] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
splash screen log:
11-15 18:18:54.650 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:54.760 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:54.790 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:54.870 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:54.910 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:54.990 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.030 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.090 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.140 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.140 D/HCJuice ( 7831): HCMsger--ready start to reconnect
11-15 18:18:55.230 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.270 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.290 D/HCJuice ( 7831): CPUMsger--it is not busy
11-15 18:18:55.290 D/HCDEBUG ( 7831): CPUOperator-----------getMachineStateResult--------
11-15 18:18:55.350 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.380 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.470 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
11-15 18:18:55.500 W/imx6.gralloc( 2364): FBIOPAN_DISPLAY failed: Invalid argument
dumpsys display inform:
shell@sabresd_6dq:/ $ dumpsys display
dumpsys display
DISPLAY MANAGER (dumpsys display)
mHeadless=false
mOnlyCode=false
mSafeMode=false
mPendingTraversal=false
mAllDisplayBlankStateFromPowerManager=2
mNextNonDefaultDisplayId=3
mDefaultViewport=DisplayViewport{valid=true, displayId=0, orientation=0, logicalFrame=Rect(0, 0 - 800, 1280), physicalFrame=Rect(0, 0 - 800, 1280), deviceWid
h=800, deviceHeight=1280}
mExternalTouchViewport=DisplayViewport{valid=true, displayId=2, orientation=0, logicalFrame=Rect(0, 0 - 1280, 720), physicalFrame=Rect(0, 0 - 1280, 720), dev
ceWidth=1280, deviceHeight=720}
mSingleDisplayDemoMode=false
mWifiDisplayScanRequestCount=0
Display Adapters: size=4
LocalDisplayAdapter
OverlayDisplayAdapter
mCurrentOverlaySetting=
mOverlays: size=0
WifiDisplayAdapter
mCurrentStatus=WifiDisplayStatus{featureState=1, scanState=0, activeDisplayState=0, activeDisplay=null, displays=[], sessionInfo=WifiDisplaySessionInfo:
Client/Owner: Client
GroupId:
Passphrase:
SessionId: 0
IP Address: }
mFeatureState=1
mScanState=0
mActiveDisplayState=0
mActiveDisplay=null
mDisplays=[]
mAvailableDisplays=[]
mRememberedDisplays=[]
mPendingStatusChangeBroadcast=false
mPendingNotificationUpdate=false
mSupportsProtectedBuffers=false
mDisplayController:
mWifiDisplayOnSetting=false
mWifiP2pEnabled=false
mWfdEnabled=false
mWfdEnabling=false
mNetworkInfo=null
mScanRequested=false
mDiscoverPeersInProgress=false
mDesiredDevice=null
mConnectingDisplay=null
mDisconnectingDisplay=null
mCancelingDisplay=null
mConnectedDevice=null
mConnectionRetriesLeft=0
mRemoteDisplay=null
mRemoteDisplayInterface=null
mRemoteDisplayConnected=false
mAdvertisedDisplay=null
mAdvertisedDisplaySurface=null
mAdvertisedDisplayWidth=0
mAdvertisedDisplayHeight=0
mAdvertisedDisplayFlags=0
mAvailableWifiDisplayPeers: size=0
VirtualDisplayAdapter
Display Devices: size=2
DisplayDeviceInfo{"内置屏幕": 800 x 1280, 59.0 fps, density 160, 160.157 x 160.0 dpi, touch INTERNAL, rotation 0, type BUILT_IN, FLAG_DEFAULT_DISPLAY, FL
G_ROTATES_WITH_CONTENT, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
mAdapter=LocalDisplayAdapter
mDisplayToken=android.os.BinderProxy@41e40e38
mCurrentLayerStack=0
mCurrentOrientation=0
mCurrentLayerStackRect=Rect(0, 0 - 800, 1280)
mCurrentDisplayRect=Rect(0, 0 - 800, 1280)
mCurrentSurface=null
mBuiltInDisplayId=0
mPhys=PhysicalDisplayInfo{800 x 1280, 59.0 fps, density 1.0, 160.157 x 160.0 dpi, secure true}
mBlanked=false
DisplayDeviceInfo{"HDMI 屏幕": 1280 x 720, 60.000004 fps, density 213, 213.0 x 213.0 dpi, touch EXTERNAL, rotation 0, type HDMI, FLAG_SECURE, FLAG_SUPPORTS
PROTECTED_BUFFERS, FLAG_PRESENTATION}
mAdapter=LocalDisplayAdapter
mDisplayToken=android.os.BinderProxy@41e5eea0
mCurrentLayerStack=2
mCurrentOrientation=0
mCurrentLayerStackRect=Rect(0, 0 - 1280, 720)
mCurrentDisplayRect=Rect(0, 0 - 1280, 720)
mCurrentSurface=null
mBuiltInDisplayId=1
mPhys=PhysicalDisplayInfo{1280 x 720, 60.000004 fps, density 1.33125, 213.0 x 213.0 dpi, secure true}
mBlanked=false
Logical Displays: size=2
Display 0:
mDisplayId=0
mLayerStack=0
mHasContent=true
mPrimaryDisplayDevice=内置屏幕
mBaseDisplayInfo=DisplayInfo{"内置屏幕", app 800 x 1280, real 800 x 1280, largest app 800 x 1280, smallest app 800 x 1280, 59.0 fps, rotation0, density
160 (160.157 x 160.0) dpi, layerStack 0, type BUILT_IN, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
mOverrideDisplayInfo=DisplayInfo{"内置屏幕", app 800 x 1232, real 800 x 1280, largest app 1280 x 1232, smallest app 800 x 752, 59.0 fps, rotation0, den
ity 160 (160.157 x 160.0) dpi, layerStack 0, type BUILT_IN, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS}
Display 2:
mDisplayId=2
mLayerStack=2
mHasContent=true
mPrimaryDisplayDevice=HDMI 屏幕
mBaseDisplayInfo=DisplayInfo{"HDMI 屏幕", app 1280 x 720, real 1280 x 720, largest app 1280 x 720, smallest app 1280 x 720, 60.000004 fps, rotation0, den
ity 213 (213.0 x 213.0) dpi, layerStack 2, type HDMI, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION}
mOverrideDisplayInfo=DisplayInfo{"HDMI 屏幕", app 1280 x 720, real 1280 x 720, largest app 1280 x 720, smallest app 1280 x 720, 60.000004 fps, rotation0,
density 213 (213.0 x 213.0) dpi, layerStack 2, type HDMI, FLAG_SECURE, FLAG_SUPPORTS_PROTECTED_BUFFERS, FLAG_PRESENTATION}
Callbacks: size=15
0: mPid=2848, mWifiDisplayScanRequested=false
1: mPid=2913, mWifiDisplayScanRequested=false
2: mPid=2972, mWifiDisplayScanRequested=false
3: mPid=3004, mWifiDisplayScanRequested=false
4: mPid=3027, mWifiDisplayScanRequested=false
5: mPid=3041, mWifiDisplayScanRequested=false
6: mPid=3057, mWifiDisplayScanRequested=false
7: mPid=3072, mWifiDisplayScanRequested=false
8: mPid=3083, mWifiDisplayScanRequested=false
9: mPid=3155, mWifiDisplayScanRequested=false
10: mPid=3192, mWifiDisplayScanRequested=false
11: mPid=3321, mWifiDisplayScanRequested=false
12: mPid=3603, mWifiDisplayScanRequested=false
13: mPid=4464, mWifiDisplayScanRequested=false
14: mPid=11922, mWifiDisplayScanRequested=false
shell@sabresd_6dq:/ $