[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [vfio-users] [help] 2 identical GPUs in Arch [UPDATE]



Hey everyone,

I just wanted to let you know that I'm now successfully using gpu passthrough and it's great!  Thanks so much to everyone who took the time to help me out.  Unfortunately, I was never able to get it to work on Arch.  I decided to give a new distro a try for the first time in 5 years (Fedora 23).  I had forgotten how nice it is to have everything curated for you with secure configurations by default.  I followed the instructions in the blog and it worked on the first try.

Best,
David

On Tue, Mar 1, 2016 at 11:51 AM Garland Key <david garland key gmail com> wrote:
Thank you! lspci -nnk shows that my second gpu is bound to vfio-pci!  I'll move on to wrapping this up.

On Tue, Mar 1, 2016 at 11:46 AM sL1pKn07 SpinFlo <sl1pkn07 gmail com> wrote:
2016-03-01 10:00 GMT+01:00 Garland Key <david garland key 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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]