Hi. You should try with the real ids of your gpu. The trick didn't work with my AMD GPU, perhaps it's the same for you. <br><div class="gmail_quote"><div dir="ltr">Le sam. 11 mars 2017 à 18:49, Patrick O'Callaghan <<a href="mailto:poc@usb.ve">poc@usb.ve</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, 2017-03-11 at 18:37 +0100, Torbjorn Jansson wrote:<br class="gmail_msg">
> > So IOMMU group 1 contains my Nvidia GPU and audio, plus the PCIe root<br class="gmail_msg">
> > bridge.<br class="gmail_msg">
> ><br class="gmail_msg">
> > $ cat /etc/modprobe.d/local.conf<br class="gmail_msg">
> > options vfio-pci ids=10de:ffffffff:ffffffff:ffffffff:00030000:ffff00ff,10de:ffffffff:ffffffff:ffffffff:00040300:ffffffff<br class="gmail_msg">
> ><br class="gmail_msg">
> > (this is just cut-and-paste from Alex's blog. I've no idea what any of<br class="gmail_msg">
> > the magic hex numbers mean except for the 10de of course).<br class="gmail_msg">
> ><br class="gmail_msg">
> > $ cat /etc/dracut.conf.d/local.conf<br class="gmail_msg">
> > add_drivers+="vfio vfio_iommu_type1 vfio_pci vfio_virqfd"<br class="gmail_msg">
> ><br class="gmail_msg">
> > My boot line is:<br class="gmail_msg">
> ><br class="gmail_msg">
> > GRUB_CMDLINE_LINUX="rd.blacklist=nvidia rd.blacklist=nouveau intel_iommu=on iommu=pt rd.driver.pre=vfio-pci vconsole.font=latarcyrheb-sun16 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rhgb quiet resume=U<br class="gmail_msg">
> > UID=1431e6d2-531e-46cd-8633-1cf878c6b2a1" audit=0<br class="gmail_msg">
> ><br class="gmail_msg">
> > (Note that I have the Nvidia proprietary driver so need to mask that as<br class="gmail_msg">
> > well as Nouveau).<br class="gmail_msg">
> ><br class="gmail_msg">
> > My monitor is connected to HDMI on the internal GPU and DVI on the<br class="gmail_msg">
> > Nvidia card.<br class="gmail_msg">
> ><br class="gmail_msg">
> > However on rebooting I always have the Nvidia module loaded, and don't<br class="gmail_msg">
> > have vfio:<br class="gmail_msg">
> > $ lsmod|egrep -i nvidia\|vfio<br class="gmail_msg">
> > nvidia_drm             53248  1<br class="gmail_msg">
> > nvidia_modeset        806912  8 nvidia_drm<br class="gmail_msg">
> > nvidia              12267520  175 nvidia_modeset<br class="gmail_msg">
> > drm_kms_helper        151552  1 nvidia_drm<br class="gmail_msg">
> > drm                   339968  4 nvidia_drm,drm_kms_helper<br class="gmail_msg">
> ><br class="gmail_msg">
> > And of course, the monitor is only active on the DVI port and not the HDMI.<br class="gmail_msg">
> ><br class="gmail_msg">
> > Any suggestions on what I might try?<br class="gmail_msg">
> ><br class="gmail_msg">
> > poc<br class="gmail_msg">
> ><br class="gmail_msg">
><br class="gmail_msg">
> looks ok, did you remember to regenerate grub config?<br class="gmail_msg">
> if not, then your changes in /etc/default/grub did not take effect.<br class="gmail_msg">
><br class="gmail_msg">
> if i'm not mistaken you run: grub2-mkconfig -o grub.cfg<br class="gmail_msg">
> check it first before replacing old file under /boot and make a backup<br class="gmail_msg">
> of it first in case you screw up.<br class="gmail_msg">
<br class="gmail_msg">
Yes, I did that (on Fedora it's: grub2-mkconfig -o /etc/grub2.cfg). I<br class="gmail_msg">
do have a backup. If it looks right, there must be something else I'm<br class="gmail_msg">
missing. I've wondered if having the Nvidia drivers installed could<br class="gmail_msg">
affect things, though I don't see why it should be necessary as long as<br class="gmail_msg">
I can stop them being loaded. I keep them updated using akmod but even<br class="gmail_msg">
uninstalling akmod and the kmod-nvidia rpm it generates doesn't make<br class="gmail_msg">
any difference, i.e. somehow the modules are still there, which is<br class="gmail_msg">
weird in in itself. Maybe that's the root of the problem.<br class="gmail_msg">
<br class="gmail_msg">
poc<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
vfio-users mailing list<br class="gmail_msg">
<a href="mailto:vfio-users@redhat.com" class="gmail_msg" target="_blank">vfio-users@redhat.com</a><br class="gmail_msg">
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" class="gmail_msg" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br class="gmail_msg">
</blockquote></div>