• dinckel@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    4 months ago

    I’m genuinely curious, why does VB continue to somehow remain in use, when it’s lacking in features, or behind in usability, in basically every way imaginable? If you’re on a Linux host, you have plenty of 1-click solutions that are incomprehensibly better than this. On Windows, Hyper-V boxes aren’t horribly difficult to get running either, although from my experience, they require the same janky and hacky patches as VB does

    • penquin@lemm.ee
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      4 months ago

      Virtual box (for me) is the only app that has always been plug and play when I needed a VM. I’ve had issues with all the other ones. I still can’t figure out how to get GPU passthrough to work on kvm. I tried so much the other day and failed miserably. Gave up and went back to VB.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        ·
        4 months ago

        In boxes there is a toggle that is labeled “3D acceleration” if you flip the toggle your VM will have GPU acceleration.

        • DefederateLemmyMl@feddit.nl
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          That’s not GPU passthrough. That just enables VirGL, which is a translation layer that passes some OpenGL calls through to the host’s Mesa installation. It has rather poor performance though, it’s extremely limited and is rather buggy too. You certainly can’t use it for cutting edge gaming.

          GPU passthrough is when you pass through an entire GPU device as-is to the virtual machine. That is: if you have an Nvidia RTX 3060, the guest operating system will see an Nvidia RTX 3060 and it can use the native drivers for it. This gives you near-native performance for gaming.

          Now, I didn’t even know this was possible with VirtualBox (if so: cool!), but it’s certainly doable with KVM if you have the right motherboard and GPU combination. I have done it, but it is quite the hassle indeed though that isn’t really KVM’s fault.

          • penquin@lemm.ee
            link
            fedilink
            arrow-up
            1
            ·
            4 months ago

            That’s why it failed for me, I don’t have an Nvidia GPU. I wanted to pass my GPU to my windows install but it never worked and I blamed kvm 🤦🏽‍♂️ I knew about the first part that the “3rd acceleration” isn’t a full GPU passthrough, but didn’t know the latter was Nvidia only.

            • DefederateLemmyMl@feddit.nl
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              4 months ago

              It does work with AMD GPUs too, I did it with an RX6800XT myself, but there are some (most…) AMD GPUs that have a reset bug which means they hang if you reboot the guest and you need to powercycle the physical host machine to make the GPU usable for the guest again.

              • penquin@lemm.ee
                link
                fedilink
                arrow-up
                1
                ·
                4 months ago

                Well that sucks. I have a 580xt GPU. It’s about 7 years old, but still powers. Do you have a link on how to get it working? Pretty please?

    • far_university1990@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      4 months ago

      How share folder host-guest without network access? Last time try need to use samba (did not get working) and then impossible to turn off vm network access. Used qemu for win 10 guest.

      VB just install guest addition and disable network interface.

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      Hyper-V is not really better than Virtualbox on Windows. Virtualbox will run anywhere and that is its strength.

      On Linux, you should use KVM. I assume that’s what your advocating for.