Thanks for your explanations. It's possible to add softdep only for the HDMI ? I disable nouveau in my .config so there is no module for the card in the host.
Envoyé de mon iPhone > Le 3 août 2017 à 09:28, Karsten Elfenbein <karsten.elfenb...@gmail.com> a > écrit : > > Hi, > > module load order is not set in stone. So softdep might or might not > be needed. (should be added anyway) > vfio-pci should only grab those devices with the defined IDs. > > I got a gf950 and gf970 in my system. Only one card is set to use > vfio-pci. The other is used by host. > > > Best regards > Karsten > > 2017-08-03 9:16 GMT+02:00 LOMBARD Maxime <berilli...@gmail.com>: >> softdep snd-hda-intel pre: vfio-pci >> >> It's only used by the Ids that i added in the same vfio.conf ? >> Because i have other device which use snd_hda_intel module. >> >> I tried it this afternoon but it's strange that i need it on Gentoo and not >> on Debian. >> >> Envoyé de mon iPhone >> >> Le 3 août 2017 à 08:59, Karsten Elfenbein <karsten.elfenb...@gmail.com> a >> écrit : >> >> Hi Maxime, >> >> the modules need to load in the correct order. In this case the >> vfio-pci needs to load before the snd-hda-intel and nvidia. >> >> I have the following lines on my Gentoo machine to achieve that: >> >> cat /etc/modprobe.d/vfio.conf >> softdep nvidia pre: vfio-pci >> softdep snd-hda-intel pre: vfio-pci >> ... >> >> Best regards >> Karsten >> >> >> 2017-08-03 8:47 GMT+02:00 LOMBARD Maxime <berilli...@gmail.com>: >> >> Hi, >> >> >> I have a big problem on my Gentoo. A problem which does not exist on my >> >> Debian in the same Desktop. >> >> >> 1- i added in "/etc/modprobe.d/vfio.conf" the ids for my gtx970, gpu and >> >> HDMI >> >> >> 2- i added the vfio module in "/etc/conf.d/modules" to load them during the >> >> boot. >> >> >> After the reboot, there is only the VGA device which is attached to vfio, >> >> the HDMI is still used by intel_hda module. >> >> >> You can see my message in the gentoo forum : >> >> https://forums.gentoo.org/viewtopic-t-1067110.html >> >> >> Thanks for your help. >> >> Maxime >> >> >> >> _______________________________________________ >> >> 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