Android 8.1.0 video issues with Hikey

Hi all,

I am experiencing a pretty strange issue when compiling the AOSP from any android-8.1.0_rX branches.
I looks like the video driver has some issues since:

  1. the display is extermely slow (even the boot animation is sluggish)
  2. the logcat is full of messages like the following
    ===
    01-01 00:01:01.044 1909 1984 W SurfaceFlinger: Timed out waiting for hw vsync; faking it
    01-01 00:01:02.058 1909 1986 W SurfaceFlinger: Timed out waiting for hw vsync; faking it
    01-01 00:01:02.081 1909 1984 W SurfaceFlinger: Timed out waiting for hw vsync; faking it
    01-01 00:01:03.092 1909 1986 W SurfaceFlinger: Timed out waiting for hw vsync; faking it
    ===

This issue did not occured on previous android-8.0.0_rx branches, and is also not happening when I use the master branch…

Does anyone has any idea what could cause this, and how to patch the android-8.1.0 branches?
(For my development purposes, I cannot switch to the master branch at all…)

Kind Regards,
Mathieu

There are several bugs open related to poor graphics:
https://bugs.96boards.org/show_bug.cgi?id=627
https://bugs.96boards.org/show_bug.cgi?id=603

Don’t see obvious fix related to your issue in master, I suggest you to try update kernel or/and gralloc components.