Firstly, I need to describe problem I had to solve today. I decided to install virtualized Ubuntu, because Neverwineter Nights: EE display broken Polish letters. I decided to passthrought an amd cart to it. But my system freeze after running VM. I discovered that I probably removed amd_iommu=1 kernel parameter and keeps only intel_iommu=1 .
I read I need to match iommu to CPU vendor and cannot enable AMD iommu if I had intel CPU. My questions are:
Can I enable AMD iommu, when I have intel CPU, Intel integrated GPU and AMD discrete GPU?
Can I enable both intel and amd iommu and passthrought AMD dedicated GPU to VM?
Although I posted the following about a year and a half ago, it points to “live documentation” that should be the latest and current for most common virtualization.
In the future,
You’ll likely get a better response and find answers on your own if you post or search the Virtualization Forum for anything related to virtualization or isolation (like containers).
I read post pointed by your link and some articles about setup. If I understood everything, to makes things works, I need to make my GPU invisible to X and any graphics driver in system. Am I right?
When I „dettach” only pci_0000_01_00_0 (Amd Topaz Graphic) my system freezes,
When I do this with pci_0000_00_1c_0 and next pci_0000_01_00_0 my system freezes (that’s odd, because I think child node will be detached, when parent is)
That Fedora article is a bit weird… even after thinking about that for a few minutes, it’s an odd amalgam of methods and my guess won’t give you want you want, which is likely hardware pass through. The Fedora article appears to configure a dedicated GPU, but uses virtualization drivers instead of direct hardware access. Is that what you want?
Before going any further,
You should clarify your objectives…
Do you simply want to configure a specific GPU or do you really want to set up direct hardware access?
If you’re perhaps not entirely clear on the above essential question, you should state your non-technical requirement… What kind of application or use do you need to set up in your Guest that it can’t share the GPU the Host is using?
Libvirt’s vm-manager can be used with a multitude of different virtualization technologies, which virtualization are you trying to set up?
If you are installing KVM, Xen or LXC, did you use the YaST Virtualization module to install (your should)? That’s the easiest way to install these virtualization technologies so that you are starting with a known configuration and generally common functionality. Otherwise, you will have to install and configure several things on your own manually.
BTW
If you didn’t already know, you can’t do a pass-through for any devices that your Host system requires, and that applies in particular to the GPU.
When you do a hardware pass-through, the Guest will have monopoly use of that device, and that includes no access by the HostOS.
I see that you have both an Intel and an AMD GPUs.
Whichever one your Host is using you should <not> “pass through” that to your Guest.
A hardware pass-through is generally considered an advanced topic for special cases… Are you an advanced user of Virtualization, or is this your first setup?
Re-reading your original post more closely,
Are you trying to address “broken Polish letters?”
If that is the case, you should provide a link to the advice you’re getting to resolve the issue.
Generally speaking, I cannot think of any way IOMMU likely has anything to do with display characters.
Usually characters are displayed by a configuration of pixels, and depending on the font often is related to the Unicode Transformation format (UTF), eg eg using UTF-8 instead of ANSI to display Polish characters.
Thank for reply.
I decided to use technology giving me good performance in games on my virtualized Ubuntu system. Reason is: many titles doesn’t support different os than Windows, MacOS and Ubuntu/Mint and solving gamming problems on OpenSUSE makes me to be alone with this problems. Ubuntu get support and there’s many Brown-Purple-Whatever penguin’s.
I discovered, when I ran Ubuntu system with Amd Topaz GPU passthrough today and tries to install AMDGPU Pro drivers, but Ubuntu update in the same moment (Ubuntu isn’t much better in update manner than MS ), so I rerun VM and my system hang. I think it’s real lottery my system hang or not. I tries in different way and remove display and graphic adapter (not real): VirtIO video and Spice Display - Ubuntu probably runs, but I have only an console. I’m searching a way to use this technique and redirect AMD Topaz output onto HDMI output, so I can connect an second monitor.I remember, there’s command to manage mode (SING/SOURCE) of GPU, but I don’t remember how do this and don’t know it’s exactly that.