PCI passthrough via OVMF

3000

Lt. Junior Grade
Registriert
Feb. 2010
Beiträge
485
hi, kurze Frage. Ist es möglich eine Onboard GPU an Windows weiterzureichen? Also keine GPU über PCIe.

Im konkreten Fall geht es um ein Apollo Lake Mainboard. OS wird Archlinux.

Will dann die Intel HD Graphics 500 in Windows nutzen.

Ist das möglich?

Danke
3000
 
Auch die jeweilige CPU-GPU wird über PCIe angesprochen. Insofern hat das nichts mit dem Bussystem zu tun. Ob du die jeweilige GPU dann praktisch dediziert in Windows verwenden kannst, ich vermute das ist das, was du willst, hängt von deinem Emulator unter Linux ab. Da du offensichtlich Qemu verwendest, solltest du hier mal weiterlesen.
 
Du brauchst aber eine zweite GPU für dein Hostsystem, da die GPU schon ab den Booten isoliert sein sollte.
 
Es gibt da eine Möglichkeit, Dein Host System ist dann allerdings nur via Shell zu erreichen.
HAbe selbst einen virtuelle Gaming Maschine mit Win10 fertiggestellt.
Diese Seite war recht hilfreich:

https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
Etwas weiter unten gibt es diesen Link:


https://wiki.archlinux.org/index.php/Talk:pCI_passthrough_via_OVMF#Additionnal_sections
und dort am Ende:

I managed to pass the boot gpu (the only one in my system) by:
setting the GRUB option GRUB_GFXPAYLOAD_LINUX=text (for example in /etc/default/grub)
and adding the kernel parameter earlymodules=vfio-pci (although I'm not sure if that is necessary at all)
That prevents the initramfs from initializing a graphical console on the boot gpu, allowing the VM to take over it directly after GRUB. However, you can't see your boot status and will have to type your LUKS password blind if you encrypted your root partition.
The Hardware I used: AMD Ryzen 7 1700 CPU, Mainboard: Biostar X370GTN, Passthrough GPU: Nvidia GeForce GTX 970
 
Zuletzt bearbeitet:
Zurück
Oben