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

Random freezing #4199

Open
Anakael opened this issue May 31, 2019 · 21 comments
Open

Random freezing #4199

Anakael opened this issue May 31, 2019 · 21 comments

Comments

@Anakael
Copy link

Anakael commented May 31, 2019

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.

@RedSoxFan
Copy link
Member

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?

@Anakael
Copy link
Author

Anakael commented Jun 1, 2019

I use systemd and run sway with sddm. Running with "sway" from TTY gives the same result.

@RedSoxFan
Copy link
Member

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

@Anakael
Copy link
Author

Anakael commented Jun 2, 2019

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.

@RedSoxFan
Copy link
Member

Timestamp: Sun 2019-05-19 22:49:44 UTC (1 weeks 6 days ago)

Unfortunately, that dump is probably not related to this issue

@Anakael
Copy link
Author

Anakael commented Jun 2, 2019

There is one more log: https://pastebin.com/vy09zvYF

@Emantor
Copy link
Contributor

Emantor commented Jun 2, 2019

This could be #4178, this log stops at applying transaction as well.

@Anakael
Copy link
Author

Anakael commented Jun 12, 2019

I have checked log one more time and didn't found anythings related to transactions.

@blueStruct
Copy link

blueStruct commented Jul 30, 2019

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.

@twmr
Copy link

twmr commented Jul 30, 2019

I have the same problem. (I'll add logs and more info after my vacation).

@blueStruct
Copy link

blueStruct commented Jul 31, 2019

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.

@BrendanBall
Copy link

It's also happening to me on Arch, very randomly when I'm just busy doing normal work.

@ascent12
Copy link
Member

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.

@Anakael
Copy link
Author

Anakael commented Jan 21, 2020

-> driver if hardware issue
In that case it must happens on another WM. But on awesome WM, for example - everything is fine.

@emersion
Copy link
Member

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.

@surister
Copy link

surister commented Aug 4, 2020

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

@Anakael
Copy link
Author

Anakael commented Aug 4, 2020

Don't happening after swtich video card to raredon

@surister
Copy link

surister commented Aug 7, 2020

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.

@mizzunet
Copy link

Same here. I will grab logs on the next happening.

@ModProg
Copy link

ModProg commented Jul 26, 2022

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.

@johannes-titz
Copy link

Same here. But I can switch to another tty and kill sway. Also running Arch.

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