"Generic PnP Monitor" Failing Input Switching on Windows 10 VM
I use a 4-port USB hub ("25a7:fa70") with the following setup:
- USB-HUB-1: Ubuntu Host on GPU-0 on Monitor1 Hdmi1
- Motherboard USB is NOT passed through.
- USB-HUB-2: Windows 10 VM on GPU-1 on Monitor1 DisplayPort1
- GPU-1 is passed through from Ubuntu host.
- USB PCIe Card is also passed through from Ubuntu host.
display-switch running on Ubuntu successfully detects Monitor1 and switches to Hdmi1 when USB device "25a7:fa70" connects. display-switch running on Windows 10 VM also detects "25a7:fa70" connecting but fails to switch to DisplayPort1. As a workaround, I'm using on_usb_disconnect on my Ubuntu host to switch the display between host and VM but this has obvious limitations for connecting my USB hub ports to other computers sharing Monitor1.
On Windows 10, Monitor1 is detected as two devices: Generic PnP Monitor and GA102-A/2147881091:Lvds (Googling for "GA102" suggests a relationship to my Nvidia GPU-1), but display-switch cannot switch Monitor1's input via either detected device. I tried the following display-switch.ini:
usb_device = "25a7:fa70"
on_usb_connect = "DisplayPort1"
[monitor1]
monitor_id = "GA102"
on_usb_connect = "DisplayPort1"
[monitor2]
monitor_id = "Generic"
on_usb_connect = "DisplayPort1"
I can switch using DDC/DI using winddcutil, so that makes me think that changing display-switch could be adjusted.
Windows 10 display-switch logs: https://gist.github.com/sl33nyc/f21f96e5d02d5831b908f48c8866bc49
did you find a solution to this? I have the same problem with Generic PnP Monitor and GA104