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).
Search Criteria
Package Details: linux-vfio 6.11.9-1
Package Actions
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.000290 |
First Submitted: | 2015-01-30 06:41 (UTC) |
Last Updated: | 2024-11-19 18:25 (UTC) |
Dependencies (19)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-hybridAUR, coreutils-selinuxAUR, coreutils-uutilsAUR)
- initramfs (booster-gitAUR, booster-wip-gitAUR, mkinitcpio-gitAUR, dracut-gitAUR, booster, dracut, mkinitcpio)
- kmod (busybox-coreutilsAUR, kmod-gitAUR)
- bc (bc-ghAUR) (make)
- cpio (cpio-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- graphviz (make)
- imagemagick (imagemagick-gitAUR, imagemagick-full-gitAUR, imagemagick-fullAUR) (make)
- libelf (elfutils-gitAUR) (make)
- pahole (pahole-gitAUR) (make)
- perl (perl-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-yaml (python-yaml-gitAUR) (make)
- tar (tar-gitAUR, busybox-coreutilsAUR) (make)
- texlive-latexextra (texlive-installerAUR, texlive-fullAUR, texlive-dummyAUR) (make)
- xz (xz-gitAUR) (make)
- linux-firmware (linux-libre-firmwareAUR, linux-firmware-xzAUR, linux-firmware-amd-staging-um5606-gitAUR, linux-firmware-uncompressedAUR, linux-firmware-gitAUR) (optional) – firmware images needed for some devices
- wireless-regdb (optional) – to set the correct wireless channels of your country
Required by (5)
- ksmbd-tools (requires KSMBD-MODULE)
- piavpn-bin (requires WIREGUARD-MODULE) (optional)
- piavpn-manual-git (requires WIREGUARD-MODULE)
- virtualbox-guest-utils-nox-svn (requires VIRTUALBOX-GUEST-MODULES)
- virtualbox-guest-utils-svn (requires VIRTUALBOX-GUEST-MODULES)
Sources (7)
- 1001-6.8.0-add-acs-overrides.patch
- 1002-6.8.0-i915-vga-arbiter.patch
- config-6.11.9
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.9.tar.sign
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.9.tar.xz
- https://github.com/archlinux/linux/releases/download/v6.11.9-arch1/linux-v6.11.9-arch1.patch.zst
- https://github.com/archlinux/linux/releases/download/v6.11.9-arch1/linux-v6.11.9-arch1.patch.zst.sig
Latest Comments
« First ‹ Previous 1 .. 19 20 21 22 23 24 25 26 27 28 29 .. 32 Next › Last »
markzz commented on 2017-03-16 02:53 (UTC) (edited on 2017-03-16 03:04 (UTC) by markzz)
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/
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.
Pinned Comments
xiota commented on 2024-01-09 18:43 (UTC) (edited on 2024-01-11 16:53 (UTC) by xiota)
clang
or disabling Arch patches.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:
Bypassing the default IOMMU grouping by overriding PCIe ACS support, and
Enabling VGA arbitration support on Intel iGPUs.
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).