Curious to know the coolest things you achieved by configuring your kernel. I know kernel config can be boring, but I’m hoping someone will have an impressive answer.

For me I have a very lightweight kernel that runs wayland on nvidia without any issues to date.

  • Rikj000
    link
    fedilink
    English
    arrow-up
    16
    ·
    edit-2
    8 months ago

    I run linux-xanmod-anbox for root support in Waydroid (Android on Linux).

    And I configured my kernel to support VFIO (Virtual Function Input Output).
    So I can fully pass through one of my GPUs to my Ameliorated Windows KVM,
    which I use for both work and gaming.

      • Rikj000
        link
        fedilink
        English
        arrow-up
        19
        ·
        8 months ago

        Amazing, basically native speeds,
        currently playing Horizon Forbidden West with maxed out graphics and DRS disabled at a steady 60-80 FPS.

        Previously I also played Horizon Zero Dawn in it, also maxed out graphics, steady locked 100 FPS,
        below is a benchmark comparison of HZD in the Linux host OS and the Windows KVM guest OS:
        workstation-gaming-linux-vs-windows

        • ikidd@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          8 months ago

          Has this gotten any easier to do? I set it up a few years ago, it was painful to do and maintain so I let it slide. You were writing all sorts of scripts to specify the passthrough devices and then they’d stop working so you had to track down what was failing and update. Then there was iommu so you had to be careful which groups you added devices to.

          • Rikj000
            link
            fedilink
            English
            arrow-up
            4
            ·
            8 months ago

            Gotta admit, it was very hard to setup initially.
            However it’s been working perfectly ever since I did.
            Been using it for about a year or 2 now.

            Also when I linked the Arch wiki,
            I noticed in it’s article that there’s now a gpu-passthrough-manager,
            which will likely make the process of setting up a little bit easier.

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

      Root Waydroid lol, thats basically hell.

      Waydroid without SELinux already removes all the Android sandboxing. Now its rooted!

      • Rikj000
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Root on Android is a necessity for me.
        I’ve been rooting all droids I use for the past 10 years or so.

        Imagine using Linux as a power user,
        without being able to use sudo/su.

        Also, Magisk does not just allow any application to access root, you have to manually allow apps to make use of it.

        Just like administrator rights on any other OS,
        things only go wrong if you don’t know what you’re doing, and then grant rights to something malicious.