I’ve been dual booting Linux and windows for about two years now, but in those two years, I have never booted into windows, except by mistake.

This made me think about removing windows and just saving that wasted space for Linux. I only ever dual booted for the off chance the peer pressure to play anti cheat games was too great, but so far it hasn’t.

For the off chance where I want to play a game that doesn’t run well on Linux, is it a good idea to do that via VM instead of dual boot, or is it too much hassle? Will there be performance hit or any issues with those games?

  • DigDoug@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I wanted to go the VM route about a year ago, but I ended up deciding that it was just too much hassle and have kept my Windows dual boot for the extremely rare occasions that I need to use it.

    I started out using the GTX 770 from my previous PC as the secondary graphics card to pass through to the VM - which is a lot easier than doing it with a single graphics card - but given how often I actually need to use Windows, I didn’t feel particularly comfortable with the extra power use.

    So I decided I’d have a go at single GPU passthrough - which took me probably about six months of on/off (mostly off, admittedly) tweaking to get to a usable state. The first time I managed to boot Windows from my Linux install, I nearly cried. After a while fiddling with it, I decided that, as technologically awesome as it is, it really wasn’t that much different than running it on bare metal. The straw that broke the camel’s back was my inability to get Windows to gracefully hand the GPU back to Linux, despite the fact that it should have been as simple as reversing the steps to give Windows the GPU in the first place.

  • Cyclohexane@lemmy.mlOPM
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Thank you all for the helpful answers. I’ve deleted Windows and decided to not even try running it again.

    Hello Gentoo Linux full-time!

  • EGirlEnthusiast@lemmy.fmhy.ml
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Well in terms of anticheat, VM’s require immense amounts of knowledge to avoid detection. Ive heard specifically that Rainbow Six: Siege will ban you for playing under VM, as well as Valorant. Dual booting is best to avoid anticheat, but if that doesn’t matter, then a VM with passthrough can be extremely performant.

  • Fubarberry@lemmy.fmhy.ml
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    1 year ago

    It used to be worth it, but Linux can run so many more games now thanks to Proton and other improvements. Most of the games that won’t run on Linux now don’t run due to anticheat, and many anticheat programs don’t like VM/GPU passthru.

    So basically I don’t consider it worth it anymore.

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

    The VM isnt going to have the specs of a true Win boot because some of the resources will be used to run Linux. The Win VM will still take up some storage space even if dynamic. If youre really set on playing Win-only games that are resouce intensive, I dont recommend getting rid of a a true Win boot.

    Or, you can be like me and just stick to games you can play on Linux only. As far as Im concerned, if my Linux Mint can’t play them, they don’t exist.

  • turdas@suppo.fi
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    These days this is rarely that useful. The most common reason games don’t work on Linux is anticheat, and games with that kind of anticheat tend to try to stop you from running them in a VM too. There are ways around that, but it’s an annoying cat-and-mouse game.

  • Satouru@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    GPU passthrough works amazingly well… when you have the required hardware and spend a lot of time to make it work.

    It’s an elegant solution but it’s also difficult to setup and maintain. To be fair, I don’t think it’s worth it when you can just have a dual boot going. And you’re going to be running Microsoft’s software either way, soooo…

    If you have a very particular workflow that makes it very painful to reboot, then yeah it’s worth it, and yeah it works perfectly well. Otherwise, dual booting when you need to is more efficient and less time consuming, I think.

  • Joe@lemmy.knocknet.net
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I did this for a while with single GPU passthrough, Although keeping it working didn’t seem to be worth it in the long run.

  • cablepick@lemmy.cablepick.net
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’ve read that the anti cheat engines will be triggered by a virtual machine. Not sure which games you play but you might have issues if they are online.

  • dog@yiffit.net
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    i’ve had good success with this but ofc ymmv. it can be hard to get your windows vm performance tweaking right and it can take a buttload of time. if you want best mitigation of anti-cheat risk and best performance then you should continue to dual boot imo.

    • Cyclohexane@lemmy.mlOPM
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Do you do this to play games with anti cheat? I read that some games detect that. Are there ways around it?

      • dog@yiffit.net
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        depending on how you virtualize your windows install, yes, there are ways to kind of “spoof” your machine details (like manufacturer, desktop instead of vm) but again, it won’t be fool-proof and it might take a lot of time to get working well. i definitely have not tested that many triple-a windows games with anti-cheat because that’s just not my gamer wheelhouse, but so far after spoofing some of my machine details (spoofed as a baremetal oem install) i haven’t had any issues.

        • cablepick@lemmy.cablepick.net
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          What hypervisor are you using?

          I use proxmox and run a couple windows VMs for Remote Desktop. I’ve passed through nvidia gpus and even at point had a nvidia grid setup running splitting up a P40 across multiple VMs.

          The nvidia gpu’s require several config options to ‘spoof’ a real desktop and prevent the code 43 error but windows still identifies them as virtual machines. I’ve never found a way for trick windows itself into thinking it’s stand alone.

            • cablepick@lemmy.cablepick.net
              link
              fedilink
              English
              arrow-up
              0
              ·
              1 year ago

              Its been a while since I’ve had any gpu’s attached to a windows VM but I think my time pre dates the change. I realized they were not actually doing anything for my given workloads so I sold most of them. The P40 is setup in a VM for tensorflow now and one of these days Ill get the time to go back to that.

                • pvq@lemmy.ml
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  edit-2
                  1 year ago

                  I have recently been playing with VMs in Unraid and in the video tutorials I’ve seen they talk about about grouping together (by editing xml file[1]) the video with audio that comes the GPU to avoid that error. Also about passing a modified BIOS. Are those the workarounds been talked about here?

                  [1] multifunction=‘on’