I use vmware and qemu

  • bruce965
    link
    fedilink
    arrow-up
    40
    ·
    edit-2
    4 months ago

    None, I use Docker for Linux, and Proton (Heroic) for Windows.

    But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

    • fmstrat@lemmy.nowsci.com
      link
      fedilink
      English
      arrow-up
      15
      ·
      4 months ago

      From my other comment:

      Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.

      Maybe I should release my Dockerfile.

    • Mwas alt (prob)@thelemmy.clubOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      4 months ago

      But if I had to pick a virtual machine: libvirt with virt-manager as a frontend, which uses KVM for virtualization.

      Its fair bcs vmware workstation does not support gpu passthrough libvirt with virt-manager is the only way

    • krash
      link
      fedilink
      arrow-up
      3
      ·
      4 months ago

      Correct me I’d I’m wrong, but with docker you’re limited to the filesyatems and the image of the OS you’re installing. If you need to experiment with the pre-OS boot events, can that even be accomplished with docker? E.g., trying out different GRUB settings, setting up LUKS with dropbear etc. I think those things require a VM.

      • bruce965
        link
        fedilink
        arrow-up
        6
        ·
        4 months ago

        Yeah, you are correct. Docker shares the kernel with the host operating system, it doesn’t use hardware virtualization. That’s why it’s so fast and simple, but it also means it’s not a traditional VM and thus comes with some limitations.

  • GolfNovemberUniform
    link
    fedilink
    arrow-up
    37
    arrow-down
    3
    ·
    4 months ago

    GNOME Boxes because it doesn’t require 5 academic degrees to set up and I’m a GNOME user.

      • data1701d (He/Him)@startrek.website
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        I have two GPUs - an RX 550 hooked to the monitors and 580 for VMs. Until recently, once the VM shut down, the 580 was able to return to Linux and be used again via PRIME - no reset bug. It randomly stopped working and I’ve tried to debug it to fix the problem to little avail.

        • teawrecks@sopuli.xyz
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          4 months ago

          I actually may have seen the same issue recently. Have you tried adding initcall_blacklist=simpledrm_platform_driver_init to your kernel launch params?

          • data1701d (He/Him)@startrek.website
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 months ago

            I’ll have to try that. What I have tried so far is running a different kernel version and making sure my driver blacklists are correct (I found that the GPU shouldn’t ever connect to snd_hda_intel. It briefly eas again, but after fixing it, I still had the problem.).

            • teawrecks@sopuli.xyz
              link
              fedilink
              arrow-up
              1
              ·
              4 months ago

              For me, I have intel integrated + amd discrete. When I tried to set DRI_PRIME to 0 it complained that 0 was invalid, when I set it to 2 it said it had to be less than the number of GPUs detected (2). After digging in I noticed my cards in /dev/dri/by-path were card1 card2 rather than 0 and 1 like everyone online said they should be. Searching for that I found a few threads like this one that mentioned simpledrm was enabled by default in 6.4.8, which apparently broke some kind of enumeration with amd GPUs. I don’t really understand why, but setting that param made my cards number correctly, and prime selection works again.

              • data1701d (He/Him)@startrek.website
                link
                fedilink
                English
                arrow-up
                1
                ·
                4 months ago

                Huh. My issue seems different, but I’ll still test that flag to see if it changes anything. My problem looks like the device doesn’t return to host after VM shutdown, possibly because of the reset bug (based on my observation of dmesg), which I hadn’t encountered after about a year of GPU passthrough VM usage.

                • teawrecks@sopuli.xyz
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  4 months ago

                  Ahh, yeah if it’s specifically when coming back from a VM, that sounds different. Maybe the vfio_pci driver isn’t getting swapped back to the real one? I barely know how it works, I’m sure you’ve checked everything.

    • Eugenia
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      I never found a way to share a Public folder with VirtManager though, I need to move files between host and guest. How would you go about it?

      • data1701d (He/Him)@startrek.website
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        I go to the host folder I want to transfer files from and run ‘’’python3 -m http.server’’’. Then (I can’t remove if I use ‘’’ip a’’’ to find the IP address of the host or if I used mDNS), I use the guest web browser to download files.

        • D_Air1
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          And here I have just been using samba.

  • unn@lemmy.ca
    link
    fedilink
    arrow-up
    13
    ·
    4 months ago

    virtmanager as frontend for qemu/kvm. I tried the commandline but it’s too annoying

      • Björn Tantau@swg-empire.de
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        4 months ago

        Besides VMWare it always seemed the easiest for me to quickly make a Windows VM or so. Everything else usually had more configuration steps. But that’s been a while ago. There could very well have been easier tools available in the mean time. I never bothered to look.

        I only ever used “permanent” virtualization once on my server. I think with Xen. But it didn’t give me any benefits for my use case so I dropped it later on. Also probably at least ten years ago.

  • fmstrat@lemmy.nowsci.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    4 months ago

    I used KVM with virt-manager for a long time. Even ran a gaming VM with GPU pass-through.

    Then I created a Docker image with Linux, Gnome, and novnc so I can spin one up instantly with little resource overhead and control it from any web browser.

  • Mr. Camel999@programming.dev
    link
    fedilink
    arrow-up
    7
    ·
    4 months ago

    I use virt-manager, aka Virtual Machine Manager. Using this specifically because of the winapps for Linux repo has instructions on how to get Windows apps to run through the VM to be integrated in a Linux environment.

    • CosmicTurtle0@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      How “scriptable” is virt-manager?

      My biggest issue with VirtualBox is that I have to install OSes as if I’m actually installing them. There aren’t any images (at least that I’m aware of) that can run with a command, like deploying an EC2.

      • Alex
        link
        fedilink
        arrow-up
        3
        ·
        4 months ago

        Virt-manager isn’t super scriptable but the underlying libvirt can be controlled by virsh which is a shell interface to libvirt. You can use both at the same time, e.g. start and stop via virsh and access to gui container via virt-manager/virt-viewer.

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

        Virtual manager isn’t scriptable at all as it is just a GUI for libvirt. You are probably looking for qemu or virsh (libvirt)

    • Mwas alt (prob)@thelemmy.clubOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 months ago

      might try that tbh am gonna run razer software or apps that dont work on linux at all and for games am gonna use my windows ssd

  • thingsiplay@beehaw.org
    link
    fedilink
    arrow-up
    6
    ·
    4 months ago

    Qemu+Kvm with virt-manager is my boy nowadays. But I’m not a heavy user of Vms, just experimented with this to build some Flatpak. But plan on trying out other distributions, just for science. It wasn’t easy to figure out how to share a folder, and I could not get drag and drop or clipboard share to work. Still though, its faster than any other solution. I used VirtualBox in the past, which was easy to work with.

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

      I use Proxmox for the machine that I use to download all of the Linux ISOs I want. You know, with a VPN, through BitTorrent. Linux ISOs.

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

      Proxmox isn’t really its own hypervisor. It combines a few common projects to make a OS. It is pretty much KVM with corosync for clustering.

      With that being said it is a solid platform. Just keep in mind it is just standard Linux virtualization and for single nodes you can get the exact same setup easily on any Linux system.

      • Norah - She/They@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        Well, the exact same except for the frontend. It’s arguably better than virt-manager imo. I wonder how hard it would be to get pve-manager running outside the OS.

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

          You absolutely can. People have done Proxmox installs on Debian and unsupported architectures by building from source.

    • sfera@beehaw.org
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Thanks for the pointer. But since Proxmox supports both KVM and LXC virtualization, wouldn’t that make it both type 1 and type 2?