Skip to content

windows 7, "EGL: Failed to initialize EGL" error is always shown when executing "flutter run", and the executable built could not run #68861

@leolovesmile

Description

@leolovesmile

Environment

  • OS: windows 7 SP1

  • flutter doctor result

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel master, 1.24.0-2.0.pre.111, on Microsoft Windows [Version 6.1.7601], locale zh-CN)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.7.6)
[√] Android Studio (version 3.6)
[√] IntelliJ IDEA Ultimate Edition (version 2020.1)
[√] Connected device (1 available)

• No issues found!

  • flutter --version output:

Flutter 1.24.0-2.0.pre.111 • channel master • https://github.com/flutter/flutter.git
Framework • revision fe189ba (28 hours ago) • 2020-10-21 22:25:53 -0400
Engine • revision f459a86
Tools • Dart 2.11.0 (build 2.11.0-242.0.dev)

Steps to Reproduce

  • run flutter create win7flutter under the working directory win7flutter
  • run cd win7flutte
  • run flutter run and get the following console output with error EGL: Failed to initialize EGL.

Launching lib\main.dart on Windows in debug mode...
Building Windows application...
EGL: Failed to initialize EGL
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(108)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
[FATAL:flutter/shell/gpu/gpu_surface_gl_delegate.cc(50)] Check failed: gl_version_string. The GL proc resolver's glGetString(GL_VERSION) failed
Error connecting to the service protocol: failed to connect to http://127.0.0.1:51045/yanMSoQOdfQ=/

  • Expected results: no error shows, the application dialogs pops up with no problem, just like I have got in another PC with Windows 10 OS.
  • Actual results: error shows as above

other helpful information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions