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 Code:
$ cat spot.log 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. 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. |
You forgot the dependencies:
libayatana-appindicator (ayatana-ido, libayatana-indicator), libcurl-gnutls |
Quote:
Code:
$ ls /var/lib/pkgtools/packages/ | egrep 'ayatana|libcurl' |
Quote:
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... |
Quote:
Which version ? |
Quote:
|
Quote:
Code:
$ ls /var/lib/pkgtools/packages/ | grep spotify |
Quote:
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... |
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.
|
Quote:
Maybe when I have a couple of hours I'll try a clean VM and see what happens. Thanks. |
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) Code:
spotify: /usr/lib64/libcurl-gnutls.so.4: no version information available (required by spotify) Code:
(spotify:1311): libayatana-appindicator-WARNING **: 15:46:43.428: Unable to get the session bus: Unknown or unsupported transport “disabled” for address “disabled:” 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. |
Quote:
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 |
Now the question is: Why doesn't the same thing work for .xsession and runlevel 4 (using SDDM)?
|
All times are GMT -5. The time now is 11:30 AM. |