I don't know if anything can be done about IOMMU shared with other devices. Maybe someone else knows more?
Search Criteria
Package Details: linux-vfio 6.11.9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/linux-vfio.git (read-only, click to copy) |
---|---|
Package Base: | linux-vfio |
Description: | The Linux kernel and modules (ACS override and i915 VGA arbiter patches) |
Upstream URL: | https://www.kernel.org |
Keywords: | acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga |
Licenses: | GPL-2.0-or-later |
Provides: | KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE |
Submitter: | zman0900 |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 73 |
Popularity: | 0.000290 |
First Submitted: | 2015-01-30 06:41 (UTC) |
Last Updated: | 2024-11-19 18:25 (UTC) |
Dependencies (19)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, dracut-gitAUR, booster, dracut, mkinitcpio)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-yaml (python-yaml-gitAUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- texlive-latexextra (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, linux-firmware-amd-staging-um5606-gitAUR, linux-firmware-uncompressedAUR, linux-firmware-gitAUR) (optional) – firmware images needed for some devices
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (5)
- ksmbd-tools (requires KSMBD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (7)
- 1001-6.8.0-add-acs-overrides.patch
- 1002-6.8.0-i915-vga-arbiter.patch
- config-6.11.9
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.9.tar.sign
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.9.tar.xz
- https://github.com/archlinux/linux/releases/download/v6.11.9-arch1/linux-v6.11.9-arch1.patch.zst
- https://github.com/archlinux/linux/releases/download/v6.11.9-arch1/linux-v6.11.9-arch1.patch.zst.sig
xiota commented on 2024-09-19 05:16 (UTC) (edited on 2024-10-16 03:33 (UTC) by xiota)
Joeythe_fish commented on 2024-09-19 04:11 (UTC)
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.
xiota commented on 2024-09-19 04:06 (UTC)
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)
Joeythe_fish commented on 2024-09-19 02:00 (UTC) (edited on 2024-09-19 02:01 (UTC) by Joeythe_fish)
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">
xiota commented on 2024-07-23 02:28 (UTC) (edited on 2024-07-23 02:30 (UTC) by xiota)
Kernel 6.9.10-arch1-1
What does cat /proc/version
say? If you didn't switch kernels, the crash isn't caused by this package.
I don't know where to get info about the crash.
Try searching for how to use journalctl
and dmesg
.
It looks like the crashes were due to the use of the Yay aur package manager thing.
If the crash occurs during build or install, it could be a bug in yay or some other program. I've seen segfaults on AMD processors with other packages that build fine on Intel. No idea what causes it. Have not seen the same problem with this package.
Kernels are also heavy packages to build. If you have insufficient memory or storage, the system could behave erratically after running out of resources.
cypressRU commented on 2024-07-23 00:50 (UTC) (edited on 2024-07-23 00:53 (UTC) by cypressRU)
@Joeythe_fish
Sorry if my answer is incomplete GPU: AMD ATI Radeon RX 6600/6600 XT/6600M GPU: NVIDIA GeForce RTX 3070 (in a pcie slot but no monitors plugged into it) Arch Linux x86_64, Kernel 6.9.10-arch1-1 I use Awesome DE
When it 'crashes', my terminal (and all monitors) stops updating and it just restarts. No error messages. Nothing shows on screen. I don't notice the fans getting louder.
Thanks everyone for the responses!
Joeythe_fish commented on 2024-07-23 00:36 (UTC)
Also, what kind of AMD GPU?
Joeythe_fish commented on 2024-07-23 00:36 (UTC)
Tell us what version of arch you're running, and what your system does when it crashes. Does the computer just instantly turn off? Do the fans start spinning really loud? Are there any messages that flash on screen? Also, why are you using yay?
cypressRU commented on 2024-07-23 00:31 (UTC)
@xiota sorry. I am pretty new to arch. I don't know where to get info about the crash. All I know is I use an amd gpu, and it's been crashing when replacing those drivers. I thought it was fixed but it wasn't
xiota commented on 2024-07-22 23:50 (UTC)
@cypressRU You'll have to provide a lot more information about your system and the crash.
Pinned Comments
xiota commented on 2024-01-09 18:43 (UTC) (edited on 2024-01-11 16:53 (UTC) by xiota)
clang
or disabling Arch patches.eclairevoyant commented on 2023-04-06 21:24 (UTC) (edited on 2023-04-06 21:31 (UTC) by eclairevoyant)
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).