When niri runs applications it will now put them into transient systemd scopes. One concrete benefit is that when an application uses too much RAM and systemd-oomd kills it, niri won't go down alongside the app, so the rest of your session will stay intact.
Does Gnome do this? I've certainly had my entire session crash when a certain LSP server used up all of my memory. I appreciate this feature!
I think it's time for me to try Niri as my main WM. The main thing I want to figure out is getting XWayland going so my Wine games will work. I know there is info on this in the Niri docs, so I'll start there.
Edit: The key to getting the games working is gamescope! It runs a nested X session. Lutris does not work without X, but Bottles does and it has a handy gamescope checkbox in the bottle settings.
Running out of system memory is such a 2000s and chromium thing
8GB memory + two Firefox profiles makes things difficult on my laptop.
16gb memory + 2 Firefox profiles + vscode makes things difficult on my laptop. Web stuff is so memory heavy
It is not, especially when you're compiling something
I work on a codebase larger than the linux kernel and firefox combined and still don't come remotely close to running out of memory on my laptop
That's great, but yours is not the universal experience since different tasks have different RAM requirements, even within the realm of programming. I had RAM shortages when I was running the Haskell LSP server and compiler at the same time on a largish project. Haskell's type checker does a lot more than other mainstream languages' which is how it delivers such strong correctness guarantees. You trade RAM for scrutiny. Then the LSP server has to be fast so it has to do a lot of caching, and you get an additional trade of yet more RAM for speed.
Sure, if you're in very specific workflows, but with how cheap memory is, zram, etc it's hardly a problem anymore for the everyday user
Yes, but some of us aren't the everyday user.
Idk about that. I was talking mostly about Android
Does Gnome do this? I've certainly had my entire session crash when a certain LSP server used up all of my memory. I appreciate this feature!
I think it's time for me to try Niri as my main WM. The main thing I want to figure out is getting XWayland going so my Wine games will work. I know there is info on this in the Niri docs, so I'll start there.
Edit: The key to getting the games working is gamescope! It runs a nested X session. Lutris does not work without X, but Bottles does and it has a handy gamescope checkbox in the bottle settings.
Running out of system memory is such a 2000s and chromium thing
8GB memory + two Firefox profiles makes things difficult on my laptop.
16gb memory + 2 Firefox profiles + vscode makes things difficult on my laptop. Web stuff is so memory heavy
It is not, especially when you're compiling something
I work on a codebase larger than the linux kernel and firefox combined and still don't come remotely close to running out of memory on my laptop
That's great, but yours is not the universal experience since different tasks have different RAM requirements, even within the realm of programming. I had RAM shortages when I was running the Haskell LSP server and compiler at the same time on a largish project. Haskell's type checker does a lot more than other mainstream languages' which is how it delivers such strong correctness guarantees. You trade RAM for scrutiny. Then the LSP server has to be fast so it has to do a lot of caching, and you get an additional trade of yet more RAM for speed.
Sure, if you're in very specific workflows, but with how cheap memory is, zram, etc it's hardly a problem anymore for the everyday user
Yes, but some of us aren't the everyday user.
Idk about that. I was talking mostly about Android