Package Base Details: linux-vfio

Git Clone URL: https://aur.archlinux.org/linux-vfio.git (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: 74
Popularity: 0.035323
First Submitted: 2015-01-30 06:41 (UTC)
Last Updated: 2024-03-28 08:16 (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

« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 30 Next › Last »

flack commented on 2017-07-03 22:27 (UTC)

For me linux-vfio 4.11.8-1 not work with intel VGA at host. I roll back to 4.11.6-2-vfio version.

markzz commented on 2017-06-23 00:06 (UTC)

Sorry about the lack of updates, I've been enormously busy lately. I will try really really hard to get the patches updated to 4.11.x this weekend, but will get them done by the end of next week for sure.

markzz commented on 2017-05-01 15:42 (UTC)

sheenik: Are you using an Intel integrated video for your host? If not, then the arbitration patch does nothing for you. I can also say that this package does work as expected on my system, but I do not use an Intel video device.

spheenik commented on 2017-05-01 07:30 (UTC) (edited on 2017-05-01 07:31 (UTC) by spheenik)

Arbitration patch (I suppose) seems not to work on 4.10-11 kernel. VM starts, but passed through GPU never turns on, and VM will remain stuck in this state. Reverting to a 4.8 vfio kernel resolves the issue.

markzz commented on 2017-03-16 02:53 (UTC) (edited on 2017-03-16 03:04 (UTC) by markzz)

Spartus: You shouldn't need this package if you're using an AMD chip. That is one of the few advantages of them (I kid I kid). ;-) On a side note, it takes me over an hour on my i7-4790K and I usually set it to compile when I go to bed. I also do provide this package on my repository, in the case you do actually need this package and you don't want to take the time to compile it (scroll down in the comments feed for more info).

Spartus commented on 2017-03-16 02:14 (UTC)

Thanks markzz. While I do appreciate that compile time is directly a function of computer speed, of course, it seems especially long for a brand new Ryzen 7 (although I fear baiting a conversation of AMD vs. Intel). Regardless, does 4+ hours seem reasonable based on other's experience?

markzz commented on 2017-03-15 17:30 (UTC)

Spartus: On a slow computer, this will take a while to compile.

Spartus commented on 2017-03-15 15:50 (UTC) (edited on 2017-03-15 17:16 (UTC) by Spartus)

Um,I just got a new system with IOMMU and wanted to install this... it has been compiling for 4 hours now. Is this normal? Certainly not what I expected. Update: ended in failure... CC drivers/md/dm-log-userspace.mod.o LD [M] drivers/md/dm-log-userspace.ko CC drivers/md/dm-log-writes.mod.o LD [M] drivers/md/dm-log-writes.ko CC drivers/md/dm-log.mod.o LD [M] drivers/md/dm-log.ko CC drivers/md/dm-mirror.mod.o gcc: internal compiler error: Segmentation fault (program cc1) Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.archlinux.org/> for instructions. make[1]: *** [scripts/Makefile.modpost:114: drivers/md/dm-mirror.mod.o] Error 4 make: *** [Makefile:1198: modules] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build linux-vfio. ==> Restart building linux-vfio ? [y/N]

markzz commented on 2017-03-05 20:44 (UTC) (edited on 2017-03-05 20:54 (UTC) by markzz)

I have built kernel 4.10.1 with some updated patches and if you would like to test them out (and please do), you can find both binary and source packages here [1]. I especially would like people who rely on the i915 arbitration patch to test it since I don't use that part. As always, test at your own risk. [1] http://duna.markzz.net/linux-vfio-4.10/