VMware Workstation

 View Only
Expand all | Collapse all

Workstation 16.2: USB pass-through is unstable

  • 1.  Workstation 16.2: USB pass-through is unstable

    Posted Oct 21, 2021 03:39 PM

    Dear all, dear support,

    in an new Workstation 16.2 there is a strange problem: the USB devices, which are passed through to a Windows 10 VM are getting occasionally disconnected. It looks like if somebody would just pull out the cable out from the PC.

    After the short time of nothing doing is the connection intact again.

    I use pass-through for an USB headset and for an USB webcam, to work with Microsoft Teams from inside of a VM. If you loose your connection in the middle of a conference, it's not very cool

    Meanwhile I downgraded Workstation to 16.1.2, which doesn't have these problems.

    One more point: in order to get the devices (headset and webcam) work on WS 16.1.2, I have to set the virtual USB adapter to be USB 2.0. With this setting on WS 16.2 I had to set the virtual USB adapter to USB 3.1, because while having it in USB 2.0 mode, I didn't get sound at all.



  • 2.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 08:30 AM

    Same problem here. Starting a VM allows all USB devices to be accessed. After a random period of time, all devices disappear from the list, even those not connected. No activity necessary, so this is not a user triggered event. Rebooting the VM doesn't help. Restarting VMWare does. Restarting the USB arbitration service on the host doesn't seem to help.



  • 3.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 08:36 AM

    Same here... guest OS rendered unusable for USB application... annoying... cant work on it anymore. 



  • 4.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 08:39 AM

    Oddly, the instability seems to only be triggered by DISK connection. Connecting any USB devices other than disks seems to be stable.



  • 5.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 08:47 AM

    My issue is USB audio and USB Video... it degrades over time. made all the usual fixes to make it work but thats not working anymore. 



  • 6.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 09:31 AM

    When you say "degrades", what exactly happens? I do notice some issues with Teams but saw that elsewhere and believed it to be a Microsoft issue.



  • 7.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 09:46 AM

    Its while using Teams - but, teams has not changed, i upgraded the VM host app.  

    Since 16.2.0 build-18760230 and Windows 11 22000.258 (i did not use the previews) - this issue of USB audio has returned. The fix before was to use USB 2.0 VM compat and to use USB 2.0 hardware port. Then USB audio devices would work fine... no longer. 

    Steps: 

    VM -> USB Compat: 2.0

    USB is plugged into hardware USB 2 port (Jabra USB device)

    The device is showing in the VM... 

    in Teams, when i want to use the device, the speaker does not work, microphone does work 

    then in Windows, goto: SETTING > SOUND > PROPERTIES > OUTPUT SETTINGS > Jabra device > then switch between "formats" i.e.  Telephone Quality or CD Quality.

    When i switch between these it works for a while... but then to stops working after a while and distorts. 

    Here is an older thread: Solved: Re: Workstation 16: Audio Delay and Distortion - VMware Technology Network VMTN



  • 8.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 10:56 AM

    Tested with other apps like Spotify and Skype... same issue... 



  • 9.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 10:57 AM

    You need to fiddle with the quality setting of the stream in the control panel, it will start to work, then a new mins later, it will distort and evntually you cant hear anything. 



  • 10.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 01, 2022 06:32 AM

    Let me add a precision (based on my experience), is that if the system is stressed (typically the CPU), then the probability of the USB issue sharply increases.



  • 11.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Jan 03, 2024 08:46 PM

    my system is very high end and not stressed at all, but USB mic drops often.  I have to toggle a different mic then back again.  This isn't due to the system being loaded. My host is nearly idle (below 15%) and my VM is easily below 50%, usually below 25% with memory below 50% utilized

     



  • 12.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 01, 2022 06:33 AM

    So although it is not the user's fault in any way, it is still in some way a user-triggered event, which can usually be reproduced by just stressing the system during a test Zoom meeting session (since those apps are not forgiving with USB Mic loss).



  • 13.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 12:36 PM

    Anyone know where I can get a download of 16.1.2 to try that?



  • 14.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 12:41 PM

    I just swapped VM > USB 2.0 to 3.1 virtualization - plugged in to 3.1 hardware ports and everything is working again. 



  • 15.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 01:58 PM

    Interestingly, one VM may not show the USB devices where another VM running at the same time will. So this implies it's specific to a VM and not the underlying system.



  • 16.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 02:37 PM

    KaseliteJust wait for a while - you'll get disconnects. Unfortunately.



  • 17.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Jun 30, 2022 03:32 AM

    that works



  • 18.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 22, 2021 02:43 PM

    darlee69: you can still download it on the download site of VMWare.



  • 19.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 23, 2021 02:26 PM

    Downgrading to 16.1.2 has solved the problem for me. No disconnects and it has been stable for hours. Hopefully all of this information gives enough from which to solve the problem.



  • 20.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 25, 2021 01:25 PM

    Hi, I have checked the downloads page for V16 but only V16.2 is listed - can you provide a link?



  • 21.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 25, 2021 01:44 PM

    You must be logged in to your VMWare account and then go to "download Workstation". You'll see the select box in the top left corner, there you can select, which 16.x subversion you would like to download. 

     

     



  • 22.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Oct 26, 2021 09:20 AM

    Hi,

    It seems I can downgrade to V15.5.7 but the previous versions of V16 have been removed? Only V16.2 is showing

    Never mind - I have found it now , many thanks again



  • 23.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Nov 23, 2021 03:20 AM

    This issue seems to persist in 16.2.1. I will continue to use 16.1.2 until all these bugs are fixed.



  • 24.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Apr 19, 2022 11:50 PM

    Same problem for me. I have used Workstation for years and have never had the issue, so it might be a bug from the last version (16.2.3).

    I have multiple VMs running concurrently, and multiple webcams and microphones. So each VM has its own set of audio/video inputs with no interference. It does not matter if only 1 VM is running though.

    It happens randomly, out of the blue, and especially if the compute is stressed, as if some USB arbitration was disconnecting for a fraction of second, perhaps just enough to behave as if the USB packets were no longer being processed and therefore appearing as if the cable had been virtually disconnected.

    Imagine you are in the middle of a remote presentation before 500 people and your microphone suddenly disappears. Most of the time, manually re-enabling it is all that suffices. But in some cases, a complete shutdown of the host machine is required, which is intolerable.

    I have enabled the verbose logs for USB so that VMware inspects the metadata, but they have not found anything yet and they have redirected me to this article. I hope they will identify the root cause of this issue and will fix it quickly and permanently, as it is unacceptable.



  • 25.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Nov 04, 2022 01:28 PM

    Any updates to this issue at all?  I recently tried VMWare 16.2.4 thinking (hoping) this issue was resolved, but I still had the same disconnect issues with a USB headset, so I rolled back to 16.1.2.  Has anyone found any solution to this issue besides staying at an old version of VMWare?



  • 26.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Nov 28, 2022 08:02 AM

    I'm experiencing the exact same issue with my Jabra Engage 75 headset in my Windows 10 VM since VMware Workstation version 16.2, which is why I was still using the old version 16.1.2 until a week ago. I have tried many things, but nothing has helped.

    I've now updated to the new VMware Workstation version 17, but unfortunately the problem still exists... A firmware upgrade of my headset was also recently released, but that didn't change anything either.

    In order for me to use the headset at all, I had to change the VM settings for USB from 2.0 to USB 3.1. That works for a while (sometimes even for several hours), but very often, however, I have the problem that I can still hear something with my headset, but the person I'm talking to suddenly stops hearing anything in the middle of the conversation, or sometimes even at the beginning of the conversation. Most of the time it's enough to restart my softphone application, but I also think that it's a short interruption of the USB connection and my softphone application can no longer access the microphone. Interestingly, I haven't had the problem of not being able to hear anything myself.

    VMware Workstation version 16.1.2 was released in May 2021. It would be a real shame if I had to downgrade to this 1.5 year old version again now, just because I have to work with my headset every day in one of my many VMs. I hope there will be some solution for this soon.



  • 27.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Nov 28, 2022 12:26 PM

    If it helps anyone: I've now installed a software called "USB Network Gate" (https://www.net-usb.com) on my host system and inside my VM. I use it to pass my USB headset through to the VM over the network rather than directly through VMware Workstation. This works perfectly and without any interruption. It also causes just 1.5 to 3 Mbps of traffic when I'm on the phone and only a few Kbps when I'm not using my headset. I also don't notice any delays. So now I stay with VMware Workstation 17 and use this software as a workaround. In my opinion, this is still better than using an 1.5 years old VMware Workstation version.

    However, I still hope that VMware will be able to fix this problem, of course.



  • 28.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 01, 2022 06:45 AM

    That tip about using USB over Ethernet is brilliant. Sounds terrific ! One question I have is this... You stated that passing USB through the network causes 1.5-3 Mbps of traffic. Well, that's where it calls for clarification. If your USB mic is somewhere else on your LAN (say a separate PC), then yes, I understand it will actually force the data to transit over the Ethernet fabric. However, if the host system has the USB mic and all you are doing is passing the USB traffic to the VM through the network, then those packets should not even have to transit through the physical NIC at all, since it would be entirely handled by the virtualization layer. What that means is that the 1.5-3 Mbps network consumption might be showing on both the host and the VM, but yet the reading should be null on your physical network adapter (or network). The implication is that there should be zero impact on network performance, as all will be processed internally within the host's RAM (negligible load). Of course, the requirement is that both the VM and the underlying host have to be able to talk to each other through the network, but that should be easy to setup (if not already by default). Please confirm if that theory is accurate, as this is how it should be logically happening. The bad thing about the "USN Network Gate" tool is that it is not cheap... about the same price as VMware Workstation... ouch ! The truth is... it seems that VMware is aware of the USB bug but has not yet found the root of the issue. That stuff is at the core of their business (hardware virtualization), so it's imperative they solve it rather quickly.



  • 29.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 01, 2022 08:32 AM

    That's right, the software is really not cheap, unfortunately. If the USB device being shared is connected to the VM's host, the network traffic should only run internally on the host. I use a bridged network adapter on my VM so that the VM is reachable on my LAN. Thereby I see the mentioned traffic in the task manager of my host at my normal physical network interface. So it could be that the traffic is running over it in this case, but it could also be that it is only shown there, but the traffic is not really physically running over it. You could theoretically also add a host-only network adapter to the VM to share the USB device using this interface. Then the traffic definitely doesn't run over the physical network interface and doesn't affect the performance there.



  • 30.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 01, 2022 07:55 PM

    Hello everyone, I'd like to test a new theory regarding the potentiel root cause for this issue. Could you all indicate which computer you are using as the host for your VMware Worstation (that's subject to the USB issue) ? Mine is a Dell Precision 7700. I had the same exact issue previously with a Dell Precision 7600 by the way. Thank you.



  • 31.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 02, 2022 11:22 AM

    I'm using a self-built desktop computer with an ASUS Zenith II Extreme motherboard, an AMD Ryzen Threadripper 3960X CPU and 256 GB of DDR4 RAM. I suspect that this issue can't be narrowed down to a specific hardware configuration or manufacturer.



  • 32.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 02, 2022 05:33 PM

    I'm using:

    1. Shuttle DH370 with Intel i9-9900 CPU and 64 GB RAM.

    2. Lenovo ThinkPad L14 Gen 2a with AMD Ryzen 7 PRO 5850U and 64 GB RAM.

    Both devices are used in conjunction with USB2-hubs, because you need USB2 to connect your audio devices, which you would like to share to a guest. Both devices run Windows 10 and both devices don't have the described problems with WS 16.1.2 build-17966106, but do have it with any newer version of WS.

    I doubt, that is possible to narrow the problem to some hardware config.



  • 33.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 16, 2022 05:33 PM

    Note that Altima Network Gate is prohibitively expensive, starting at $160 for sharing just a *single* USB device, a mind-boggling $300 for two devices, and then jumping up to "we cater to companies, we don't care if you can afford this or not" $1200 if you want unlimited devices.

    Instead, I can wholly recommend VirtualHere instead, https://www.virtualhere.com, which may lack the polished UI of Network Gate, but works just as well, and has only a single pricing tier: fifty bucks for unlimited devices.

    That said, the fact that we need third party software just to overcome the horrible USB forwarding implementation that VMware gives us is quite disappointing. You'd think that after all these years they've have contracted someone to write proper USB sharing from host to guest. If the author of VirtualHere can do it as a side project, VMware can easily do this, too.



  • 34.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 16, 2022 06:53 PM

    Here's what I recently discovered : I disabled Dell Command on the underlying host system and it helped !

    This is software loaded by default on new Dell Precision laptops that monitors hardware and also which checks for BIOS, firmware and driver updates. At first, I thought it was great at it handled all updates automatically for me. But...

    Instantly after disabling Dell Command automated checks, almost all USB problems in VMware Workstation disappeared. Wow ! So how did I found out in the first place ?

    On a couple of instances, I noticed that I lost the USB microphone during a Zoom meeting in a VM immediately after Dell Command indicated a new driver was available on the host. Please note it did not even install it; it merely checked for new driver availability (which implies it must have polled the system to some degree). I guess it did not do some clean "read" inspection of system resources...?

    Further investigation revealed that Dell Command was constantly and silently checking the system for new drivers and also polling system health.

    Consequently, one assumption is that it might behave as some kind of a hypervisor itself (or at the very least it might lock access to the hardware, kicking VMware Workstation out for a brief moment), which I am suspecting might interfere with the virtualization layer. Indeed, both might be for a fraction of a second in contention.

    A conflict for USB bus reservation might then trigger the issue we're observing on the guest OS. The "good" news is that this is benign in that there is no crash; merely a temporary loss of USB.

    However, even if it's just a few milli or micro-seconds, it's enough for Zoom (or I'm guessing Skype, etc...) to permanently lose the USB microphone until we manually re-assign it (a pain, especially if you are in the middle of a public speech).

    That might also explain why, from VMware's perspective, it is difficult to identify the problem (we have had multiple support cases open regarding this, and although they admit they've had several customers report the issue, they were not able to reproduce it). That's simply because Dell Command and equivalent software from other vendors are additional variables which viciously interface between the hardware and the virtualization layer. And VMware might not even take that into account, perhaps reasoning that it is an external variable...? Not sure, but that appears like a plausible explanation.

    The problem could be circumvented (or I would say "masked", and therefore hard to diagnose - so, not ideal) if software vendors (specifically Zoom or Skype) had a built-in mechanism to reconnect USB automatically; however this would not help anyone in pin-pointing the root cause of the issue. So that in itself is not a preferred solution.

    Even though it is a tough issue to troubleshoot, I'm rather satisfied that the USB breaks (in some way), because at least it gives us something flagrant to work with.

    Unfortunately, I personally do not have the tools to investigate the hardware or system (driver layer) and how all of this interacts. So we're for the most part left with our reliance on VMware to look further into this.

    The question is, for those in the community who use different hardware (HP, IBM, Toshiba, etc...), if there are equivalent symptoms or behavior on your platform, then should you look into similar, equivalent software (or drivers) on the host, which might likewise potentially interfere with the virtualization layer from VMware Workstation (particularly as it relates to USB) ?

    Try disabling any vendor software that is uninstalled on the host system and see if it helps. Also, be sure to have all the stable device drivers installed on the host system. This will make it easier for VMware Worstation to work with.

    Just a thought... Please let us know how that goes !



  • 35.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Jan 04, 2023 11:47 PM

    I would like to provide a quick update regarding this USB issue.

    It has been about 3-4 weeks since I have disabled Dell Command (device driver firmware management tool).

    I am happy to report that I have had almost zero problems since ! That is a huge relief indeed.

    I would strongly encourage everyone facing the same issue to investigate the vendor software running on the underlying host.

    You should check specifically what relates to driver or firmware management on the host.

    I hope this helps solve your problem, or at least points you in the right direction.

    Please let me know if that works for you.



  • 36.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Jan 05, 2023 06:07 PM

    Well... I'm not on a Dell hardware and I'm not having any device driver firmware management tools. But the issue is still present, unfortunately.



  • 37.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Jan 05, 2023 07:02 PM

    Then I would look at the BIOS or host drivers.



  • 38.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Jul 17, 2023 10:17 AM

    This has long been an annoyance.  My Sennheiser USB headset essentially doesn't work (extreme crackle) on Workstation 17.0.2 (current latest) or 16.2.X.  Last working version is 16.1.2.  Can't understand why this isn't fixed as it's trivial to reproduce.  BTW I'm using a Dell Precision, but uninstalling Dell command update / support assist / optimizer doesn't make a scrap of difference.



  • 39.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Aug 29, 2023 08:50 PM

    Throttling is an issue that ultimately affects the VM's USB system....

     

    Turn off throttling with:

    powercfg /powerthrottling disable /path "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe"



  • 40.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 05, 2023 01:27 PM

    Attention, attention! Achtung, Achtung! Увага, увага!

    My last try with Workstation 17.5 (Build 22583795) was successful! Unfortunately not

    Following combination lets the sound in a VM working:

    • The sound device (Jabra Speak 410 USB) is connected via USB 3.1 with host (Windows 10 Enterprise 22H2);
    • The guest is Windows 10 LTSC 2021 having a virtual USB 3.1 adapter;
    • The sound device is passed through to a guest via USB.

    I think, it will be working with other guests, too.

    P.S.: Dell hardware is not involved in any way.



  • 41.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 09, 2023 11:30 PM

    unfortunately v17.5.0 doesn't work for my setup (sennheiser usb mic, windows 10 guest, windows 11 host)

    nor does the power throttling solution suggested earlier (this seemed unlikely as v16.1.2 works)

    on v17.5.0 I can occasionally get moments of clarity by switching virtual USB capability (eg 2.0 -> 1.1), but it doesn't always work or last long.

    my setup seems to work in VirtualBox, so going to investigate that further



  • 42.  RE: Workstation 16.2: USB pass-through is unstable

    Posted Dec 27, 2023 02:13 PM

    You're right.

    Unfortunately, after some time the USB connection is unstable.

    I migrated the VM in question to VirtualBox; it was the only way.