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.023494
First Submitted: 2015-01-30 06:41 (UTC)
Last Updated: 2024-04-18 00:48 (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 .. 18 19 20 21 22 23 24 25 26 27 28 .. 30 Next › Last »

markzz commented on 2017-03-03 19:06 (UTC) (edited on 2017-03-05 20:00 (UTC) by markzz)

jpbd: *grumble* Usually minor releases of Linux do this, still is annoying though to rewrite the patches. I also do pay attention to linux in [core] before upgrading this package.

jpbd commented on 2017-03-02 08:58 (UTC) (edited on 2017-03-02 09:04 (UTC) by jpbd)

@markzz I was doing some testing on linux 4.10, I know it is still in testing there are significant changes. 1. change-default-console-loglevel.patch This patch has been dropped. https://bbs.archlinux.org/viewtopic.php?id=223686 2. i915-vga-arbiter.patch Patch is not working. Hunk #2 FAILS 16370 Problem Child: This is from linux-4.10/drivers/gpu/drm/i915/intel_display.c void i915_redisable_vga_power_on(struct drm_i915_private *dev_priv) { i915_reg_t vga_reg = i915_vgacntrl_reg(dev_priv); if (!(I915_READ(vga_reg) & VGA_DISP_DISABLE)) { DRM_DEBUG_KMS("Something enabled VGA plane, disabling it\n"); i915_disable_vga(dev_priv); } } I tried to change to patch to resemble this but it didn't work. So I'm lost. Not sure if it is needed anymore anyways. 3. add-acs-overrides.patch It seems as if the Documentation in the Linux-4.10/Documentation/ has changed from Documentation/kernel-parameters.txt to Documentation/admin-guide/kernel-parameters.txt. Making this makes the patch pass successfully. 4. Need to update the config config.x86_64 is needed. Hope this helps thing for the near future. Send me some feedback.

f4bio commented on 2017-02-04 05:53 (UTC)

I updated this package (to v4.9.7) somewhat (no VGA arbiter patch): https://github.com/f4bio/aur-linux-vfio (also, my first ever kernel build, feedback would be very much appreciated)

markzz commented on 2017-01-27 16:44 (UTC) (edited on 2017-01-29 20:15 (UTC) by markzz)

Well, this package is normally updated when Arch updates it's version of linux in core. It looks like they have released 4.9.6-1 only hours ago and I haven't had the time to look at it and see if the patches work. I have been updating the package on my repository along the 4.8.x releases. EDIT: The patches don't work again so I have to rewrite them again.

simpleauthority commented on 2017-01-27 09:42 (UTC)

Will this continue to be updated? Very useful.

markzz commented on 2016-11-28 16:25 (UTC)

dominicm: Some aur helpers seem to not be able to handle split packages. When it encounters them, they seem to add the packages that are produced multiple times which causes pacman to error. You can see this first hand if you run makepkg on a PKGBUILD then do `pacman -U pkg-ver.pkg.tar.xz pkg-ver.pkg.tar.xz`. Yaourt doesn't do this, but it has an issue that it will build this PKGBUILD three times if you do a `yaourt -Sua` which could get annoying very quickly.

dominicm commented on 2016-11-23 13:58 (UTC)

@soul Thanks, yaourt does indeed work though it's annoying to have to use it just for the kernel. Hopefully someone can shed some light on this issue.

s0ul commented on 2016-11-22 18:30 (UTC)

@dominicm, I had that same issue several times with packer and pacaur but using yaourt -S linux-vfio works as intended. This may not be the solution you want but it's something.

dominicm commented on 2016-11-22 17:57 (UTC)

I am getting duplicate target error after which the kernel is downloaded again and compiled and so on and on. This has happened with the last 5+ releases. Have to install manually which is annoying with frequent updates. Using packer -S to install. Anyone else having this problem? root Password: loading packages... error: 'linux-vfio-headers-4.8.8-1-x86_64.pkg.tar.xz': duplicate target error: 'linux-vfio-docs-4.8.8-1-x86_64.pkg.tar.xz': duplicate target

markzz commented on 2016-10-23 18:32 (UTC)

I have updated the package on my repository to 4.8.4. If you want to build this yourself, since the patches needed to be redone in order for it to work, I have uploaded a source package for anyone to use [1]. Feel free to use either and I will continue to keep both updated if this PKGBUILD falls behind again. [1] http://arch.markzz.com/linux-vfio-4.8.4-1.src.tar.gz