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?

  • dog@yiffit.net
    link
    fedilink
    arrow-up
    9
    ·
    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
      3
      ·
      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
        6
        ·
        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
          2
          ·
          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.

          • Skull giver@popplesburger.hilciferous.nl
            link
            fedilink
            English
            arrow-up
            3
            ·
            1 year ago

            Correct me if I’m wrong, but I believe Nvidia stopped producing the stupid code 43 error on their (consumer) GPUs a while ago (version 465 of their drivers). The P40 is possibly different because it’s not a consumer chip, but for gaming GPUs it should work out of the box now.

            I say should because Nvidias driver are hot piles of garbage so even if they intend to make it work in VMs now there’s a good chance it just doesn’t.

            • cablepick@lemmy.cablepick.net
              link
              fedilink
              English
              arrow-up
              1
              ·
              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.

              • Skull giver@popplesburger.hilciferous.nl
                link
                fedilink
                English
                arrow-up
                2
                ·
                1 year ago

                Yeah, that makes a lot of sense. Nvidia intentionally broke consumer GPUs for so long that I’m pretty sure most people who know GPU passthrough exists still think you need to do the weird Nvidia workarounds!

                • 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’

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

            for hypervisor i’m using libvirt+qemu. by doing this, a few lines in the .xml for the vm is all that is needed for me to enable some hyper-v feature flags to spoof to windows that it’s not a vm. check to see if proxmox has some hyper-v features you can enable for this purpose.