Closed trentonknight closed 3 years ago
Please run Sway from a TTY, and redirect the output to a file:
sway -d >sway.log 2>&1
@emersion thank you for guidance with creating a log. I was at a complete loss. Recently, I have noticed if I use Dmenu once opening sway to run firefox, followed by opening the alacritty terminal, it does not crash. If I start sway and immediately fire off a terminal it will always crash. Here is the portion you normally see at the terminal after which I will include the entire log:
00:00:02.674 [INFO] [xwayland/server.c:92] WAYLAND_SOCKET=24 Xwayland :0 -rootless -terminate -listen 21 -listen 23 -wm 49
(WW) Option "-listen" for file descriptors is deprecated
Please use "-listenfd" instead.
(WW) Option "-listen" for file descriptors is deprecated
Please use "-listenfd" instead.
glamor: No eglstream capable devices found
00:00:02.766 [DEBUG] [types/wlr_surface.c:666] New wlr_surface 0x557c865369b0 (res 0x557c86536d60)
00:00:02.767 [DEBUG] [xwayland/server.c:343] sent SIGUSR1 to process 32369
(EE) failed to read Wayland events: Connection reset by peer
00:00:02.331 [common/ipc-client.c:88] Unable to receive IPC response
date: write error: Broken pipe
Copied the below using wl-clipboard
wl-copy < sway.log
Duplicate of https://github.com/swaywm/sway/issues/6032
00:00:02.767 [DEBUG] [xwayland/server.c:343] sent SIGUSR1 to process 32369
@emersion Wow your good. Thank you. I never would have found that.
Good Day,
I have had a series of IPC client and broken pipe error resulting in sway crashing after opening alacritty terminal or firefox. Sometimes an initial command to Dmenu results in a crash. I have tried with and without GDM enabled and no observable change seems to happen. I am running a new HP OMEN 30L Desktop GT13 with a NVIDIA GeForce RTX 2060. Due to sway issues with Nvidia I am using nouveau modules only as shown below:
Printout from neofetch
I am able to run sway for long periods of time. Possible for days without an issue? Its only once I have performed a reboot and attempt to login using the sway command that it crashes. Normally after a few attempts it seemingly stabilizes.
The below debug is being run from within sway.
I have had the following errors so far. I apologize as some of the error is missing. Any guidance on pulling or creating proper sway or wayland logs would be appreciated:
Although, it was not needed before I did set my output in the sway config due to the above error mentioning my monitor.
Yes, I have xorg-xwayland installed
Unfortunately, this is only one of a few error I have received. I will update this post and append the others. I appreciate any guidance anyone can offer on where to look first. I can run gnome, lxqt and gdm with zero issues or crashes. The following MarkDown file details my build on a HP OMEN 30L:
Please see Arch Linux post regarding this same issue here: