Package Base Details: linux-vfio

Git Clone URL: (read-only, click to copy)
Keywords: acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga
Submitter: zman0900
Maintainer: xiota
Last Packager: xiota
Votes: 73
Popularity: 0.003261
First Submitted: 2015-01-30 06:41 (UTC)
Last Updated: 2024-07-19 00:23 (UTC)

Pinned Comments

xiota commented on 2024-01-09 18:43 (UTC) (edited on 2024-01-11 16:53 (UTC) by xiota)

  • Leaving eclairvoyant's comment pinned because it contains some useful information.
  • Patch policy is different, but similar.
    • Primary purpose of this package are the ACS override and i915 VGA arbiter patches.
    • Upstream Arch patches will be applied to maintain parity with the standard kernel.
    • No other patches will be added.
  • Package does have options that can be changed, like building with clang or disabling Arch patches.
    • Defaults will match Arch packages, except when incompatible with this package's primary patches.
    • Options are subject to change. Read PKGBUILD for details.
  • Avoid commenting and flagging at the same time for the same issue.
    • Flag for common issues with standard solutions, like new releases, key changes, etc.
    • Comment for issues requiring explanation or debugging.
      • Use a pastebin for blocks of text more than a few lines.

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:

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).

Latest Comments

1 2 3 4 5 6 .. 31 Next › Last »

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)


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.

cypressRU commented on 2024-07-22 23:34 (UTC) (edited on 2024-07-22 23:56 (UTC) by cypressRU)

Hello. I made an account here just so I can ask this question. When I run this through Yay, it just crashes my system.

Is this expected behavior?

Edit: It looks like the crashes were due to the use of the Yay aur package manager thing. Apologies.

xiota commented on 2024-06-11 02:34 (UTC)

I'm guessing you missed makepkg. The commands should be similar to the following:

sudo pacman -S base-devel git
git clone
cd linux-vfio
makepkg -s --skippgpcheck
# wait a long time for build
sudo pacman -U linux-vfio-6.9.3-1-x86_64.pkg.tar.zst linux-vfio-headers-6.9.3-1-x86_64.pkg.tar.zst

Joeythe_fish commented on 2024-06-11 02:26 (UTC)

@xiota I'm following this guide and got down to the install phase. The file you're describing isn't in the current directory. Can you point out what I've done wrong? I used git clone and PKGBUILD. PS. Thank you so much for your work maintaining this package.

xiota commented on 2024-06-11 02:16 (UTC)

@Joeythe_fish You're trying to install the wrong file. The correct files should be named similar to linux-vfio-6.9.3-1-x86_64.pkg.tar.zst and linux-vfio-headers-6.9.3-1-x86_64.pkg.tar.zst.