LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2024, 03:03 PM   #1
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Rep: Reputation: Disabled
Spotify - Blank Screen


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.

Last edited by SpacePlod; 04-11-2024 at 03:04 PM.
 
Old 04-11-2024, 03:55 PM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,365

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
You forgot the dependencies:

libayatana-appindicator (ayatana-ido, libayatana-indicator), libcurl-gnutls

Last edited by marav; 04-11-2024 at 03:56 PM.
 
Old 04-12-2024, 10:12 AM   #3
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by marav View Post
You forgot the dependencies:

libayatana-appindicator (ayatana-ido, libayatana-indicator), libcurl-gnutls
Negative. As I mentioned in the OP, the deps were installed.

Code:
$ ls /var/lib/pkgtools/packages/ | egrep 'ayatana|libcurl'
ayatana-ido-0.10.1-x86_64-1_SBo
libayatana-appindicator-0.5.93-x86_64-1_SBo
libayatana-indicator-0.9.4-x86_64-1_SBo
libcurl-gnutls-8.6.0-x86_64-1_SBo
 
Old 04-12-2024, 12:31 PM   #4
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by SpacePlod View Post

Code:
MESA: warning: Driver does not support the 0xa788 PCI ID.
libva error: /usr/lib64/dri/i965_drv_video.so init failed
This part...
I've also seen this in the past, sorted with:

Creating /etc/sysctl.conf
into that file (create it if it doesn't exist) I added:
dev.i915.perf_stream_paranoid=0

After that I ran:
sysctl -p

In my case I restarted the laptop for testing, not sure if I actually had to...
 
Old 04-12-2024, 12:47 PM   #5
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,365

Rep: Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080Reputation: 4080
Quote:
Originally Posted by SpacePlod View Post
I have installed Spotify (client)
The one from SBo
Which version ?
 
Old 04-12-2024, 12:48 PM   #6
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MDKDIO View Post
This part...
I've also seen this in the past, sorted with:

Creating /etc/sysctl.conf
into that file (create it if it doesn't exist) I added:
dev.i915.perf_stream_paranoid=0

After that I ran:
sysctl -p

In my case I restarted the laptop for testing, not sure if I actually had to...
Hmm. No joy here. I did exactly as above (including the reboot) and both the MESA message and black screen remain. Thanks though.
 
1 members found this post helpful.
Old 04-12-2024, 12:52 PM   #7
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by marav View Post
The one from SBo
Which version ?
Code:
$ ls /var/lib/pkgtools/packages/ | grep spotify
spotify-1.2.31.1205-x86_64-1_SBo
I'm assuming that's the correct package with those dependencies. Thanks.
 
Old 04-13-2024, 01:49 AM   #8
MDKDIO
Member
 
Registered: Mar 2004
Location: Sweden
Distribution: Slackware 15
Posts: 521

Rep: Reputation: 187Reputation: 187
Quote:
Originally Posted by SpacePlod View Post
Hmm. No joy here. I did exactly as above (including the reboot) and both the MESA message and black screen remain. Thanks though.
That's a bit odd...

The only other thing I can think of, is the order dependencies were built...

libcurl-gnutls
ayatana-ido
libayatana-indicator
libayatana-appindicator
spotify

Of course, with each package installed once built. In same order...
 
Old 04-13-2024, 04:37 AM   #9
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,070

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
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.
 
Old 04-13-2024, 07:51 AM   #10
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by kgha View Post
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.

Thanks.
 
1 members found this post helpful.
Old 04-16-2024, 10:19 AM   #11
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
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.
 
1 members found this post helpful.
Old 04-16-2024, 11:09 AM   #12
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
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?
 
Old 04-16-2024, 05:15 PM   #13
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
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.
 
1 members found this post helpful.
Old 04-17-2024, 08:11 AM   #14
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MannyNix View Post
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:

Code:
$ cat .xinitrc
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# Merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap

# Start i3
#if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
#    exec ck-launch-session dbus-launch --exit-with-session /usr/bin/i3
#else
#    exec /usr/bin/i3
#fi

dbus-launch --sh-syntax --exit-with-session /usr/bin/i3
spotify starts properly now. Marked solved.
 
1 members found this post helpful.
Old 04-17-2024, 08:38 AM   #15
SpacePlod
Member
 
Registered: Jan 2014
Distribution: Slackware
Posts: 115

Original Poster
Rep: Reputation: Disabled
Now the question is: Why doesn't the same thing work for .xsession and runlevel 4 (using SDDM)?
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Spotify TUI – Spotify client for the terminal LXer Syndicated Linux News 0 08-27-2022 01:05 AM
LXer: spotify-qt - lightweight Spotify client LXer Syndicated Linux News 0 08-19-2022 06:12 PM
[SOLVED] Spotify does not start and shows “Oops! Something went wrong Spotify” error. Andrewbrownfield Linux - Software 5 01-30-2021 12:52 AM
LXer: How to Mute Spotify Ads on Arch Linux using Spotify-AdKiller LXer Syndicated Linux News 0 10-16-2018 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration