Thanks for the reply. I haven't tried the script yet. I'm going to work on it more later tonight. I have two Nvidia GTX 970s.
On Fri, Feb 19, 2016, 4:43 PM Ben J <btpprogr...@gmail.com> wrote: > For your latter question, it doesn't seem like you should need to modify > it as his original script already generically finds all GPUs. Did it not > work when you tried it? Also, what type of cards are you using? If they're > NVIDIA with nvidia drivers then I doubt that script will work for you. > I'm using the following guide: > https://vfio.blogspot.com/2015/05/vfio-gpu-how-to-series-part-3-host.html. > I'm having trouble adapting some of the Fedora focused instructions for use > in Arch. > > *1. Dracut* > Dracut isn't used in Arch but the mkinitcpio is. You're asked to insert > *add_drivers+="vfio > vfio_iommu_type1 vfio_pci vfio_virqfd" *in: > */etc/dracut.conf.d/local.conf*. Farther down, I'm supposed to insert > *install_items+="/sbin/vfio-pci-override-vga.sh > /usr/bin/find /usr/bin/dirname" *in: */etc/dracut.conf.d/local.conf*. > > Should I instead add these lines to a modprobe.d conf file or should I add > it to the modules line in */etc/mkinitcpio.conf*? > > *2. driver_override* > My bash-foo isn't very good and I need to adapt the following script (see > below) so that it points to the correct directories. In Arch, the directory > for the GPU (02:00.0) and GPU audio (02:00.1) are here: > */sys/devices/pci0000:00/0000:00:02.0/0000:02:00.0/* & > */sys/devices/pci0000:00/0000:00:02.0/0000:02:00.1/* > > > > > > > > * #!/bin/sh DEVS="0000:02:00.0 0000:02:00.1" for DEV in $DEVS; > do echo "vfio-pci" > /sys/bus/pci/devices/$DEV/driver_override done > modprobe -i vfio-pci* > > Hope to hear from you soon! > > Best, > Garland Key > > _______________________________________________ > vfio-users mailing list > vfio-users@redhat.com > https://www.redhat.com/mailman/listinfo/vfio-users > >
_______________________________________________ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users