public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergio Polini <sp_rm_it@yahoo.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] WinXP under VMWare: no sound
Date: Sun, 5 Nov 2006 02:02:15 +0100	[thread overview]
Message-ID: <200611050202.15817.sp_rm_it@yahoo.it> (raw)
In-Reply-To: <7573e9640611041559m6f1d48d6ife4806db4186aa03@mail.gmail.com>

Richard Fish:
> On 11/4/06, Sergio Polini <sp_rm_it@yahoo.it> wrote:
> > Sound does not work. Sometimes (not always) I get a message
> > like "cannot connect to /dev/dsp".
> > Even if I do not get that message, even if the sound card looks
> > connected (no red "x") sound is not working.
> > I've found a VMWare document about a wrapper:
>
> The problem is that /dev/dsp is the legacy OSS api, and does not
> support dmix (software mixing of audio).  Thus only one application
> can access /dev/dsp at a time unless your card supports hardware
> mixing.  So most likely, /dev/dsp is already in use by some app.

alsasound?
kde? even if I have "auto-suspend" enabled?

> The workaround to this is to use a wrapper such as aoss or
> vmware-dsp that fakes out the application when it tries to open
> /dev/dsp and uses another audio API instead (alsa for aoss, esd or
> artsd for vmware-dsp).
>
> http://kb.vmware.com/vmtnkb/search.do?cmd=displayKC&docType=kc&exte
>rnalId=1611&sliceId=SAL_Public
>
> > but it looks suited for versions 3.x, 4.x, and 5.0.x.
> > Moreover, I've installed it and got:
>
> FYI, there is an ebuild available for this...emerge vmare-dsp.

Oops! ;-)
It emerged app-emulation/emul-linux-x86-soundlibs-2.3 too (Im running 
Gentoo AMD64), but then:

01:56:32 (200.82 KB/s) - `/usr/portage/distfiles/vmwaredsp-1.3.tar.gz' 
saved [52412/52412]

 * checking ebuild checksums ;-) ...                                                                      
[ ok ]
 * checking auxfile checksums ;-) ...                                                                     
[ ok ]
 * checking miscfile checksums ;-) ...                                                                    
[ ok ]
 * checking vmwaredsp-1.3.tar.gz ;-) ...                                                                  
[ ok ]
>>> Unpacking source...
>>> Unpacking vmwaredsp-1.3.tar.gz 
to /var/tmp/portage/vmware-dsp-1.3/work
>>> Source unpacked.
>>> Compiling source 
in /var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3 ...
 * Building aRts support only.
make -C 32 default
make[1]: Entering directory 
`/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32'
cc -c -W -Wall -O2 -fPIC -o vmdsp.o ../vmdsp.c
cc -shared -Wl,-version-script=../vmdsp.map -o libvmdsp.so 
vmdsp.o  -lpthread -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: 
libvmdsp.so: undefined versioned symbol name open64@GLIBC_2.2.5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: 
failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libvmdsp.so] Error 1
rm vmdsp.o
make[1]: Leaving directory 
`/var/tmp/portage/vmware-dsp-1.3/work/vmwaredsp-1.3/src/32'
make: *** [default] Error 2

!!! ERROR: app-emulation/vmware-dsp-1.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  vmware-dsp-1.3.ebuild, line 58:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call 
stack if relevant.

:-(

> > [sp ~]$ ERROR: ld.so: object 'libvmdsp.so' from LD_PRELOAD cannot
> > be preloaded: ignored.
>
> What does ldd /usr/lib/libvmdsp* report?  (or whatever directory
> libvmdsp got installed to..)

>From my former install (1611_fvmwaredsp-1.3.tgz):

testing ~ # ldd /usr/lib/libvmdsp.so
ldd: warning: you do not have execution permission for 
`/usr/lib/libvmdsp.so'
        libpthread.so.0 => /lib/libpthread.so.0 (0x00002b944790f000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002b9447a25000)
        libc.so.6 => /lib/libc.so.6 (0x00002b9447b29000)
        /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)


> PS:The real fix for this is for VMWare to *stop* using the
> deprecated OSS API for sound, and implement real ALSA
> compatibility.  I highly recommend sending this request to them!

Sure, but first I'ld like to get sound working ;-)

Thanks
Sergio

-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-11-05  1:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-04 21:41 [gentoo-user] WinXP under VMWare: no sound Sergio Polini
2006-11-04 23:59 ` Richard Fish
2006-11-05  1:02   ` Sergio Polini [this message]
2006-11-07  5:44     ` Richard Fish
2006-11-07  5:54       ` Bo Ørsted Andresen
2006-11-07 10:32         ` Bo Ørsted Andresen
2006-11-07 20:47           ` Sergio Polini
2006-11-07 23:16             ` Sergio Polini
2006-11-07 20:38       ` Sergio Polini
2006-11-07 23:21       ` Sergio Polini
2006-11-08  0:08         ` Richard Fish
2006-11-08  7:31           ` Sergio Polini
2006-11-08 16:04             ` Hans-Werner Hilse
2006-11-08 17:30               ` Richard Fish
2006-11-08 21:24               ` Sergio Polini
2006-11-08 21:56                 ` Sergio Polini
2006-11-08 22:28                 ` Richard Fish
2006-11-09  7:34                   ` Sergio Polini
2006-11-10  3:36                     ` Richard Fish
2006-11-10 20:11                       ` Sergio Polini
2006-11-05 11:55   ` Sergio Polini
2006-11-06 13:36     ` Hans-Werner Hilse
2006-11-06 22:26       ` Sergio Polini
2006-11-07  5:52         ` Richard Fish
2006-11-07  5:50     ` Richard Fish

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611050202.15817.sp_rm_it@yahoo.it \
    --to=sp_rm_it@yahoo.it \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox