VMware Player should use ALSA and not /dev/dsp

Bug #81742 reported by Oumar Aziz OUATTARA
8
Affects Status Importance Assigned to Milestone
vmware-player (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: vmware-player

Just a request.
is it possible to make vmware player use ALSA and not directly /dev/dsp. so that we can have 2 audio applications running at the same time?

Revision history for this message
Áron Sisak (asisak) wrote :

Thanks for taking the time reporting this bug.

I think the source of vmware-player has not been released. Therefore you should ask VMWare to do this:
http://www.vmware.com/support/services/player.html

Changed in vmware-player:
status: Unconfirmed → Rejected
Revision history for this message
Cory Albrecht (bytor) wrote :

You can make VMware use ALSA instead of OSS by doing teh followng things:

(all as root, of course)

1. apt-get install alsa-oss

2. chmod u+s /usr/lib/libaoss.so*

3. Stop all the vmware daemons, for vmware server this can be done with '/etc.init.d/vmware stop'.
    It might be different with vmware player or workstation, so make double sure they are *all* stopped.

3. cd /usr/lib/vmware/bin
    IMPORTANT!!! the files might be in a different directory on your syste, depending on whether
    you are using vmware server, player or workstation. whatever the directory is, it should have
    the binary executable file vmware-vmx in it.

4. create file vmware-vmx.sh and add the following lines to the file:

        #!/bin/sh
        #
        LD_PRELOAD=libaoss.so exec /usr/lib/vmware/bin/vmware-vmx.orig "$@"

    IMPORTANT!!! remember to replace the /usr/lib/vmware/bin with the actual path that vmware-vmx is on your system

5. chmod u+rs,g+rx,o+rx,ugo-w vmware-vmx.sh

6. mv vmware-vmx vmware-vmx.orig

7. mv vmware-vmx.sh vmware-vmx

8. In your individual VM serttings, change the sound card to use one of 'Autodetect' or '/dev/dsp'

9. Restart all the vmware daemons, e.g. '/etc/init.d/vmware start'.

While this works and you can now use your normal ALSA volume control like the one on the GNOME panel in the default Ubuntu set-up, I would not recommend it unless you absolutely must have sound access for multiple VMs.

For me, the sound with the ALSA-wrapped OSS is stuttered and choppy for a single WinXP VM given a gig of RAM running under 8.04 on a 3.6GHz Xeon Irwindale with 4 gigs of RAM. The default OSS sound, however, with none of the above changes, is perfectly solid.

I think we just need to get on VMware's tail and get them to upgrade how VMware does sound.

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.