I use a Windows and Arch dualboot, but I’m looking to escape Microsoft. I’ve heard good things about both Fedora and Pop!_OS. I’m your average Arch user; I play video games and code. Are Windows VMs suitable for games like Call of Duty on such distros ?

  • phx@lemmy.ca
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    1
    ·
    1 year ago

    Have you considered Mint? I tried PopOS but found the support wasn’t great. Mint is also based on Ubuntu but adds extra functionality and skips some of the dumb stuff Canonical is pushing (i.e. snaps for everything).

    As far as games: VM’s are not really a good bet unless maybe you’ve got multiple video chips and are willing to invest time in getting GPU passthrough working (and then you really haven’t escaped Microsoft so why not just dual-boot).

    I’ve found that games on Linux (particularly Steam games) with Proton are pretty damn good and only getting better over time. Valve has put a lot of work into that with the Steam Deck (which also runs on Linux) and the non-valve versions also sometimes cover stuff that can’t (like certain copy protections).

    Your can see the rating for games on Linux with Proton here

    • Kimo@infosec.pub
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 year ago

      Just reaffirming that my experience getting Activision/Blizzard stuff working on Linux has been mixed. I played older games that weren’t that GPU demanding, Hearthstone & Starcraft II, but the launcher would break pretty much every other update.

      Mint is a great & everything works pretty much out of the box.

      My understanding is that Fedora works pretty well for people gaming, GloriousEggroll, the guy that puts out the GE proton patches, contributes to Fedora, I think. Though you might want to check out NobaraLinux it is based on Feodra, but ships with additional goodies for gamers: Nvidia driver support, kernel patches, Discord, etc. https://nobaraproject.org/

      Anything that you launch through Steam should also work, irrespective of your OS.

      • Stillhart@lemm.ee
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        My understanding is Nobara is made by GloriousEggroll, which is why it’s so good for gaming. It worked really well for me except for the fact that some games didn’t like the hybrid Nvidia graphics on my laptop. I ended up swapping to Pop because of that, and everything works like a charm. I’d rather be on Nobara tho. I really don’t like Pop’s desktop environment.

        • R0cket_M00se@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          I have an older gaming laptop with integrated graphics and a 1050 GPU, haven’t had any issues.

          I love Nobara, it just worked right from the jump. Website has the hash right on the page, .iso already set to go, just create a bootable, plug it in and install.

        • eric5949@lemmy.cloudaf.site
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 year ago

          You can probably install a different desktop environment for pop, usually it’s just a command and then there’s a menu in the corner of your login page where you can change the desktop environment.

          • Stillhart@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Yeah, I know it’s possible, but I’m not a linux expert and I’d rather leave well enough alone. It works and it’s not Windows and that’s good enough for me!

            • eric5949@lemmy.cloudaf.site
              link
              fedilink
              English
              arrow-up
              3
              ·
              1 year ago

              Of course, whatever works best for you. I guess when you get annoyed enough just know switching desktops not as complicated as it might initially seem lol.

      • phx@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You can, but can you do accelerated graphics within the VM environment?

        My last foray into this with KVM/Qemu (the system native to Linux) was that accelerated graphics virtualization was still pretty twitchy, requiring various protocols which were still a bit immature (libvf, looking glass) or only available on a subset of hardware (vGPU,SR-IOV)

        The docs on single GPU passthrough indicate one must detach from the host and assign to the guest (and rely on SSH or remote-screen apps etc to control the host).

        PCI passthrough is the best option I’ve heard but basically involved the Linux host using the lower-powered GPU (possibly an integrated graphics chip) and then the guest given passthrough access to the gaming card.

        If you’ve got good documentation on how to do this less painfully, I’d love to give it another shot. I’m pretty happy with the Proton performance on most stuff but there’s definitely a few games that I’d love to move to a virtual system if it performs well

        • Entropy@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          Using KVM, you can use do full GPU pass through to any OS from your host without a need for a second GPU (including integrated graphics).

          Works with AMD and nvidia cards, I’ve even done this with a macOS VM.

          Here’s a guide that’s the easiest I’ve found to follow. It includes some automated scripts.

          https://github.com/BigAnteater/KVM-GPU-Passthrough - this guide is for Arch Linux, but the scripts and configs should work the same on any OS, you’ll just need to make sure the correct packages are installed.

          Like you mentioned, there are some hardware requirements to do this, but most modern hardware supports it. Also, if you are running the VM then using SSH to control your host is probably your only option, but shutting down your VM should take you back to your display manager so there’s no rebooting.

          I used this set up to play warzone for a while, performance was just as good as windows on bare metal.

          Some notes from my experience:

          1. if you upgrade your host’s kernel, then reboot before trying to start your VM.

          2 There are 2 scripts that will be built for you, vfio-startup and vfio-teardown. They will unload and reload kernel modules as needed so you’ll want to check if they are needed. My nvidia drivers are built into the kernel, so I couldn’t unload them, which stalled the VM startup.

          1. It might take some trial and error, if your VM doesn’t start after you attach the GPU then check the logs under /var/log/libvirt (or wherever your libvirt logs to)