You are not logged in.
Pages: 1
I've had little success trying to set the graphics card drivers to vfio_pci and was wondering if anyone could potentially help me.
I've turned on all the virtualization settings in the bios
My rig is:
Kernel: 5.0.7-arch1-1-ARCH
OS: Arch Linux x86_64
MB: Fatal1ty Z97 Killer
CPU: Intel i5-4690 (4) @ 3.900GHz
GPU: NVIDIA GeForce GTX 1060 6GB
Host GPU: Intel HD Graphics
Memory: 15797MiB
I've enabled IOMMU and it shows up as enabled with dmesg | grep -e DMAR -e IOMMU
The graphics card I want to passthrough is in a group that I don't mind passing all through to the vm
e.g
IOMMU Group 1 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller [8086:0c01] (rev 06)
IOMMU Group 1 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
IOMMU Group 1 01:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (rev a1)
I've followed the wiki for all the instructions
/etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:1c03,10de:10f1
And in
/etc/mkinitcpio.conf
MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd)
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
I regenerated the initramfs configuration
and I also placed vfio-pci ids=10de:1c03,10de:10f1 in kernal parameters
but the vfio_pci still wont bind and nouveau still takes them
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] [10de:1c03] (rev a1)
Subsystem: eVga.com. Corp. GP106 [GeForce GTX 1060 6GB] [3842:6267]
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (rev a1)
Subsystem: eVga.com. Corp. GP106 High Definition Audio Controller [3842:6267]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
Blacklisting nouveau just forces no drivers to take its place.
My original thought process was that im changes aren't being applied on boot, but I don't know where to look to confirm that or fix that. or maybe I haven't applied the initramfs properly or set up GRUB properly to deal with new changes.
Any advice would be greatly appreciated, and comment if you need additional info
Last edited by Spookety (2019-04-13 03:46:32)
Offline
What happens if you try to manually bind/unbind according to the special procedures section here?
Offline
Pages: 1