Ive use to use bridged networking so the VM got it own local IP address from my router. I have a linux VM on NAT with virtio as well I use a lot that has a SMB share that the host can see fine as well.
Ping test but it should work bridged networking for sure. Windows can sometimes take a while to see a share but it does work.
If I follow everystep up to the end, and everything was fine until there, what could be the cause of having no reaction from the second monitor? I keep getting an black screen. I tried to switch both uefi and bios mode in virt-manager, but still a black screenā¦ I only get a screen when I install a spice server, and when windows is installed, in the device manager I get a standard windows driver and not my amd driver.
Be careful with saying this. Not all i-series have Integrated Graphics. I have an i7-6850k, which has a ton of features, but no graphics. I knew what I was getting into when I bought it though. Itās best to just have people look up a prospective CPU on the manufacturer site to see what it supports, or get some help in doing so. Intel is pretty upfront with which processors can do what.
Just chiming in with a āsuccess storyā (still some tuning to do and so on).
Intel X299 (Asrock Fatality professional) running openSUSE Tumbleweed (hopefully Lunduke wonāt come in the dead of night to slit my throat for not doing pure opensource gaming), passing through a 1080ti in the PCIe1 slot.
I use an rx550 for the host (slot 3), and also passthrough a PCIe USB controller and a soundcard.
Used guides on this forum to get my bearings. Thanks guys!
And @wendell is a hero, yes I donated, and /r/VFIO is also cool. Also used this old one for SUSE as a guiding line. Took about an evening, and Iām no Linux superman by any stretch.
Edit: openSUSE has pretty good official documentation as well, whoādaāthunkā¦
First thank you GrayBoltWolf for your great tutorial. I was basicly triing to get this working on debian 8 since I built my PC in 2015, and only got it working after watching your tutorial and of last year.
Unfortunately I am running a i7 4790K (basicly haswell) for wich there is a known issue of hdmi sound not working when booting with intel_iommu=on (Mobo analog and digital audio works). Tried booting with intel_iommu=igfx_off, intel_iommu=on wich restores sound and breaks iommu grouping. So whenever I want to watch a movie I have to reboot without iommu ā¦
This is a little annoying because it defeate the purpose.
Iām considering buying a āaorus Z270 gaming 7ā (with i7-7700K) and was wondering if someone around here knew if this card gives proper grouping ??
I was playing with a gygabite GA-H270M-DS3H that I recently got on hand and saw the same issue. I was able to resolve it by adding intel_iommu=igfx_off to the kernel command line in grub.
Got proper iommu grouping (X16 pci slot was in group 1 with the intel pcie root port and the x4 pcie was alone in a separate group)
Is there an update for kernel 4.10 on ubuntu for the acs patch?
someone said that the vnc and all graphic devices should be disabled, but why? we just attach another device thatās all, so it wonāt be detected in devices by windows if we donāt?
For the moment Iāve managed to get the same result on lspci -k without the acs patch and I have added to the xml of my already existing win10 vm this part qemu:commandline
<qemu:env name=āQEMU_PA_SAMPLESā value=ā4096ā />
<qemu:env name=āQEMU_AUDIO_DRVā value=āpaā />
<qemu:arg value="-device" />
<qemu:arg value=āioh3420,bus=pcie.0,addr=1c.0,multifunction=on,port=1,chassis=1,id=root.1ā />
<qemu:arg value="-device" />
<qemu:arg value=āvfio-pci,host=[GPU],bus=root.1,addr=00.0,multifunction=on,x-vga=onā />
<qemu:arg value="-device" />
<qemu:arg value=āvfio-pci,host=[Audio],bus=root.1,addr=00.1ā />
<qemu:arg value="-cpu" />
<qemu:arg value=āhostā />
</qemu:commandline>
but apparently beside the sound, the vm doesnāt receive the gpu as a deviceā¦ So what am I missing here?
my setup is i7-6700k, host on the integrated graphic, the gpu is a gtx 970 . So the gpu is loaded with vfio, itās blacklisted, so beside of the acs patch, I donāt understand what is missing.
Is it because of the acs patch? because of my xml?
thanks in advance
I have this working Ubuntu 17.10, with the default ich6
apparmor causes issues with the sound as well, there is a way to edit ā/etc/apparmor.d/abstractions/libvirt-qemuā so that only the things you need that apparmor is blocking get through, instead of disabling it alltogether.
but for now all I did in addition to this guide to get sound is the following:
sudo nano /etc/libvirt/qemu.conf
add these 3 lines, replace mario with your host user name:
user = "mario"
nographics_allow_host_audio = 1
security_driver = "none"
I am going to install windows 8.1 instead, apparently it resolves the issue.
What I REALLY want to install is windows 7, but it always just hangs at the starting windows logo. Really wish I could figure out why windows 7 wont install.
New to Linux here but got it to work in just days. .
I got the first GPU, (GPU1) to passthrough in VM1 and I see the GPU listed on DevManager (DM). Install the Nvidia Driver just fine, play like a boss.
The second, VM2, just doesnāt show the card, GPU2, in the DM. It list a Standard Microsoft Display device. When I try to update it with the Nvidia driver I get a blackscreen and a reboot T_T.
OS for both VMs: Win 8.1 64. Each got its own qcow image. Iām not even trying to boot both at the same time yet.
Specs: GA-Z77M-D3H, i5-3470, 16GB, 500GB.
GPU1: ASUS GTX750Ti x16 (Main) / GPU2: EVGA GTX 750 x4 (the one nearly at the end).
The Gpus HAVE DIFFERENT IDs except for the HDMI audio which is the same :S.
OS: Debian 9.2.1 64 bits Kernel: 4.9.0. and I DIDNāT recompile the kernel because IOMMU Groups seems fine. G1 have only 3 IDS (2 from GPU1 + 1 the root), and the G12 have only 2 IDS from the GPU2. Host is using the iGpu from MB.
A clearly worded, step-by-step, not morbidly outdated, PCI passthrough tutorial?! Thought such a thing didnāt exist. I love you so much, THANK YOU.
Quick question about the 2 gpu requirement: Is it possible to āmixā Nvidia and AMD gpus for that?
I got a R9 380, a Ryzen 5 cpu (thus, no igpu), and the closest to other AMD gpu I have is actually ATi, Radeon HD 4890ā¦ and itās summer where I liveā¦
If a GTX 650 Ti works, Iād much rather use that. Couldnāt catch anything about this after a quick read on the OP, hence my question.