Package Details: linux-vfio 6.12.5-1

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.000157
First Submitted: 2015-01-30 06:41 (UTC)
Last Updated: 2024-12-18 23:01 (UTC)

Dependencies (19)

Required by (6)

Sources (7)

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

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 32 Next › Last »

peterh commented on 2020-12-04 07:11 (UTC)

5.9.11 fixed the problem also for me. Thanks.

spamad commented on 2020-12-02 19:17 (UTC)

I was having the same issue as peterh where the IOMMU grouping stopped working at 5.9.1 (I7-3770, Gigabyte Z77X-UD3H). After compiling 5.9.11, the issue is now resolved.

Zetein commented on 2020-11-30 04:35 (UTC)

An easy way to import the required gpg keys, if anyone is having problems with it as I was.

curl https://keybase.io/heftig/pgp_keys.asc | gpg --import

markzz commented on 2020-10-27 04:48 (UTC)

I can confirm there's an issue with it. I cannot get to investigating until this weekend though.

peterh commented on 2020-10-22 18:12 (UTC)

The IOMMU groups on my system (Z77, I7-3770) are broken if I'm using version linux-vfio 5.9.1.arch1-1. Any idea ?

slowbro commented on 2020-10-18 22:22 (UTC) (edited on 2020-10-18 22:22 (UTC) by slowbro)

5.9.1 is up now, but note that nvidia is only partially supported on 5.9.x; nvidia expects to have an update ready in november. this seems to only affect cuda and opencl.

https://forums.developer.nvidia.com/t/nvidia-driver-not-yet-supported-for-linux-kernel-5-9/157263

there are supposedly some patches available that workaround this issue; you'll need to find/apply those yourself if you need cuda/opencl on 5.9.x.

slowbro commented on 2020-09-30 18:47 (UTC)

Do you have any custom gpg configs or are you perhaps using an alternative keyring? I also am not able to reproduce the problem. Make sure your GPG keyring has all the listed signatures from your first post...

:: PGP keys need importing:
 -> ABAF11C65A2970B130ABE3C479BE3E4300411886, required by: linux-vfio
 -> 647F28654894E3BD457199BE38DBBDC86092693E, required by: linux-vfio
 -> A2FF3A36AAA56654109064AB19802F8B0D70FC30, required by: linux-vfio

c3924754 commented on 2020-09-30 15:04 (UTC)

gpg --recv-keys 3B94A80E50A477C7
git clone https://aur.archlinux.org/linux-vfio.git
cd linux-vfio
makepkg -si

These steps do not work for me, without helpers. Even after having a clean repo/folder.

==> Verifying source file signatures with gpg...
    archlinux-linux git repo ... SIGNATURE NOT FOUND
==> ERROR: One or more PGP signatures could not be verified!

rootinthemood commented on 2020-09-29 21:13 (UTC) (edited on 2020-09-29 21:14 (UTC) by rootinthemood)

gpg --recv-keys 3B94A80E50A477C7

git clone https://aur.archlinux.org/linux-vfio.git

cd linux-vfio

makepkg -si

Works here. I suggest reading the pinned comment as AUR helpers are not supported.

c3924754 commented on 2020-09-29 18:56 (UTC)

:: PGP keys need importing:
 -> ABAF11C65A2970B130ABE3C479BE3E4300411886, required by: linux-vfio
 -> 647F28654894E3BD457199BE38DBBDC86092693E, required by: linux-vfio
 -> A2FF3A36AAA56654109064AB19802F8B0D70FC30, required by: linux-vfio
==> Import? [Y/n] y
:: Importing keys with gpg...
gpg: key 19802F8B0D70FC30: 6 duplicate signatures removed
gpg: key 19802F8B0D70FC30: 6 signatures reordered
gpg: key 19802F8B0D70FC30: public key "Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>" imported
gpg: key 38DBBDC86092693E: public key "Greg Kroah-Hartman <gregkh@linuxfoundation.org>" imported
gpg: key 79BE3E4300411886: public key "Linus Torvalds <torvalds@kernel.org>" imported
gpg: Total number processed: 3
gpg:               imported: 3
==> Making package: linux-vfio 5.8.12.arch1-1
==> Retrieving sources...
  -> Cloning archlinux-linux git repo...
Cloning into bare repository '/home/user/.cache/yay/linux-vfio/archlinux-linux'...
remote: Enumerating objects: 19718, done.
remote: Counting objects: 100% (19718/19718), done.
remote: Compressing objects: 100% (9357/9357), done.
remote: Total 7741632 (delta 13062), reused 13650 (delta 10325), pack-reused 7721914
Receiving objects: 100% (7741632/7741632), 2.29 GiB | 6.63 MiB/s, done.
Resolving deltas: 100% (6468837/6468837), done.
  -> Found config
  -> Found add-acs-overrides.patch
  -> Found i915-vga-arbiter.patch
  -> Found sphinx-workaround.patch
==> Validating source files with sha256sums...
    archlinux-linux ... Skipped
    config ... Passed
    add-acs-overrides.patch ... Passed
    i915-vga-arbiter.patch ... Passed
    sphinx-workaround.patch ... Passed
==> Verifying source file signatures with gpg...
    archlinux-linux git repo ... SIGNATURE NOT FOUND
==> ERROR: One or more PGP signatures could not be verified!
error downloading sources: linux-vfio

Getting all of heftig's keys from KeyBase does not work either. Suggestion gpg --recv-keys 3B94A80E50A477C7 also does not work. What is going on here?