Qubes with multiple GPUs and monitors

I have a laptop with 2 GPUs. They are identified as such in the devices page of the Qubes manager:
00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]
01:00.0 VGA compatible controller: NVIDIA Corproation TU106M [Geforce RTX 2060 Mobile]

I have not messed with any XFCE config or anything. My laptop monitor works fine, and I am currently writing this from my Qubes install. I have 2 external monitors, one is connected via HDMI, and the other via Mini DisplayPort. These 2 monitors do not work, and are not detected in the dom0 display settings. However, unplugging and re-plugging either of them, automatically opens the display settings, although they are still not listed. From my understanding, these 2 ports are connected to the dedicated Nvidia GPU. On Windows, if I disable my RTX 2060 in the device manager, the external displays stop working. I have seen other people on the forum say they can switch whether their monitors are connected to the iGPU or dGPU, or both, in their BIOS, I however have no such option. I have tried creating an HVM Qube called sys-dgpu, and assigning the RTX 2060 to it. Then, I opened the display settings from within that Qube. Unfortunately, it doesn’t detect the external displays, nor does it detect the built in display, and only shows an example device. I just want to be able to use all 3 of my monitors. I would imagine the easiest solution (which I could not figure out how to do), would be to change which GPU the GUI is rendered with to the RTX 2060. I would prefer not to do this approach for 2 reasons, firstly, this caps the built in laptop display to 59 hz (at least it does when I disable the iGPU in the Windows device manager). Second, I would like to have a Qube with access to the RTX 2060, so I can use it for things like Hashcat and anything that needs a decent GPU for rendering. Any help is greatly appreciated, thanks in advance.

1 Like

Have you ever been able to make it work? I’m having similar issues. I really need to be able to use additional monitors and have no luck.

Laptop dGPU’s are usually not suitable for PCI Passtrough.
Even if lspci it’s show 2 independent device, those are usually connected together internally.

How you can use those - and the connected displays?
It is fully depends on the laptop vendor/model and BIOS/UEFI version.

So you should either look for the HCL if you found reports using your specific Laptop
And/or provide more details - if someone has experience with your specific model

My Lenovo P52 for example works with external displays out of the box, if Hybrid mode selected for graphics in BIOS.