flathub / com.spotify.Client

https://flathub.org/apps/details/com.spotify.Client
68 stars 34 forks source link

Black screen with glitches on v1.2.22.982 #265

Open deusnovus opened 8 months ago

deusnovus commented 8 months ago

I recently updated Spotify, only to find the main window being almost all black with glitches when hovering and scrolling. Here's a screenshot:

Screenshot from 2023-10-30 10-21-52

Not sure if this a Spotify / Flatpak / Wayland issue, but here are my specs just in case:

Fedora 38 / Wayland / GNOME AMD Ryzen 7 7700X MSI PRO B650M-A WIFI Micro ATX AM5 Corsair Vengeance 32 GB Sapphire PULSE Radeon RX 6600 8 GB

juxuanu commented 8 months ago

Same here, with Fedora 38 and AMD.

Erick555 commented 8 months ago

It could be amd/mesa issue. Try removing ~/.var/app/com.spotify.Client/cache/mesa_shader_cache.

juxuanu commented 8 months ago

Same luck, unfortunately

deusnovus commented 8 months ago

It could be amd/mesa issue. Try removing ~/.var/app/com.spotify.Client/cache/mesa_shader_cache.

It doesn't fix it, unfortunately.

jsnjack commented 8 months ago

It is also reproducible on Fedora 38 + Intel

runfalk commented 8 months ago

Same issue here. I'm getting the following STDERR output if I launch it from the terminal:

$ flatpak run com.spotify.Client
/app/extra/bin/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/bin/spotify)
[spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
Gtk-Message: 14:13:33.928: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:13:33.928: Failed to load module "pk-gtk-module"
Gtk-Message: 14:13:33.929: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:13:33.929: Failed to load module "pk-gtk-module"
[spotifywm] spotify window 2a00004 found
[spotifywm] spotify window 2800003 found
/proc/self/exe: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /proc/self/exe)
[spotifywm] attached to spotify
[spotifywm] spotify window 3000008 found
[spotifywm] spotify window 3000008 found
[spotifywm] spotify window 3000008 found
[spotifywm] spotify window 3000008 found

I'm using the same version (doesn't seem like I can force it to report info in English):

$ flatpak info com.spotify.Client 

Spotify - Online music streaming service

          ID: com.spotify.Client
         Ref: app/com.spotify.Client/x86_64/stable
         Ark: x86_64
        Gren: stable
     Version: 1.2.22.982.g794acc0a
      Licens: LicenseRef-proprietary=https://www.spotify.com/us/legal/end-user-agreement/
    Ursprung: flathub
     Samling: org.flathub.Stable
Installation: system
 Installerad: 9,2 MB
  Exekvering: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

 Incheckning: 8eda3ab5394fd71943e0ce8cbc555d0515cc8ca92876656a64a1fc049bdca071
  Överordnad: bb7db9a54eabf67432c600af7d942997f569570cc10ebe7e9caf50060749e234
        Ämne: Remove workaround & use patch for ffmpeg (c8229c91)
       Datum: 2023-10-26 16:35:45 +0000

I'm also on Fedora 38 with AMD graphics.

I've temporarily worked around the issue by downgrading to the previous version (2023-10-24 19:58:12 +0000):

sudo flatpak update --commit=bb7db9a54eabf67432c600af7d942997f569570cc10ebe7e9caf50060749e234 com.spotify.Client

(The STDERR output looks the same for this version so there is probably nothing interesting in it)

emanuc commented 8 months ago

I have the same problem

emanu@fedora ~> flatpak run com.spotify.Client
emanu@fedora ~> /app/extra/bin/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/bin/spotify)
[spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
Gtk-Message: 14:31:58.640: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:31:58.640: Failed to load module "pk-gtk-module"
Gtk-Message: 14:31:58.641: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:31:58.641: Failed to load module "pk-gtk-module"
[spotifywm] spotify window 1000004 found
[spotifywm] spotify window e00003 found
/proc/self/exe: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /proc/self/exe)
[spotifywm] attached to spotify
[spotifywm] spotify window 1600008 found
emanu@fedora ~> flatpak info com.spotify.Client

Spotify - Online music streaming service

          ID: com.spotify.Client
         Ref: app/com.spotify.Client/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.2.22.982.g794acc0a
     License: LicenseRef-proprietary=https://www.spotify.com/us/legal/end-user-agreement/
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 9,2 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 8eda3ab5394fd71943e0ce8cbc555d0515cc8ca92876656a64a1fc049bdca071
      Parent: bb7db9a54eabf67432c600af7d942997f569570cc10ebe7e9caf50060749e234
     Subject: Remove workaround & use patch for ffmpeg (c8229c91)
        Date: 2023-10-26 16:35:45 +0000

Fedora Workstation 38 GPU: AMD

Erick555 commented 8 months ago

