flathub / com.spotify.Client

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

Black screen on wayland + nvidia unless using --disable-gpu #204

Open alvarlagerlof opened 2 years ago

alvarlagerlof commented 2 years ago
[alvar@rehoboam ~]$ flatpak run com.spotify.Client 
[alvar@rehoboam ~]$ /app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)
[spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
Gtk-Message: 10:36:19.139: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:36:19.139: Failed to load module "canberra-gtk-module"
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[spotifywm] attached to spotify
[spotifywm] spotify window found
[spotifywm] spotify window found
[spotifywm] spotify window found
[spotifywm] spotify window found
[spotifywm] spotify window found
[spotifywm] spotify window found
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[spotifywm] spotify window found
[spotifywm] spotify window found

image

[alvar@rehoboam ~]$ flatpak run com.spotify.Client --disable-gpu
/app/extra/bin/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/bin/spotify)
[alvar@rehoboam ~]$ [spotifywm] attached to spotify
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
/app/extra/share/spotify/spotify: /app/lib/libcurl-gnutls.so.4: no version information available (required by /app/extra/share/spotify/spotify)
[spotifywm] attached to spotify
[spotifywm] attached to spotify
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Gtk-Message: 10:38:14.079: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:38:14.079: Failed to load module "canberra-gtk-module"
/proc/self/exe: /app/lib/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
[spotifywm] attached to spotify

image

TingPing commented 2 years ago

While this is an upstream bug it is a situation we can probably detect and automatically handle.

alvarlagerlof commented 2 years ago

Weirdly enough it worked after a few restarts. Unsure why.

Erick555 commented 2 years ago

maybe there was transient driver version mismatch between flatpak and host?

alvarlagerlof commented 2 years ago

Did not have a Nvidia driver update if that is what you meant.

Sforg26 commented 8 months ago

I have the same issue on x11 without nvidia sometimes software work but most of it it's blank screen. I've tried the --disable-gpu workaround and now spotify work for me too. This is the terminal:

/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
[spotifywm] spotify window 6e00004 found
libva error: /usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so init failed
/proc/self/exe: /usr/lib/x86_64-linux-gnu/libcurl.so.4: no version information available (required by /proc/self/exe)
[spotifywm] spotify window 6c00003 found
[spotifywm] attached to spotify

(spotify:6): libnotify-WARNING **: 14:39:17.347: Running in confined mode, using Portal notifications. Some features and hints won't be supported
Erick555 commented 8 months ago

did you tried https://github.com/flathub/com.spotify.Client/issues/265#issuecomment-1789243506 ?