Cider-2 icon indicating copy to clipboard operation
Cider-2 copied to clipboard

Cider 3.1.x unable to start GUI - Linux Fedora 42 - Wayland

Open EvianMcKeown opened this issue 3 months ago • 37 comments

Preflight Checklist

  • [x] I agree to follow the Code of Conduct that this project adheres to.
  • [x] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • [x] I have confirmed that no support FAQ resolves my issue.
  • [x] I have checked that the correct behavior occurs on Apple Music Web (if applicable).
  • [x] I have verified that my issue is with a supported version and that it is with the desktop app (Support for other areas can be found in our Discord / on the appropriate repo).

How did you download Cider?

Taproom

App Information

3.1.1

Operating System

Linux

OS Version

Fedora 42

How would you describe your issue?

Backend (macOS/Linux), Frontend

Commit Hash

No response

Describe the Bug

After update to 3.1.0, Cider is unable to start the GUI on Wayland at all — no window opens.

[10426:0826/194339.290563:ERROR:content/browser/browser_main_loop.cc:278] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed and, [10426:0826/194339.844854:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139 seem to be the relevant logs.

I tried to run Cider on my intel-igpu and my nvidia gpu, with the exact same issue.

Steps to Reproduce

Prerequisites: Wayland session.

  • Run Cider from terminal or GUI.

Anything else?

@fedora:~$ Cider [@ciderapp/genten] Booting in production mode HELLOOOOOOO!)(#@!)@!(@)!@)!)@! [@ciderapp/genten] Updated client options with new defaults [@ciderapp/genten] Using default hardware acceleration [@ciderapp/genten] Loaded module: cli [@ciderapp/genten] Loaded module: protocol [@ciderapp/genten] Loaded module: electron-tweaks [@ciderapp/izanami][boot] Checking for update file... [@ciderapp/izanami][checkForIzUpdate] Manifest found, checking version {"client_version":310,"version":"3.1.1"} [@ciderapp/izanami][boot] Found update file, booting from Update... HELLOOOOOOO!)(#@!)@!(@)!@)!)@! [@ciderapp/izanami][boot] Booting Izanami... {"framework":"genten","version":310,"CLIENT_INFO":{"paths":{"appData":"/home/username/.config/sh.cider.genten","executable":"/usr/lib/Cider/Cider","resourcePath":"/usr/lib/Cider/resources","spaZip":"/home/username/.config/sh.cider.genten/update.cup","spaZipSig":"/home/username/.config/sh.cider.genten/update.sig","spaUnpacked":"/usr/lib/Cider/resources/spa","app":{"downloads":"/home/username/.config/sh.cider.genten/downloads","modules":"/home/username/.config/sh.cider.genten/modules","plugins":"/home/username/.config/sh.cider.genten/plugins","themes":"/home/username/.config/sh.cider.genten/themes"}},"framework":"genten","isProd":true,"capi":"d5cdpnw1sit1cxdhym7ev95i","port":10767}} [@ciderapp/izanami][startWS] Starting WS server... [@ciderapp/izanami][Server] Starting server... [@ciderapp/izanami][config] Loaded config from /home/username/.config/sh.cider.genten/spa-config.yml Failed to fetch config: TypeError: fetch failed at node:internal/deps/undici/undici:13510:13 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async HX (/usr/lib/Cider/resources/app.asar/.vite/build/main-DlBQB2oL.js:251:5665) at async /usr/lib/Cider/resources/app.asar/.vite/build/init-De21F3gf.js:1:271 at async Object.t0 [as defineModule] (/usr/lib/Cider/resources/app.asar/.vite/build/main-DlBQB2oL.js:251:6723) { [cause]: Error: connect ECONNREFUSED 127.0.0.1:10767 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 10767 } } [@ciderapp/genten] Loaded module: win-init [@ciderapp/genten] Loaded module: win-http [@ciderapp/genten] Loaded module: win-ipc [@ciderapp/genten] Loaded module: context-menu [@ciderapp/genten] Loaded module: steamdeck [@ciderapp/genten] Loaded module: tray [@ciderapp/genten] Loaded module: menubar [@ciderapp/genten] Loaded module: dock [@ciderapp/genten] Loaded module: xdg [15663:0826/200012.263009:ERROR:content/browser/browser_main_loop.cc:278] Gtk: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed Failed to fetch config: TypeError: fetch failed at node:internal/deps/undici/undici:13510:13 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async HX (/usr/lib/Cider/resources/app.asar/.vite/build/main-DlBQB2oL.js:251:5665) at async /usr/lib/Cider/resources/app.asar/.vite/build/events-CxPol6iw.js:1:643 at async Object.t0 [as defineModule] (/usr/lib/Cider/resources/app.asar/.vite/build/main-DlBQB2oL.js:251:6723) { [cause]: Error: connect ECONNREFUSED 127.0.0.1:10767 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1637:16) { errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 10767 } } Failed to fetch trusted domains from IZ, using defaults. [@ciderapp/genten] Loaded module: win-events [@ciderapp/genten][xdg] Accent color parsed: #3685e3 (node:15663) electron: Failed to load URL: http://127.0.0.1:10767/index.html with error: ERR_CONNECTION_REFUSED (Use Cider --trace-warnings ... to show where the warning was created) (node:15663) electron: Failed to load URL: http://127.0.0.1:10767/index.html with error: ERR_CONNECTION_REFUSED [@ciderapp/izanami][spa] SPA found, serving from zip {"zipPath":"/home/username/.config/sh.cider.genten/update.cup"} [@ciderapp/izanami][updates] Module loaded [@ciderapp/izanami][am-fetch] Module loaded [@ciderapp/izanami][http-in] Module loaded [@ciderapp/izanami][client-settings] Module loaded [@ciderapp/izanami][updates] Module loaded [@ciderapp/izanami][protocol-handler] Module loaded [@ciderapp/izanami][AppleMusicAPI] Module loaded [@ciderapp/izanami][messages] Module loaded [@ciderapp/izanami][MarketplaceAPI] Module loaded [@ciderapp/izanami][playlist-time-machine] Playlist Time Machine module loaded [@ciderapp/izanami][Server] Server started {"port":10767} IZANAMI_READY [@ciderapp/genten] Loaded module: app-init [15663:0826/200012.726226:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139 (node:15663) electron: Failed to load URL: http://127.0.0.1:10767/index.html with error: ERR_CONNECTION_REFUSED [15663:0826/200013.493404:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139 [@ciderapp/izanami][startWS] A client has connected to the private room [@ciderapp/izanami][DiscordRPC] Logging in to Discord RPC [@ciderapp/izanami][DiscordRPC] An error was encountered whilst trying to login. {"error":{"message":"Could not connect to Discord client","code":2}} [15663:0826/200014.248653:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139 [16161:0826/200014.436256:ERROR:ui/base/x/x11_software_bitmap_presenter.cc:150] XGetWindowAttributes failed for window 1 [@ciderapp/izanami][am-fetch] Tokens set

EvianMcKeown avatar Aug 26 '25 18:08 EvianMcKeown

Hello @EvianMcKeown 👋

We really appreciate you taking the time to report this issue! Please double-check your report to ensure your description is clear and concise—this will help us assist you as quickly as possible.

We kindly ask for your patience, and we'll get back to you as soon as we can.

In the meantime, feel free to check out our FAQs, which may have the answer to your question.

Thanks again, and we hope you enjoy the app! 😃

cider-collective[bot] avatar Aug 26 '25 18:08 cider-collective[bot]

Could you try the new 3.1.1 release just uploaded?

This should address this issue.

cryptofyre avatar Aug 26 '25 19:08 cryptofyre

Thanks for the quick reply. As far as I am aware I am already on 3.1.1 (switched to X11 session — where Cider worked fine and it prompted me for the update). Unless you want me to install from the taproom release binary?

EvianMcKeown avatar Aug 26 '25 19:08 EvianMcKeown

Install from the release binary, as this is a newer backend revision.

cryptofyre avatar Aug 26 '25 19:08 cryptofyre

Crashes with log:

[@ciderapp/genten] Booting in production mode
HELLOOOOOOO!)(#@!)@!(*@)!*@)!*)@!
[@ciderapp/genten] Updated client options with new defaults
[@ciderapp/genten] Using default hardware acceleration
[@ciderapp/genten] Loaded module: cli
[@ciderapp/genten] Loaded module: protocol
[@ciderapp/genten] Loaded module: electron-tweaks
[@ciderapp/izanami][boot] Checking for update file... 
[@ciderapp/izanami][checkForIzUpdate] No update zip found, using distributed module. {"expectedPath":"/home/evianmckeown/.config/sh.cider.genten/update.cup"}
[@ciderapp/izanami][boot] Booting Izanami... {"framework":"genten","version":310,"CLIENT_INFO":{"paths":{"appData":"/home/evianmckeown/.config/sh.cider.genten","executable":"/usr/lib/Cider/Cider","resourcePath":"/usr/lib/Cider/resources","spaZip":"/home/evianmckeown/.config/sh.cider.genten/update.cup","spaZipSig":"/home/evianmckeown/.config/sh.cider.genten/update.sig","spaUnpacked":"/usr/lib/Cider/resources/spa","app":{"downloads":"/home/evianmckeown/.config/sh.cider.genten/downloads","modules":"/home/evianmckeown/.config/sh.cider.genten/modules","plugins":"/home/evianmckeown/.config/sh.cider.genten/plugins","themes":"/home/evianmckeown/.config/sh.cider.genten/themes"}},"framework":"genten","isProd":true,"capi":"uv0vcls7yuuu923k7rfpx6gp","port":10767}}
[@ciderapp/izanami][startWS] Starting WS server... 
[@ciderapp/izanami][Server] Starting server... 
[@ciderapp/izanami][config] Loaded config from /home/evianmckeown/.config/sh.cider.genten/spa-config.yml 
[@ciderapp/izanami][spa] IPL module failed to load, serving from builtin SPA {"zipPath":"/home/evianmckeown/.config/sh.cider.genten/update.cup","zipUnpacked":"/usr/lib/Cider/resources/spa"}
[@ciderapp/izanami][updates] Module loaded 
[@ciderapp/izanami][am-fetch] Module loaded 
[@ciderapp/izanami][http-in] Module loaded 
[@ciderapp/izanami][client-settings] Module loaded 
[@ciderapp/izanami][updates] Module loaded 
[@ciderapp/izanami][protocol-handler] Module loaded 
[@ciderapp/izanami][AppleMusicAPI] Module loaded 
[@ciderapp/izanami][messages] Module loaded 
[@ciderapp/izanami][MarketplaceAPI] Module loaded 
[@ciderapp/izanami][playlist-time-machine] Playlist Time Machine module loaded 
[@ciderapp/izanami][Server] Server started {"port":10767}
IZANAMI_READY
[@ciderapp/genten] Loaded module: app-init

(process:26343): Gtk-ERROR **: 21:16:51.116: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
Trace/breakpoint trap (core dumped)

EvianMcKeown avatar Aug 26 '25 19:08 EvianMcKeown

I believe this is something you can fix on your end if I recall.

cryptofyre avatar Aug 26 '25 19:08 cryptofyre

Starts using Cider --gtk-version=3. Thanks for the help!

Is this primarily an issue with my system (so I should edit my .desktop file) or something that can be fixed from your end?

EvianMcKeown avatar Aug 26 '25 19:08 EvianMcKeown

Having the same issue on Arch Linux using the Cider repo on pacman. Cider --gtk-version=3 does not help but ELECTRON_OZONE_PLATFORM_HINT="x11" cider does. I installed the update mentioned

matteodev8 avatar Sep 02 '25 18:09 matteodev8

Same(-ish) issue for me

Log
[@ciderapp/genten] Booting in production mode
HELLOOOOOOO!)(#@!)@!(*@)!*@)!*)@!
[@ciderapp/genten] Updated client options with new defaults
[@ciderapp/genten] Using default hardware acceleration
[@ciderapp/genten] Loaded module: cli
[@ciderapp/genten] Loaded module: protocol
[@ciderapp/genten] Loaded module: electron-tweaks
[@ciderapp/izanami][boot] Checking for update file...
[@ciderapp/izanami][checkForIzUpdate] No update zip found, using distributed module. {"expectedPath":"/home/lynx/.config/sh.cider.genten/update.cup"}
[@ciderapp/izanami][boot] Booting Izanami... {"framework":"genten","version":310,"CLIENT_INFO":{"paths":{"appData":"/home/lynx/.config/sh.cider.genten","executable":"/usr/lib/cider/Cider","resourcePath":"/usr/lib/cider/resources","spaZip":"/home/lynx/.config/sh.cider.genten/update.cup","spaZipSig":"/home/lynx/.config/sh.cider.genten/update.sig","spaUnpacked":"/usr/lib/cider/resources/spa","app":{"downloads":"/home/lynx/.config/sh.cider.genten/downloads","modules":"/home/lynx/.config/sh.cider.genten/modules","plugins":"/home/lynx/.config/sh.cider.genten/plugins","themes":"/home/lynx/.config/sh.cider.genten/themes"}},"framework":"genten","isProd":true,"capi":"zoe97ll12p9gn411212knmk5","port":10767}}
[@ciderapp/izanami][startWS] Starting WS server...
[@ciderapp/izanami][Server] Starting server...
[@ciderapp/izanami][config] Loaded config from /home/lynx/.config/sh.cider.genten/spa-config.yml
[@ciderapp/izanami][spa] IPL module failed to load, serving from builtin SPA {"zipPath":"/home/lynx/.config/sh.cider.genten/update.cup","zipUnpacked":"/usr/lib/cider/resources/spa"}
[@ciderapp/izanami][updates] Module loaded
[@ciderapp/izanami][am-fetch] Module loaded
[@ciderapp/izanami][http-in] Module loaded
[@ciderapp/izanami][client-settings] Module loaded
[@ciderapp/izanami][updates] Module loaded
[@ciderapp/izanami][protocol-handler] Module loaded
[@ciderapp/izanami][AppleMusicAPI] Module loaded
[@ciderapp/izanami][messages] Module loaded
[@ciderapp/izanami][MarketplaceAPI] Module loaded
[@ciderapp/izanami][playlist-time-machine] Playlist Time Machine module loaded
[@ciderapp/izanami][Server] Server started {"port":10767}
IZANAMI_READY
[@ciderapp/genten] Loaded module: app-init

OS: EndeavourOS (Arch-based), Plasma, Wayland

Tried all the possible fixes from this thread, version from the taproom, and version from the Cider repo for arch, no luck, the app always stucks with the [@ciderapp/genten] Loaded module: app-init

4ndv avatar Sep 08 '25 07:09 4ndv

Hello again!

We've noticed that you haven't replied in a while. Unfortunately, our team isn't always able to address issues as quickly as we'd like. To help us assist you more efficiently, please provide the following information:

  1. Ensure your client is as up-to-date as possible. You can do this by using the experimental release on Taproom (if available) and the PTB release through the in-app updater.
  2. Let us know if the issue is still present. If it is, please provide the version you're using and mention any changes you've noticed since reporting the issue.

This information will help us identify whether the issue has already been resolved.

Please try to update us within the next 20 days; otherwise, we will close this issue.

Thanks for your help! :smiley:

cider-collective[bot] avatar Sep 19 '25 05:09 cider-collective[bot]

Still present for me

4ndv avatar Sep 19 '25 05:09 4ndv

The Cider version on the fedora repository seems to be an old (pre-fix) version as the issue persists (unable to start on wayland even with '--gtk-version=3'), but it works when I install the rpm file manually.

EvianMcKeown avatar Sep 19 '25 13:09 EvianMcKeown

Still broken for me on Arch

matteodev8 avatar Sep 21 '25 14:09 matteodev8

Hello again!

We've noticed that you haven't replied in a while. Unfortunately, our team isn't always able to address issues as quickly as we'd like. To help us assist you more efficiently, please provide the following information:

  1. Ensure your client is as up-to-date as possible. You can do this by using the experimental release on Taproom (if available) and the PTB release through the in-app updater.
  2. Let us know if the issue is still present. If it is, please provide the version you're using and mention any changes you've noticed since reporting the issue.

This information will help us identify whether the issue has already been resolved.

Please try to update us within the next 20 days; otherwise, we will close this issue.

Thanks for your help! :smiley:

cider-collective[bot] avatar Oct 02 '25 05:10 cider-collective[bot]

The issue is still present, no changes, same version

4ndv avatar Oct 02 '25 06:10 4ndv

Issue is still present for me, OpenSUSE Tumbleweed

Gingerglaahk avatar Oct 02 '25 15:10 Gingerglaahk

Even after countless system updates and the latest Cider version, it still won't show the GUI on Wayland.

[41274:1003/204856.396736:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139
[41274:1003/204856.941834:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139
[41274:1003/204857.474227:ERROR:content/browser/gpu/gpu_process_host.cc:957] GPU process exited unexpectedly: exit_code=139
[41994:1003/204857.535793:ERROR:ui/base/x/x11_software_bitmap_presenter.cc:150] XGetWindowAttributes failed for window 1

matteodev8 avatar Oct 03 '25 18:10 matteodev8

I'm not sure what's causing this error at all and it seems more like a debate between Chromium and Wayland.

Gotta love not having a stable ABI to work with to render a basic window 🙃

cryptofyre avatar Oct 03 '25 20:10 cryptofyre

Same(-ish) issue for me Log

OS: EndeavourOS (Arch-based), Plasma, Wayland

Tried all the possible fixes from this thread, version from the taproom, and version from the Cider repo for arch, no luck, the app always stucks with the [@ciderapp/genten] Loaded module: app-init

Not sure what exactly has changed, but one of my machines started working. Packages versions are the same (at least plasma-desktop, wayland, wayland-protocols, vulkan-headers), but one of the machines is NVIDIA (working) and another is Intel (not working)

4ndv avatar Oct 04 '25 09:10 4ndv

Same(-ish) issue for me Log OS: EndeavourOS (Arch-based), Plasma, Wayland Tried all the possible fixes from this thread, version from the taproom, and version from the Cider repo for arch, no luck, the app always stucks with the [@ciderapp/genten] Loaded module: app-init

Not sure what exactly has changed, but one of my machines started working. Packages versions are the same (at least plasma-desktop, wayland, wayland-protocols, vulkan-headers), but one of the machines is NVIDIA (working) and another is Intel (not working)

And now it's fixed on another, looks like I needed to be more patient and wait for ~5 minutes for the first start

4ndv avatar Oct 04 '25 09:10 4ndv

Huh... Well that just makes this even more confusing lol.

cryptofyre avatar Oct 04 '25 13:10 cryptofyre

Huh... Well that just makes this even more confusing lol.

Looks like my issue was a separate from the one in this thread, because for me there wasn't any errors, only an app took really long time to launch for the first time

4ndv avatar Oct 04 '25 13:10 4ndv

Any updates on this issue?

Gingerglaahk avatar Oct 12 '25 14:10 Gingerglaahk

I can't reproduce this whatsoever, so I genuinely wouldn't even know where to start.

cryptofyre avatar Oct 12 '25 22:10 cryptofyre

Steps to reproduce:

  1. Install Fedora/OpenSUSE Tumbleweed. Should replicate on Ubuntu 24.10/25.04/25.10 as well since they have Wayland be default, with Ubuntu 24.04 LTS you need additional setup for Wayland)
  2. Start Wayland session (from login screen, bottom left corner)
  3. Make sure it's Wayland
  4. Install Cider
  5. Run Cider from terminal using Cider --ozone-platform-hint=auto or Cider --ozone-platform=wayland or add it to the application shortcut using the launcher (it's different between KDE and Gnome but same concept - add argument to force it to run on Wayland and not xWayland). I suggest from terminal since if you run from the application launcher it just doesn't launch and from terminal it least you can see errors and that something is happening.
  6. Running xlsclients -l in another terminal to make sure it's not running on xWayland. If Cider is in the output of that command it's not "pure" Wayland but running through xWayland compatibility layer.

Running cider without the ozone platform flag will allow it to run using xWayland or X11 which is not the desired state.

@cryptofyre hope this helps! lmk if there's anything more I can do

Gingerglaahk avatar Oct 14 '25 13:10 Gingerglaahk

What about arch distro with hyperland. The app still doesn't work.

serlismaldonado avatar Oct 17 '25 17:10 serlismaldonado

Is this with the fix above as well?

cryptofyre avatar Oct 17 '25 18:10 cryptofyre

The above fixes are simply workarounds - forcing the app to launch in x11 which is slowly being deprecated across various Linux distros. Using x11 when your whole system is on Wayland is a downgrade of user experience and security.

Gingerglaahk avatar Oct 17 '25 18:10 Gingerglaahk

Respectively X11 is not going anywhere lol

cryptofyre avatar Oct 17 '25 18:10 cryptofyre

Wayland barely has much in terms of stability and their ABI changes every single day making it a developmental nightmare (here is a great example).

We do commit the check automatically which is clearly failing because WM/DE's are not properly triggering the switch to use Wayland (or Chromium is lacking confidence in its support.)

This makes it very difficult to try and fix without further insight.

cryptofyre avatar Oct 17 '25 18:10 cryptofyre