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 with glitches on v1.2.22.982 #265

Open
deusnovus opened this issue Oct 30, 2023 · 23 comments
Open

Black screen with glitches on v1.2.22.982 #265

deusnovus opened this issue Oct 30, 2023 · 23 comments

Comments

@deusnovus
Copy link

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
Copy link

juxuanu commented Oct 30, 2023

Same here, with Fedora 38 and AMD.

@Erick555
Copy link
Contributor

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

@juxuanu
Copy link

juxuanu commented Oct 30, 2023

Same luck, unfortunately

@deusnovus
Copy link
Author

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

It doesn't fix it, unfortunately.

@jsnjack
Copy link

jsnjack commented Oct 30, 2023

It is also reproducible on Fedora 38 + Intel

@runfalk
Copy link

runfalk commented Oct 30, 2023

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
Copy link

emanuc commented Oct 30, 2023

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
Copy link
Contributor

Erick555 commented Oct 30, 2023

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
Copy link

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
Copy link

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:

  • Debian 12.2
  • Wayland
  • Gnome 43.6
  • Linux 6.1.0-13-amd64
  • AMD Ryzen 5 3600
  • AMD Radeon RX 580 8 GB
  • Crucial Ballistix Black 16GB 3000MHz
  • ASRock B450 Pro4

@emanuc
Copy link

emanuc commented Oct 30, 2023

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
Copy link

kovacs-andras commented Oct 31, 2023

Same issue here on RHEL 9 and Intel VGA.

@charn
Copy link

charn commented Nov 1, 2023

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
Copy link

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

$ rm -rf ~/.var/app/com.spotify.Client

@Greenheart
Copy link

Greenheart commented Nov 1, 2023

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! 🌱

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

@K4LCIFER
Copy link

K4LCIFER commented Nov 3, 2023

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

  • Arch Linux, Kernel v5.27.9
  • KDE Plasma v5.27.5

@gregorni
Copy link

gregorni commented Nov 3, 2023

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
Copy link

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
Copy link
Contributor

Erick555 commented Nov 5, 2023

The problem is well-known and solution is also well known as posted in #265 (comment) . Further comments in this thread are pointless.

@DougBeney
Copy link

DougBeney commented Nov 6, 2023

rm -rf ~/.var/app/com.spotify.Client/cache/*

did the trick for me.

@ltrook21
Copy link

ltrook21 commented Nov 6, 2023

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
Copy link

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
Copy link

gmr458 commented Nov 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests