Windows 8 and 8.1 Forums


Strange sound with VMWare Workstation

  1. #31


    Actually, running Media Player on the host does NOT resolve the issue. It has to be run on the client. I've simply got the XP virtual machine set so there are no startup sounds, and it auto-runs Media Player minimized, so it's essentially "out of the way". Then the sound works perfectly.

    If I get a chance to "play" around a bit, I'll install v7, v8, and v9 and see what the timings look like. But meanwhile it's working fine ... there are only 2 VM's that are used regularly on that system; one is a Windows 7 VM that works perfectly; the other is the XP VM that requires the workaround to make the sound work properly (otherwise it works perfectly). The Windows 7 VM was actually created on VMWare v9, so it's v9 "hardware" -- otherwise I'd just use VMWare v7 and be done with it !!

      My System SpecsSystem Spec

  2. #32


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by garycase View Post
    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 !!
    Note   Note

    1. uninstall the newer vm tools (version 8 or 9) and shutdown the VM.
    2. backup the VMX file, in order to restore it after possible failures.


    How to downgrade hardware version:

    -open VMX file of VM with notepad
    -change hardware version to 7 for the next line:
    Code:
    virtualHW.version = "7"
    Inspired from "how to manually upgrade":
    How to (manually) upgrade VM's in VMware Player
    Last edited by Hopachi; 08 Feb 2013 at 05:20.
      My System SpecsSystem Spec

  3. #33


    Posts : 18
    Windows 7 x64


    You can use an AutoHotKey script. I'll test this in a moment.

    DllCall("ntdll.dll\NtSetTimerResolution", UInt, 40000) ;4 ms

    This is what I've found as a way to change the resolution without using WMPlayer etc.
    Just use autohotkey (I already use it for bunch of automations) and put it in the Startup. Way smaller than WMP in resources and no buttons in the taskbar to get in your way.
    WMPlayer sets the timer to something between 3 or 4 ms, so I think 4ms would be a good balance to eliminate the stuttering sound and to not impose heavy load on the system (higher timer frequency is taxing).
    Still not clear if that's the main problem, or it just works around a bigger vmware problem with sound buffers/drivers etc.

    Edit: For me, runing WMP (or any app that speeds up the OS timer) on the host resolves the issues in the XP/2003 guests.
      My System SpecsSystem Spec

  4. #34


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Do you guys, by chance, use overclocking or underclocking of CPU?
    Then this can be the reason of the sound issue.

    Why it doesn't happen with v7:
    -possibly because they changed something about the way frequencies get detected.

    For example update for version 8.0.5 adds something to properly detect overclocking to 6000Mhz...
    VMware Workstation 8.0.5 Release Notes

    Version 9 is not affected by that in particular but I'll see how it goes.

    It's just an idea.
    I've underclocked (Windows power plan settings) in my case so I'll need to run a test on normal cpu speeds to see how the sound goes.
    I'm not sure.

    Otherwise, the increased (timer) resolution, that messes sound up, should explain why on version 8 and 9 XP gets slightly better performance, at least from what I've noticed.
      My System SpecsSystem Spec

  5. #35


    Posts : 18
    Windows 7 x64


    I do not over/underclock. My power plans are always maximum performance.

    I think the more interesting question is why it doesn't happen in virtual Win7/Vistas. It may have something to do with the timer sources. I tried /usepmtimer flag, disabling HPET... etc. At the very last it may really be vmtools fault .
    I really want to get things done without any superfluous scripts, processes and such.. and I really doubt vmware would fix this at all.
      My System SpecsSystem Spec

  6. #36


    First, I've tried just changing the hardware version number in the .vmx file, and it doesn't work for downgrading the machine. It MAY work if I first uninstalled VMWare tools; then changed the .VMX file; then tried it on an earlier version of VMWare -- I'll add that to my "to do" list :-) But the one time I tried it, the VM wouldn't boot on an earlier version (this may be because of a newer version of VMWare Tools than the old version of VMWare supported).

    I agree, however, that the most interesting question is why it's not a problem with Vista or '7 VM's. Another interesting question that I haven't yet checked out is whether this is also an issue with OLDER OS's than XP (i.e. '95, '98, ME, 2000, etc.).
      My System SpecsSystem Spec

  7. #37


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by garycase View Post
    First, I've tried just changing the hardware version number in the .vmx file, and it doesn't work for downgrading the machine. It MAY work if I first uninstalled VMWare tools; then changed the .VMX file; then tried it on an earlier version of VMWare -- I'll add that to my "to do" list :-) But the one time I tried it, the VM wouldn't boot on an earlier version (this may be because of a newer version of VMWare Tools than the old version of VMWare supported).

    I agree, however, that the most interesting question is why it's not a problem with Vista or '7 VM's. Another interesting question that I haven't yet checked out is whether this is also an issue with OLDER OS's than XP (i.e. '95, '98, ME, 2000, etc.).

    Sorry, I should have thought about the vm tools earlier. It works without the tools and I've edited the previous post.

    I agree with tedych: the driver in the VM tools seems to be the problem: XP and 2000 and 2003 use another driver than the ones below:

    Win Vista, 7 and 8 use a newer (intel hd) sound card and are not affected by the issue.

    Win95, 98 and ME use another older virtual sound card sound (Soundblaster) and are not affected by sound issues.

    I've tested these:
    Win95: no sound (see as win98 the site for the driver: not included in VM tools)
    Win98: needs the sound driver from creative's site (soundblaster). Look in the VMware user manual for details.
    WinME: installed the driver from the ME cd (if not found try creative's driver as above).

    One good note: the vm tools for these legacy OSes have less features but work great, even if you have version 9 installed, 95, 98, ME use version 7 as the latest for the tools.

    We could try the intel hd sound card in XP (driver need to be added manually) or the older soundblaster if it's still available to see any difference.
      My System SpecsSystem Spec

  8. #38


    Posts : 18
    Windows 7 x64


    To summarize my current finginds.

    Win2008 x64 host, vmware ws 8.0.3 (there I haven't updated it to 9 yet, but 9 hasn't fixed anything as you know).
    -------------------------------------
    Default idle timer res = 15ms (15.6 actually) with no VM running.
    - Winamp playing on the host => host OS timer = 1ms.
    - Winamp playing in XP VM => VM timer = 15.6ms, host timer = 15.6 ms => stuttering sound.
    - Winamp playing in XP VM + force host timer 1ms (WMP or timerres executable) => VM timer = 15.6ms, host timer 1ms -> sound is good.
    - Winamp playing in Win2008 VM (or Vista) => VM timer = 1ms, host timer = 0.5ms (automatically set by vmware to handle the 1ms request from the VM, with a reserve)

    Win7 x64 host, vmware 7.1.4
    ---------------------------------
    - all sounds are good anywhere. The host OS timer is always 1ms (don't know what is forcing it to 1 ms all the time, maybe the java based UPS monitoring software I have, I'll turn it off to check)
    - XP VM playing sound => VM timer = 15.6 ms.
    - Win7 VM playing sound => VM timer = 1ms.

    It seems Vista+ set their timer to 1 ms no matter the player. XP doesn't touch the timer, except for when WMP or other player/program requests timer boost. This theory however has its flaw - why vmware 8 on Win2008 host doesn't set the timer to 1ms when it plays a sound (from the VM) through the *host's* sound card.. so the bottom line again - vmware should fix this .
    It always boils down to the host timer - no matter the VM timer, when the host is 1ms, sound is fine.

    Edit: I should have mentioned that I've tried the different possible soundcard types in the vmx config. Currently for XP I think it was ES1371 or something like that (ensoniq sound blaster?!).
    Also, for Win2003 guests there is no sound driver as well, so I had to download a creative driver and install it, so it isn't from vmtools, and the sound is the same - bad.
      My System SpecsSystem Spec

  9. #39


    Orbiting the Moon
    Posts : 2,975
    Windows 10 x64


    Quote Originally Posted by tedych View Post
    Win2008 x64 host, vmware ws 8.0.3 (there I haven't updated it to 9 yet, but 9 hasn't fixed anything as you know).
    Alright.

    If you're really interested about version 8 use 8.0.5 to see.
    How do you test that out on a version we know it got older with issues... that's why they made 8.0.5. It's a free update if you already have 8.

    Also please look a my previous post if you're interested in the different sound drivers available for VM's.

    I'm on Player 5.0.1 and that is identical to Workstation 9.0.1 so I'll tell you anything I find here.

    Thanks
    Hopachi
      My System SpecsSystem Spec

  10. #40


    Posts : 18
    Windows 7 x64


    Hopachi, see my edit above .
    As to vmw 8, I just haven't updated there, but I have and tried vmware 9.0.1 on a Win2003 host. It behaves the same.
    I'll try it on the Win2008 host now anyway. It is a too-long-lasting issue and I'll give this a shot now, as the last thing I'll try because I lost too much time on this already.
    I'm not interested in 8.0.5, we are on the 9.x branch already . If 9 (last version) hasn't fixed it, no reason to think 8 would have.

    Edit: just updated to 9.0.1 on Win2008 host. Absolutely nothing has changed . How could I even think it would be different.
    Last edited by tedych; 08 Feb 2013 at 06:55.
      My System SpecsSystem Spec

Page 4 of 6 FirstFirst ... 23456 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