• RedSnt ♾️🦋♂️👓🖥️@feddit.dk
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Seemingly 2 other people worked on it as well, one from Red Hat and one from Intel.

    Also bear this in mind:

    All the user-space utilities hard-depend on systemd. Without systemd, you’d need to write your own utilities that make use of my kernel patches. Something needs to manage cgroups in your system, and that something needs to enable the right cgroup controllers and set the right limits (see also the long-winded explanation about how this works).

    • FauxLiving@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      It’s on the AUR but you need a patched kernel which you can grab from catchyOS

      Instructions are in the developer’s blog post: https://pixelcluster.github.io/VRAM-Mgmt-fixed/

      Q: I use another Arch-based distro! What now?

      The dmemcg-booster and plasma-foreground-booster utilities are available in the AUR as well (plasma-foreground-booster carries the package name plasma-foreground-booster-dmemcg), so you can install them from there.

      For the kernel side, you can either use the CachyOS kernel package on a non-CachyOS system by retrieving the package from their repository, or you can compile your own kernel. Installing linux-dmemcg from the AUR will compile the development branch I used to develop this. Being a development branch, this carries the risk of some stuff being broken, so install at your own risk!

      If you want to apply the kernel patches yourself, you need these six .patch files: [links in blog]

      I’m not sure how easily they apply on specific kernel versions, but feel free to leave a comment if you run into issues and I’ll try to help out.

      • thingsiplay@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        Thank you for looking into, appreciate the help. I wanted to read the article later to figure out the details. I think a custom Kernel goes a bit too far for my taste, so will then wait until its officially integrated.

    • thingsiplay@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      I think RADV Vulkan means its for AMD, not Nvidia. Nvidia has their own set of drivers. Unless I am misunderstanding here something.

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        That is correct, the fix targets the AMDGPU kernel driver so nvidia users will have to wait/implement it ourselves.

    • Kazumara@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 hours ago

      She answered that in her blog post that the Phoronix article links to:

      Which GPUs does this work with? Is it only AMD GPUs?

      Whether or not your GPU can benefit from it depends on the kernel driver - more specifically, whether it sets up the dmem cgroup controller.

      amdgpu and xe both have support for the dmem cgroup controller already. In theory, Intel GPUs running the xe kernel driver should benefit as well, although I’m not sure anyone tested this yet.

      For nouveau, I have sent a patch for dmem cgroup support to the mailing lists. This patch is also included in my development branch, so if you use my AUR package it should work. In other cases, you will need to wait for the patch to be picked up by your distribution, or apply it yourself.

      The proprietary NVIDIA kernel modules do not support dmem cgroups yet, so this won’t work there.

    • Die4Ever@retrolemmy.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      patches to the Linux kernel and KDE

      I think currently it might only work for AMD, but I think Nvidia could take advantage of it without too much work

  • panda_abyss@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 day ago

    Valve are cool, love that they do this.

    I know it helps them, but they have done so much for Linux gaming it’s incredible.

    • zikzak025@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      Just wish it was coming from a non-commercial entity. Puts a sour note on the status of Linux gaming that a for-profit entity is the only one out there making meaningful progress.

      • homes@piefed.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        on the flip, it’s heartening to see an influential company like Valve actually not being shitty.

      • Holytimes@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        It’s either slave labor or there is SOME form of for profit company is involved somewhere in the chain. Those are basically your two options.

        Even purely free work given willingly in someone’s free time is still supported by proxy of some form of corporate entity. No one lives for free.

        All that matters is the license. If you care any more beyond that your either stupid or dealing with active Nazis. And I don’t see any Nazis in valve so…

      • FauxLiving@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        1 day ago

        Lots of for-profit commercial entities contribute to open source projects.

        The code they’re contributing is covered by the same license as the code contributed by volunteer developers.

        I understand why we should be cautious about these things, but the current situation is that Valve is contributing a lot and their contributions are open source. Yeah, they’re doing it for a profit motive, but not to the point where they’re trying to kill open source projects or hide the updates behind proprietary binaries.

        Valve is, currently, not being evil. GabeN has plenty of yacht money.

        • zikzak025@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          Right, but we look at examples like Chromium and we can see where there is still so much potential for things to go sideways. GabeN and his yacht could sink to the bottom of the sea and his estate sells control of Valve to someone less benevolent.

          A commercial entity that has enough control over a project pushes the direction of that project in their favor. And sure you can fork a FOSS project at any time, but once the commercialized version has enough saturation, user inertia and lack of experienced developers to take that initiative often prevents alternatives from achieving success.

          • doublah@sopuli.xyz
            link
            fedilink
            English
            arrow-up
            0
            ·
            10 hours ago

            I think the big difference is Valve isn’t really in control of many of the projects they’re funding, they’re mostly just bringing in existing maintainers as contractors and letting them work on what they want.

            Chromium on the other hand has always been something Google has explicitly been in direct control of.

        • MalReynolds@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 day ago

          Yup, long as it’s copyleft (GPL)) open source, I don’t care if it’s microslop paying.

          That said, watch out for a new wave of EEE (embrace, extend, extinguish) using unmaintainable AI code, and be ready to fork.

          Valve, not so much.

          • FauxLiving@lemmy.world
            link
            fedilink
            English
            arrow-up
            0
            ·
            1 day ago

            Yeah, exactly. If they ever try anything you can just fork from just before that update.

            While they play nice, their contributions are welcome and improve software for everyone.