Issue with both gpus being on the same IOMMU groups and need help with what should fix it

Hey all, I’ve been on forums for the past 16 hours and I’m gonna pass out any moment now. Hardware: ASUS 490E motherboard, GTX 1050TI, RTX 2070. My goal: VM of windows using the 2070, host manjaro using the 1050TI.

Previously I had it working when I didn’t have the 2070, but now I’ve finally gotten really close but both cards are using “kernel driver in user: vfio-pci”. It seems to be that they’re in the same group.

IOMMU Group 1: 00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 03) 00:01.1 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x8) [8086:1905] (rev 03) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU106 [GeForce RTX 2070 Rev. A] [10de:1f07] (rev a1) 01:00.1 Audio device [0403]: NVIDIA Corporation TU106 High Definition Audio Controller [10de:10f9] (rev a1) 01:00.2 USB controller [0c03]: NVIDIA Corporation TU106 USB 3.1 Host Controller [10de:1ada] (rev a1) 01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU106 USB Type-C UCSI Controller [10de:1adb] (rev a1) 02:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) 02:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)

So on this arch wiki, under “Bypassing the IOMMU groups (ACS override patch)” I need to do this thing where I download linux-vfio and I guess patch the kernel but I’m really not understanding what steps they want me to do, can someone break the steps explanation up for me.

Did you look in the BIOS for a IOMMU setting (or probably VT-d?).

VT-d is enabled and working, the issue presently is that both gpus are in the same group so now manjaro can’t use the GTX 1050 which my intention was to get this 2070 to run the vm and have manjaro use the 1050, the link I posted to the arch wiki should be my solution, but I don’t understand how to apply that patch

I’m too new to this to actually help, didn’t made my own setup yet sorry can’t help more.

If I read and understand the wiki & the aur page correct the procedure is:
Run arch
Install the aur package and follow the instructions
add option to bootloader
Succes :partying_face:

This probably won’t work on Manjaro :slightly_frowning_face:


To make this work you have to build your own kernel.

Check out this tutorial to:

Tagging the post with kernel might attract more knowledgeable users.

2 Likes

Awesome, I got it, needed some help but got it working finally. Kind of. So the 2070 is now showing that it uses the kernel driver vfio-pci, the 1050 does not. But manjaro also isn’t using it as a display either. I get this when I run startx, think I should make a new post

Current Operating System: Linux jamesbuild1 5.10.6-arch1-1-vfio #1 SMP PREEMPT Wed, 13 Jan 2021 06:07:54 +0000 x86_64

Awsome! onto the next challenge :wink:

Yea lol, I split them up so the host could use the 1050, but it still doesn’t want to, ugh!