Check dmesg to see when this happens. Create a "vfio-bind" script to replace the pci-stub placeholder driver with vfio-pci. You will need to run QEMU as root in order for it to use the vfio device. You will need to give root permission to use your display using a. Xauthority file. Here is a wrapper to do that. Credit: ton. You will need to dedicate a keyboard and mouse to Windows.
Use lsusb to find their vendor and product IDs:. We chose Intel HD Audio for audio devices. We will need to run the script as root. For root to use normal user 's pulseaudio server, we need to copy their pulseaudio config to root's:.
If you can, use a 50GB native disk partition for Windows. Otherwise, use a "raw"-format file. The following is based on instructions at Windows Central. Open Settings. Search for "Advanced startup" and choose "Change advanced startup options". Click Restart now.
Wait a long time. Boot the VM using the windows VM script. If you are confronted with the UEFI shell, enter Choose Boot manager and select the hard drive Windows is installed on. Use Chocolatey for software management. You can find instructions at Chocolatey Docs.
Assign more processors to Windows. This can be accomplished by running either:. Once completed, all you will need to do is reboot your system. In the event that you are using Nvidia drivers for your other graphics card this is enough to be finished with the project. If you are using nouveau as your driver, or if nouveau has decided to take control of your Nvidia GPU instead of vfio-pci, then we will have to do one more step.
We have to blacklist Nouveau. If this file does not exist you can create it with the same command as you would use to edit it. In order to apply the settings it is time to reboot and check if vfio-pci has taken control of your GPU. This time you should see that the Kernel driver in use is vfio-pci. One answer said vfio modules are integrated into the kernel, so lsmod wont show, and my kernel config file shows vfio entries. I've used pre: commands to try to load before the nvidia driver.
I was able to use a blocklist. EDIT: yeah, after only blacklisting nouveau, which still caused no driver to be loaded, I removed the all the settings except blacklist nouveau, and even nvidia driver doesn't show.. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 1 month ago. Active 22 days ago. Viewed 49 times.
0コメント