I saw from a post that you can basically host your own mini windows inside of linux to play games with, and you can choose what to share with that little windows so microsoft can’t track you in any way. Does anyone have a tutorual/guide for that? Also what Distro would be best for it?

  • wildbus8979@sh.itjust.works
    link
    fedilink
    arrow-up
    8
    ·
    edit-2
    11 months ago

    Maybe if you’re using type 2 virtualization bullshit like VirtualBox, but for type 1 like KVM? Performance is near identical to host CPU, the overhead is somewhere between 2~4%. Hardly something you’d ever notice.

    https://forum.level1techs.com/t/how-fast-is-kvm-host-vs-virtual-machine-performance/110192

    Wine is fine, but it comes with its lot of compatibility issues you’ll never have to deal with with a VM with GFX passthrough.

    • cujo@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      11 months ago

      Sure. I admit my experience running a VM is limited to “type 2 bullshit” like VirtualBox. But that also requires that OP have a spare GPU lying around they care enough to pop into their machine and set up passthrough for, which most people don’t. Especially with these GPU prices lately, yikes. Chances are they have a decent GPU already in their system, and buying an equivalent GPU just for passthrough is… 😬

      So while baremetal-like performance is certainly possible with a VM, it’s still not an ideal solution for most people.

      • wildbus8979@sh.itjust.works
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        11 months ago

        Use the iGPU for your main OS, and discreet for gaming in a VM. Works wonders and you don’t need to deal with NVIDIA drivers in your main OS. And save some energy to boot.

        • cujo@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 months ago

          Hmm that’s a neat solution. What if you do video or photo editing in your main OS, though, or any other kind of work that would benefit from discreet graphics? Is your only option then essentially two GPUs, or can you switch between passthrough neatly, or…?

          • wildbus8979@sh.itjust.works
            link
            fedilink
            arrow-up
            2
            ·
            11 months ago

            You can switch between the two, but it does require a reboot. So in that case two discreet would be more convenient. But for encoding and what not you probably can get away with a rather cheap discreet that works well on nouveau (or go Radeon) and keep the 4090 for gaming.

            • cujo@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              2
              ·
              11 months ago

              Interesting.

              My system is all AMD, I prefer not to wrestle with Nvidia’s drivers on Linux, lol.

              It’s been years since I ran Windows on my machine, but I still miss my photo editing software. Nice as DarkTable is, it’s no replacement for CaptureOne. And it’s pretty much not possible to get CaptureOne running in a productive manner under Wine. I looked into doing passthrough to a VM a while back, but it just seemed a hassle and I didn’t have a spare GPU. I game on my Linux install, so iGPU isn’t sufficient for my needs there. My photography hobby just has to suffer. 😂

          • sudotstar@kbin.social
            link
            fedilink
            arrow-up
            2
            ·
            11 months ago

            I haven’t adopted this kind of setup, mainly because Proton just does such a good job I have almost zero need for Windows, but my plan for eventually doing something like this was to also maintain a passthrough Linux VM for any GPU-intensive work on that side.

            When I realized that the practical end-state of my system would mean I’d just be running things from within the Linux VM 98% of the time (games that can run on Linux) I kind of dropped the idea.

            • cujo@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              11 months ago

              My single remaining use for Windows is to run the CaptureOne photo editing software. It is, in my opinion, peerless. I love using it so much that it ruined basically all other photo editing suites for me. DarkTable, PhotoTherapee, ART, none of them come close for me. Everything else has some alternative that I’ve come to term with using, or even prefer using, but not CaptureOne.

              I’m only a hobbyist photographer so it’s not like my livelihood is tied up in this software… I just get tired and sour working in other softwares, no matter how long of a trial I give them. Sometimes you find a solution that’s just absolutely perfect for you and the way you work, and CaptureOne is that for me. 🤷‍♂️

              In my case, I’d have my host Linux OS for 99.99% of my use case, and then Windows solely for photo editing. But I opted not to do that just because of all my previous experiences trying to use a VM for any production level work with anything that’s graphically intensive. Apparently that has changed a lot since I last looked at it, or I didn’t dig deep enough and I missed the actually worthwhile software. I’m just not sure I’m going to put in the work. I’ve got a baby now, and haven’t taken a photo on anything other than my smartphone since she was born. 😅