[vfio-users] [help] 2 identical GPUs in Arch

sL1pKn07 SpinFlo sl1pkn07 at gmail.com
Tue Mar 1 16:45:40 UTC 2016


2016-03-01 10:00 GMT+01:00 Garland Key <david.garland.key at gmail.com>:
> @sL1pKn07 SpinFlo
>
> I've started working on this again and will hopefully be able to finish it
> today.  The script
> that runs successfully prevents my 2nd gpu from binding to the nvidia
> driver.  When I do:
> dmesg | grep -i vfio, it only shows that the driver has loaded but doesn't
> indicate that
> anything is bound to it.

yes

└───╼  dmesg | grep -i vfio
[    6.876863] VFIO - User Level meta-driver version: 0.3

but:

└───╼  lspci -nnk
----snip----
07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK110B
[GeForce GTX TITAN Black] [10de:100c] (rev a1)
       Subsystem: Gigabyte Technology Co., Ltd Device [1458:3641]
       Kernel driver in use: vfio-pci
       Kernel modules: nouveau, nvidia
07:00.1 Audio device [0403]: NVIDIA Corporation GK110 HDMI Audio
[10de:0e1a] (rev a1)
       Subsystem: Gigabyte Technology Co., Ltd Device [1458:3641]
       Kernel driver in use: vfio-pci
       Kernel modules: snd_hda_intel
----snip----
13:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK104
[GeForce GTX 770] [10de:1184] (rev a1)
       Subsystem: eVga.com. Corp. Device [3842:2774]
       Kernel driver in use: nvidia
       Kernel modules: nouveau, nvidia
13:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio
Controller [10de:0e0a] (rev a1)
       Subsystem: eVga.com. Corp. Device [3842:2774]
       Kernel driver in use: snd_hda_intel
       Kernel modules: snd_hda_intel
----snip----

>
> You said that there were zero configurations involving modprobe.  Does this
> include
> loading the following modules in initramfs? vfio vfio_iommu_type1 vfio_pci
> vfio_virqfd
>
yes, Zero vfio/pci stub configuration, include grub, initramfs,
modules.load.d, modprobe.d, etc

only need if have problems with unsafe interrupts (see my other mails
in this topic)

greetings




More information about the vfio-users mailing list