error: internal error: Failed to load PCI stub module vfio-pci

Vfio config file seems to be missing so i am unable to use it maybe? I have tried to look this issue up repeatedly and no one seems to have the info on how to get vfio on my pc since i seem not to have it... anyone have any ideas? I'm mildly desperate

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Isolating_the_GPU

% pamac search linux-vfio                                                                                             ~
zfs-linux-vfio-headers                                                      0.8.2_5.2.14.arch1.1-1                        AUR 
    Kernel headers for the Zettabyte File System.
zfs-linux-vfio-git-headers                                                  2019.10.04.r5437.g94bcf6f5e_5.2.14.arch1.1-1  AUR 
    Kernel headers for the Zettabyte File System.
zfs-linux-vfio-git                                                          2019.10.04.r5437.g94bcf6f5e_5.2.14.arch1.1-1  AUR 
    Kernel modules for the Zettabyte File System.
zfs-linux-vfio                                                              0.8.2_5.2.14.arch1.1-1                        AUR 
    Kernel modules for the Zettabyte File System.
linux-vfio-lts-headers                                                      5.4.55-1                                      AUR 
    Headers and scripts for building modules for the LTS Linux VFIO kernel
linux-vfio-lts-docs                                                         5.4.55-1                                      AUR 
    Documentation for the LTS Linux VFIO kernel
linux-vfio-lts                                                              5.4.55-1                                      AUR 
    The LTS Linux VFIO kernel and modules
linux-vfio-headers                                                          5.7.12.arch1-1                                AUR 
    Headers and scripts for building modules for the Linux kernel
linux-vfio-docs                                                             5.7.12.arch1-1                                AUR 
    Documentation for the Linux kernel
linux-vfio                                                                  5.7.12.arch1-1                                AUR 
    The Linux kernel and modules

That should help :wink:

all returned errors.

[phoenyx@Natalie ~]$ pamac search linux-vfio ~
[phoenyx@Natalie ~]$ zfs-linux-vfio-headers 0.8.2_5.2.14.arch1.1-1 AUR
bash: zfs-linux-vfio-headers: command not found
[phoenyx@Natalie ~]$ Kernel headers for the Zettabyte File System.
bash: Kernel: command not found
[phoenyx@Natalie ~]$ zfs-linux-vfio-git-headers 2019.10.04.r5437.g94bcf6f5e_5.2.14.arch1.1-1 AUR
bash: zfs-linux-vfio-git-headers: command not found
[phoenyx@Natalie ~]$ Kernel headers for the Zettabyte File System.
bash: Kernel: command not found
[phoenyx@Natalie ~]$ zfs-linux-vfio-git 2019.10.04.r5437.g94bcf6f5e_5.2.14.arch1.1-1 AUR
bash: zfs-linux-vfio-git: command not found
[phoenyx@Natalie ~]$ Kernel modules for the Zettabyte File System.
bash: Kernel: command not found
[phoenyx@Natalie ~]$ zfs-linux-vfio 0.8.2_5.2.14.arch1.1-1 AUR
bash: zfs-linux-vfio: command not found
[phoenyx@Natalie ~]$ Kernel modules for the Zettabyte File System.
bash: Kernel: command not found
[phoenyx@Natalie ~]$ linux-vfio-lts-headers 5.4.55-1 AUR
bash: linux-vfio-lts-headers: command not found
[phoenyx@Natalie ~]$ Headers and scripts for building modules for the LTS Linux VFIO kernel
bash: Headers: command not found
[phoenyx@Natalie ~]$ linux-vfio-lts-docs 5.4.55-1 AUR
bash: linux-vfio-lts-docs: command not found
[phoenyx@Natalie ~]$ Documentation for the LTS Linux VFIO kernel
bash: Documentation: command not found
[phoenyx@Natalie ~]$ linux-vfio-lts 5.4.55-1 AUR
bash: linux-vfio-lts: command not found
[phoenyx@Natalie ~]$ The LTS Linux VFIO kernel and modules
bash: The: command not found
[phoenyx@Natalie ~]$ linux-vfio-headers 5.7.12.arch1-1 AUR
bash: linux-vfio-headers: command not found
[phoenyx@Natalie ~]$ Headers and scripts for building modules for the Linux kernel
bash: Headers: command not found
[phoenyx@Natalie ~]$ linux-vfio-docs 5.7.12.arch1-1 AUR
bash: linux-vfio-docs: command not found
[phoenyx@Natalie ~]$ Documentation for the Linux kernel
bash: Documentation: command not found
[phoenyx@Natalie ~]$ linux-vfio 5.7.12.arch1-1 AUR
bash: linux-vfio: command not found
[phoenyx@Natalie ~]$ The Linux kernel and modules
well the vfio commands did anyways

okok... hold on...

this:

is the output of the search:

To understand you correctly. You mean this?

https://www.kernel.org/doc/Documentation/vfio.txt
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Isolating_the_GPU

oh no i get no output to the command. And yes, that is what I am attempting to do.

May i ask what you expect from vfio?

To push my 2080 through to my windows vm in kvm as well as usbs.

ok good. you need to recompile the linux kernel for this usage. There are aur packages for that case. And there is no guarantee that this will work as expected. The aur packages are made for archlinux and they can differ to manjaro.

pamac install linux-vfio will download the sourcecode of the 5.7 kernel, patch it and compile it.

Be aware that you know what you are doing.

[phoenyx@Natalie ~]$ pamac install linux-vfio
Error: target not found: linux-vfio

open the pamac-manager and enable aur packages.

it's running the install now. I'm kinda new to linux, so this may be a noob question, but do i have to do anything to the config?

Normally yes... since manjaro has other PKGBUILDs than Archlinux for Kernels. i nevver had to use vfio, but hey wish you luck that it will work. :wink:

it didnt lmao I'm considering just running arch. Unless i can just compile a manjaro kernel that can use vfio? or even better! if i can just edit menu config

==> Verifying source file signatures with gpg...
archlinux-linux git repo ... FAILED (unknown public key 3B94A80E50A477C7)
==> ERROR: One or more PGP signatures could not be verified!
Error: Failed to build linux-vfio
here's the errors btw if you know anything bout it

yepp you need to import the public key.

how do you do that?

gpg --receive-keys <key>

I would suggest Archlinux if you want just to use windows in a vm with pci passthrough

I'd like a working linux install too, but it's looking like arch will be less work to make this work

Whuups... checked for no reason. vfio is patched in offcial 5.7 kernel of manjaro :wink: No need to compile that.

Forum kindly sponsored by