KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
31.51k stars 1.3k forks source link

Black screen: Failed to determine valid GL format for Flutter rendering #1887

Open Kabouik opened 2 months ago

Kabouik commented 2 months ago

Is there an existing issue for this?

Current Behavior

I am getting a black screen when starting Spotube. tried both .deb and Flatpak packages in the last three versions, on aarch64 (OS: Droidian). This seems to be a Flutter issue, but somehow it was working for me in mid-August (I posted a picture of it here). I assume some dependency got updated and breaks things.

I tried removing the Spotube folder in ~/.local/share, but that did not help.

Debian package:

droidian@Pro1~ $ spotube                                                                                                                    02:27:09
GLib-GIO-Message: 02:27:13.794: Adding GResources overlay '/org/gnome/gmobile/devices/display-panels=/var/lib/droidian/phosh-notch'
package:media_kit_libs_linux registered.
flutter: media_kit: WARNING: package:media_kit_native_event_loop not found.

** (spotube:805160): CRITICAL **: 02:27:20.042: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.
[W][39002.430965] pw.conf      | [          conf.c: 1214 try_load_conf()] can't load config client-rt.conf: No such file or directory
[E][39002.431639] pw.conf      | [          conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client-rt.conf: No such file or directory

** (spotube:805160): CRITICAL **: 02:27:21.692: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

** (spotube:805160): CRITICAL **: 02:27:22.096: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

** (spotube:805160): CRITICAL **: 02:27:22.350: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

Flatpak:

droidian@Pro1~ $ flatpak run com.github.KRTirtho.Spotube                                                                                    02:34:10
^LGLib-GIO-Message: 02:34:15.098: Adding GResources overlay '/org/gnome/gmobile/devices/display-panels=/var/lib/droidian/phosh-notch'
package:media_kit_libs_linux registered.
flutter: media_kit: WARNING: package:media_kit_native_event_loop not found.

** (spotube:3): CRITICAL **: 02:34:19.158: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

** (spotube:3): CRITICAL **: 02:34:19.330: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

** (spotube:3): CRITICAL **: 02:34:19.604: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

** (spotube:3): CRITICAL **: 02:34:19.818: Failed to determine valid GL format for Flutter rendering
[ERROR:flutter/shell/platform/embedder/embedder.cc(814)] Could not wrap embedder supplied frame-buffer.
[ERROR:flutter/shell/platform/embedder/embedder.cc(1271)] Could not create a surface from an embedder provided render target.

Expected Behavior

No black screen.

Steps to reproduce

Not sure, it used to work on that same device and OS.

Operating System

Droidian (aarch64)

Spotube version

Tested the last three releases

Installation source

GitHub Releases (Binary), Flathub (Flatpak)

Additional information

No response

Self grab