-
-
Notifications
You must be signed in to change notification settings - Fork 748
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Start time of 25 seconds #1266
Comments
Sway-Debug Log:
|
I am experiencing the same for the last week(s) but only on initial boot. When closing/opening after initial startup it is normal speed again. Initial boot
When stopping and starting:
Something is going wrong in the display detection? |
Facing the same issue. kernel: 5.14.8-arch1-1
|
Same issue here, with sway-master and wlroots-master. I can't reproduce this when running a nested sway -- only the "real" sway seems to reproduce this. |
Today i saw some "gnome-keyring" and "xdg-desktop-portal-wlr" errors in
I have decided to delete the following packages
No more errors so far! Everything works as expected! |
Good call, removing xdg-desktop-portal-gtk and gnome-keyring fixed it for me as well. |
Odd. Any idea how either of these interplay with waybar?
I use both applications, so not looking forward to just uninstalling them.
|
Same issue here. First start of waybar takes 20 seconds:
Basically, all hanging is before 'Output detection done'. I don't have either xdg-desktop-portal-gtk or gnome-keyring installed, so removing them is not an option. Also doesn't seem that I have any errors regarding xdg-desktop-portal. |
FWIW, removing |
Personnaly, I need an instance of Can confirm that having |
Ok guys, for me it was |
Just tried with Regardless of beeing installed side by side with |
Similar issue here as @ordy - would like to use Can I run a debug build to capture some data that might help find the source of the startup delay? |
It seems this is caused when you have multiple portals running at the same time. What I had to do to fix this was disable portals that are not relevant to my desktop. As a sway user, I only care about
I did not have |
I need the wlr portals for screencasting, but use the gtk one for some gtk functionality on Flatpak apps.
While the workaround works, it's not practical in my setup.
|
I have gnome-keyring, xdg-desktop-portal and xdg-desktop-portal-wlr, and I use them all actively. I can't just uninstall them 😕 This is a huge pain in the ass, because since the tray is not available when my other applications start, they all start without tray icons. This is especially frustrating with Dropbox. |
It started up fine for me after I masked thunar.service
But damn, what a debug session :D |
@cst152 Are you sure? Have you rebooted and started everything from scratch to verify? I don't even have thunar installed 🙁 |
Rebooted twice and it's working flawlessly. Seems like you have something else that causes a timeout, though. Nothing to mask if there is no thunar installed. |
I've figured this out now too. Looks like it was blocking on startup retries of the tl;dr: Replacing pulseaudio with pipewire resolved the issue for me on ArchLinux This is how I figured it out, hopefully it'll help someone else dig into other variations.
And now waybar starts immediately. |
Odd, I'm using pipewire and don't have pulseaudio installed. I also don't see any errors in logs for any services.
It sounds like all of us have different issues with the same symptom.
|
@jinnko I have had Pipewire completely replacing PulseAudio before I had this issue, so I do not think that that is the only solution, but I'm sure it may help others. Also, since my original comment on how disabling |
@WhyNotHugo - have you checked whether there any other failing user services?
@0xC0ncord - indeed, it's evident from discussion so far that there's a variety of causes, hence why I detailed my debugging process in the hope it'll help someone else find their own local variations. |
I have no failing services.
|
Running My dear thunar service did start eventually but took a long time starting. |
Huh, masking thunar.service didn't work on my other machine. Very niche solution then... |
I thought the file manager API might be involved, especially since there's been mentions of both It seems that GTK tries to communicate with the In my case, there's a timeout after a short while. Manually pinging the I ran the
Related to this: I've noticed that when running I'm honestly starting to suspect that gtk might be unfit for session-level components like waybar. |
Looks like this: flatpak/xdg-desktop-portal#636 |
Can confirm. Uninstalling nemo made it work for my other machine. |
Huh, greetd+gtkgreet show a warning that Seems that it's also related to this: any GTK app will try to run the portal, and, subsequently, a file manager. |
I can also confirm this bug and could also solve the problem by uninstalling gnome-keyring & xdg-desktop-portal-gtk |
At least on my system, this has been fixed in v1:40.0-1.1 of gnome-keyring. |
I fully updated my Arch system today, including gnome-keyring v1:40.0-1, and Waybar is still taking 10+ seconds to launch. |
I have exactly problem when suddenly After for a while I remove Any idea why |
I observe that installing |
What worked for me was removing |
Waybar is no longer starting slowly for me. I assume the previously mentioned fix for xdg-desktop-portal has been released 🙂 |
I still have the issue. I'm using the default sway config and changed:
My debug log shows the following:
As far as I can understand, anything I notice the issue pretty much all the time, and can get rid of it when I reduce the CPU load on start up. I'm using 100% CPU for a few seconds every time sway starts up, and that seems to trigger a race condition. Could this be a general sway issue? Everything should work with the recommended sway setup in the wiki, right? |
Having the exact same issue on |
I stumbled upon this issue with my i3 setup, too. I finally figured it out, though I can't explain why it works. I singled out the cause to setting the env var Before: Now all my issues concerning startup delay have disappeared, for both my i3 and sway setups. It's a very specific fix, I don't know if it'll help anyone else. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Starting Waybar under Sway takes about 25 seconds. After that everything works fine.
The text was updated successfully, but these errors were encountered: