-
-
Notifications
You must be signed in to change notification settings - Fork 733
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
Running waybar via Hyprland exec-once doesn't work upon first try after startup #3884
Comments
After compiling from source and running that version of waybar I was unable to reproduce the issue. Neither the current master nor the tag 0.11.0 experience the same problem. At first I suspected that 92242f0 fixed the issue already, but since it also doesnt occur with a self-compiled version 0.11.0 this doesnt seem to be the case. |
The plot is thickening: I have pulled the the waybar package repo (https://gitlab.archlinux.org/archlinux/packaging/packages/waybar) and built the package from the PKGBUILD, which should give me the same binary as the one installed via pacman, but the issue disappears when using the custom build. I disabled the So I guess this is an issue with the package and not inherent to waybar? Feel free to close the issue if you don't want to investigate further. |
same here, and this is happening not only on hyprland |
I performed a backtrace on one of the coredumps and this is the result:
@TAforever In the gitlab issue they asked for a stacktrace with debug symbols enabled. If you want feel free to copy this one and post it over there too. I don't have an account and don't feel like bothering with sending them an email to make one. |
Hi everyone 👋 Arch Linux package maintainer for the waybar package here.
@Lauchmelder23 Thanks a lot for the investigation. Just to make things clear, the above could easily be wrong. It all depends on how you built the package & what tooling you used. To quote our bug wrangler from the related ticket opened on the Arch side: "Official Arch package are built in a clean chroot with very specific *FLAGS, when it comes to intermittent / "hard to repro" issues like this, the details matter!" I might be wrong obviously, but that still looks like an upstream issue to me (rather than a packaging one). We do agree however that 92242f0 should most likely fix the issue. I backported that commit into the waybar Thanks in advance :) |
@Antiz96 The backport appears to fix the issue for me :) Several restarts and the waybar hasn't failed once. Occasionally it takes noticeably longer to load (up to 1 second after the wallpapers are loaded), which I assume was the case where it previously would have crashed. Thank you for the swift action, hope to see 0.11.0-6 in extra soon |
When adding
exec-once = waybar
to the systemshyprland.conf
, the waybar fails to start properly. Most of the times it doesn't start at all, sometimes it starts but with some of the plugins disabled (namely the workspace plugin). However, if one ends the Hyprland session and starts it again (without rebooting) the waybar starts properly. This only happens after the first Hyprland initialisation after boot.For debugging I wrote waybar's output to a log file (
exec-once = (waybar > ~/waybar.log 2>&1)
), which resulted in:To me this seems like waybar is hard crashing without even generating an error message. Sadly I don't have a log for the case where waybar partially starts, as that case is very rare. I have witnessed this issue on two separate machines running Arch + Hyprland.
System info
OS: Arch Linux x86_64
Kernel: 6.12.8-arch1-1
Window Manager: Hyprland
Package versions
Hyprland: 0.46.2-5
waybar: 0.11.0-5
The text was updated successfully, but these errors were encountered: