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

Blank screen on Linux #1570

Closed
2 tasks done
Celibistrial opened this issue Apr 4, 2022 · 46 comments
Closed
2 tasks done

Blank screen on Linux #1570

Celibistrial opened this issue Apr 4, 2022 · 46 comments

Comments

@Celibistrial
Copy link

πŸ” Have you checked Spicetify.app page for your issue?

  • I have checked the FAQ

πŸ” Is there already an issue for your problem?

  • I have checked older issues, open and closed

β„Ή Environment / Computer Info

❯ spotify --version
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
Spotify version 1.1.80.699.gc3dac750, Copyright (c) 2022, Spotify Ltd

❯ spicetify -v
Dev

πŸ“ Description

After running sudo -E spicetify apply Spotify loads up with a black screen

tried multiple versions of spoitfy from the aur spotify-snap spotify

Other people in the discord server also seem to have the same issue

πŸ“Έ Screenshots

image
image

@theRealPadster
Copy link
Member

Yeah, I have the same spotify/spicetify version and it's a blank screen. Maybe the latest changes to get it working after a Spotify update don't work on 1.1.80.699. Idk.

@theRealPadster
Copy link
Member

theRealPadster commented Apr 4, 2022

If I connect via remote debugging (spotify --remote-debugging-port=9222), I can see this in the console:
image

This seems to support my suggestion that 2.9.4 isn't compatible with 1.1.80. The changes from 2.9.3 to 2.9.4 can be seen here: v2.9.3...v2.9.4, so if it was working in 2.9.3, probably the new menu hook broke it?

image

@theRealPadster
Copy link
Member

