Android x86 nougat - Android boot animation not showing

189 views
Skip to first unread message

sr4sh...@gmail.com

unread,
Jul 27, 2018, 9:21:48 AM7/27/18
to Android-x86
Hi,

I am getting following error when android x86 nougat external/mesa version is upgraded to the latest version(18) and changed corresponding external/libdrm version. I am not seeing any boot animation (showing black screen)  but after some time it is showing home screen which doesn't contain any app icons.


07-27 12:53:50.102  2766  2783 I EGL-MAIN: found extension DRI_TexBuffer version 2
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI2_Flush version 4
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI_IMAGE version 17
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI_IMAGE version 17
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI_RENDERER_QUERY version 1
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI_CONFIG_QUERY version 1
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI2_Fence version 2
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI2_Interop version 1
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI_Robustness version 1
07-27 12:53:50.103  2766  2783 I EGL-MAIN: found extension DRI_NoError version 1
07-27 12:53:50.110  2766  2783 I OpenGLRenderer: Initialized EGL, version 1.4
07-27 12:53:50.110  2766  2783 D OpenGLRenderer: Swap behavior 2
07-27 12:53:50.135  1717  2662 I ActivityManager: user 0 is still locked. Cannot load recents
07-27 12:53:50.187  1717  1755 I StatusBarManagerService: registerStatusBar bar=com.android.internal.statusbar.IStatusBar$Stub$Proxy@3dd2533
07-27 12:53:50.188  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.189  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.272  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.272  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.355  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.355  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.429  1415  1419 I fsck_msdos: ** Phase 4 - Checking for Lost Files
07-27 12:53:50.437  2695  2708 I art     : Background sticky concurrent mark sweep GC freed 8083(1004KB) AllocSpace objects, 2(40KB) LOS objects, 35% free, 2MB/3MB, paused 1.094ms total 228.113ms
07-27 12:53:50.438  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.438  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.444  1415  1419 I fsck_msdos: Next free cluster in FSInfo block (164484) not free
07-27 12:53:50.444  1415  1419 I fsck_msdos: FIXED
07-27 12:53:50.444  1415  1419 I fsck_msdos: 17 files, 2857328 free (1751447 clusters)
07-27 12:53:50.451  1415  1419 I Vold    : Filesystem check completed OK
07-27 12:53:50.452  1717  2040 D VoldConnector: RCV <- {656 public:8,1 /mnt/media_rw/5B5B-11C5}
07-27 12:53:50.453  1717  2040 D VoldConnector: RCV <- {655 public:8,1 /storage/5B5B-11C5}
07-27 12:53:50.473  2800  2800 I sdcard  : type=1400 audit(0.0:472): avc: denied { map } for path="/system/bin/linker64" dev="loop0" ino=234 scontext=u:r:sdcardd:s0 tcontext=u:object_r:system_file:s0 tclass=file permissive=1
07-27 12:53:50.473  1415  1419 V vold    : Waiting for FUSE to spin up...
07-27 12:53:50.475  2800  2800 I sdcard  : type=1400 audit(0.0:473): avc: denied { map } for path="/dev/__properties__/properties_serial" dev="tmpfs" ino=4836 scontext=u:r:sdcardd:s0 tcontext=u:object_r:properties_serial:s0 tclass=file permissive=1
07-27 12:53:50.486  2800  2800 I sdcard  : type=1400 audit(0.0:474): avc: denied { map } for path="/dev/__properties__/u:object_r:default_prop:s0" dev="tmpfs" ino=4809 scontext=u:r:sdcardd:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=1
07-27 12:53:50.488  2800  2800 I sdcard  : type=1400 audit(0.0:475): avc: denied { map } for path="/dev/__properties__/u:object_r:log_tag_prop:s0" dev="tmpfs" ino=4821 scontext=u:r:sdcardd:s0 tcontext=u:object_r:log_tag_prop:s0 tclass=file permissive=1
07-27 12:53:50.488  2800  2800 I sdcard  : type=1400 audit(0.0:476): avc: denied { map } for path="/dev/__properties__/u:object_r:logd_prop:s0" dev="tmpfs" ino=4816 scontext=u:r:sdcardd:s0 tcontext=u:object_r:logd_prop:s0 tclass=file permissive=1
07-27 12:53:50.489  2800  2800 W sdcard  : Device explicitly disabled sdcardfs
07-27 12:53:50.522  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.522  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.524  1717  2040 D VoldConnector: RCV <- {651 public:8,1 2}
07-27 12:53:50.525  1717  2040 D VoldConnector: RCV <- {200 30 Command succeeded}
07-27 12:53:50.526  1717  2039 E VoldConnector: NDC Command {30 volume mount public:8,1 2 0} took too long (1623ms)
07-27 12:53:50.553  2738  2738 I Binder:2738_3: type=1400 audit(0.0:477): avc: denied { map } for path="/dev/ashmem" dev="tmpfs" ino=5181 scontext=u:r:system_app:s0 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=1
07-27 12:53:50.556  1717  1765 I ActivityManager: Displayed com.android.settings/.FallbackHome: +1s140ms (total +1s492ms)
07-27 12:53:50.558  1717  1758 V KeyguardServiceDelegate: *** Keyguard started
07-27 12:53:50.558  1717  1758 W KeyguardServiceDelegate: onScreenTurningOn(): no keyguard service!
07-27 12:53:50.568  1428  1428 E Fence   : sync_fence_info returned NULL for fd 38
07-27 12:53:50.605  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.605  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.688  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.688  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.771  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.772  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.855  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.855  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:50.938  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:50.938  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:51.021  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:51.021  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:51.105  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:51.105  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:51.188  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:51.188  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:51.271  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:51.271  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)
07-27 12:53:51.355  1428  1428 E ConsumerBase: [BootAnimation] fence has invalid state
07-27 12:53:51.355  1428  1428 E GLConsumer: [BootAnimation] syncForReleaseLocked: error adding release fence: Invalid argument (-22)


Thanks,
SR

Chih-Wei Huang

unread,
Jul 31, 2018, 11:44:06 PM7/31/18
to Android-x86
2018-07-27 21:21 GMT+08:00 <sr4sh...@gmail.com>:
> Hi,
>
> I am getting following error when android x86 nougat external/mesa version
> is upgraded to the latest version(18) and changed corresponding
> external/libdrm version. I am not seeing any boot animation (showing black
> screen) but after some time it is showing home screen which doesn't contain
> any app icons.

Which mesa and libdrm branches do you use?
Do you use the branches from android-x86 repo?
Or port them yourself?

Which GPU do you use?

[deleted]
> 07-27 12:53:51.271 1428 1428 E GLConsumer: [BootAnimation]
> syncForReleaseLocked: error adding release fence: Invalid argument (-22)
> 07-27 12:53:51.355 1428 1428 E ConsumerBase: [BootAnimation] fence has
> invalid state
> 07-27 12:53:51.355 1428 1428 E GLConsumer: [BootAnimation]
> syncForReleaseLocked: error adding release fence: Invalid argument (-22)

The log doesn't contain real useful info.
You have to grab the log at the time SurfaceFlinger started.


--
Chih-Wei
Android-x86 project
http://www.android-x86.org
Reply all
Reply to author
Forward
0 new messages