what if you rename ~/.var/app/com.spotify.Client and start app with fresh profile?

you may also try renaming just ~/.var/app/com.spotify.Client/cache/spotify and start the app.

dibshift commented 8 months ago

what if you rename ~/.var/app/com.spotify.Client and start app with fresh profile?

you may also try renaming just ~/.var/app/com.spotify.Client/cache/spotify and start the app.

Deleting ~/.var/app/com.spotify.Client and letting the app create a new folder fixed the issue for me. Thanks

greylegboas commented 8 months ago

I'm also affected with the same symptoms. Other flatpak apps aren't affected (I've tested Steam, Disord, OBS, Kdenlive, KeePassXC, and qBittorrent).

System:

emanuc commented 8 months ago

what if you rename ~/.var/app/com.spotify.Client and start app with fresh profile?

you may also try renaming just ~/.var/app/com.spotify.Client/cache/spotify and start the app.

I deleted the folder, start with a new profile, it works, thanks.

kovacs-andras commented 8 months ago

Same issue here on RHEL 9 and Intel VGA.

charn commented 8 months ago

As a workaround disabling OpenGL rendering (GPU acceleration / device=dri) in Flatseal fixes this for me (Fedora 38 + Wayland + Gnome + AMD).

Edit. Also removing ~/.var/app/com.spotify.Client helps and app no longer requires the workaround.

fercomunello commented 8 months ago

After removing the app folder and login in my account again everything works.

$ rm -rf ~/.var/app/com.spotify.Client
Greenheart commented 8 months ago

Simple and minimal workaround (without having to sign in again):

  1. Close Spotify
  2. Delete the Spotify GPU cache by running rm -rf ~/.var/app/com.spotify.Client/cache/spotify/Browser/GPUCache/
  3. Restart Spotify and everything works as expected.

Enjoy! :seedling:

This seems to be a common error for all Electron-based apps at the moment:

K4LCIFER commented 8 months ago

I also had the issue -- the workaround(s) in this thread resolved it.

gregorni commented 8 months ago

This seems to be a general Electron issue, because a bunch of Electron apps had it all of a sudden at the same time, like Element and VSCode. The workaround of deleting the cache seems to work for all of them, though.

BasVDriel commented 7 months ago

Same ish issue for me:

/app/extra/bin/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/bin/spotify)
[spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
Gtk-Message: 09:28:43.740: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:28:43.740: Failed to load module "pk-gtk-module"
Gtk-Message: 09:28:43.741: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:28:43.741: Failed to load module "pk-gtk-module"
[spotifywm] spotify window e00004 found
[spotifywm] spotify window c00003 found
/proc/self/exe: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /proc/self/exe)
[spotifywm] attached to spotify
[spotifywm] spotify window 1400008 found
[spotifywm] spotify window 1400008 found
[spotifywm] spotify window 1400008 found
          ID: com.spotify.Client
         Ref: app/com.spotify.Client/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 1.2.22.982.g794acc0a
     License: LicenseRef-proprietary=https://www.spotify.com/us/legal/end-user-agreement/
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 9.2 MB
     Runtime: org.freedesktop.Platform/x86_64/23.08
         Sdk: org.freedesktop.Sdk/x86_64/23.08

      Commit: 8eda3ab5394fd71943e0ce8cbc555d0515cc8ca92876656a64a1fc049bdca071
      Parent: bb7db9a54eabf67432c600af7d942997f569570cc10ebe7e9caf50060749e234
     Subject: Remove workaround & use patch for ffmpeg (c8229c91)
        Date: 2023-10-26 16:35:45 +0000

Fedora workstation 38 Wayland Gnome

Erick555 commented 7 months ago

The problem is well-known and solution is also well known as posted in https://github.com/flathub/com.spotify.Client/issues/265#issuecomment-1789243506 . Further comments in this thread are pointless.

DougBeney commented 7 months ago
rm -rf ~/.var/app/com.spotify.Client/cache/*

did the trick for me.

ltrook21 commented 7 months ago

what if you rename ~/.var/app/com.spotify.Client and start app with fresh profile? you may also try renaming just ~/.var/app/com.spotify.Client/cache/spotify and start the app.

Deleting ~/.var/app/com.spotify.Client and letting the app create a new folder fixed the issue for me. Thanks

I had the same issue on Pop_OS 22.04. This fixed it for me.

Oregano77 commented 7 months ago

what if you rename ~/.var/app/com.spotify.Client and start app with fresh profile? you may also try renaming just ~/.var/app/com.spotify.Client/cache/spotify and start the app.

I deleted the folder, start with a new profile, it works, thanks.

This solution also worked for me. Once I deleted the folder I could log back into the working app. Thanks everyone!

gmr458 commented 7 months ago

Deleting the ~/.var/app/com.spotify.Client worked for me.