SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed Spotify (client) and required deps from SBo (15.0). When I start the program I get a long delay then a blank screen - nothing displayed.
Running from the command line gives:
Code:
$ spotify --log-file=spot.log
spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
(spotify:12713): libayatana-appindicator-WARNING **: 15:44:29.993: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:12713): LIBDBUSMENU-GLIB-WARNING **: 15:44:29.993: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
/proc/self/exe: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
WARNING: radv is not a conformant Vulkan implementation, testing use only.
<15 second pause, then blank screen appears>
Code:
$ cat spot.log
19:37:38.408 I [f:159 ] Access allowance changed from online: 0 stream: 0, sync: 0, persistent conn: 0 to online: 1 stream: 1, sync: 0, persistent conn: 1
19:37:38.408 E [f:44 ] Unable to open settings file for reading: /home/barry/.cache/spotify/hosts.bnk
19:37:38.408 I [f:77 ] Connectivity policy is initially allow_all
19:37:38.408 I [f:79 ] Connection type is initially unknown
19:37:38.408 I [f:96 ] Enabling all persistent connections
19:37:38.409 I [f:139 ] Open storage index header at /home/barry/.cache/spotify/Storage/index.dat
19:37:38.409 I [f:30 ] Created or reset storage index at /home/barry/.cache/spotify/Storage (this most likely means new install)
19:37:38.409 I [f:271 ] NmNetworkNotifier is not aware of running NetworkManager (yet), assume 'ethernet'
19:37:38.409 E [f:1324 ] Failed to set default autostart mode!
19:37:38.423 I [f:134 ] D-Bus name 'org.freedesktop.NetworkManager' exists on the system bus
19:37:38.423 I [f:139 ] Notify subscribers on NetworkManager detection (current state is 'NM_STATE_CONNECTED_GLOBAL')
19:37:38.423 I [f:190 ] Successfully connected to 'org.freedesktop.NetworkManager'
This is happening on 2 computers: A desktop (AMD graphics) and a System76 laptop (Hybrid graphics). Both running 15.0 and updated.
The laptop shows this additional message on the command line (but not in the log):
Code:
MESA: warning: Driver does not support the 0xa788 PCI ID.
libva error: /usr/lib64/dri/i965_drv_video.so init failed
Although, again, the program fails to display on either computer. I've played with the graphics settings on the laptop (integrated, nvidia, hybrid, etc.) and no change.
Is anyone else seeing similar? Or perhaps I have something installed that is conflicting?
TIA
EDIT: The web client works fine, but I need the app to download for offline playing.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070
Rep:
googling suggests that others have solved the black screen issue by deleting the <user>/.cache/spotify/Browser/GPUCache folder (or the whole <user>/.cache/spotify folder) and then restart spotify.
googling suggests that others have solved the black screen issue by deleting the <user>/.cache/spotify/Browser/GPUCache folder (or the whole <user>/.cache/spotify folder) and then restart spotify.
Yes, I saw the same and tried it. Funny thing is this is on two different computers with two different hardware and software profiles - They both have 15.0 on them, but the laptop is a bit more 'specialized' so it has less external software on it. For me to see this on two such different setups has to mean some setting somewhere that I'm missing.
Maybe when I have a couple of hours I'll try a clean VM and see what happens.
Okay, so the VM managed to narrow it down for me. The issue is with polkit and my i3 WM. I run i3 on both my laptop and my desktop. So that answers that (to me) mystery.
When I installed spotify in a clean VM running stock XFCE, it started with a dialog asking for authentication. That does NOT appear with i3 and the app never opens.
Oddly enough, someone had a similar issue in this thread and I provided what was for me at the time, a working solution. Apparently it did not work for that thread OP and now it does not work for me.
I have lxsession and lxappearance installed and lxpolkit started via the i3 config. Internet searches seem to indicate this should be the solution.
If anyone has any ideas on where to go from here, I'd very much appreciate it.
Another bit of oddness...Doing some additional troubleshooting and it turns out I'm seeing *some* authentication dialogs - I use neomutt and after a reboot I was asked for a GPG passphrase via dialog before neomutt would start (linked to a webmail account). Is there a way to tell what program provides *that* dialog?
I'm having a similar experience, but I am running -current multilib, and I'm also running i3.
The last version of spotify that works for me (and that I'm using) is spotify-1.2.9.743.
I never thought it could be related to i3 (I also have a bit of mess with the latest python upgrades), but after reading your post I installed the latest spotify version on SBo (spotify-1.2.31.1205) and tested in both i3 and xfce4.
For what it's worth, here's the output of spotify from i3:
Code:
spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/proc/self/exe: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
(spotify:1311): libayatana-appindicator-WARNING **: 15:46:43.428: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:1311): LIBDBUSMENU-GLIB-WARNING **: 15:46:43.428: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
And here's the output from xfce4 (where it runs perfectly):
Code:
spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/proc/self/exe: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
So the difference in my case seems to be:
Code:
(spotify:1311): libayatana-appindicator-WARNING **: 15:46:43.428: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:1311): LIBDBUSMENU-GLIB-WARNING **: 15:46:43.428: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
Thank you for your post, now I know that the latest spotify works for me if I'm not running i3-4.23 (and the previous version).
Unfortunately I'll have to downgrade back to spotify-1.2.9.743 because I like i3 ;-)
Hopefully you'll get this solved, thanks again.
I'm having a similar experience, but I am running -current multilib, and I'm also running i3.
The last version of spotify that works for me (and that I'm using) is spotify-1.2.9.743.
I never thought it could be related to i3 (I also have a bit of mess with the latest python upgrades), but after reading your post I installed the latest spotify version on SBo (spotify-1.2.31.1205) and tested in both i3 and xfce4.
For what it's worth, here's the output of spotify from i3:
Code:
spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/proc/self/exe: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
(spotify:1311): libayatana-appindicator-WARNING **: 15:46:43.428: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:1311): LIBDBUSMENU-GLIB-WARNING **: 15:46:43.428: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
And here's the output from xfce4 (where it runs perfectly):
Code:
spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /usr/share/spotify/spotify)
/proc/self/exe: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by /proc/self/exe)
So the difference in my case seems to be:
Code:
(spotify:1311): libayatana-appindicator-WARNING **: 15:46:43.428: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:”
(spotify:1311): LIBDBUSMENU-GLIB-WARNING **: 15:46:43.428: Unable to get session bus: Unknown or unsupported transport “disabled” for address “disabled:”
Thank you for your post, now I know that the latest spotify works for me if I'm not running i3-4.23 (and the previous version).
Unfortunately I'll have to downgrade back to spotify-1.2.9.743 because I like i3 ;-)
Hopefully you'll get this solved, thanks again.
That did it! Thanks. The i3 session was not starting dbus. I should have remembered that from the thread I linked above where I responded previously. The answer was right there.
I copied /etc/X11/xinit/xinitrc.i3 to ~/.xinitrc and commented out the 'if' statement that launched i3. Replaced it with the last line:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.