Merrit / flutter_flatpak_example

An example of how to package a Flutter application as a Flatpak for distribution on Linux, using the default counter example app.
64 stars 8 forks source link

Failed to start Flutter renderer: No GL implementation is available #4

Closed aravind-sbox closed 1 year ago

aravind-sbox commented 1 year ago

flatpak run com.example.FlutterApp

When opened using this command from terminal, the app opens and shows a blank screen. The same happens when opened using desktop icon. But runs using flutter run command

aravind-sbox commented 1 year ago

"finish-args": [ "--share=ipc", "--socket=x11", "--device=dri", "--socket=pulseaudio", "--share=network" ],

Had to set socket to x11 to make it work.