Temporary black screen when switching apps on Android 14
I'm running an Android 14 build on a Baytrail platform, with the following components:
- android-14.0.0_r1
- mesa-23.1.9
- minigbm + gralloc4
- drm_hwcomposer @ bdc4382f + composer@2.4
- kernel @ android14-6.1-lts
During some app transitions, the display turns temporarily black for .3~.5s, typically after the transition animation ends. This is only visible on the physical display, a screenrecord of the same event does not show the black screen. This is illustrated by the following videos:
- https://drive.google.com/file/d/16BBREIA9ss4M9UZH_4k7HXWt5T2XM8Yq/view?usp=share_link : the physical display
- https://drive.google.com/file/d/1LUinS05DnQp8aUjkanjMG-t125I6Yseu/view?usp=share_link : the screenrecord capture
What I've determined so far:
- the problem does not occur when running the same build in QEMU
- the problem does not occur on Baytrail platform when using kernel @ android14-5.15-lts (all the rest left unchanged)
- the problem does not occur when using sysprop
vendor.hwc.backend_override=client