Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Generic PnP Monitor" Failing Input Switching on Windows 10 VM #74

Open
sl33nyc opened this issue Dec 10, 2021 · 1 comment
Open

"Generic PnP Monitor" Failing Input Switching on Windows 10 VM #74

sl33nyc opened this issue Dec 10, 2021 · 1 comment

Comments

@sl33nyc
Copy link

sl33nyc commented Dec 10, 2021

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

@bukhamsin
Copy link

did you find a solution to this? I have the same problem with Generic PnP Monitor and GA104

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants