VMware Workstation

 View Only
Expand all | Collapse all

VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

UncleQ

UncleQMar 05, 2024 10:10 PM

  • 1.  VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 11, 2023 07:47 PM

    Prior to the latest upgrade everything with my VM's was nearly perfect.  After the upgrade they have ALL developed a problem, where after a time, maybe 10 to 15 minutes - they stop responding to the mouse and keyboard.  You can get to the console, and pause or terminate them, but nothing brings the mouse or keyboard back.

     



  • 2.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 11, 2023 10:17 PM

    Seems to be a common problem. Many folks have reverted back to 17.0.x in order to get around this.



  • 3.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 13, 2023 03:25 PM

    I am having this exact problem too. Had to downgrade to 17.0.2.



  • 4.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Broadcom Employee
    Posted Nov 14, 2023 02:01 PM

     Ticket has been raised internally. Relevant team will look into the same.



  • 5.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Broadcom Employee
    Posted Nov 16, 2023 05:59 PM

    Two things people can try:

    (1) Power off the VM, and add the config option:

    keyboard.allowBothIRQs = FALSE

    This might cause your Linux VM's input to hang if the Guest tries to Sleep/Hibernate, but it may work-around the problem.

    (2) Power off the VM and make sure the VM has a USB controller, and add this config option to switch to the virtual USB keyboard:

    keyboard.vusb.enable = TRUE

    That will switch from using the PS/2 keyboard to the USB keyboard, but may make your key-repeat get stuck more often.

     

    I think (1) should be sufficient to fix this, but if not try (2) as well.



  • 6.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 16, 2023 08:39 PM

    Recommendation #1 fixed the original problem, but now I'm getting repeating key behavior quite frequently.  No, #2 isn't set.



  • 7.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Broadcom Employee
    Posted Nov 16, 2023 08:47 PM

    Like it's hitting key repeat briefly when you don't want it to?  Or like the key is still getting stuck down and you can't release it?

    I suspect that there's some underlying stall on your host that's triggering this, and probably the places you're now seeing the key repeat used to hang the keyboard entirely.

    You can turn down the key repeat delay in the Linux guest is probably the best work-around I can give you short of solving the underlying host stall.



  • 8.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 16, 2023 10:00 PM

    Like I'm typing the word "const" and sometimes I'll get "const" and other times I'll wind up with "ccccccccoooonst".

    This VM was running fine on Workstation 16.2 thru last week.  Work bought the 17 upgrade for everyone, I migrated the VM, and got the first issue.  Made the changes you suggested in the config file and now I'm getting this issue.  If its the "host stall" as you indicate, why would I not have seen it while working in Workstation 16.2?

    I'm kicking myself for updating my VM hardware version at this point.



  • 9.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Broadcom Employee
    Posted Nov 16, 2023 10:11 PM

    If the VM is powered off, you can normally downgrade the hardware version just by changing the virtualHW.version config in the vmx file. to a lower number and it will work fine. 

    Occasionally the hardware version upgrade changed the attached devices, and then you might be missing something after you downgrade, so back up the vmx file and/or the full VM if it's critical.  But we don't generally plug/unplug virtual devices on upgrades, so you should be able to get Workstation 16 running the VM again if that's what you want.

    As for why Workstation 16 doesn't have the key-repeat issues for you I couldn't say without knowing what it was... By "host" I don't necessarily mean your Host OS, it could be a Workstation product issue causing the stall, it's just outside the Guest itself, and outside the console keyboard handling.

    Possibly Workstation 16 is more performant for your particular configuration/workload, or we might be tweaking something on your Host OS differently.

    The reason they hit is usually that guest time stalls for a second, and when we try to catch it up the guest mistakenly thinks the key is held down longer than it should be (due to the time warp).  We used to have more control over this, but most modern Linux distros switched to running the key-repeat themselves in software rather than allowing the virtual device to control it.

     



  • 10.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 16, 2023 10:13 PM

    Gotcha and thanks.  I'm going to see if I can live with this as is and hope a patch to 17.5 comes out soon to address the underlying issues, but nice to know I've got a fallback.



  • 11.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 25, 2023 04:37 PM

    keyboard.allowBothIRQs = FALSE seems to fix my issue



  • 12.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 28, 2023 08:05 PM

    I'm definitely seeing this, but just to get an idea of what may be involved:

    In my case, I'm accessing my Windows host that has VMware Workstation on it via the Microsoft RDP client on a Mac.  For anybody else that's experiencing this, do you have a similar setup?  Or can you see it with a Windows machine where you're using a mouse + keyboard physically connected to it?



  • 13.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 16, 2023 10:18 PM

    Another symptom of the problem, rather perplexing.  I ran a debian 12 VM for over an hour yesterday, until finally the lockup occurred.  This time I happened to be in Libre Writer, and while the VM would not take any input from me at all -- when I typed into a browser on the host - the cursor position in Libre Writer would advance one position for each key that I pressed.  To be clear - focus is outside the virtual machine, in a Windows native application - and somehow the VM is receiving some sort of message for each character that is being typed into the host.  It's been a while since I wrote any code like that, but it looks as though the context switch (Active VM verses Active Host) is screwing up.  Probably a race condition and that results in a corrupted state that isn't being detected and cleaned up.  Without a deeper set of tools on it that's the best impression of the problem I'm getting now. 

    Also - when I moved between virtual desktops -- copying from Chrome in one, into nano on the other (cut and paste) - it would cause the lockup.  It's reasonable to suspect the same mechanism is at work  here.  In this case it was just a hard lockup in the VM, no side effects as described above.  



  • 14.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Broadcom Employee
    Posted Nov 16, 2023 10:32 PM

     

    So that sounds more like a Host OS interaction than the Guest-side Linux keyboard hang issue by itself...

    You might want to try some of my general suggestions on this thread:

    https://communities.vmware.com/t5/VMware-Workstation-Pro/Ubuntu-22-04-freezes-randomly-on-VMWare-Professional-17/m-p/2995976/highlight/true#M183810

    It would also be helpful if you can post a vmware.log file where hits happens, to see if we can find anything odd about the VM state or your host configuration.

    There appears to be another issue affecting specifically Win 11 hosts and Linux VMs that we haven't been able to pin down, where it looks like the 3D stack is implicated and the guest display might not be updating properly?  You have some similarities to that issue but not the full profile.

    So I would specifically try toggling 3D on/off on your VM (in addition to the general things above), or else some users have reported that running a continuously drawing application in the Guest (like glxgears) would help.



  • 15.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 17, 2023 01:29 AM

    I will run for a while this evening, and send the log during a failure when it occurs.  I will do this and then apply the changes that you have suggested.  In the past I have not needed to make any changes and VM's run hosted OS without issue.  Understand tweaking as necessary, but wanted to note that fact as point of reference.



  • 16.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 18, 2023 11:31 AM

    I have been having this issue for some time, it did not start with 17.5.

    Just now my Ubuntu 22.04 VM stopped responding to keyboard/Mouse input. But the VM was running and doing screen resizing for example. I an active browser session  to a site with sessiont timeout and a wraning appeared from the site informing the session would be closed, and it was. So the VM is running. It just lost keyboard / mouse input.

    Ha to restart the VM



  • 17.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 25, 2023 04:12 PM

    I have been able to repeat (hehe) this issue several times  by holding down a key and moving my cursor off the VM's screen then clicking back in. End up needing to restart or power off the VM to get it back, even suspend doesn't work. 



  • 18.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 08:09 AM

    Just to add mine to this. I've a recent version of Kali and every few hours if I go to select text with my mouse and before even copying it I get a hang up. I can see downloads complete in Kali and timers ticking away fine but I can't access it with keyboard or mouse. Killing my pentests recently. I will try the suggested config change today as a fix.



  • 19.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 10:03 AM

    My Ubuntu VM was working just fine in 17.02.  I upgraded to 17.5 and all hell broke loose.

    Unplugging a USB stick caused an Access Violation on the Host OS from VMWare.exe

    And at random points when I searched within an editor I would get complete keyboard/mouse lockup where nothing else worked within the VM other than "power off".

    I have reverted to 17.02. 



  • 20.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 12:14 PM

    Hi, firstly thanks for your solution. Where can i find version 17.02, can you help me?



  • 21.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 12:17 PM

    I still had it in my downloads folder.  Not sure where else to find it, but vmware must have old versions still available.



  • 22.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 12:27 PM

    I think so but i cant find version.



  • 23.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time



  • 24.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 12:43 PM

    Thank you so much.



  • 25.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 12:48 PM

     wrote:

     

    They don't make it easy!


    Sure they do... the product downloads page has a pull-down box to select the major version (currently back to 14).  And the following page has another pull-down box to select the minor version.  They both default to the latest, but all you need to do is select a different one.



  • 26.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 12:55 PM

    Haha.  I searched for VMWare Workstation Pro download and it took me straight to the downloads page where I had no dropdown box to select version and all I got was version 17.5.  I then went back to the start, and looked for Workstation Pro in the "products" list, found it, found the downloads, selected Windows downloads, went to download page, clicked on 17.5 and then found a dropdown that allowed me to select 17.0.2.  That is NOT easy.



  • 27.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Nov 30, 2023 02:13 PM

    That's odd... Products page, Workstation, Downloads looks like this...

    https://customerconnect.vmware.com/downloads/info/slug/desktop_end_user_computing/vmware_workstation_pro/17_0   

    Where you select the major version BEFORE selecting the platform (Windows or Linux download).  Then once you select Windows you get to this...

    https://customerconnect.vmware.com/downloads/details?downloadGroup=WKST-1750-WIN&productId=1376&rPId=111461

    Where you can select the minor version before clicking the Download Now button to download the selected product, version, platform, and minor version selected via the 1 prior page.  Doesn't seem that difficult to me.  But then, I don't randomly Google search to find a product download page which would take me into the middle of the process, I guess.



  • 28.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Jan 04, 2024 09:23 AM

    Same here. The timeframe for me is ~30min.

    Update/reinstalled VMTools. Tried to purge it.

    Update/reinstalled open-vm-tools. Tried to purge it.

    Everything i could find in here and/or Stack* sites.

    This is driving me insane!

     

    After another backup i will try to edit the VMX file, although that sounds like a very dangerous idea.

     

    VMware® Workstation 17 Pro

    17.5.0 build-22583795



  • 29.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Jan 04, 2024 10:31 AM

    Seems ok so far, however copy&paste doesn't work anymore between host and guest.

    VMware Tools 10.3.25.1451 build-20206839

     



  • 30.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Broadcom Employee
    Posted Mar 05, 2024 05:12 AM

     Please upgrade to the latest Workstation version 17.5.1 as this issue has been fixed in this release.



  • 31.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Mar 05, 2024 10:10 PM

    I did upgrade and problem is solved. 



  • 32.  RE: VMWare 17.5.0 update causes workstation keyboard and mouse disfunction after a period of time

    Posted Mar 05, 2024 10:17 PM

    Everything on VMware Workstation as started to suck ... On Linux, Copy/Paste between the Host OS and the VM does not even work. 3 years ago VMware Workstation was kinda useable, today it's just a crappy piece of virtualization software, no matter if ESXi or Workstation, or Player, they all suck. Besides, the Product is massively overpriced for what you get. Heavily disappointed !!!

    Even more disappointing is the Update cycle of VMware. 17.5.0 to 17.5.1 took much over a year. What does this say over VMware with a forum full of bug repots xD ...