Searching for the regex used (=(?:\w+=>|function)(?:\{let|\(\w+\)\{var \w+,\w+=\w+.children,\w+=\w+.icon)(?:\{children:\w+,icon:\w+)?) in my xpui.js (before and after spicetify apply) gives me 11 results. Is it supposed to find 11 of them? @CharlieS1103

@outofink
Copy link

outofink commented Apr 6, 2022

I can confirm this appears to be the source of the issue. I bisected and found that the issue arose starting in commit a93d833, a commit which is part of v2.9.2.

@theRealPadster
Copy link
Member

Is it possible to have the apply.go file detect the Spotify version? Or does the regex need to be backwards compatible?

@itsmeow

@itsmeow
Copy link
Member

itsmeow commented Apr 9, 2022

Is it possible to have the apply.go file detect the Spotify version? Or does the regex need to be backwards compatible?

@itsmeow

You can detect the version, but we could use a more long term solution here imo

@theRealPadster
Copy link
Member

theRealPadster commented Apr 9, 2022

You can detect the version, but we could use a more long term solution here imo

How about something like the CSS map but for hooks, dependent on the spotify version? Like have it store/look up the different regexes and use whichever ones it needs.

@theRealPadster theRealPadster changed the title Blank screen on arch Blank screen on Linux Apr 9, 2022
@theRealPadster theRealPadster pinned this issue Apr 9, 2022
@Not-Storm
Copy link

same issue on Deepin(rolling)

@irls-svg
Copy link

Not Linux but macOS, think I might be getting a similar issue?
Running spicetify v2.9.5, Spotify 1.1.83. Restore fixes the issue.
image

@nils-kt
Copy link

nils-kt commented Apr 21, 2022

Same on Windows with version 1.1.83.956.gbe7ea9a7

@despawnedd
Copy link

Had the same issue, but manually getting the Spotify .deb helped (#1577 (comment)).

@kotx
Copy link

kotx commented Apr 21, 2022

I get this issue on macOS 12.3.1 on Spicetify version 2.9.5 and Spotify for macOS (Apple Silicon) 1.1.83.956.gbe7ea9a7 as well. After spicetify apply, the app opens to a blank screen. However, the menu items in "Playback" in the menu bar all work. Everything else- log out, etc. doesn't. No keybinds, just a blank screen.
DevTools doesn't work, I had to manually use --remote-debugging-port=9222. Here's the console output for that:

xpui.app.spotify.com-1650564967416.log

It seems /Applications/Spotify.app/Content/xpui.js is incorrectly formatted or something. This error doesn't occur on a untouched Spotify installation (spicetify restore or similar). So, here's that:
xpui.js

Here's /Applications/Spotify.app/Contents/Resources/Apps/xpui/vendor~xpui.js:
vendor~xpui.js

Edit: Whoops, it seems there's already an identified cause for this, but hopefully this helps I guess?

@itsmeow
Copy link
Member

itsmeow commented Apr 22, 2022

@irls-svg @nils-kt See #1598 / fix #1600

@itsmeow
Copy link
Member

itsmeow commented Apr 22, 2022

You can detect the version, but we could use a more long term solution here imo

How about something like the CSS map but for hooks, dependent on the spotify version? Like have it store/look up the different regexes and use whichever ones it needs.

This would create a risk for remote arbitrary code execution, very insecure. We would have to bundle the hooks into the program at distribution time, not web-time. We could create a large JSON mapping of hooks and read that from the filesystem.

@rxri
Copy link
Member

rxri commented Apr 22, 2022

I think we can close this issue since it's about 1.1.80 that isn't supported by spicetify. 1.1.83 should work fine on v2.9.6. I recommend using old version of spicetify (2.9.3) if you want to stick to old versions of spotify.

@rxri rxri closed this as completed Apr 22, 2022
@Celibistrial
Copy link
Author

Celibistrial commented Apr 23, 2022

image
version 2.9.3 also results in a blank screen
❯ spicetify -v
2.9.3
❯ spotify --version
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
Spotify version 1.1.80.699.gc3dac750, Copyright (c) 2022, Spotify Ltd
EDIT: tried 2.92 as well same result

@nils-kt
Copy link

nils-kt commented Apr 23, 2022

@Celibistrial update your Spotify to 1.1.83.

@Celibistrial
Copy link
Author

@Celibistrial update your Spotify to 1.1.83.

cant , the spotify aur package is version 1.1.80 and spotify does not support arch (could use debtap to install spotify.deb but it has messed up my system in the past)

@Celibistrial
Copy link
Author

image
version 2.9.3 also results in a blank screen
❯ spicetify -v
2.9.3
❯ spotify --version
spotify: /usr/lib/libcurl-gnutls.so.4: no version information available (required by spotify)
Spotify version 1.1.80.699.gc3dac750, Copyright (c) 2022, Spotify Ltd
EDIT: tried 2.92 as well same result

Remove backup folder and try again

image
clearing backup also does not fix the issue

@nils-kt
Copy link

nils-kt commented Apr 23, 2022

@ririxidev Snapcraft -> latest/edge -> 1.1.83.954.gd226dfe8

@nils-kt
Copy link

nils-kt commented Apr 23, 2022

I know. But it's maybe a workaround.

@theRealPadster
Copy link
Member

I'm working on a "spotify-edge" AUR package. Stay tuned.

@theRealPadster
Copy link
Member

@nils-kt
Copy link

nils-kt commented Apr 24, 2022

@theRealPadster I don't need it, I'm a Windows user. πŸ˜…

@theRealPadster
Copy link
Member

@theRealPadster I don't need it, I'm a Windows user. πŸ˜…

Oh lol, well I'm gonna use it myself regardless

@Celibistrial
Copy link
Author

Celibistrial commented Apr 24, 2022

does the spotify-edge package work with spicetify?

just tried it out with spicetify version 2.9.3 and the dev version all result in a blank screen

@rxri
Copy link
Member

rxri commented Apr 24, 2022

There already is spotify-snapstore package that actually installs spotify from snap file so I guess spotify-edge isn't necessarry since it does the same like yours. @theRealPadster

@theRealPadster
Copy link
Member

theRealPadster commented Apr 24, 2022

does the spotify-edge package work with spicetify?

Yes. I tested it when I was setting it up.

There already is spotify-snapstore package that actually installs spotify from snap file so I guess spotify-edge isn't necessarry since it does the same like yours. @theRealPadster

Wow, somehow I missed it when searching initially πŸ™ƒ

@Celibistrial
Copy link
Author

Celibistrial commented Apr 25, 2022

does the spotify-edge package work with spicetify?

Yes. I tested it when I was setting it up.

which version of spicetify did u use?

@theRealPadster
Copy link
Member

theRealPadster commented Apr 25, 2022

which version of spicetify did u use?

I believe it was 2.9.6 when I tried it.

@jkmpariab
Copy link

jkmpariab commented Apr 26, 2022

I'm using spotify flatpak and there is no 1.1.83 atm (update: finally got the 1.1.83+ upgrade and it works now)
Current spotify version on flatpak is 1.1.80.699.gc3dac750
I have no idea if there is a edge/beta package on flatpak (now checking flatpak cli and don't see any flag or command to specify installing from edge/beta channel)
BTW i hate snap and that's why i'm using flatpak

@TheLyricalSystem
Copy link

Having the same issue, latest Spotify as of writing, spicetify version 2.9.8
Latest MacOS

@AntServiceApps
Copy link

Since a few days I also had a blank screen on windows. Decided to reinstall both and yeah it works. It sucks that you have to download all your playlists & update settings all over again but for some reason it just works.

@itsmeow
Copy link
Member

itsmeow commented Apr 29, 2022

Since a few days I also had a blank screen on windows. Decided to reinstall both and yeah it works. It sucks that you have to download all your playlists & update settings all over again but for some reason it just works.

You probably just needed to force your Spotify to update.

@erdemozdemir98
Copy link

Same issue here. I'm using the latest spotify version from AUR (1.1.84) with spicetify 2.9.8. I tried removing Backup folder, reinstalling spotify and running spicetify backup apply and it didn't work.

This was referenced May 5, 2022
@Celibistrial
Copy link
Author

which version of spicetify did u use?

I believe it was 2.9.6 when I tried it.

just tried it out with 2.9.6 and still a blank screen (I did clear the backup folder)

@TheLyricalSystem
Copy link

which version of spicetify did u use?

I believe it was 2.9.6 when I tried it.

just tried it out with 2.9.6 and still a blank screen (I did clear the backup folder)

Update, latest is 2.9.8

@Celibistrial
Copy link
Author

which version of spicetify did u use?

I believe it was 2.9.6 when I tried it.

just tried it out with 2.9.6 and still a blank screen (I did clear the backup folder)

Update, latest is 2.9.8

still a blank screen

@rernars
Copy link

rernars commented May 7, 2022

v2.9.8 blank screen

@leon-sm
Copy link

leon-sm commented May 13, 2022

Why is this closed? Spotify 1.1.85.895.g2a71e1b8 and v2.9.8 and still having a blank screen when loading any theme

@TheLyricalSystem
Copy link

TheLyricalSystem commented May 13, 2022 via email

@rxri rxri unpinned this issue May 15, 2022
@apprehensions
Copy link
Contributor

i am on 1.1.84.716.gc5f8b819 and spicetify 2.9.8, this issue still occurs

@TheLastZombie
Copy link

TheLastZombie commented May 27, 2022

Still happens with 2.10.1 (with 1.1.84.716.gc5f8b819). See #1729

@apprehensions
Copy link
Contributor

ayo calamus wtf u doing here

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

No branches or pull requests