Skip to content

[Impeller][Windows] Black screen when Impeller falls back to OpenGL #187287

Description

@Servall4

Steps to reproduce

  1. flutter create bug
  2. flutter run -d windows --enable-impeller on a machine without Vulkan support

Expected results

App renders correctly

Actual results

A black app window is displayed. When running with a debug engine build,
the following fatal error is logged:

[FATAL:flutter/impeller/renderer/backend/gles/proc_table_gles.h(44)]
Fatal GL Error GL_INVALID_OPERATION(1282) encountered on call to
glFramebufferTexture2DMultisampleEXT

Code sample

N/A

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[IMPORTANT:flutter/shell/platform/embedder/embedder_surface_gl_impeller.cc(124)] Using the Impeller rendering backend (OpenGL).

Flutter Doctor output

Doctor output
[√] Flutter (Channel stable, 3.44.0, on Microsoft Windows [Version 10.0.26100.8246], locale ru-RU) [421ms]
    • Flutter version 3.44.0 on channel stable at C:\Users\ivan\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 559ffa3f75 (13 days ago), 2026-05-15 14:13:13 -0700
    • Engine revision 4c525dac5e
    • Dart version 3.12.0
    • DevTools version 2.57.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios,
      cli-animations, enable-native-assets, enable-swift-package-manager, omit-legacy-version-file, enable-lldb-debugging,
      enable-uiscene-migration

[√] Windows Version (Windows 11 or higher, 24H2, 2009) [3,4s]

[X] Android toolchain - develop for Android devices [286ms]
    X Unable to locate Android SDK.
      Install Android Studio from: https://developer.android.com/studio/index.html
      On first launch it will assist you in installing the Android SDK components.
      (or visit https://flutter.dev/to/windows-android-setup for detailed instructions).
      If the Android SDK has been installed to a custom location, please use
      `flutter config --android-sdk` to update to that location.


[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe) [206ms]
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[√] Visual Studio - develop Windows apps (Visual Studio Build Tools 2022 17.14.19) [204ms]
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools
    • Visual Studio Build Tools 2022 version 17.14.36623.8
    • Windows 10 SDK version 10.0.26100.0

[√] Connected device (2 available) [224ms]
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.26100.8246]
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 148.0.3967.83

[√] Network resources [825ms]
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work liste: impellerImpeller rendering backend issues and features requestsengineflutter/engine related. See also e: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-windowsBuilding on or for Windows specificallyteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions