go-flutter icon indicating copy to clipboard operation
go-flutter copied to clipboard

GFLW Window creation failed

Open drexhacker opened this issue 3 years ago • 6 comments

Am working on a desktop app with go flutter but unfortunately the Application failed to run on my old pc with OpenGL 2.1 Mesa 18.X.X (Graphics Card: Intel Cooperation 4 Series Graphics Controller rev 03), Now am asking is there a way to build this old pc of mine

drexhacker avatar May 21 '21 16:05 drexhacker

Maybe a way to configure gflw to support OpenGL 2.1 would work

drexhacker avatar May 21 '21 16:05 drexhacker

hover build XXX --opengl=none (note: texture plugin wont work anymore, but we don't officially have any of them.. so it's no issue)

pchampio avatar May 27 '21 08:05 pchampio

@pchampio its still failin

drexhacker avatar May 27 '21 15:05 drexhacker

What's the terminal output ? (bins must be build with hover build XXX --opengl=none --debug) I'm afraid flutter might not support such a old version.

pchampio avatar May 27 '21 15:05 pchampio

creating glfw window: VersionUnavailable: EGL: Failed to create context: Arguments are inconsistent

drexhacker avatar May 27 '21 15:05 drexhacker

I don't think I can help you that much. It's my first time seeing this error.

Maybe can you try to workout the glfw flags ?

Flowing: https://github.com/go-flutter-desktop/go-flutter/wiki/Setting-up-hover-to-use-a-home-made-version-of-'go-flutter' can you try to modify the glfw flags here (especially line 145): https://github.com/go-flutter-desktop/go-flutter/blob/e85ebb3a92816d931f4974a6a3bef9eae4effdf9/application.go#L97-L146

pchampio avatar May 28 '21 09:05 pchampio