8 Replies Latest reply on Sep 5, 2014 1:08 PM by wila

    Windows 7 guest has no sound device

    wila Guru
    Community WarriorsvExpertUser Moderators

      Hi,

       

      The windows 7 Professional x64 guest upgraded the vmware tools to current version itself, but I have not allowed virtual hardware to update.

      Unfortunately something is wrong as it does not have a sound device.

      The guest uses virtual hardware version 10 and was previously running on Fusion 6. Under Fusion 6, the sound device worked fine.

      The reason I hadn't upgraded the virtual hardware yet is for ease of going back to Fusion 6 (not really a test VM, I know I know bad practice, but I've got good backups, I promise )

       

      I have not done any troubleshooting yet. So no full uninstall and reinstall of VMware Tools so far, will do that once I get the time to look into this.

      In Device manager I see a "unknown device" and a "VMware VMCI host device" with exclamation marks in the "other devices" tree node.

      The hardware ID's for unknown device are:

      PCI\VEN_1274&DEV_1371&SUBSYS_13711274&REV_02
      PCI\VEN_1274&DEV_1371&SUBSYS_13711274
      PCI\VEN_1274&DEV_1371&CC_040100
      PCI\VEN_1274&DEV_1371&CC_0401
      

      I tried "Update drivers" and pointed it to "C:\Program Files\Common Files\VMware\Drivers" location for searching for existing VMware drivers, no such luck.

      Also tried finding the driver via windows update, also without success.

       

      FWIW, a Windows 8.1 x64 VM that I have, which runs on Virtual Hardware version 9, has no problems.

       

      --

      Wil

      | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
      | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
      | More info at https://www.vimalin.com
      | Twitter @wilva
      | VMware Wiki at http://www.vi-toolkit.com
        • 1. Re: Windows 7 guest has no sound device
          Tonyw23 Expert
          VMware Employees

          Thanks for using Fusion and reporting this issue. I will try that to see if reproducible. But can you try backup your vm and upload your VM's hardware to latest to see if it get resolved. BTW, you can easily go back to Fusion 6 by downgrade the hw version from settings, do you have any concern about downgrade?

          • 2. Re: Windows 7 guest has no sound device
            avanish321 Expert

            Can you send vmware.log file ?

            • 3. Re: Windows 7 guest has no sound device
              aeciolevy Lurker

              Wila, i just install vmware tools on the virtual machine, after that the sound start working.. Try this. I'm using Vmware fusion too.

              Sorry about my english.

              • 4. Re: Windows 7 guest has no sound device
                wila Guru
                Community WarriorsvExpertUser Moderators

                Sorry for the late reply.

                 

                So far here is what I've done:

                1. Snapshot before trying the following:

                 

                - Reboot the VM and then run a repair install on VMware Tools, no difference (as expected).

                - Reboot the VM, complete uninstall of VMware Tools, Reboot VM, Default install of the VMware Tools, sound drivers are now being installed and show up in device manager as "High Definition Audio" .. but no success as in that the speaker icon in the taskbar still has a red cross and tells me "No audio output device is installed".

                Clicking troubleshoot there tells me that the device is disabled.

                Yet looking in device manager it isn't disabled and there's no old hidden driver installed.

                - Remove audio device using the USB menu in taskbar, shutdown VM, add Audio device back in the VM Settings. Same as before shows up as driver, but no sound.

                - Shut down upgrade virtual hardware to v11, boot, still the same.

                - Completely uninstall VMware Tools, reboot, install default VMware Tools, reboot

                 

                same same same, no difference at all, as in "no result".

                Ready to rollback the snapshot.

                 

                Oh and VMware Fusion TP July edition, 1943533

                VMware Tools that comes with it, 9.8.2.1942849

                 

                edit:

                Windows Audio service, Windows Audio Endpoint Builder service, Multimedia Class scheduler service are all running without complaints.

                I even restarted them, not helping either. Trying to reinstall the driver told me the driver was "up to date"

                 

                Looked at the .vmx.

                 

                Removed the node

                sound.virtualdev = "hdaudio"


                as mentioned in kb http://kb.vmware.com/kb/1003425

                 

                Reboot, nope.

                 

                This is the list from the vmx involving sound (hardware version 11 still)

                 

                $ cat Windows.vmx | grep -i sound
                  sound.present = "TRUE"
                  sound.fileName = "-1"
                  sound.autodetect = "TRUE"
                  sound.pciSlotNumber = "34"
                  sound.startConnected = "TRUE"
                
                

                 

                Then add remove sound device in settings again gives:

                $ cat Windows.vmx | grep -i sound
                sound.present = "TRUE"
                sound.virtualDev = "hdaudio"
                sound.fileName = "-1"
                sound.autodetect = "TRUE"
                
                

                reboot, nope.

                 

                Installed ALL windows updates including the "optional" ones. nope

                 

                --

                Wil

                 

                Message was edited by: Wil van Antwerpen

                | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
                | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
                | More info at https://www.vimalin.com
                | Twitter @wilva
                | VMware Wiki at http://www.vi-toolkit.com
                • 5. Re: Windows 7 guest has no sound device
                  wila Guru
                  Community WarriorsUser ModeratorsvExpert

                  In the category annoyed.

                   

                  This is still an issue with VMware Fusion 7.0 final.

                  All of my VMs have sound _except_ my Windows 7 one. In other words, the one I use most.

                  Completely uninstalled VMware Tools, reboot, installed VMware Tools, default settings, reboot

                  I also removed the audio device in the VM settings and put it back in with default settings.

                   

                  - Hardware version 11

                  - Audio device is "High Definition Audio Device"

                  - Windows Device manager says "This device is working properly." and device is not disabled down there'

                  - Tooltip on taskbar audio icon says "no Audio Output Device is installed" and the icon has the red cross.

                  That tooltip is a bit weird, but it appears to be the true.

                  - Troubleshooting says "Audio device is disabled" --> Not fixed Umm.. Ok, but it IS enabled everywhere. Services that are required for audio are running.

                   

                  Some screenshots.

                   

                  Clicking Configure button does not do anything.

                  Under properties button I get first this screen (normal)

                  as you can see device is "Enabled" and on the second screen I get:

                  which I think is not normal.

                   

                  Enhancements tab here seems normal, except maybe for the disabled part (I don't know)

                   

                  Very strange all. It should work just fine, but it does not.

                   

                  --

                  Wil

                  | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
                  | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
                  | More info at https://www.vimalin.com
                  | Twitter @wilva
                  | VMware Wiki at http://www.vi-toolkit.com
                  • 6. Re: Windows 7 guest has no sound device
                    WoodyZ Guru

                    Wil,

                     

                    On the Speakers Properties dialog box screen shots, Levels tab should have a Speakers frame with volume slider, volume in % text box, mute button and a balance button...  so your assumption is correct... it's not normal (your screen shot).

                     

                    Also missing from the Speakers Properties dialog box screen shots is an Advanced tab with a couple of frames, Default Format and Exclusive Mode.  I can attach screen shots if you want.

                     

                    BTW I just did a clean install of Windows 7 x64 Enterprise under VMware Fusion Professional 7.0.0 and without VMware Tools installed Sound works fine.  The sound options in the .vmx file are as follows:

                     

                    sound.autodetect = "TRUE"

                    sound.fileName = "-1"

                    sound.pciSlotNumber = "34"

                    sound.present = "TRUE"

                    sound.virtualDev = "hdaudio"

                     

                    Woody

                    • 7. Re: Windows 7 guest has no sound device
                      wila Guru
                      Community WarriorsUser ModeratorsvExpert

                      Woody,

                       

                      Thanks for confirming that suspicion on the Speaker Properties levels tab.

                      The settings in the vmx on my end are exactly like yours (the order is different, but that should not matter)

                       

                      FWIW, I'm inclined to believe that it is a problem in the VM, not a virtualisation issue perse. Might have been triggered by running the VM under the preview, but might just as well have another source. Sound used to work fine before I upgraded to the Tech Preview, but while that is a hint, it doesn't exclude other causes.

                       

                      I'm starting to wonder if I should grab a backup where it still works and sync my work, might be faster as trying to resolve this, but don't like it when I cannot find the exact source of the problem.

                       

                      Interesting to know that sound works fine without vmware tools, but I guess that makes sense when using the hd audio device as sound device. FWIW, in the tech preview I even had changed the sound device to WDM VMAudio, but to no avail.

                       

                      --

                      Wil

                      | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
                      | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
                      | More info at https://www.vimalin.com
                      | Twitter @wilva
                      | VMware Wiki at http://www.vi-toolkit.com
                      • 8. Re: Windows 7 guest has no sound device
                        wila Guru
                        Community WarriorsvExpertUser Moderators

                        Hi,

                         

                        I tried a few more things like taking a .vmx file from a backup and using that on the VM with broken sound, but that did not make a difference.

                        Also compared files at system level after restoring a backup and upgrading it to "recent" and noticed that details on the hdaudio driver was different in c:\windows\inf and c:\windows\system32\drivers. Restoring those files from the backup didn't help either. Anyways...

                         

                        What I ended up doing was restoring a backup and copying my work/data into the backup file. The backup VM works fine with the exact same configuration so something within Windows ended up broken, reason unknown.


                        Case closed, pity I never got the original to work, but YAY for backups.

                         

                        --

                        Wil

                        | Author of Vimalin. The virtual machine Backup app for VMware Desktop Products
                        | Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
                        | More info at https://www.vimalin.com
                        | Twitter @wilva
                        | VMware Wiki at http://www.vi-toolkit.com