iGPU PCI passthrough: new experimental packages need testers
-
@ovicz in your case it seems the vbios is in the ROM BAR.
You can dump the vbios by doing something likecd /sys/bus/pci/devices/0000:00:02.0/ echo 1 > rom cat rom > /root/vbios.bin echo 0 > rom -
Another possibility for you would be to
yum downgradeqemu and the xapi packages, everything except edk2 and try again. -
@yannsionneau cd /sys/bus/pci/devices/0000:00:02.0/
[11:55 xcp-ng-akz 0000:00:02.0]# echo 1 > rom
[11:55 xcp-ng-akz 0000:00:02.0]# cat rom > /root/vbios.bin
cat: rom: Input/output error
[11:55 xcp-ng-akz 0000:00:02.0]# echo 0 > rom -
@yannsionneau Reverted to stable and I upgraded only that package from your repo. VMs start now. At what should i look for now ?
-
@ovicz with the new edk2 package it should help your VM access the vbios in the rom bar.
Does the VM see the gpu?
Can you share the VM dmesg as attached file?
Also, are you trying to passthrough a sriov virtual function? or the entire physical gpu?
Thanks -
Yes it does see it.
dmesg.txt
Passthrough was working and without that file from your repo. -
@ovicz It seems your gpu works even without vbios since in your dmesg I can see
[ 7.424250] i915 0000:00:08.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x0000 [ 7.424259] i915 0000:00:08.0: [drm] Failed to find VBIOS tables (VBT)So you're saying that anyway your setup was working even without all those new packages?
Thanks for testing anyway! -
@yannsionneau Yes it works with the stock packages.
-
@ovicz Thanks a lot for the feedbacks and tests

-
@yannsionneau No problem.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login