PCIe Passthrough of Radeon iGPU fails
-
So I have a Ryzen 9 7900 and a functioning XCP-ng 8.3 installation and I can hide the iGPU correctly, however, passing it through fails. A Github issue here: https://github.com/gangqizai/igd/issues/24 provides some interesting information. Iit seems that the OpROM for integrated graphics is stored and loaded in firmware rather than anything directly handleable by Xen. At the very least, is there any way to make the emulated graphics less choppy? I used virtual-machine-manager and I know not of if the graphics emulation was really good on CPU or if it used acceleration from the iGPU that I have, but it was able to run Windows 10 with good graphics
-
I'm not deep into GPU passthrough myself, but played a lot with it lately. especially iGPU!
From what I've read (and experienced) iGPU passthrough is one of the harder cases.
An integrated GPU keeps its option ROM in the motherboard firmware rather than on the card, which is roughly what that GitHub issue you linked describes. XCP-ng documents the general PCI and GPU passthrough path at https://docs.xcp-ng.org/compute#-gpu-passthrough, though I don't think it promises that integrated GPUs specifically will work.
On the choppy emulated graphics, the default virtual display isn't accelerated as far as I know, so that's expected rather than a regression.
This is really a hardware and compute-layer question, so it might be worth a mention to @Team-Hypervisor-Kernel to see whether anyone has managed to pass a Ryzen iGPU through at all. -
@poddingue Yeah, that does make sense. I understand that this wouldn't necessarily be an intended usecase. I'll probably just get a cheap consumer GPU. And apologies for if this question is painfully obvious, but how would I mention @Team-Hypervisor-Kernel?
But if I can hypothesize, firmware is usually accessible via sysfs, there's an Archlinux guide here: https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot#Determine_OpROM_signature for determining OpROM signatures, which includes getting it as a file, so maybe that could be loaded in someway, but I know not of the feasibility of that.
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