Jump to content
  • Announcements

    • Allan

      Forum Rules   04/13/2018

      Hello folks! As some things are being fixed, we'll keep you updated. Per hour the Forum Rules don't have a dedicated "Tab", so here is the place that we have our Rules back. New Users Lounge > [READ] - InsanelyMac Forum Rules - The InsanelyMac Staff Team. 
hmmm123

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.

Share this post


Link to post
Share on other sites

I don't know the reason.

 

In my case, it works after I  enable sound device, install VMware tools, and increase sound volume but the host OS is Windows 7 :)

Share this post


Link to post
Share on other sites

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 :(

Share this post


Link to post
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/

Share this post


Link to post
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

 
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.

Share this post


Link to post
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

Share this post


Link to post
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:

Share this post


Link to post
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

 

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

 

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.  

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×