getsolus / packages

Solus Package Monorepo & Issue Tracker
64 stars 84 forks source link

Mailspring broken (T10275) #134

Closed celticmagic closed 6 months ago

celticmagic commented 1 year ago
Felipe Aldrete (#raenk), 2022-06-01 16:06:37 UTC

Version mailspring-1.10.3-41-1-x86_64.eopkg won't open. Had to downgrade to previous version.
celticmagic commented 1 year ago
Thomas Staudinger (#Staudey), 2022-06-01 16:56:45 UTC

Hmm, I could get it to work by passing the `--disable-gpu` argument, so it might be related to this fix: https://github.com/Foundry376/Mailspring/commit/a476c230890001ffb11be65e6071bc8985a8ad42 That is, if we're talking about the same issue. In my case I couldn't click through the "Getting Started" screens, because either the buttons wouldn't do anything, or I'd end up on a screen with a spinning "loading wheel" and no progress.
celticmagic commented 1 year ago
Felipe Aldrete (#raenk), 2022-06-02 00:21:25 UTC

I don't have the exact errors (log) right now as I have downgraded it. But, executing it from CLI, I do remember a bunch of complaints regarding GPU. In my case, the app simply didn't show. It does execute because the tray icon is there, although not visible (empty space). But I can right click on it and get the options and can quit it from there. So, the only way is to execute it with that flag?
celticmagic commented 1 year ago
brent webster (#brent), 2022-06-03 00:39:39 UTC

can confirm what raenk said. complete blackout when I auditioned email clients this week. terminal threw a lot of errors. launches from menu black, launches from terminal black. unusable. so uninstalled. if bypass works then disregard, I only posted to say I could replicate OP's problem.
celticmagic commented 1 year ago
Bruce Hankins (#brucehankins), 2022-06-04 13:18:59 UTC

Mailspring 1.10.3-41 has no issues on my laptop. What hardware are you using?
celticmagic commented 1 year ago
brent webster (#brent), 2022-06-04 15:45:41 UTC

#brucehankins older intel quad core with mt 430 and MSI board. First thing I thought of every time blank, black Mailspring launched unusable was "theming." (Qogir Darl and Korla on Budgie). I wonder if #raenk shares any of these similar variables?
celticmagic commented 1 year ago
Bruce Hankins (#brucehankins), 2022-06-04 18:03:47 UTC

Okay, tested against Lenovo w/newer AMD, 2014 dual core Intel/HP, and 7th gen Intel/Nvidia combo. Mailspring runs fine on all my configurations. Themes Orchis Dark/Solus Dark/Sweet/Beauty line icons on plasma, Orchis Dark/Korla on budgie, and arc darker/Korla on budgie.
celticmagic commented 1 year ago
brent webster (#brent), 2022-06-04 19:29:37 UTC

bruce, I may have auditioned mailspring before the last 2 updates. so trying it again in realtime. ``` ``` ``` $ mailspring Running database migrations App load time: 271ms [7184:0604/121205.745219:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is angle, ANGLE is Running Setup {"error":null} Manual update check (updates.getmailspring.com/check/linux/x64/1.10.3-a476c230/anonymous/stable) returned 503 Error Downloading Update: Unexpected end of JSON input ``` ``` Pretty harmless output. It's launched. I have the Welcome to Mailspring greeting. Hitting the "getting started" button, drum roll, wow, actually got another window for the first time "Compose with Context." Hitting Next: more tutorial. Next: Window with white screen and spinning ball. {F9650537} --i've returned to this dispatch after 5 minutes. Still spinning (see attached?). Other factors I did not mention via neofetch: nvidia 390's and Intel I5. The updates (to the 390s?) fixed something. I went three slides in this time. Will defer to OP and hopefully he/she chimes in. I moved on. Will keep it installed a while if you need me to test/try anything--will gladly help.
celticmagic commented 1 year ago
Felipe Aldrete (#raenk), 2022-06-07 16:13:23 UTC

I have this issue in at least a couple of machines. These are the specs of one of them: ``` AMD FX(tm)-6300 Six-Core Processor 16 GB RAM GT218 [GeForce 210] ``` I don't have the other one at hand, but is older hardware (Intel Core 2 Duo and 4GB I believe, not sure about graphics, but should be nvidia old card).
celticmagic commented 1 year ago
Joey Riches (#joebonrichie), 2022-08-16 14:37:09 UTC

Is this still an issue? Probably a bug between electron / mesa / driver combinations. We can update mesa to the latest version and/or hope a newer electron version solves the issue.
celticmagic commented 1 year ago
brent webster (#brent), 2022-08-16 15:36:23 UTC

can't speak for others but non-issue for me. couldn't get it to work and moved on. did not try any further than the output above*
celticmagic commented 1 year ago
Reilly Brogan (#ReillyBrogan), 2022-08-19 18:14:37 UTC

This might be fixed by D13483 which updates the version of Electron used by Mailspring. I also undid some graphics library linking that the package was doing which none of our other Electron packages were doing (I couldn't find anything about why it was doing that in the first place, and the person who made that change no longer seems to contribute to Solus). Hopefully one or both of these helps with the issue, but I will say that as far as I can tell Mailspring is doing something custom/funky with GPU init which could also be the culprit. BTW with the current version after starting mailspring and seeing nothing show up does running `killall mailspring` in a terminal and then restarting it help? You may need to do this a couple of times until it launches.
Justinzobel commented 9 months ago

Gets past the intro screen for me on current version. @ReillyBrogan can you confirm?

ermo commented 6 months ago

Gets past the intro screen for me on current version. @ReillyBrogan can you confirm?

I can. Closing.