VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    Lately I've been using a simple USB 2.0 switch to share my keyboard between two computers. (I do have two pointing devices for them.)

    I get inserted and dropped frames when I try to do this USB disconnect / connect during a VirtualDub capture.

    To ensure that I'm not actually using USB resources during capture and getting some sort of conflict, I tried a capture with one of my PCIe cards writing to internal SATA SSD. Then I removed nearly all resource usage by doing an uncompressed Test Capture (F7), which doesn't write to disk at all. Process Explorer reports that VirtualDub is using less than 0.25% CPU.

    Still, the problem remains. I see two processes that spike: an instance of svchost.exe associated with the Plug and Play service (among two others) and explorer.exe.

    Click image for larger version

Name:	Dropped frames on USB event - svchost Services.png
Views:	395
Size:	79.0 KB
ID:	36260

    The purple arrow below indicates CPU usage spikes each time I pressed a button on the USB switch.

    Name:  Dropped frames on USB event - svchost + explorer.png
Views: 687
Size:  34.6 KB

    Don't tell me I'm gonna have to invest in an actual KVM just to avoid this silliness!

    I'm vaguely aware of software solutions for keyboard sharing, but I feel like there must be notable lag.
    Quote Quote  
  2. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    Usb is a subset to video so anytime a usb device is disconnected you'll continue to have the problem during video capture ... no getting around it apart from.

    Try Synergy ... basic version costs $10, very easy to use

    Or Inputdirector
    Quote Quote  
  3. Mod Neophyte Super Moderator redwudz's Avatar
    Join Date
    Sep 2002
    Location
    USA
    Search Comp PM
    One of the 'problems' with USB is that the system polls the USB devices all the time to see if they are alive and plugged in and operating.
    With USB 1.1 and maybe 2.0 that could cause dropped data to external drives occasionally if too many USB devices were connected.

    I suspect the capture might be hanging when one of those USB devices is suddenly missing and USB firmware is doing some checking. Just a guess, though.

    I'd try a KVM. I have several of them and they seem to operate seamlessly.
    Quote Quote  
  4. Capturing Memories dellsam34's Avatar
    Join Date
    Jan 2016
    Location
    Member Since 2005, Re-joined in 2016
    Search PM
    Are the keyboards that expensive?
    Quote Quote  
  5. Dinosaur Supervisor KarMa's Avatar
    Join Date
    Jul 2015
    Location
    US
    Search Comp PM
    Originally Posted by dellsam34 View Post
    Are the keyboards that expensive?
    Probably just more of a hassle to have to use more than one keyboard if you want to stay seated at the same desk.
    Quote Quote  
  6. Member
    Join Date
    Aug 2006
    Location
    United States
    Search Comp PM
    Keyboards are cheap enough, but many find it awkward to juggle two keyboards and two mice for two different systems. If I had to do that often, I would definitely invest in a KVM switch or the suggested software.
    Quote Quote  
  7. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    The issue seems to be limited to my Win7 system. Or possibly its chipset, if not the OS itself?

    I just did a capture using a PCI card on a different computer running WinXP (writing to SSD) and wasn't able to make it drop frames when I toggled the switch.
    Quote Quote  
  8. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    ^ Computer 2, which doesn't insert frames upon USB toggle in WinXP, does insert frames when toggling in Win7.

    There is another variable I didn't control for (I used a different capture card, the Intensity Pro 4K) but it seems to me this issue is specific to the newer OSes.
    Quote Quote  
  9. You may try to search for better USB port - use Microsoft USBView http://www.ftdichip.com/Support/Utilities/usbview.zip to check ports hierarchy and this one to verify latency http://www.thesycon.de/deu/latency_check.shtml - search for least affected... It works sometimes - not sure if it can help in your case as USB is CPU hog...
    Quote Quote  
  10. Formerly 'vaporeon800' Brad's Avatar
    Join Date
    Apr 2001
    Location
    Vancouver, Canada
    Search PM
    Are you saying that I need a better USB port for my keyboard?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!