You are not logged in.
I'm trying to bind my second GPU to vfio-pci but first I need to load the VFIO module. I tried to do it via modprobe as instructed in this wiki article (section 3.2.1):
https://wiki.archlinux.org/title/PCI_pa … h_via_OVMF
I created /etc/modprobe.d/vfio.conf with these contents:
softdep drm pre: vfio-pciHowever, it seems that this does nothing. After rebooting and doing "dmesg | grep -i vfio" or "lsmod | grep -i vfio" I get no results.
I also tried these alternatives in the vfio.conf file:
softdep amdgpu pre: vfio-pcisoftdep drm pre: vfio vfio-pci vfio_iommu_type1softdep amdgpu pre: vfio vfio-pci vfio_iommu_type1But none of these seems to work.
Both GPUs are AMD (Vega 56 and R9 Nano). Kernel version is: 7.2.15-hardened1-2-hardened
Is this method even supposed to work anymore? Should I just try the initramfs method instead?
Offline
Modprobe.d is normally processed AFTER the initramfs stage.
If kms is among your mkinicpio hooks, the amdgpu kernel module will have been loaded already in the initramfs stage.
You probably should remove kms from the hooks and add the vfio and amdgpu modules to the modules= array to ensure they're loaded in the correct order.
Please post your /etc/mkinitcpio.conf file in code tags, see https://bbs.archlinux.org/help.php#bbcode
Last edited by Lone_Wolf (Yesterday 10:28:18)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline