Jump to content

New Vmware Workstation 10 OSX - No Sound


11 posts in this topic

Recommended Posts

I've got my OSX (Mavericks) virtual machine up and running, but am not getting any sound out of it.  Host is Ubuntu x64 (13.04) running VMWare Workstation 10.

 

I do get sound from my Windows 7 VMs, so I know the problem is not with the host or vmware.

 

Here's what I have inside the OSX vmx file relating to sound:

 

sound.present = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.autodetect = "TRUE"
sound.pciSlotNumber = "33"
 

I have installed vmware tools from the darwin ISO.

 

Am out of ideas so any suggestions are appreciated.

 

EDIT: I tried installing the audio drivers from sourceforge and nothing changed.

Link to comment
Share on other sites

  • 2 months later...

I've got my OSX (Mavericks) virtual machine up and running, but am not getting any sound out of it.  Host is Ubuntu x64 (13.04) running VMWare Workstation 10.

 

I do get sound from my Windows 7 VMs, so I know the problem is not with the host or vmware.

 

Here's what I have inside the OSX vmx file relating to sound:

 

sound.present = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "-1"
sound.autodetect = "TRUE"
sound.pciSlotNumber = "33"
 

I have installed vmware tools from the darwin ISO.

 

Am out of ideas so any suggestions are appreciated.

 

EDIT: I tried installing the audio drivers from sourceforge and nothing changed.

 

Did you ever get anywhere with this? I am running into the same issue on latest linux mint host, workstation 10, maverick guest. Works abolutely perfectly except for no sound! Tried the latest darwin but no luck :(

Link to comment
Share on other sites

Did you ever get anywhere with this? I am running into the same issue on latest linux mint host, workstation 10, maverick guest. Works abolutely perfectly except for no sound! Tried the latest darwin but no luck :(

 

Take a look at this thread and see if the suggestions there help you out at all:

 

http://www.insanelymac.com/forum/topic/291227-osx-ml-10834-in-vmware-89-with-a-linux-host-no-audio-anyone-able-to-help/

Link to comment
Share on other sites

  • 1 month later...

For anyone still struggling to get audio working in your OS X guest on a linux host, try this* :
 
1 ) Stop your VM.
 
2 ) Open a terminal window and enter:
 

aplay -L

 
This command will display a list of audio outputs. Identify the one used by your host system (mine is the SPDIF output, iec958:CARD=PCH,DEV=0).
 
3 ) Open the vmx file of your VM in a text editor.
 
    a ) Change sound.fileName to reflect the audio output you identified in step 2:
 
         sound.fileName = "iec958:CARD=PCH,DEV=0"
 
    b ) Change sound.autodetect to false:

         sound.autodetect = "FALSE"
 
4 ) Save the file and restart your VM.

 

Your VM should now have working sound :thumbsup_anim:
 
*After much googling, I found this information burried in the comments on a blog and thought it would be more helpful posted here.

  • Like 1
Link to comment
Share on other sites

For anyone still struggling to get audio working in your OS X guest on a linux host, try this* :

 

1 ) Stop your VM.

 

2 ) Open a terminal window and enter:

 

aplay -L

 

1>The audio driver:

predefined "hdaudio" or with "es1371" (zenith432)?

 

 

2> Using your suggestion for the sound.fileName

The output is very long, I can see these rows...

 

$ aplay -L

null

    Discard all samples (playback) or generate zero samples (capture)

default

    Default ALSA Output (currently PulseAudio Sound Server)

sysdefault:CARD=Intel

    HDA Intel, ALC272X Analog

    Default Audio Device

front:CARD=Intel,DEV=0

    HDA Intel, ALC272X Analog

    Front speakers

surround40:CARD=Intel,DEV=0

    HDA Intel, ALC272X Analog

    4.0 Surround output to Front and Rear speakers

surround41:CARD=Intel,DEV=0

    HDA Intel, ALC272X Analog

    4.1 Surround output to Front, Rear and Subwoofer speakers

surround50:CARD=Intel,DEV=0

    HDA Intel, ALC272X Analog

    5.0 Surround output to Front, Center and Rear speakers

surround51:CARD=Intel,DEV=0

    HDA Intel, ALC272X Analog

    5.1 Surround output to Front, Center, Rear and Subwoofer speakers

surround71:CARD=Intel,DEV=0

    HDA Intel, ALC272X Analog

    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers

 

 

which string to choose?

sysdefault:CARD=Intel

 

if for you is

sound.fileName = "iec958:CARD=PCH,DEV=0"

 

for me should be?

 

a> sound.fileName = "sysdefault:CARD=Intel"

b> sound.fileName = "front:CARD=Intel,DEV=0"

c> or something else?

 

 

thanks

Link to comment
Share on other sites

1>The audio driver:

predefined "hdaudio" or with "es1371" (zenith432)?

 

...

 

for me should be?

 

a> sound.fileName = "sysdefault:CARD=Intel"

b> sound.fileName = "front:CARD=Intel,DEV=0"

c> or something else?

 

I am using hdaudio which I believe is the default.  As far as which output you should use - it depends how your speakers are connected. If you are using stereo speakers connected to the front analog outputs, try sound.fileName = "front:CARD=Intel,DEV=0". If you are using the rear analog outputs you could try sound.fileName = "sysdefault:CARD=Intel". I don't use the analog outputs so I can't test this :unsure:

Link to comment
Share on other sites

  • 9 months later...

For anyone still struggling to get audio working in your OS X guest on a linux host, try this* :

 

1 ) Stop your VM.

 

2 ) Open a terminal window and enter:

 

aplay -L

 

This command will display a list of audio outputs. Identify the one used by your host system (mine is the SPDIF output, iec958:CARD=PCH,DEV=0).

 

3 ) Open the vmx file of your VM in a text editor.

 

    a ) Change sound.fileName to reflect the audio output you identified in step 2:

 

         sound.fileName = "iec958:CARD=PCH,DEV=0"

 

    b ) Change sound.autodetect to false:

 

         sound.autodetect = "FALSE"

 

4 ) Save the file and restart your VM.

 

Your VM should now have working sound :thumbsup_anim:

 

*After much googling, I found this information burried in the comments on a blog and thought it would be more helpful posted here.

Thanks pal! :)  i confirm it DOES work!

 

worked for me on:

 

Sony vaio duo 11 ( Realteck ALC275 sound card )

vmare workstation v10

Xubuntu 14.04 host

OS X Mavericks 10.9 guest

Link to comment
Share on other sites

  • 4 weeks later...

Hello,

 

This unfortunately does not work for me. The aplay -L shows the following part
 

$ aplay -L
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=PCH
    HDA Intel PCH, CONEXANT Analog
    Default Audio Device

Thus I changed the .vmx file as follows

sound.present = "TRUE"
sound.virtualDev = "hdaudio"
sound.fileName = "sysdefault:CARD=PCH"
sound.pciSlotNumber = "33"

However, there is still no sound :(

 

Host machine: Lenovo ThinkPad X1

Host OS: Ubuntu 12.04 Precise Pangolin

Guest OS: OS Mavericks 10.9

VM Manager: VMware Workstation 10.0.4

Link to comment
Share on other sites

  • 3 months later...

For anyone still struggling to get audio working in your OS X guest on a linux host, try this* :

 

1 ) Stop your VM.

 

2 ) Open a terminal window and enter:

 

aplay -L

 

This command will display a list of audio outputs. Identify the one used by your host system (mine is the SPDIF output, iec958:CARD=PCH,DEV=0).

 

3 ) Open the vmx file of your VM in a text editor.

 

    a ) Change sound.fileName to reflect the audio output you identified in step 2:

 

         sound.fileName = "iec958:CARD=PCH,DEV=0"

 

    b ) Change sound.autodetect to false:

 

         sound.autodetect = "FALSE"

 

4 ) Save the file and restart your VM.

 

Your VM should now have working sound :thumbsup_anim:

 

*After much googling, I found this information burried in the comments on a blog and thought it would be more helpful posted here.

 

Have any of you figured out how to get sound working in Workstation 11.1?  No matter what I do I get the vcpu-0 error.  

Link to comment
Share on other sites

 Share

×
×
  • Create New...