Skip to content

Flickering occurs since flutter-elinux 3.7.6 #334

Open
@makotosato-at

Description

@makotosato-at

Hello.

I am using an i.MX8MP board and weston.
Using flutter-elinux 3.7.6 and #333, I get flickering in my application.
(It works fine in version 3.3.10.)

I attached a video:

flickering.mp4

Window size is 1920x1080.
In the application, movie@30fps(color bars) and scrolling text are displayed.
Is there any solution?

It doesn't solve anything, but I tried the following and it worked fine:

--- a/src/flutter/shell/platform/linux_embedded/surface/elinux_egl_surface.cc
+++ b/src/flutter/shell/platform/linux_embedded/surface/elinux_egl_surface.cc
@@ -189,6 +189,7 @@ void ELinuxEGLSurface::PopulateExistingDamage(const intptr_t fbo_id,
       }
     }
   }
+  existing_damage->damage[0] = {0, 0, 1920, 1080};
 }
 
 // Auxiliary function used to transform a FlutterRect into the format that is

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingengineTopics of Flutter Engine and its artifactswaylandTopics of Wayland

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions