This is a cache of https://discuss.96boards.org/t/android-8-1-0-video-issues-with-hikey/3881. It is a snapshot of the page at 2024-10-31T07:27:14.242+0000.
Android 8.1.0 video issues with Hikey - HiKey - 96Boards Forum

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.