<div dir="ltr">My switch is indeed better behaving - it emulates some weird monitor on inactive ports. Before that I was using display dummies to avoid resolution resets but I never had an issue with keyboard focus getting lost. May be it is because of Windows 7 where the QXL window just stays on "Starting Window" screen and is not used by the OS in any way. I never used a Widnows 10 VM and can't compare. Does it display anything in the QXL window? <br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 19, 2017 at 3:47 PM, Patrick O'Callaghan <span dir="ltr"><<a href="mailto:poc@usb.ve" target="_blank">poc@usb.ve</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On 19 March 2017 at 20:32, Nick S <span dir="ltr"><<a href="mailto:nick.kvmhv@gmail.com" target="_blank">nick.kvmhv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Monitor source selection menu is the cheapest option and also the least convenient. The most convenient option is a KVM switch but then you would have to deal with passing one of its USB ports to the VM while keeping the other one on host and a good KVM will cost you several hundred bucks. The way I am using it:<div>1) Cheap HDMI switcher (i.e. something like this: <a href="https://www.amazon.com/TBS%C2%AE2083-Intelligent-Switcher-Adapter-Splitter/product-reviews/B00M6I8K2E" target="_blank">https://www.amazon.com/T<wbr>BS%C2%AE2083-Intelligent-Switc<wbr>her-Adapter-Splitter/product-<wbr>reviews/B00M6I8K2E</a>). It allows me to switch the cards without fumbling with the monitor menu. </div></div></blockquote><div> </div></span><div>This is the one I have: <a href="https://www.amazon.co.uk/gp/product/B019MJM2ZU/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1" target="_blank">https://www.amazon.co.<wbr>uk/gp/product/B019MJM2ZU/ref=<wbr>oh_aui_detailpage_o02_s00?ie=<wbr>UTF8&psc=1</a> </div><div>Very cheap and really designed for TVs.</div><span class=""><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>2) I keep the emulated VGA as a second adapter on my virtual machines. For Windows 7 it keeps a window on the desktop that I can use to grab or release focus for keyboard and mouse. This way I don't have to deal with any USB passthrough - only the GPU is passed to the VM.</div></div><div class="m_3442591712919448982gmail-yj6qo m_3442591712919448982gmail-ajU"><div id="m_3442591712919448982gmail-:1ew" class="m_3442591712919448982gmail-ajR"></div></div></blockquote></span></div><div class="gmail_extra"><br></div>That's more or less what I do as well. However when I toggle the HDMI switch from the 2nd GPU (Windows) to the 1st (Linux), Windows rings a notification saying it has lost the screen, I presume because the switch powered down that port. (This doesn't happen if I just connect both GPUs directly to the monitor via HDMI and DVI inputs). Note that toggling the switch back pings again and the screen is restored, but now the mouse and KB are trapped in the Linux desktop window and can't be moved across. Possibly your switch is better behaved and doesn't power down the port, in which case that would solve the problem for me.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">poc<br><br></div></font></span></div>
</blockquote></div><br></div></div>