public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] WinXP under VMWare: no sound
Date: Thu, 9 Nov 2006 20:36:49 -0700	[thread overview]
Message-ID: <7573e9640611091936p1da31e9eg90b31c77ead1cca6@mail.gmail.com> (raw)
In-Reply-To: <200611090834.51849.sp_rm_it@yahoo.it>

On 11/9/06, Sergio Polini <sp_rm_it@yahoo.it> wrote:
> However: no preloading error message, but sound does not work.
> BTW: are you sure sure that one can still set LD_PRELOAD to an
> *absolute* path?

Actually, no.  You have to use the library name, so libaoss.so is
valid, /emul/.../libaoss.so is not.

However, the search path in this case is pretty limited.  I had to
make a symlink from /usr/lib32/libaoss.so to
/emul/linux/x86/usr/lib/libaoss.so to get aoss to preload as a normal
user.

> Are you sure that that has not been reverted in glibc 2.4-r3?

Well I'm glibc-2.5 on both amd64 and x86, so I can't say for certain
what happens with 2.4, but yes, I believe it was dropped in all sane
versions of glibc.  In particular, none of my tests today on amd64 or
x86 revealed any significant problem in actually preloading the
libraries (other than the symlink issue I noted above, and of course,
needing to chmod 4755 the library to be preloaded).

FYI, I also reported the preloading problem via bugzilla way back when:

http://bugs.gentoo.org/show_bug.cgi?id=86844

> > I'm going to try installing workstation on my amd64 desktop and see
> > what I get.
>
> Thanks!!!

Unfortunately, even though I can get all the right libraries to load,
I cannot get sound to work reliably on amd64.  Neither aoss nor vmdsp
seem to work for me, either as a user or root.

However, I think I know how to make aoss work as a normal user on your
system.  You should just need to:

# chmod 4755 /emul/linux/x86/usr/lib/libaoss.so.0.0.0
# ln -s /emul/linux/x86/usr/lib/libaoss.so /usr/lib32/libaoss.so

The first command is just to make sure the library is setuid.

For vmdsp, my best guess is that a 64-bit artsd won't communicate with
32-bit clients.  But that is just a guess.

FYI, on my x86 laptop both vmdsp and aoss work, although aoss produces
choppy audio.

HTH,
-Richard
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-11-10  3:41 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
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 [this message]
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=7573e9640611091936p1da31e9eg90b31c77ead1cca6@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --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