diabolusss wrote:bash64 wrote:JimFritzMI wrote:All this work to find it will not work with my laptop. And I went the extra mile and spent money on one that had a separate GPU. I've come to realize it just doesn't bother anyone anymore that even now more and more hardware manufacturers are locking us into the Microsoft machine. Maybe it's time to wave the white flag and just embrace the borg...
I do not recommend anyone try this with a laptop. I assume the laptop has nvidia synergy (nvidia/intel). That is not recommended by myself or by Powerhouse who owns this article.
It worked for me by using seabios rather than ovmf. I also use pci_stub instead of vfio-pci to reserve my video card for qemu. Perhaps I can help you get it working. I can even do a Teamviewer session if you have the time. Provide me a way to contact you if you want help. If you do a friend request to "Linux Mint Survival Guides" (I prefer this one) or "Roger Lee Lawhorn" on facebook we can use facebook chat. Sorry, no cell phone, at least not with any minutes left.
Here are some ebooks I have written at lulu.com:
The mint 18 ebook contains a chapter on this with my own insights and how I made this work on a laptop with Synergy.
Hello. I want to make dual-boot obsolete on my laptop(Dell Alienware 17 R3 with Integrated Intel HD 530 HD + Nvidia GeForce GTX 970M 3GB) using this tutorial. So far i had no luck using other tutorials that was based on Xen Project HVM. I am wondering why you dont recommend to try it with a laptop. Please, explain that to me and give me advice if possible(about installing HVM on laptop, not buying PC ).
bash64 already gave a good answer.
I like to add: it depends. You need to have a careful look at your hardware. First check the CPU that it supports VT-d - the i7-6700HQ looks good. But the real problem is Nvidia Optimus. For an explanation on what that means and how the Linux community tries to answer that issue, see Bumblebee.
Bumblebee is the Linux equivalent of Optimus, a technology that allows switching GPU depending on the graphics workload. In theory it sounds nice, in practice it has some caveats.
Before you try anything, BACK UP your entire disk so that you can restore your Windows or Linux when necessary!!!
When running Windows in a VM, you want Linux to use the HD530 graphics while Windows uses the Nvidia GPU. As a first step you need to turn off Optimus in your BIOS (or turn off switchable graphics) and/or select the internal graphics as primary graphics (the one use to boot the system). Then boot into Linux and follow the tutorial. The very first thing you probably want to check is that you can bind the Nvidia GPU to vfio-pci (see part 4 of the tutorial).
If you want to use your wireless connection, skip the network bridge configuration and do not configure networking in the qemu command. Qemu should automatically create a routed interface. As an alternative or when this fails, follow the advice of bash64 above.
If the tutorial and specifically the UEFI boot into Windows do not work for you, you can still try bash64's SeaBIOS approach. However, with Windows 10 you should be able to use UEFI.
In summary, you do NOT want Optimus or Bumblebee to interfere with your GPUs. After you have disabled Optimus in the BIOS and/or selected the internal graphics as primary graphics, you may need to reinstall Linux Mint or somehow disable Bumblebee. But before you even think about reinstalling Linux Mint, try to find answers to the following questions: how is your hardware wired inside? Does the Nvidia GPU have an external port you could hook to an external display? Are both the internal GPU and the Nvidia GPU wired to the laptop screen, with a button to switch between them? The answers to these will determine whether or not you can use your hardware for VGA passthrough.
Hope you succeed. If yes, please share how.