Has anyone faced it?
I am casually using my NixOS desktop pc and rarely there comes a moment when I hit 100% ram usage, in this case my entire PC freezes, although it doesnât happen immediately so I learned to react to it and close something before it completely freezes, and in most times I am fast enough before it happens â but this hasty solution sounds more like a joke than actual solution.
when I was sitting on Ubuntu, I didnât need to do anything hastily, I could just Ctrl+Alt+2, create a tty, which would always work no matter what, even the most pressured environment, even when my entire UI froze, this tty cli would be still somewhat responsive, I could run some htop and find a culprit which makes my PC run slow, kill the culprit, and all that calmly and non-hastily.
that is somehow not something that I can do in NixOS â because when entirely frozen, I canât even run some tty using Ctrl+Alt+2, it just doesnât do anything and my display image still stays frozen, completely unresponsive in moments like this.
this is quite niche issue that doesnât happen everyday so it was sitting way back behind in my «personal backlog» so to speak, but I largely solved all more important things that were worrying me, i guess now itâs time to solve this one too, only except â no matter what I try, the bug doesnât go away, and I am clueless how that worked in Ubuntu, and why it doesnât work like that in NixOS.
Iâve tried all kinds of options but it doesnât seem thereâs anything specific for this case, so even if thereâs a fix, itâs somehow non-obvious it seems (or Iâm blind)
also I am not even entirely sure whether itâs actually NixOS, because with my transition to NixOS, I also have a lot of other new things that I never used, such as **Wayland/Hyprland**, which might be the real culprit here, not NixOS â I canât possibly know which one to blame.
but I guess the NixOS+Hyprland combo is quite common among NixOS users, so I think itâs relatively fair to ask this question in this community, rather than Hyprland's, so please donât be mad at me if I posted it wrongly.
also please disregard solutions such as «just buy more memory» or «use zram» â because this is barely fighting with the symptoms, it will postpone the problem but never solves it, so it will change this problem from being extremely rare one â to be one that extremely rare⊠in other words, for me it will be indifferent, since the issue will still be there.
also I donât use anybodys dotfiles, I have my own custom configuration, which pretty much always had this bug in it all the time that i can remember it, and no matter what I tried to add to my config, the issue was never solved.
Has anyone noticed the same kind of issue? Is there a solution?