


























This package exists for the specific purpose of adding ported patches based on those originally created by Alex Williamson for:
Bypassing the default IOMMU grouping by overriding PCIe ACS support, and
Enabling VGA arbitration support on Intel iGPUs.
Arbitrary patches will not be added.
Refer to the wiki on PCI passthrough and this blog post on IOMMU groups for risks/caveats before using this package.
Regular AUR etiquette applies as well (knowledge of makepkg and searching the wiki/Arch forums is expected, and AUR helpers or Arch-based distros that are not Arch Linux are unsupported).
The package won't compile for me at the moment. It always downloads linux-v7.0.5-arch1.patch.zst and fails to apply it, despite the package being for pkgver=7.0.3. The culprit seems to be line 94 to 101, as it only looks for the minor version of the patch. So it gets the one for 7.0.5 instead of the 7.0.3, which is also available.
Any chance to make this more precise?
@daniel_shub I've added a default value for the empty variable. Will revise to remove git command with a later revision... need to find another way to list tags.
@xiota I am still having issues.
==> Verifying source file signatures with gpg... linux-6.13.7.tar ... Passed linux-v6.13.7-arch1.patch.zst ... Passed /startdir/PKGBUILD: line 63: git: command not found /startdir/PKGBUILD: line 99: git: command not found ==> Making package: linux-vfio 6.13.7-1 (Mon Mar 17 15:20:56 2025) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies...
...
installing git...
...
==> Retrieving sources... -> Found linux-6.13.7.tar.xz -> Found linux-6.13.7.tar.sign -> Found config-6.13.7 -> Found 1001-6.13.0-add-acs-overrides.patch -> Found 1002-6.13.0-i915-vga-arbiter.patch -> Downloading linux-.patch.zst... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading https://github.com/archlinux/linux/releases/download//linux-.patch.zst Aborting...
The warning about git is not that surprising since it happens before the dependencies are installed. Maybe not having git at that point is an issue, but if I run the grep on line 96:
_dl_url_arch='https://gitlab.archlinux.org/archlinux/packaging/packages/linux' pkgver=6.13.7 git ls-remote "$_dl_url_arch.git" | grep -Eo "v${pkgver}-arch[0-9]+" | sort -rV | head -1
I do not get any output which leads to the likely incorrect linux-.patch.zst source file. This makes me think there is something wrong with "v${pkgver}-arch[0-9]+"
Sorry for the edits, it is like I am going nuts. It does not build in a clean chroot. I think it has to do with the change to _srctag and the grep on line 96.
I don't know if anything can be done about IOMMU shared with other devices. Maybe someone else knows more?
Yes it is, but the 1050 TI is still reading as attached to group 14, which contains a bunch of things, including both network devices.
Isn't this what you want, VGA devices on separate IOMMU groups?
IOMMU Group 14 06:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1)
IOMMU Group 15 07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev ef)
Hello, again. Thanks for the update. I'm having an issue where I apply the patch, but it's not splitting up the iommu groups like I expected, or at least like happened when I last used the patch on my old PC. I'm trying to run my Nvidia 1050TI on a VM, but it is still a member of a larger group. https://pastebin.com/yfGY5jE8 I'm not sure what I'm doing wrong. This is what my GRUB file looks like currently. GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 amd_iommu=on ,multifunction video=efifb:off video=vesa:off vfio-pci.ids=10de:1c82,10de:0fb9 pcie_acs_override=downstream">
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
clangor disabling Arch patches.