3 ms·
One screen, two GPUs. For the screen I've got an LG 38GL950G, and the GPUs are a Radeon WX5100 (macOS) and RTX 2080 Ti (Windows). I run the Linux host (Ubuntu)
by x3sphere 6y ago
One screen, two GPUs. For the screen I've got an LG 38GL950G, and the GPUs are a Radeon WX5100 (macOS) and RTX 2080 Ti (Windows). I run the Linux host (Ubuntu) headless.
I have the macOS side connected via HDMI and Windows via DisplayPort. Then I switch inputs when through the monitor's OSD for changing the OS (I think there's a way to do this through DDC/CI commands depending on the monitor, in which case you'd be able to write a script to do this, haven't looked into that yet). I have a USB switch for moving all device connections to the OS of my choice.
Also the board I have, an X299 Designare, has several USB controllers on their own IOMMU group so you can pass through each to their own VM.
- Teknoman117 6y agoDoes passing through the "boot" gpu work well these days? I remember it not working very well in the past.
- x3sphere 6y agoIt works fine here on Ubuntu 19.10 (kernel 5.3). I just run the following commands to stop gdm and X after booting: sudo systemctl stop gdm sudo systemctl stop systemd-logind sudo killall gdm-x-session Then start my VM. libvirt automatically unbinds it from the host and binds to the VM. You're right though, in the past this has been problematic. It is working fine though now at least on my Radeon WX 5100.