Hyprland at 99% CPU usage #11411
Replies: 23 comments 38 replies
-
|
I'm not experienced with NixOS, but that seems unlikely to be the issue. I think it would be best to figure out where roughtly this issue stems from:
I will try to set up a NixOS VM tomorrow to check if this might be hardware related (which it shouldn't), but it might take some time :) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hyprland uses 99% cpu, but with perf Hyprland is not using the most. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
anyone has a hyprland.log when this occurs, having hard time to reproduce it. so trying to figure out where in the code its going xwl selection code its going bork. |
Beta Was this translation helpful? Give feedback.
-
|
I get a lot of these lines rapidly repeating: |
Beta Was this translation helpful? Give feedback.
-
|
I believe I'm having the same issue on Arch Linux, although the CPU usage is less apparent for me. I checked htop and it was using 72% cpu for me, I notice the issue when my tmpfs for /run/user/1000 fills up. I then check my hyprland.log and it is something crazy like 7gb - |
Beta Was this translation helpful? Give feedback.
-
|
I use clipse, and it runs as a user-service ('cause running it with exec-once does not work, somehow). |
Beta Was this translation helpful? Give feedback.
-
|
Seemingly same issue here: at some point (often days and multiple suspend/resume) hyprland uses 100% cpu. Everything continues to work normally except for the cpu load (and the fans whizzing). It's spewing the Running garuda linux (arch) with: I'm on a Framework 13 Intel system. hyprctl systeminfo -c:
```
Hyprland 0.50.1 built from branch at commit 4e242d0
e8dcc ([gha] Nix: update inputs).
Date: Sat Jul 19 21:37:06 2025
Tag: v0.50.1, commits: 6291
built against:
aquamarine 0.9.2
hyprlang 0.6.3
hyprutils 0.8.1
hyprcursor 0.1.12
hyprgraphics 0.1.5
no flags were set System Information: GPU information: os-release: NAME="Garuda Linux" plugins: ======Config-Start====== |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
xwm seems like it's X11 tho |
Beta Was this translation helpful? Give feedback.
-
|
I can reproduce this error very reliably by copying large data inside a Xwayland program (in my case, until I exited Hyprland. From the logs this bug must be related to Xwayland. This is not observed in earlier versions. As I frequently copy images, this bug is quite annoying for me. |
Beta Was this translation helpful? Give feedback.
-
|
In my case, killing the process |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
the onWrite selection code is urgl. but what i can tell this bandaids it. bootleg style. anyone that can see how much this breaks or if this is worthy of a PR with a big fat as i understand this code is the incremental transfer was returning success and added the fd to even loop end began writing while it wasnt time for it. and it just endlessly looped itself. i still see a bit worrysome log mentions that i dont understand, yet. but atleast it shouldnt pin the core. at most make some copy paste less correct in xwl <-> wayland |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
(lfs) lfsuser:~$ top -bn1 1130 lfsuser 20 0 390.5m 6.0m 0.0 0.0 0:00.00 S On Firefox not responding. |
Beta Was this translation helpful? Give feedback.
-
|
I regret my decision (lfs) lfsuser:~$ top -bn1 |
Beta Was this translation helpful? Give feedback.
-
|
Im having the same issue. Even killing all apps it doesnt fix it. I do have noticed it happens if i have electron apps but then it doesnt og away |
Beta Was this translation helpful? Give feedback.
-
|
I was experiencing the same issue for quite some time now, and I used the workaround mentioned by @pihomeserver and stopped using wl-past and wl-clip-persist for a few days. It worked so well that even the memory leak that I was experiencing with electron apps before is completely gone, thanks man lol |
Beta Was this translation helpful? Give feedback.
-
|
@d-kja Glad that my "solution" have helped you. Now I still have the issue even when killing wp-paste. I can reproduce time to time the issue when I copy from xfreerdp and paste into a Brave browser window : it makes the browser crash and/or hyprland goes to 100% CPU load ... |
Beta Was this translation helpful? Give feedback.
-
|
Seems like it happens to me also. It is reproducible a failed suspend triggers it (crappy nvidia driver). I need to disable nvidia driver after each kernel update (archlinux), but lately I'm unable to disable it, so at the moment I plug in my laptop all the time to prevent sleep, and hard switch it off when not in use. Major pita. |
Beta Was this translation helpful? Give feedback.
















Uh oh!
There was an error while loading. Please reload this page.
-
Not really a crash since Hyprland continues to work but something is definitely going wrong.
For some reason, Hyprland uses 99-100% CPU on one core. I have no idea when this started happening, however it has been happening for a few weeks now. This is annoying as the laptop (Framework Laptop 13 with AMD Ryzen 5 7640U) heats up to 99C and the fans ramp up loudly.
I have my configuration in a git repo here: https://code.liv.town/liv/nixos-config/src/branch/master/modules/home/hyprland.
It seems there are no other Hyprland processes that could be causing issues:
Tree view of the processes under Hyprland:
Output for
sensors:I have no clue how to debug this, so please help me a bit here. Do you need any other information?
Beta Was this translation helpful? Give feedback.
All reactions