sound output in vmware-server doesn't work

Bug #192290 reported by Antoine Mathys
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-server (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: vmware-server

vmware-server cannot open the sound device if another application is already using it, since it makes direct OSS calls. One possible fix for this is described here: http://ahlamnote.blogspot.com/2006/11/vmware-server-with-alsa-dmix.html

Revision history for this message
Antoine Mathys (7d47b64f10) wrote :

There is a bug in the fix :) I referred to.

    LD_PRELOAD=libaoss.so exec /usr/lib/vmware/bin/vmware-vmx-real $@

should be replaced by :
    LD_PRELOAD=libaoss.so exec /usr/lib/vmware/bin/vmware-vmx-real "$@"

Revision history for this message
Cory Albrecht (bytor) wrote :

You will ls need to do 'sudo chmod u+s /usr/lib/libaoss.so*' to make the preload bit give vmware-vmx an ALS-wrapped OSS and a /dev/dsp which can be shared by apps (including multiple VMs).

Revision history for this message
Cory Albrecht (bytor) wrote :

Extending on my previous:

While this, works, sound is always skipping on my 3.6GHz Xeon with 3 gigs of RAM where as not making this change the OSS sound from VMware works flawlessly.

Yes, I know, OSS doesn't do terribly well on mixing multiple apps to use the sound hardware (or mixing of any sort), but unless you absolutely *must* have sound in multiple VMs (remember, each running VM is a separate running app!) I would not recommend making this change to get ALSA-wrapped OSS for VMware.

Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in vmware-server:
status: New → Incomplete
Revision history for this message
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in vmware-server:
status: Incomplete → Invalid
Revision history for this message
mjw (markjwebb) wrote :

Please can we re-open this bug report. Sound in vmware server still does not work when using PulseAudio. In fact after a recent update, I've found the only way to get sound to work is to kill pulseaudio before starting a virtual machine:
http://ubuntuforums.org/showthread.php?p=7861663#post7861663

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.