Skip to content

[windows]: add impeller software fallback warning #187763

Closed

Description

@gaaclarke

In

renderer_config =
egl_manager_ ? GetOpenGLRendererConfig() : GetSoftwareRendererConfig();
the windows embedder falls back to software rendering if there is an error setting up the opengles context.

We don't have a software renderer solution today for Impeller. It's speculated that the use-cases that require this are so slim they can reasonably be ignored. Or they are just transitory states, like a fresh install before a driver has been installed. On windows we use Angle to map OpenGLES to DirectX and presumably all modern machines have enough to support Angle.

When running with Impeller we should detect the case where we would potentially want to use a software renderer and present a user warning that communicates this clearly to the user. Zed does something similar when run on a cloud windows instance. That way users will have clarity into what may be going wrong so we can further evaluate if we need to mitigate this case somehow.

Activity

  1. added
    e: impeller
    team-engine
    on Jun 9, 2026
  2. changed the title [-][windows]: add software fallback warning[/-] [+][windows]: add impeller software fallback warning[/+] on Jun 9, 2026
  3. added
    P2
    triaged-engine
    on Jun 15, 2026
  4. gaaclarke commented on Jun 15, 2026

    @gaaclarke
    MemberAuthor

    We already issue a FML_LOG(ERROR) message for this case. I considered 2 different things to add in addition to that, but decided against them:

    1. Present a modal dialog that presents that error text. That way users would have a more clear understanding of what happened and can communicate that back to developers and us. I decided not to do this because once we present something that's intended for the end-user, we have to worry about accessibility and localization. Also, from all our testing this case doesn't actually happen unless there is some sort of failure in the build system to bundle and load Angle.
    2. Use the SetLastError() function to set an error that the user could more meaningfully intercept and present their own localized dialog if they want. I decided against this because the likelihood that someone would read the error is slim since it would only show up in exceptional cases. Also, again, in our testing there is no situation where this error happens with well formed flutter projects.

    I think we are good here as-is. Any situation where Angle talks to a DirectX implementation that doesn't support it is hypothetical.

    cc @loic-sharma

  5. self-assigned this
    on Jun 16, 2026
  6. github-actions commented on Jul 14, 2026

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2e: impellerteam-enginetriaged-engine

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions