tiliado / nuvolaplayer

Nuvola Player - Tight integration of web-based media streaming services with your desktop
https://nuvola.tiliado.eu/
BSD 2-Clause "Simplified" License
335 stars 28 forks source link

Deezer app gets stuck loading on open #781

Closed andrewazores closed 2 years ago

andrewazores commented 2 years ago

Basic information

$ flatpak list
Name                                       Application ID                         Version      Branch   Origin                     Installation
...
Nuvola Player Service                      eu.tiliado.Nuvola                                   stable   nuvola                     user
Deezer • Nuvola Player                     eu.tiliado.NuvolaAppDeezer                          stable   nuvola                     user
$ flatpak run eu.tiliado.Nuvola --version
Nuvola Player 4.24.0
$ flatpak info eu.tiliado.Nuvola

Nuvola Player Service - Background service that provides individual Nuvola
Player with global shared resources

          ID: eu.tiliado.Nuvola
         Ref: app/eu.tiliado.Nuvola/x86_64/stable
        Arch: x86_64
      Branch: stable
     License: BSD-2-Clause
      Origin: nuvola
  Collection: 
Installation: user
   Installed: 258.0 MB
     Runtime: org.gnome.Platform/x86_64/40
         Sdk: org.gnome.Sdk/x86_64/40

      Commit: 56f5b36bc6064af91dcecc2421fcc65b6ca5e32c195c4ac4bd8dcf7a86aef0c9
      Parent: c6dbac31d299a55323d3ba8f1c8759b203106e676d31b2ffc341ba6d699bf946
     Subject: Import eu.tiliado.Nuvola.Debug//stable
        Date: 2021-12-30 13:28:30 +0000
$ flatpak info eu.tiliado.NuvolaAppDeezer 

Deezer • Nuvola Player - Web-based media streaming service integrated with
Nuvola Player.

          ID: eu.tiliado.NuvolaAppDeezer
         Ref: app/eu.tiliado.NuvolaAppDeezer/x86_64/stable
        Arch: x86_64
      Branch: stable
     License: BSD-2-Clause
      Origin: nuvola
  Collection: 
Installation: user
   Installed: 258.1 MB
     Runtime: org.gnome.Platform/x86_64/40
         Sdk: org.gnome.Sdk/x86_64/40

      Commit: ce2173fc4a2ea6c5b0265da85175e2f8bd67e742b9ae30bd29f09b27ef8e2332
      Parent: 5c5382e4b9269b07f778a59d6d816445789319f5ea21fe1df5ce4a3f9abfc16d
     Subject: Import eu.tiliado.NuvolaAppDeezer.Debug//stable
        Date: 2021-12-30 13:13:54 +0000
$ flatpak run eu.tiliado.NuvolaAppDeezer  --version
Deezer script
Version: 3.6.0
Revision: 0-g3d71948
Maintainer: Jiří Janoušek

--- Powered by ---

Nuvola Player - Genuine flatpak build
Version 4.24.0
Revision 0-g71e3555
Diorite 4.24.0
Chromium 75.0.3770.100
ValaCEF 75.3770.16
libsoup 2.72.0

Describe the bug

The Deezer app gets stuck with a loading spinner indicator on open:

nuvola-deezer-stuck

$ flatpak run eu.tiliado.NuvolaAppDeezer
Gtk-Message: 12:33:09.891: Failed to load module "xapp-gtk3-module"
Gtk-Message: 12:33:09.968: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:33:09.968: Failed to load module "pk-gtk-module"
Gtk-Message: 12:33:09.969: Failed to load module "canberra-gtk-module"
Gtk-Message: 12:33:09.970: Failed to load module "pk-gtk-module"
Your system is broken: dlsym doesn't work! This has been reported to be caused by Nvidia's libGL. You should expect time related functions to misbehave. https://bugs.chromium.org/p/chromium/issues/detail?id=16800
[1231/123310.395539:ERROR:sandbox_linux.cc(368)] InitializeSandbox() called with multiple threads in process gpu-process.
Runner: [WARNING Δ887122us Nuvola] StartupWindow.vala:146: tiliado-account-message: Features Tier: ★ Patron
[1231/123310.832627:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
Worker: [DEBUG Δ005813us  GVFS] org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown (g-dbus-error-quark, 2)

Worker: [DEBUG Δ000194us GLib-GIO] _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
Worker: [DEBUG Δ013275us Nuvola] CefRendererExtension.vala:137: Got JS context
Worker: [INFO Δ000048us CefGtk] RendererContext.vala:57: JS Context created 1
[1231/173311.054533:ERROR:browser_main_loop.cc(280)] Gdk: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed
Worker: [DEBUG Δ007395us  GVFS] org.gtk.vfs.MountTracker.listMountableInfo call failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown (g-dbus-error-quark, 2)

Worker: [DEBUG Δ000231us GLib-GIO] _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
Worker: [DEBUG Δ004963us Nuvola] CefRendererExtension.vala:137: Got JS context
Worker: [INFO Δ004377us CefGtk] RendererContext.vala:57: JS Context created 1
Worker: [DEBUG Δ778638us Nuvola] CefRendererExtension.vala:145: Lost JS context
Worker: [INFO Δ000034us CefGtk] RendererContext.vala:64: JS Context released: 1
[1231/123311.705008:WARNING:keyring_util_linux.cc(77)] Could not load libgnome-keyring.so.0: libgnome-keyring.so.0: cannot open shared object file: No such file or directory
Runner: [WARNING Δ02s352200us Nuvola] Binding.vala:86: Call Web Worker sync: Nuvola.actions.emit
Worker: [CRITICAL Δ06s448275us Nuvola] CefRendererExtension.vala:201: Failed to send message '/nuvola/launcher/set-actions'. Response with id 59 has not been found.
Worker: [CRITICAL Δ000040us Nuvola] Application will not function properly.
inputs: 3

This is on Fedora 34 with flatpak version 1.10.5, if that matters/helps. I have done flatpak update, flatpak --system update, and flatpak --user update, as well as dnf update and rebooted, and the behaviour is the same. I also tried to "update" my installation to a previous commit, ex by flatpak update --commit=ac773b5f2b1987bce4cfd4c4febfec4fb9f98589d23b2afb3580492d18777de8 eu.tiliado.NuvolaAppDeezer (commit hash retrieved by flatpak remote-info --log nuvola eu.tiliado.NuvolaAppDeezer), but I didn't find a working configuration. So I'm not sure what exactly has broken or how/when.

Not only is it stuck with the loading indicator, but I cannot interact with the graphical elements in the webview - the "Music/Podcasts/Explore/Favourites" menu items are non-responsive to clicks and the mouse cursor does not change to indicate the "clickability". The player controls at the bottom of the screen also do not respond and do not have any hover state.

jiri-janousek commented 2 years ago

Hello @andrewazores. Thanks for reporting the issue. Could you check whether Deezeer script 3.6.1 (1-gdafc045) fixes the problem?

andrewazores commented 2 years ago

Hi @jiri-janousek , thanks for the quick update! You should have taken the day off :-)

I have just tested 3.6.1 on my laptop and it appears to be working again now. I filed this report from my desktop workstation so I will check it there to be sure when I am back at home on Monday. These are both running Fedora 34 with the same Flatpak and Nuvola versions though, so I think it's likely that this fix worked. I haven't tried using Nuvola on this laptop in a while so I don't think I ever encountered this bug on this particular machine.

andrewazores commented 2 years ago

782 definitely looks like the same bug to me

bagage commented 2 years ago

I can confirm as well that after updating to 3.6.1, it works again for me! Thanks @jiri-janousek for the fix and @andrewazores for reporting the issue :)