Install Archlinux on PCI with dual GPUs using QEMU.
Install Archlinux on PCI with dual GPUs using QEMU.
Hello, I just began learning Linux in general, so don’t worry about my choices. I chose Arch and installed it, and everything started working fine. My goal was to run a VM for Windows 10 and Arch Linux as the main system. I followed this tutorial, and everything went smoothly until I tried to boot the emulator. The mouse worked as expected, but nothing appeared on my screen. Right now I’m seeing: I don’t know what could have caused this issue. I rewatched the guide and tried again, but still nothing. I added all the IDs from the instructions to the modprobe vfio config in /etc/mkinitcpio.conf. Here’s what I included: MODULES=(vfio_pci vfio vfio_iommu_type1 vfio_virqfd). According to the wiki, if another driver is loaded this way for early mode settings (like nouveau, radeon, amdgpu, i915, etc.), all these VFIO modules must come before it. I’m not sure if this line is missing something, but I didn’t get any error messages. During verification, the output looks different from what the wiki says, so I think there might be a mistake here. This has been a major frustration and took many hours to figure out. I really appreciate any help you can provide, as I’d love to get this working. If you’re interested, I’m also on Discord.
The video recommends using lspci -nmk to verify the card uses the VFIO driver. Have you tried it? What did you see? Make sure your motherboard slots belong to separate IOMMU groups. Do you have modconf in the HOOKS section of that file? Have you updated your module configuration with sudo mkinitcpio -p linux as described in the video? If everything was done properly, the issue could lie in how your VM is configured. You mentioned being a beginner—VFIO might seem complex at first, but you can start with Arch and tackle one problem at a time. Fedora offers solid support for VFIO if that’s what you prefer.
Thanks for your response. I confirmed the modconf exists in hooks and rebuilt the modules with `sudo mkinitcpio -p linux`. The card appears in separate IOMMU groups—around group 32 for audio and group 33 for general use. I recall it was set to VFIO, which is confusing since that driver isn’t what I expect. When checking the boot process, the CPU load increases but the GPU output remains unclear. I appreciate the simpler distros, though; installing Arch was straightforward, even if the setup felt a bit tricky.