Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 of 2 tasks
Kabouik opened this issue Sep 16, 2024 · 0 comments
Open
1 of 2 tasks
Labels
bug Something isn't working

Comments

@Kabouik
Copy link

Kabouik commented Sep 16, 2024

Is there an existing issue for this?

  • I have searched the existing issues

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

  • I'm ready to work on this issue!
@Kabouik Kabouik added the bug Something isn't working label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant