You are not logged in.
I am trying to set my "Intel® HD Graphics 4600" as the host for my qemu on a headless system and cant figure out A) how to run qemu without a gui as my arch install is headless(tried "-display none" and "-nographic" both turn off my screens entirely) and B)how to set my qemu console to my "Intel® HD Graphics 4600" display and pci passthrough to my gtx 970
In truth I am completely lost but have been trying to read the wiki to get a better grasp on all of this there is more that I want to do with this setup but first I think I need to get a grasp on the basics
my setup
CPU:i7-4790k (VT-D support, Intel® HD Graphics 4600 onboard)
MOBO:asus z97-ar (Virtuilaztion and VT-D enabled in bios)
Arch Kernel linux-vfio 4.2.5-1(applied acs bypass and i915 patchs)
lspci -nnk output:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GM204 [GeForce GTX 970] [10de:13c2] (rev a1)
Subsystem: eVga.com. Corp. Device [3842:2975]
Kernel driver in use: vfio-pci
Kernel modules: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GM204 High Definition Audio Controller [10de:0fbb] (rev a1)
Subsystem: eVga.com. Corp. Device [3842:2975]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
/etc/default/grub
has GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on pcie_acs_override=downstream pci-stub.ids=10de:13c2,10de:0fbb" set
/etc/mkinitcpio.conf
has MODULES="vfio vfio_iommu_type1 vfio_pci vfio_virqfd" set
my script to invoke the QEMU guest is
cp /usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd /tmp/my_vars.fd
qemu-system-x86_64 \
-enable-kvm \
-m 2048 \
-cpu host,kvm=off \
-vga none \
-device vfio-pci,host=01:00.0 \
-drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd \
-drive if=pflash,format=raw,file=/tmp/my_vars.fd
and when I run the script I get:
qemu-system-x86_64: -device vfio-pci,host=01:00.0: VFIO 0000:01:00.0 BAR 3 mmap unsupported. Performance may be slow
Could not initialize SDL(No available video device) - exiting
my end goal of this setup is to have arch running on my Intel® HD Graphics 4600(if not usable or too buggy I am fine with just ssh as I only plan to use arch for maintenance)
and then have 2 guests each with a gtx 970 dedicated (currently only 1 installed) to them using pci passthrough so me and my wife can game using only 1 computer. Any help is much appreciated
Last edited by soulgriever (2015-12-19 11:07:23)
Id rather be a noob eager to learn, then a professional closed minded to new information
Offline
Hello,
Did you ever get this working?
I have been working a very similar setup, in which I have:
Asus Sabertooth X79
Intel I7- 4930
2 x EVGA GTX780Ti First and second slot
1 AMD RV710 in 2rd slot
I have managed to get the Second 780ti to work, but have been unable to get the primary passed through correctly. I get EXACTLY the same messages you got when I try this:
qemu-system-x86_64: -device vfio-pci,host=01:00.0: VFIO 0000:01:00.0 BAR 3 mmap unsupported. Performance may be slow
I did manage to get rid of the
"Could not initialize SDL(No available video device) - exiting"
message by adding to the qemu start script:
-nographic
Anyway, curious if you had gotten any further considering how closely related our problems seem to be.
Cheers!
Offline