Package Details: linux-vfio-headers 5.12.12.arch1-2

Git Clone URL: (read-only, click to copy)
Package Base: linux-vfio
Description: Headers and scripts for building modules for the Linux kernel
Upstream URL:
Keywords: acs arbiter assignment gpu i915 kvm override passthrough pci qemu vfio vga
Licenses: GPL2
Submitter: zman0900
Maintainer: markzz (slowbro)
Last Packager: slowbro
Votes: 63
Popularity: 0.108773
First Submitted: 2015-01-30 06:41
Last Updated: 2021-06-20 02:35

Pinned Comments

markzz commented on 2020-05-01 15:44

A few things BEFORE building this package and/or commenting here:


If you do not read the wiki and ask a stupid question, you'll either get a stupid/terse response from me or you will be ignored. If this continues, this may require me to bring this up to a TU for account suspensions.

Remember, there's also search engines that you can also look up errors that you get related to makepkg.


This package's goal is to be as close to the Arch Linux linux package. Therefore, we use the config file from that package. We will not, unless under very special circumstances, modify the config file for any reason.

You can make changes yourself. You should be capable enough to make any changes you see fit without us making the changes on our end.


This one has been more recent. The goal of this package is to add a MINIMAL patch set for IOMMU grouping and for VGA arbitration on Intel iGPUs. Under no circumstances will I backport patches that are not present in the linux repository on nor will I add a patch that adds a feature outside of the intended goal of this project.

If you absolutely feel that your patch is completely necessary, you MUST have ready a link to the appropriate discussion from the OFFICIAL LINUX KERNEL MAILING LISTS and/or from Arch Linux's Bug Tracker at For the latter, they must be bugs present in the linux package in [core] and do NOT open a task on there if it is specific to this package (or any AUR package for that matter). I do not want to see links to reddit talking about some patch that you want to add.

If you want to add patches to your own build, that's completely fine.


AUR helpers are unsupported and therefore we will not provide help to you unless you have verified it's not working with makepkg. I always make sure this package builds in a clean chroot before uploading here, so I know it builds on a clean and up to date Arch Linux system.


Both maintainers of this package provide signed binary packages in unofficial pacman repositories maintained and signed by ourselves. If you do not want to compile this kernel yourself for whatever reason, feel free to make use of them.

slowbro commented on 2020-02-26 23:21

Like markzz was, I'm providing updated builds in my (unofficial) user repository, if you don't want to build this yourself.

Info here:

Signing key: 85186206

Details on importing a key for pacman are here.

Latest Comments

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

daniel_shub commented on 2021-02-17 15:11

I did a little more digging and it looks like the problem is not this package, but rather that the linux package might be broken in the core repo (opps). It looks like the Arch Devs are on it and there is a 5.11 version of the linux package in testing with a patch for a recent upgrade to Sphinx. My guess is once the new version hits core and this package is updated, everything will be fine.

daniel_shub commented on 2021-02-16 20:37

I am having trouble building in a clean chroot.

cat: /etc/os-release: No such file or directory SPHINX htmldocs --> file:///build/linux-vfio/src/archlinux-linux/Documentation/output PARSE include/uapi/linux/dvb/audio.h PARSE include/uapi/linux/dvb/ca.h PARSE include/uapi/linux/dvb/dmx.h PARSE include/uapi/linux/dvb/frontend.h PARSE include/uapi/linux/dvb/net.h PARSE include/uapi/linux/dvb/video.h PARSE include/uapi/linux/videodev2.h PARSE include/uapi/linux/media.h PARSE include/uapi/linux/cec.h PARSE include/uapi/linux/lirc.h WARNING: The kernel documentation build process support for Sphinx v3.0 and above is brand new. Be prepared for possible issues in the generated output. /build/linux-vfio/src/archlinux-linux/Documentation/driver-api/usb/usb:158: ./drivers/usb/core/message.c:961: WARNING: Duplicate C declaration, also defined at driver-api/usb/gadget:759. Declaration is '.. c:function:: int usb_string (struct usb_device dev, int index, char buf, size_t size)'. /build/linux-vfio/src/archlinux-linux/Documentation/driver-api/usb/usb.rst:961: WARNING: Duplicate C declaration, also defined at driver-api/usb/gadget:759. Declaration is '.. c:struct:: usb_string'. /build/linux-vfio/src/archlinux-linux/Documentation/gpu/drm-kms:349: ./drivers/gpu/drm/drm_fourcc.c:312: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:3. Declaration is '.. c:function:: const struct drm_format_info * drm_format_info (u32 format)'. /build/linux-vfio/src/archlinux-linux/Documentation/gpu/drm-kms:433: ./drivers/gpu/drm/drm_modeset_lock.c:338: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:46. Declaration is '.. c:function:: int drm_modeset_lock (struct drm_modeset_lock lock, struct drm_modeset_acquire_ctx ctx)'. /build/linux-vfio/src/archlinux-linux/Documentation/gpu/drm-uapi:346: ./drivers/gpu/drm/drm_ioctl.c:919: WARNING: Duplicate C declaration, also defined at gpu/drm-uapi:70. Declaration is '.. c:function:: bool drm_ioctl_flags (unsigned int nr, unsigned int flags)'. /build/linux-vfio/src/archlinux-linux/Documentation/gpu/todo.rst:283: WARNING: Unexpected indentation. /build/linux-vfio/src/archlinux-linux/Documentation/gpu/todo.rst:284: WARNING: Block quote ends without a blank line; unexpected unindent. /build/linux-vfio/src/archlinux-linux/Documentation/driver-api/miscellaneous:48: ./drivers/pwm/core.c:667: WARNING: Duplicate C declaration, also defined at driver-api/miscellaneous:294. Declaration is '.. c:function:: int pwm_capture (struct pwm_device pwm, struct pwm_capture result, unsigned long timeout)'. /build/linux-vfio/src/archlinux-linux/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.h:4719: WARNING: Duplicate C declaration, also defined at driver-api/80211/mac80211:1011. Declaration is '.. c:function:: void ieee80211_tx_status (struct ieee80211_hw hw, struct sk_buff *skb)'.

Exception occurred: File "/usr/lib/python3.9/site-packages/sphinx/builders/html/", line 1039, in <lambda> ctx['css_files'].sort(key=lambda js: js.priority) AttributeError: 'str' object has no attribute 'priority' The full traceback has been saved in /tmp/sphinx-err-ct3buvc5.log, if you want to report the issue to the developers. Please also report this if it was a user error, so that a better error message can be provided next time. A bug report can be filed in the tracker at Thanks! make[1]: [Documentation/Makefile:91: htmldocs] Error 2 make: [Makefile:1665: htmldocs] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /chroot/base-devel/dshub/build

giostark commented on 2020-12-28 13:54

@slowbro OT/ RTX4000 user here , but big thanks for your constant effort !!! :-) Happy holidays to both of you that help us to use this kernel ;-) /OT

slowbro commented on 2020-12-23 06:41

I have the patch & package prepped for 5.10.2 - waiting for it to come out of testing. There were significant changes to i915 in 5.10 - is anyone running 5.10.x already, on i915, and willing to test the linux-vfio package before 5.10 hits core?

derwhalfisch commented on 2020-12-09 07:58

5.9.11 has fixed the IOMMU groups problem for me, but I have had to include a patch to deal with an AMD reset bug.

peterh commented on 2020-12-04 07:11

5.9.11 fixed the problem also for me. Thanks.

spamad commented on 2020-12-02 19:17

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

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

curl | gpg --import

markzz commented on 2020-10-27 04:48

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

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 ?