Blank screen on Linux
🔍 Have you checked Spicetify.app page for your issue?
- [X] I have checked the FAQ
🔍 Is there already an issue for your problem?
- [X] 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

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.
If I connect via remote debugging (spotify --remote-debugging-port=9222), I can see this in the console:

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: https://github.com/spicetify/spicetify-cli/compare/v2.9.3...v2.9.4, so if it was working in 2.9.3, probably the new menu hook broke it?

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
I can confirm this appears to be the source of the issue. I bisected and found that the issue arose starting in commit a93d83369ae1aafb5a56886927707cff332ad839, a commit which is part of v2.9.2.
Is it possible to have the apply.go file detect the Spotify version? Or does the regex need to be backwards compatible?
@itsmeow
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
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.
same issue on Deepin(rolling)
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.

Same on Windows with version 1.1.83.956.gbe7ea9a7
Had the same issue, but manually getting the Spotify .deb helped (https://github.com/spicetify/spicetify-cli/issues/1577#issuecomment-1098920889).
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?
@irls-svg @nils-kt See #1598 / fix #1600
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.
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.
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
@Celibistrial update your Spotify to 1.1.83.
@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)
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
clearing backup also does not fix the issue
Is there a deb file for 1.1.83? I thought that version only had a snap package? I was considering making an AUR package that fanagles the snap package into an arch package when I get the time actually.