• d3Xt3r@lemmy.nzM
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 year ago

    This is a neat write up, but I’m curious what gaming inside a Distrobox container would be like. For starters, is there any performance impact or potential glitches like screen tearing, and second, could I say, install a more recent mesa package in the container (assuming this is Fedora Silverblue), and have the game use it?

    • j0rge@kbin.social
      link
      fedilink
      arrow-up
      11
      ·
      1 year ago

      Should work fine, bazzite even has a premade one, try it:

      distrobox create --nvidia --image ghcr.io/ublue-os/bazzite-arch --name bazzite-arch

      • flashgnash@lemm.ee
        link
        fedilink
        arrow-up
        10
        ·
        1 year ago

        Out of curiosity what’s the reason to run games in a distrobox container instead of just running them in the host os?

        • ronweasleysl@lemmy.ml
          link
          fedilink
          English
          arrow-up
          11
          ·
          1 year ago

          The immediate advantage is that you could get newer mesa in your distrobox but continue to use a stable one in the host so that it doesn’t fuck up your more important work. I switched to using containers or flatpaks for everything on my system a while ago. I have a distrobox for running odd games I get off Itch and stuff like Steam/Bottles is from flatpak. I even run Silverblue now and haven’t had any major issues for about 2 years at this point. Hell I was switching between GNOME 45 Beta and 44 Stable like it was no big deal.

          • flashgnash@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            1 year ago

            I’m using the proprietary drivers anyway, afaik Mesa still isn’t as performant as Nvidia is it?