Skip to content

Linux applications show black screen at start-up in debug mode #151098

@spydon

Description

@spydon

Steps to reproduce

Run any application (the counter example for example) in debug mode.

Expected results

No black screens and no flickering in debug mode.

Actual results

It will show a black screen at start-up and if you do some very wild scrolling it will also flicker with black.
It is present in any version >3.22.0, in 3.18.x and lower it works fine.

Code sample

Code sample
flutter create . && flutter run

Screenshots or Video

Screenshots / Video demonstration
black.mp4

Logs

No response

Flutter Doctor output

Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 3.23.0-0.1.pre, on Ubuntu 24.04 LTS 6.8.0-36-generic,
    locale en_US.UTF-8)
[✓] Linux toolchain - develop for Linux desktop
[✓] Android Studio (version 2023.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: regressionIt was better in the past than it is nowengineflutter/engine related. See also e: labels.found in release: 3.22Found to occur in 3.22found in release: 3.23Found to occur in 3.23has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-linuxBuilding on or for Linux specificallyr: fixedIssue is closed as already fixed in a newer versionteam-linuxOwned by the Linux platform teamtriaged-linuxTriaged by the Linux platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions