Results 1 to 5 of 5

Thread: Gaming Desktop hypervisor

  1. #1
    Join Date
    Jun 2018
    Beans
    2

    Gaming Desktop hypervisor

    I'm looking into Virtualizing to play my windows games that won't play with wine (they did until I went from a nvidia 730 to a 1050) but I can play some games under the 1050 that I couldn't with the 730 but Virtualbox is still very limited in video. But I read that KVM could allow me to assign one full videocard to the virtualized os while the other is used by the host. using the nouveao driver to work two monitors with 2 cards is not cutting it a and that is first hurddle is figuring out how tdo I get the 340 drivers and the 384 drivers installed at the same time?
    Last edited by dimplewidget; June 22nd, 2018 at 04:57 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Gaming Desktop hypervisor

    It has been 3 days without any reply, so I'll reply with what little I think I know. Don't trust what I say, because
    a) I don't game
    b) I don't do GPU passthru
    c) my newest GPU that isn't onboard intel is an nVidia 430GT

    But I do use KVM and used vbox for a few years back around 2011.

    Last time I checked. KVM supports PCI passthru of selected GPUs, provided the BIOS and motherboard are compatible. VT-d must be enabled.
    The card used by the VM cannot be used by the host. The VM must have exclusive lock on the GPU and the drivers for it. So you shouldn't be loading both GPU drivers into the same OS.

    Last time I looked, which was long ago, there were about 15 pgs of steps to get GPU passthru working for a linux host and a Windows guest. Maybe that is much easier now? IDK.

  3. #3
    Join Date
    Sep 2012
    Beans
    579
    Distro
    Ubuntu Gnome 17.04 Zesty Zapus

    Re: Gaming Desktop hypervisor

    So its a lot simpler now with the later versions of qemu, libvirt and the use of vfio-pci...the longer articles are usually explaining the why of it which if you aren't interested in then you can skip. Anyway this (http://vfio.blogspot.com/2015/05/vfi...-hardware.html) blog has a 5 part series of articles on the HOW-TO but also the WHY...he's one of the dev's behind kvm and vfio and GFX passthrough.

  4. #4
    Join Date
    Jun 2018
    Beans
    2

    Re: Gaming Desktop hypervisor

    Thank you very much for your time I was thinking now I wonder if I have to get two drivers working on the host or can I just install the drivers for the pass thru on the client? I'll find out soon enough
    Last edited by dimplewidget; June 25th, 2018 at 04:57 AM.

  5. #5
    Join Date
    Sep 2012
    Beans
    579
    Distro
    Ubuntu Gnome 17.04 Zesty Zapus

    Re: Gaming Desktop hypervisor

    So you cannot load the nvidia/nouvea modules on the host for the card you wish to passthrough or rather you do not want those modules claiming the card. Long story short there is a new module/driver needed on the host for passthrough to work called vfio-pci. You want this module loading at host boot time and you want to get it to claim/bind to the card you wish to passthrough, the actual nvidia drivers for the passthrough card then only get deployed into the guest.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •