sway
sway copied to clipboard
Random freezing
Hello! I have trouble with random freezing on sway. It independent on load or other reasons so it's hard to reproduce.
My sway version - 1.0 There is my log : https://pastebin.com/29jeTuWx There is my config: https://pastebin.com/xhEfFHV4 Video driver: nouveau Os: Arch Linux
Hope for help.
The debug log makes it looks like sway might be crashing, but not returning you to a tty. Are you using systemd or did you setup a different init system?
I use systemd and run sway with sddm. Running with "sway" from TTY gives the same result.
Since you are using systemd, sway should return you to a gettty/dm on a segfault. I guess there is no harm in checking coredumpctl gdb sway
anyway.
Since you seem to be able to reproduce, is the following line (ignoring timestamp and pid) always the last line that sway itself logs?
2019-06-01 00:25:40 - [sway/tree/root.c:270] Recording workspace for process 11250
There is a sway's dump https://pastebin.com/Txn4FCD3. I checked about "Recording workspace for process 11250" and find these strings only 2 times and it had been around freeze.
Timestamp: Sun 2019-05-19 22:49:44 UTC (1 weeks 6 days ago)
Unfortunately, that dump is probably not related to this issue
There is one more log: https://pastebin.com/vy09zvYF
This could be #4178, this log stops at applying transaction as well.
I have checked log one more time and didn't found anythings related to transactions.
EDIT: please ignore this comment, happened also under Gnome/Xorg.
Hi, I have the same problem. It happens always ~1-10 mins after starting sway. The screen freezes and the sound runs in a 2-3 sec loop. Also I can't reach any ttys.
sway version: 1.1.1-3 logs: https://pastebin.com/trCMMhHU --- https://pastebin.com/xzKBfnZz video driver: mesa 19.1.3-1 os: Arch Linux, kernel 5.2.3 systemd version: 242.84-1
hope this helps. If you need more information or anything else, I would gladly help.
I have the same problem. (I'll add logs and more info after my vacation).
Sorry, please ignore my earlier comment, after some hours it also happened to me with Gnome on Xorg. In my case it is apparently not related to sway.
It's also happening to me on Arch, very randomly when I'm just busy doing normal work.
Take a look at your kernel logs. It may be a GPU reset, which is basically a way to say your GPU crashed. Sometimes it can recover from this, but your session is still well and truly broken when this happens.
If it does turn out that this is the problem, there isn't really anything we can do to fix it though. It would be a driver or hardware issue.
-> driver if hardware issue In that case it must happens on another WM. But on awesome WM, for example - everything is fine.
In that case it must happens on another WM. But on awesome WM, for example - everything is fine.
No. wlroots doesn't use the driver in the same way as xorg-xserver. wlroots may trigger a bug xorg-xserver doesn't trigger.
Happening to me as well, 3-4 times in 2h while doing nothing speciall. Everything freezes and I have to phisically hard reboot. It's a fresh Arch install, everything as you may imagine, up to date. Did not get any of this with i3-gaps
Don't happening after swtich video card to raredon
Happening to me as well, 3-4 times in 2h while doing nothing speciall. Everything freezes and I have to phisically hard reboot. It's a fresh Arch install, everything as you may imagine, up to date. Did not get any of this with i3-gaps
Switched back again to i3-gaps, 0 issue, I guess I will try sway in a year.
Same here. I will grab logs on the next happening.
Im having a similar issue, where sway hangs for about a minute and than continues working as if nothing happened.
I can also not switch to TTY2 with Alt+Ctrl+F2 while this is going on.
I have intel integrated graphics.
I have noticed some correlation with heavy computation loads like starting a Java compilation, but often times it happens just during a Teams meeting.
Using Arch with the latest version.
Same here. But I can switch to another tty and kill sway. Also running Arch.