Yes, this was it!
Before making may more changes, I looked in /proc/iomem and found this:
18021000000-20020ffffff : PCI Bus 0000:80
20000000000-2000fffffff
20000000000-200120fffff : PCI Bus 0000:81
20000000000-2000fffffff : 0000:81:00.0
20000000000-20000257fff : efifb <<<< HERE, wrong module!
20010000000-20011ffffff : 0000:81:00.0
20010000000-20011ffffff : vfio-pci
20012000000-2001203ffff : 0000:81:00.2
20012000000-2001203ffff : vfio-pci
20012040000-2001204ffff : 0000:81:00.2
20012040000-2001204ffff : vfio-pci
I added "video=efifb:off" to kernel options, also added "blacklist efifb" to
modprobe.d and restarted;
After restart (but before starting virtual machine), /proc/iomem (for this mem.
range) was:
18021000000-20020ffffff : PCI Bus 0000:80
20000000000-200120fffff : PCI Bus 0000:81
20000000000-2000fffffff : 0000:81:00.0
20010000000-20011ffffff : 0000:81:00.0
20012000000-2001203ffff : 0000:81:00.2
20012040000-2001204ffff : 0000:81:00.2
i.e. no modules listed.
After starting virtual machine (with GPU working - finally!), it is:
18021000000-20020ffffff : PCI Bus 0000:80
20000000000-200120fffff : PCI Bus 0000:81
20000000000-2000fffffff : 0000:81:00.0
20000000000-2000fffffff : vfio-pci <<< HERE, correct module!
20010000000-20011ffffff : 0000:81:00.0
20010000000-20011ffffff : vfio-pci
20012000000-2001203ffff : 0000:81:00.2
20012000000-2001203ffff : vfio-pci
20012040000-2001204ffff : 0000:81:00.2
20012040000-2001204ffff : vfio-pci
Thanks and Happy New Year to you!
B.
On Thu, 30 Dec 2021, at 11:04 AM, Arjen wrote:
> On Thursday, December 30th, 2021 at 11:48, Bronek Kozicki
> <[email protected]> wrote:
>
>> I think here is the strongest hint; the host dmesg is floodeed with messages
>> "BAR 1: can't reserve"
>
> This sounds like you need to add video=efifb:off to the kernel
> parameters.
> (Don't use a combined video=efifb:off,vesafb:off, but separate them if
> you need them both.)
> Or release the EFI framebuffer before doing passthrough.
> Or make sure the system does not use this GPU during POST and boot.
> Or maybe some other work-around that is needed for passthrough of the
> single GPU of the system?
--
Bronek Kozicki
[email protected]
_______________________________________________
vfio-users mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/vfio-users