Windows 8 and 8.1 Forums


Strange sound with VMWare Workstation

  1. #21


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by tedych View Post
    The workaround with the Media Player was mentioned by me in the earlier post on that page . I discovered this too, after countless hours of troubleshooting. But having WMP constantly open in the background is not an option, clearly.
    By the way this happens to me with older HOST OS-es as well (Win2003/2008/7) - I even don't have Win8 installed on this machine.

    It's either XP and older are completely ignored by vmware already (and we'll never see an update to this problem), or we'll see an update that addresses this after a decade . I'm so pessimistic.
    Thanks, but if I remember correctly, your workaround consists of using vmx version 7 and sorry but I use version 9 and it has its own improvements.

    As I said earlier, it's good to wait for an update to see what gets resolved.

    After a decade there's no point to release fixes to that: if you look at the Win ME / 98 VM tools they still have version 7 even if you update to 9 so that doesn't get updated because OS is too old... so now is the time to fix XP or Win7 before they get too old as well.

      My System SpecsSystem Spec

  2. #22


    I agree Workstation v8 and v9 have some nice improvements -- and they work perfectly with Windows Vista, '7, or '8 virtual machines. The bug in XP machines is frustrating -- but not catastrophic. It's VERY interesting that running Media Player resolves it !! That clearly means it's a simple fix ... but just what that might be is a perplexing question. Hopefully VMWare will fix this in their next update !! I did, just for grins, try using Workstation v7, and indeed it works perfectly on a Windows 8 host running the older XP virtual machines.
      My System SpecsSystem Spec

  3. #23


    Posts : 18
    Windows 7 x64


    Hopachi, Yes, currently I still use 7.1.4 on my main machine (OS). I have several Win2003/XPs guests that I need. Period.
    And I don't think the fact an OS is getting older, should be a reason to ignore it or make it work worse, when they still include it in the ads they support it in their product. They still support Win98 for Christ sake (and I use one for an old scanner - works perfectly for what I need it) . I don't want further updates for XP or something in VMTools. I want the bugs fixed, that's what we need . They have the Tools for XP etc., but they are not working as they should anymore.

    So after a decade, they (we) will have issues with Win10 in guests .... just because the current Windows will be Win12 ...

    Of course VM9 has its improvements etc. That's why we rant. I want to install 9, but for now I won't.

    "but just what that might be is a perplexing question"
    - That's something I really hate - to spend countless sleepless nights and weeks chasing a problem that should't have been there in the first place - and it's not my fault or obligation to do software bugs investigations just to be able to USE a software. We are not talking about a small bug which all softwarers have. It's a big bug that prevents many to use that software. The same I have with Photoshop - ever since CS4 (4-5 years ago) I have been experiencing one issue that shortened my life by a decade, spent weeks and months troubleshooting and there is nothing that resolves it, after millions of experiments and things I've tried. Adobe is totally helpless. And it's not a bug out of the thousands small ones, but it actually makes the program(s) literally unusable. Many have the same problems. That's why sometimes I get out of my skin and feel enraged.
      My System SpecsSystem Spec

  4. #24


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by tedych View Post
    Yes, currently I still use 7.1.4 on my main machine (OS). I have several Win2003/XPs guests that I need. Period.
    You can still go to 7.1.6 it's the latest from its branch... so version 7 still got an update this year! They know people are still using version 7 due to the good reputation and stability.
      My System SpecsSystem Spec

  5. #25


    Posts : 18
    Windows 7 x64


    I think I know what's causing it.
    After days of researching about a Photoshop issue, I suddenly thought my findings could have something in common with the VMWare sound issue.
    It turns out there is a timing issue, specifically related to OS' internal timer frequency. I use two tools to look at these parameters. WinTimerTester1.1, and TimerResolution.exe.
    The first shows the combined source timer frequency used by the OS to keep track of time, the second is used to decrease the period of the internal interrupts timer of the OS.
    So, turns out Windows (my testbed Win2008 I tested on today) uses 66Hz (~15ms) interrupts frequency for its internal stuff, which can go up to 1000Hz when a multimedia application requests a timer freq increase to ensure a smooth playback etc.
    With this TimerResolution I was able to see 15ms period while idle on my Win2008 OS. When I run WMPlayer, the period drops to 3-4ms. Using the exe I could make it 0.5ms (2000Hz). So it seems that's what WMPlayer is 'doing' when started, so the playback becomes smooth.
    So, running a XP/2003 virtual machine in vmware 9, I could recreate the smooth playback in it, using either WMP on the host (or in the guest of course), or setting the timer resolution to max (0.5ms) using the timerresolution.exe on the host (works in the guest too, in which case the vmware monitor sets it on the host too because the guest OS is requesting the high resolution and the only way to service its request is to set the same or higher res on the host).

    So, to summarize.
    On my rig, Win2008 with VMW9, after I boot the host OS, the timer resolution is 15ms and it doesn't change when I start playback in a virtual machine (maybe it should decrease to 1-3ms but not sure if this is the primary reason here). In that situation if I force somehow the timer to increase frequency (decrease period to 4 or below ms), which is typically done by running WMP or some other multimedia app that does that, or I start TimerResolution.exe and hit Max, the playback is totally fine. I close the app, the timer returns to 15 ms and the playback sucks again. I was able to make it permanent to 0.5ms at one time, not sure how. After I restarted the host, it was back to 15ms and I couldn't recreate the permanent 0.5ms timer. And it shouldn't stay at 0.5 all the time anyway (for performance reasons).

    On the same system my main OS - Win7 where I'm still with vmw 7.1.4, the timer is at 1ms (1000Hz) all the time, not sure if this is normal, even after a clean boot when no virtual machine has run at all. This 1 ms state could be related to vmw 7.1.4 being installed, not sure. I'm affraid to update to 9.x here just to test if 9 would work fine.
    Maybe the sound buffer in VM XP is smaller and the 15ms timer resolution couldn't handle it. Or smthng like that. Or there must be a way to force the higher resolution when a sound is played in the VM.

    Please test and share your findings on that. I think vmware 9 is not playing very well with the OS main interrupts timer that controls everything in the OS.
    Test and share what's your timer resolution when idle and no VM running (also write your OS version), and whether the resolution increases (Hz) when you play a sound in the host, and then test when a sound is playing in the VM.
      My System SpecsSystem Spec

  6. #26


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Sounds interesting.

    Where can the timings be seen and where is the TimerResolution.exe ?
      My System SpecsSystem Spec

  7. #27


    I found it here: TimerResolution 1.2

    Of course, knowing WHAT is going on; and actually resolving it; are two different things. I haven't had a chance to try this yet on the Win8 system, but I assume it will work if I simply run timerresolution from within the XP virtual machine -- but it's just as easy to run Windows Media Player minimized, which also "fixes" the problem. I've got the XP virtual machine set to just run Windows Media Player minimized when it boots. Doesn't fix the start-up sound (which is still distorted -- so I simply set it to not play any startup audio) ... but everything works fine afterwards. I assume I could do the same with timerresolution -- I'll play around with that a bit when I get a chance.

    The best thing, of course, would be in VMWare would fix the problem !! (We can always hope )
      My System SpecsSystem Spec

  8. #28


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by garycase View Post
    I found it here: TimerResolution 1.2

    Of course, knowing WHAT is going on; and actually resolving it; are two different things. I haven't had a chance to try this yet on the Win8 system, but I assume it will work if I simply run timerresolution from within the XP virtual machine -- but it's just as easy to run Windows Media Player minimized, which also "fixes" the problem. I've got the XP virtual machine set to just run Windows Media Player minimized when it boots. Doesn't fix the start-up sound (which is still distorted -- so I simply set it to not play any startup audio) ... but everything works fine afterwards. I assume I could do the same with timerresolution -- I'll play around with that a bit when I get a chance.

    The best thing, of course, would be in VMWare would fix the problem !! (We can always hope )
    Thanks for the link.

    I'll see how it goes.
    You can disable the startup sounds in your VM, they don't have any purpose. When you use the Win Media Player the sound is good, I'll keep that in mind. I was testing Angry Birds and in this case the sound gets distorted again.

    I'm getting the issue on XP SP2 x64 and also on 32bit XP SP3 but sound is disabled.

    Let's hope a fix is found.
      My System SpecsSystem Spec

  9. #29


    The "fix" of course is to just use VMWare Workstation v7

    ... but clearly that's not a good resolution. In addition, I had already updated almost all of my virtual machines (~ 3 dozen) to hardware version 8 when I updated to Workstation v8. Since moving to v9, I haven't updated the virtual hardware (and won't) ... but there's no way to downgrade all the VMs to v7 hardware. If there was, I'd likely just do that and use v7 !!
      My System SpecsSystem Spec

  10. #30


    Posts : 18
    Windows 7 x64


    garycase, of course they are two different things. All I shared was just thoughts and findings and actually knowing What is going on, could be a leap towards an easy resolution before vmware get their sh** together and release a fix, which I doubt will hapen any time soon.
    Also, I played a little with some settings in the .vmx file of my virtual XP/2003's, I suppose there might be some setting that could control that, just I don't know its name yet .
    Also the fact that you can run windows media player just on the host, also resolves the issue, speaks for itself .

    I can conclude that vmware fails to set the proper timer resolution on the host while the host sound device is used by request of the virtual OS. So most likely it's not VMTools' fault at all (or at least not entirely). My Win7's timer runs at 1000Hz all the time. Maybe the fact vmware 7 is installed and its running drivers/services could be maintaining this frequency all the time.. who knows.
    Maybe if it was vmware9, the timer wouldn't stay at 1ms, but would be defaulted to 15ms or so, with the same problems.
    You can test your default resolutions of Win7, Win8 etc, with vmw7, 8 and 9 installed, and share .
    Actually all this is so arcane that I spent days reading all kind of online stuff (and technical documents from AMD and vmware ), not for the purpose of vmware, but after all it seems to be in line with vmware bug as well.
    Yes, the TimerResolution program is that from the link above.

    I have another experiment to conduct now - in my Win2008 where I experience the problem, I'll try to increase the res on the host (only) and check how the guest's res would react or will it stay at 15ms as it was.
    Because changing it in the guest leads to its change on the host (as I explained above).
    I'm curious how other Win7's stack up to mine in regard to this 1ms resolution. My virtual 7's run at 15ms (I just checked) so I'm not sure if and what keeps my host Win7 at 1ms.
    Now I just checked also playing a sound in my 7.1.4 virtual Win7 Pro, the timer drops to 1ms immediately (foobar) in the VM. In XP it doesn't.
    Hm, actually I remember though, when I did set the timer to 1ms in Win2008 host, and played a sound in VM XP perfectly, the guest timer was at 15ms. So I guess it's all about the host timer to be set appropriately. Now if we find a way to tell vmware9 to set it to 1ms when loading a VM ..

    By the way the players or timerresolution.exe, just call some Win API to request increasing of the frequency. If we manage to write a small program or service that just calls this API, we could avoid running WMP etc. Maybe there is a setting in vmware anyway.
      My System SpecsSystem Spec

Page 3 of 6 FirstFirst 12345 ... LastLast
Strange sound with VMWare Workstation
Related Threads
If you are using VMWare Workstation with Windows 8.1 you will have to reinstall it. I attempted a repair first but that didn't work so I removed and reinstalled, and now all is working just fine. VMWare player worked without having to do a reinstall. . . good luck.
Hello Guys, Hope you all are fine. I want to install some of the programs and OS that I want to test before installing them on my actual computer. But, here I am confused between the two Virtualization Products:- 1) Oracle VM VirtualBox 4.2.16 2) VMware Workstation 9.0.2 Both of these...
Hi there people using VMware workstation release 9.02 (free update from 9) is now available -- and has quite a few updates for Windows 8 as well as a load of other improvements such as updates for vmare tools for a load og Guests. Cheers jimbo
Good news about VMs again. The latest VMware Workstation 9 brings a new UI and it's designed for Windows 8. Read about it here: VMware Announces VMware Workstation™ 9 Also VMware Player 5 is available for download....
Hi Gentlement, VMWare WorkStation 8.0.4 build 744019 does not support Window 8, Am I correct ? Thanks.
Hi there If you have workstation 8.0 or 8.01 it doesn't (as of todays date 31 jan 2012) detect that an update is available. You can download it manually from the vmware site. (Also posted same topic on W7 Forum) Cheers jimbo
Hi all To install W8 developer edition (current version) as a VM with vmware workstation you have to download / upgrade to version 8. Version 7.1X and earlier won't work. Vmware player (current version) gives same problem as vmware workstation 7.1x. When you install choose W7 as the OS...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook