• hallettj@leminal.space
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    8 months ago

    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.

        • YodaDaCoda@aussie.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          8 months ago

          16gb memory + 2 Firefox profiles + vscode makes things difficult on my laptop. Web stuff is so memory heavy

        • ryannathans@aussie.zone
          link
          fedilink
          arrow-up
          1
          ·
          8 months ago

          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

          • hallettj@leminal.space
            link
            fedilink
            English
            arrow-up
            6
            ·
            8 months ago

            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.

            • ryannathans@aussie.zone
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              8 months ago

              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

  • lightnegative@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    8 months ago

    I’d never heard of this before now but an infinite horizontal scrolling window manager is an interesting concept. Might check it out!

  • Pantherina@feddit.de
    link
    fedilink
    arrow-up
    6
    ·
    8 months ago

    Very curious about this, it sounds like virtual desktops but way easier and with less planning.

    They have an officially maintained COPR so creating an atomic variant is very easy, or just installing it on top of ublue sericea / sway atomic.

    • Qkall@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      8 months ago

      I have a homie monitorring this closely for the pinephones. They just got mobile support for this so… Excited