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.023024
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 2 3 4 5 6 7 .. 30 Next › Last »

markzz commented on 2023-01-01 20:16 (UTC)

Yeah, turns out, maintaining this package is not always just updating the version number and grabbing a new config. I'll work on an updated patch today.

pagdot commented on 2023-01-01 15:53 (UTC) (edited on 2023-01-01 15:55 (UTC) by pagdot)

Applying the patch is broken right now:

==> Starting prepare()...
Setting version...
Applying patch add-acs-overrides.patch...
patching file Documentation/admin-guide/kernel-parameters.txt
Hunk #1 succeeded at 4145 (offset 516 lines).
patching file drivers/pci/quirks.c
Hunk #1 succeeded at 194 (offset 2 lines).
Hunk #2 succeeded at 5080 with fuzz 1 (offset 211 lines).
Applying patch i915-vga-arbiter.patch...
patching file drivers/gpu/drm/i915/display/intel_display.c
Hunk #1 succeeded at 8656 (offset -925 lines).
Hunk #2 succeeded at 8809 (offset -927 lines).
Hunk #3 FAILED at 10475.
1 out of 3 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/display/intel_display.c.rej
patching file drivers/gpu/drm/i915/display/intel_display.h
Hunk #1 succeeded at 576 (offset 8 lines).
patching file drivers/gpu/drm/i915/display/intel_vga.c
patching file drivers/gpu/drm/i915/display/intel_vga.h
patching file drivers/gpu/drm/i915/i915_params.c
Hunk #1 succeeded at 154 (offset 12 lines).
patching file drivers/gpu/drm/i915/i915_params.h
Hunk #1 succeeded at 76 with fuzz 2 (offset 1 line).
==> ERROR: A failure occurred in prepare().
    Aborting...

drivers/gpu/drm/i915/display/intel_display.c.rej:

\--- drivers/gpu/drm/i915/display/intel_display.c
+++ drivers/gpu/drm/i915/display/intel_display.c
@@ -10475,6 +10483,7 @@ void intel_modeset_driver_remove(struct drm_i915_private *i915)
        if (!HAS_DISPLAY(i915))
                return;

+       intel_vga_enable_mem(i915);
        flush_workqueue(i915->flip_wq);
        flush_workqueue(i915->modeset_wq);

eclairevoyant commented on 2022-11-05 18:19 (UTC) (edited on 2022-11-05 18:19 (UTC) by eclairevoyant)

I strongly suggest rebuilding this after updating openssl to 3.0.7 (or better, building in a clean chroot which has an updated openssl), as this may break things otherwise.

Firebug24k commented on 2022-10-31 04:25 (UTC)

Same problem here - I can't get 6.0.5 to boot, it hangs as soon as it gets to the framebuffer.

TieMajor commented on 2022-10-17 06:22 (UTC)

6.0.2.arch1-1 is causing weird issues for me. The initial framebuffer seems to be broken (I am not using quiet), but when the xorg or wayland session starts it works fine. Trying to troubleshoot this I only found out it happens when I specify ids with vfio-pci.ids as a kernel parameter.

The symtoms are extremly similar to this post https://bbs.archlinux.org/viewtopic.php?id=280512.

Onishin commented on 2022-09-02 08:07 (UTC)

The package has been out of date for a while now. Is the package definitely stopped? Can we expect an update soon? Is there any other solution than to do all the hand :( In any case, thank you for your time and skills.

Jeka commented on 2022-07-04 11:01 (UTC) (edited on 2022-07-04 11:05 (UTC) by Jeka)

Has anyone tried the Manjaro kernel with the ACS patch on Arch Linux? (linux-acs-manjaro)

giostark commented on 2022-06-05 00:58 (UTC)

Maybe a tip for other noobs like me. Now the system update work with the gcc 12.1. Installing the pre-compiled kernel (done with gcc 11.2) or via helper (yay always search for gcc 11.2) result in error with the latest nvidia modules (that use the gcc 12.1). Solutions: 1) downgrade the gcc to the 11.2 (bleah solution) 2) (better solution) compile the kernel from the source without helpers using: makepkg -Crso Then: makepkg -ers Then: sudo pacman -U (3 packs generated before) Here the topic of the issue: https://bbs.archlinux.org/viewtopic.php?pid=2039309#p2039309

JuniorJPDJ commented on 2021-12-09 00:31 (UTC)

pssst, this version is 2 patches old now

Mine-turtle commented on 2021-10-27 05:45 (UTC) (edited on 2021-11-21 11:32 (UTC) by Mine-turtle)

HI, I'm unable to completely update my Manjaro for two update cycles now. These three are the last stragglers: linux-vfio, linux-vfio-docs, linux-vfio-headers.

This is all I get from pacman (gui) before update terminates:


  Preparing...
  Cloning linux-vfio build files...
  Generating linux-vfio-docs information...
  Failed to prepare transaction:
  Failed to generate linux-vfio-docs information

Any advice?