-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
Hyprland freezes and crashes after running for a couple hours #2742
Comments
if it freezes you shouldn't have a crash report |
It may be a problem with AMD drive |
Also happens to me sometimes, but I can't move the mouse so is likely unrelated. |
I just updated to the latest git version last night and I just had my first system freeze, not even the mouse would move, all keyboard input ignored. Had to ssh in to kill hyprland. I'm also running on an amd gpu(rx 560). The last time I updated from git (June 24) I've been running without a problem so something in the last months changes with either hyprland or wlroots seems to be causing this. Edit to add: no crash log as I killed hyprland with a SIGHUP. |
if you can ssh then please do |
It locked up just after I made the above post (hadn't seen your message yet), but it hasn't happened again. I had a firefox window open (floating), sometime later I opened a terminal window (foot floating), So I'm thinking it has something to do with damage tracking/feedback. |
Just posted the above and ... hang lol (gdb) bt -full |
it is stuck in malloc, you sure you're not OOM-ing? |
pretty sure OOM would appear in journalctl and close userspace applications (not what happens here, at least for me) |
it would not unless you have some OOM prevention daemon running. Speaking from experience, I OOMd a lot of times on 32GB of RAM and no swap. That's what it looks like, everything basically locks up. Even systemd-oomd sometimes can't catch an OOM. |
I'm pretty sure it's not an oom problem (64 gb mem and 40+ gb free), and this didn't start happening until I updated on the 21st. If it happens again I'll run top and a few other diagnostic tools to see if I can narrow down what's happening. Edit to add: If an oom problem there should be messages from the kernel, and killing off of processes. |
Hyprland or something else could cause a sudden spike in memory use and make you OOM |
I don't know about kernel messages but no killing will happen unless you have an anti-oom daemon running. At any rate, gdb shows a hang in malloc, so what else could it be? |
If there is any OOM condition, the kernel should put out OOM labeled messages. What I'm going to do is go back to the version that was working and slowly work my way forward, checking along the way. |
sure, a |
Ok, I'll read up on bisect. :) |
After I upgraded to 64g memory last week, the stuck phenomenon no longer appeared. i don't know why |
As of right now it appears to be commit 2c2314f causing my problems, I've undone the patch and no crashes ... yet. Edit to add: It seems that the commit is not the problem but it took over a day for it to show up once. |
Hmm, not sure what to make of things now. I compiled the latest hyprland git earlier and I'm not having the problems I was seeing the other day. I did notice that wlroots got updated to the latest, so I'm thinking the problem might have been wlroots instead of hyprland. Anyway it seems to be working well now. Solved for me. |
Solved for me too, closing. |
Currently seeing a similar issue to this & #2789 on 0.35.0 installed via pacman (mouse frozen, audio stops) but on an amd 7900xtx. First saw the issue on Jan 20 most likely w/ version 0.34.0.
Nothing unusual in the hyprland log (unless I'm missing some flag to enable more verbose logs):
|
It freezes with me too. Not sure if it is a Hyprland problem or a Wayland problem. I have a 4K monitor, and what happens is that most of the screen freezes except for the upper left corner. If I leave it for a while, the problem seems to "fix itself", but I normally don't want to wait that long, so I bounce Hyprland. On Arch. |
Does the exact same for me as well. On nvidia and manjaro. Can't ssh or anything, system completely locks up and needs a cold boot. @MightyPlaza can we reopen this or #2789 would be more relevant in this specific scenario. |
I have the same issue everything freeze including cursor! If I re-encounter the issue again I will share another back trace |
I'm on nixos unstable and im having this exact problem on 0.40.0 |
yep, same here, in the last version, tried a clean install of everything in another pc and got the same (both nvidia & intel, one with 32gb of ram and other with 16gbs), ill keep earlyOOM running to see if it catches anything. |
seems to happens to me when i press enter a lot or while im dragging something, could also be related to browser, im running thorium |
Hyprland Version
Hyprland, built from branch at commit 62c7588
Bug or Regression?
Bug
Description
After running Hyprland for 1-2hrs, the display completely freezes except for the mouse cursor.
This only happens on my desktop system using an AMD gpu, my laptop with an Intel gpu works fine, both are using the same nixos configuration for hyprland.
How to reproduce
Run Hyprland for a couple hours
Crash reports, logs, images, videos
hyprlandCrashReport1610.txt
The text was updated successfully, but these errors were encountered: