Skip to content
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

No swaybar on startup - appears on reload #1307

Closed
code8buster opened this issue Aug 6, 2017 · 10 comments
Closed

No swaybar on startup - appears on reload #1307

code8buster opened this issue Aug 6, 2017 · 10 comments

Comments

@code8buster
Copy link

code8buster commented Aug 6, 2017

It was working before I updated from Void Linux's musl repository, but now when I start sway I get no bar. I can make it appear when I issue Mod4+Shift+C to reload the config. It's an annoying workaround.

config file:
https://gist.github.com/code8buster/e8cfb0a6e955337174f3e257a98d6708

debug log:
https://gist.github.com/code8buster/15034014b691b8350fc7dca5c2ab297c

info from void's xbps-query:architecture: x86_64-musl
build-date: 2017-07-28 09:48 GMT
conf_files:
/etc/sway/config
/etc/pam.d/swaylock
filename-sha256: 2d43aa0f8cbaa34e7551ac9d672caadf39d8cbfe3df2c8338e39e9a4aa077008
filename-size: 4888KB
homepage: http://swaywm.org
install-date: 2017-08-02 00:17 EDT
installed_size: 5546KB
license: MIT
maintainer: Juan RP [email protected]
metafile-sha256: 05e4369722f4ec8408d11f4a78e6b6a0f61623c26a47dc98d2c870190c3d4dfe
pkgver: sway-0.14.0_1
shlib-requires:
libwayland-client.so.0
libwayland-cursor.so.0
libcairo.so.2
libpangocairo-1.0.so.0
libgobject-2.0.so.0
libgdk_pixbuf-2.0.so.0
libxkbcommon.so.0
libc.so
libwlc.so.0
libpcre.so.1
libjson-c.so.2
libwayland-server.so.0
libinput.so.10
libpango-1.0.so.0
libcap.so.2
libpam.so.0
libdbus-1.so.3
short_desc: i3 compatible window manager for Wayland
source-revisions: sway:8481209780
state: installed

@sk0x1234
Copy link

sk0x1234 commented Aug 9, 2017

working nicely in my machine!

@ddevault
Copy link
Contributor

ddevault commented Aug 9, 2017

Another issue that's probably musl related: #1305

We need a volunteer to maintain musl support.

@helaan
Copy link

helaan commented Aug 9, 2017

I have the same symptoms, upgraded from v0.13.0 to v0.14.0 and my bar only shows after a reload. I'm running Gentoo on a default/linux/amd64/13.0/desktop profile, which uses glibc.

Edit: logs, sway config and portage info: https://gist.github.com/helaan/6556a38930d0660dbcea5a82f0090b4d

@code8buster
Copy link
Author

I can try getting more info with gdb. I'm just not sure how I should go about that since I don't develop software. I'll learn everything required to get you the data you will need.

@helaan
Copy link

helaan commented Aug 12, 2017

I performed a git-bisect using wlc 0.0.10 from the repos, system-sway removed and -Wall removed from the CFLAGS to "fix" compilation.

843ad38 was found guilty. Unfortunately it is quite a large commit and reverting it is not a feasible solution.

@helaan
Copy link

helaan commented Aug 12, 2017

DING! Found out why this issue occurs and why this commit is significant. The code in this commit expects dbus to be running when starting sway. On our devices, this is not the case, as indicated by the "Connection is null, cannot initiate StatusNotifierWatcher" error message. Users of logind/systemd already have dbus running, but because Void and Gentoo use runit and openrc respectively, this was not the case here. A fix can be found on the Sway Wiki and I can confirm it works for me.

@4e554c4c
Copy link
Contributor

@helaan thanks for looking through this. I'm working on a fix.

@4e554c4c
Copy link
Contributor

Please see if #1316 fixes the problem, if not I can make more changes.

@helaan
Copy link

helaan commented Aug 12, 2017

Patch seems to work, at least for me. Can @code8buster also confirm?

@ghost
Copy link

ghost commented Nov 23, 2018

I have this problem on 1/3 of my screens. After reloading my config (Mod4+Shift+C) things work as expected.

Sway is version 1.0-beta.1
Gentoo - default/linux/amd64/17.0/ profile.
dbus is installed with X support.
I launch sway as mentioned on the Sway Wiki without the ck-launch-session part.

Here is my sway config, gentoo system information, and sway debug log my debug files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants