PulseAudio, multilib, emul-linux-x86-soundlibs

View: New views
13 Messages — Rating Filter:   Alert me  

PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I don't know if it's been discussed before so I don't open a bug right now.

The emul-linux-x86-soundlibs package (version 10.0-r1) comes with basic
alsa libraries.
However, some 32 bits applications using alsa may need 32 bits alsa plugins.
This is especially true in my case where :
- I _need_  to use 32 bits skype (corporate decision I cannot discuss
although I would have much to say about)
- I _want_ to use the pulseaudio sound server whose 64-bits alsa plugin
is delivered with the alsa-plugins package

I haven't try yet, but I'm pretty sure I won't have sound with my
favorite game (enemy-territory) neither.

Question : is there a strong reason why a 32-bits version of
alsa-plugins (that would install plugins in /usr/lib32/alsa-lib) is not
included in emul-linux-x86-soundlibs ?
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Sebastian Redl :: Rate this Message:

| View Threaded | Show Only this Message

Rodolphe Rocca wrote:
> The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
> basic alsa libraries.
> However, some 32 bits applications using alsa may need 32 bits alsa
> plugins.
> This is especially true in my case where :
> - I _need_  to use 32 bits skype (corporate decision I cannot discuss
> although I would have much to say about)
Which plugin does skype need, exactly? It works fine for me on a 64-bit
system, and skype is a 32-bit-binary-only package.

Sebastian Redl
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Beso-2 :: Rate this Message:

| View Threaded | Show Only this Message

DEPEND="amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.2
                >=app-emulation/emul-linux-x86-baselibs-2.1.1
                >=app-emulation/emul-linux-x86-soundlibs-2.4
                app-emulation/emul-linux-x86-compat )

having the emul-linux installed on a multilib amd64 system is always a good idea. i have them all installed and everything works fine.
i don't have alsa-plugins installed and everything seems to work fine on my system. wine's apps have sound enabled, so think that there aren't problems running a system without it. try emerging it and see what happens. it should use the 64bit plugins whenever possible.

2007/10/2, Sebastian Redl <sebastian.redl@...>:
Rodolphe Rocca wrote:
> The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
> basic alsa libraries.
> However, some 32 bits applications using alsa may need 32 bits alsa
> plugins.
> This is especially true in my case where :
> - I _need_  to use 32 bits skype (corporate decision I cannot discuss
> although I would have much to say about)
Which plugin does skype need, exactly? It works fine for me on a 64-bit
system, and skype is a 32-bit-binary-only package.

Sebastian Redl
--
gentoo-amd64@... mailing list




--
dott. ing. beso

Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Sebastian Redl wrote:

> Rodolphe Rocca wrote:
>> The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
>> basic alsa libraries.
>> However, some 32 bits applications using alsa may need 32 bits alsa
>> plugins.
>> This is especially true in my case where :
>> - I _need_  to use 32 bits skype (corporate decision I cannot discuss
>> although I would have much to say about)
> Which plugin does skype need, exactly? It works fine for me on a 64-bit
> system, and skype is a 32-bit-binary-only package.
>
> Sebastian Redl

In my case, the plugin I need is pulse (delivered with the alsa-plugins
package), but it's true of all the plugins delivered with alsa-plugins).

rrocca@taichi ~ $ qlist alsa-plugins | grep pulse
/usr/lib64/alsa-lib/libasound_module_ctl_pulse.la
/usr/lib64/alsa-lib/libasound_module_ctl_pulse.so
/usr/lib64/alsa-lib/libasound_module_pcm_pulse.la
/usr/lib64/alsa-lib/libasound_module_pcm_pulse.so
/usr/share/doc/alsa-plugins-1.0.14/README-pulse
rrocca@taichi ~ $ qlist emul-linux-x86-soundlibs | grep pulse
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Sebastian Redl wrote:

> Rodolphe Rocca wrote:
>> The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
>> basic alsa libraries.
>> However, some 32 bits applications using alsa may need 32 bits alsa
>> plugins.
>> This is especially true in my case where :
>> - I _need_  to use 32 bits skype (corporate decision I cannot discuss
>> although I would have much to say about)
> Which plugin does skype need, exactly? It works fine for me on a 64-bit
> system, and skype is a 32-bit-binary-only package.
>

Precision : 32 bits skype works for me with emul-* packages too. But it
does not work with pulseaudio because then my 32 bits gentoo lacks the
pulse alsa plugin.
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Beso-2 :: Rate this Message:

| View Threaded | Show Only this Message

just in case: try this howto on setting skype and pulseaudio - http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Errata#Skype_with_PulseAudio

maybe it works. it says that you need to do some other tweaks to make it work with pulseaudio. remember to have alsa-plugins also installed.

2007/10/2, Rodolphe Rocca < fake2@...>:
Sebastian Redl wrote:

> Rodolphe Rocca wrote:
>> The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
>> basic alsa libraries.
>> However, some 32 bits applications using alsa may need 32 bits alsa
>> plugins.
>> This is especially true in my case where :
>> - I _need_  to use 32 bits skype (corporate decision I cannot discuss
>> although I would have much to say about)
> Which plugin does skype need, exactly? It works fine for me on a 64-bit
> system, and skype is a 32-bit-binary-only package.
>

Precision : 32 bits skype works for me with emul-* packages too. But it
does not work with pulseaudio because then my 32 bits gentoo lacks the
pulse alsa plugin.
--
gentoo-amd64@... mailing list




--
dott. ing. beso

Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Beso wrote:
> just in case: try this howto on setting skype and pulseaudio -
> http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Errata#Skype_with_PulseAudio 
> <http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Errata#Skype_with_PulseAudio>
>
> maybe it works. it says that you need to do some other tweaks to make
> it work with pulseaudio. remember to have alsa-plugins also installed.
Hey dude ! Have you read my email ? That's exactly what is missing : 32
bits alsa-plugins !

;-)

But thank you anyway for this attempt :-)

--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Beso-2 :: Rate this Message:

| View Threaded | Show Only this Message

hey man, you didn't even tried it... i have emul-linux-x86-sound and alsa-plugins, skype 32bit (working normally), and inserted into ~/.asoundrc
pcm.pulse {
    type pulse
}

ctl.pulse {
    type pulse
}

as the user that was using skype, restarted skype and found in options, sound devices th option to select pulse for every single voice there (call receiver, ringer and microphone). so for what i can see it works.

2007/10/3, Rodolphe Rocca <fake2@...>:
Beso wrote:
> just in case: try this howto on setting skype and pulseaudio -
> http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Errata#Skype_with_PulseAudio
> <http://wiki.mandriva.com/en/Releases/Mandriva/2008.0/Errata#Skype_with_PulseAudio>
>
> maybe it works. it says that you need to do some other tweaks to make
> it work with pulseaudio. remember to have alsa-plugins also installed.
Hey dude ! Have you read my email ? That's exactly what is missing : 32
bits alsa-plugins !

;-)

But thank you anyway for this attempt :-)

--
gentoo-amd64@... mailing list




--
dott. ing. beso

Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Beso wrote:

> hey man, you didn't even tried it... i have emul-linux-x86-sound and
> alsa-plugins, skype 32bit (working normally), and inserted into ~/.asoundrc
> pcm.pulse {
>     type pulse
> }
>
> ctl.pulse {
>     type pulse
> }
>
> as the user that was using skype, restarted skype and found in options,
> sound devices th option to select pulse for every single voice there (call
> receiver, ringer and microphone). so for what i can see it works.
>

Oh yes I tried :-) Look at this. Convinced ?

$ skype
ALSA lib control.c:875:(snd_ctl_open_conf) Cannot open shared library
/usr/lib32/alsa-lib/libasound_module_ctl_pulse.so
ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library
/usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library
/usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Beso-2 :: Rate this Message:

| View Threaded | Show Only this Message

i tried several times compiling the alsa-plugins for 32bit on a 64bit system but i wasn't succesful, since it continues to fail on the pulse plugin. i'll try later by using the pulse plugin compiled natively on a 32bit sytem and see what happens.

2007/10/4, Rodolphe Rocca <fake2@...>:
Beso wrote:
> hey man, you didn't even tried it... i have emul-linux-x86-sound and
> alsa-plugins, skype 32bit (working normally), and inserted into ~/.asoundrc
> pcm.pulse {
>     type pulse
> }
>
> ctl.pulse {
>     type pulse
> }
>
> as the user that was using skype, restarted skype and found in options,
> sound devices th option to select pulse for every single voice there (call
> receiver, ringer and microphone). so for what i can see it works.
>

Oh yes I tried :-) Look at this. Convinced ?

$ skype
ALSA lib control.c:875:(snd_ctl_open_conf) Cannot open shared library
/usr/lib32/alsa-lib/libasound_module_ctl_pulse.so
ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library
/usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
ALSA lib pcm.c:2106:(snd_pcm_open_conf) Cannot open shared library
/usr/lib32/alsa-lib/libasound_module_pcm_pulse.so
--
gentoo-amd64@... mailing list



Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Beso wrote:
> i tried several times compiling the alsa-plugins for 32bit on a 64bit
> system but i wasn't succesful, since it continues to fail on the pulse
> plugin. i'll try later by using the pulse plugin compiled natively on
> a 32bit sytem and see what happens.
I think it's because you need 32 bits libpulse too.
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Rodolphe Rocca-2 :: Rate this Message:

| View Threaded | Show Only this Message

Rodolphe Rocca wrote:

> Hi,
>
> I don't know if it's been discussed before so I don't open a bug right
> now.
>
> The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
> basic alsa libraries.
> However, some 32 bits applications using alsa may need 32 bits alsa
> plugins.
> This is especially true in my case where :
> - I _need_  to use 32 bits skype (corporate decision I cannot discuss
> although I would have much to say about)
> - I _want_ to use the pulseaudio sound server whose 64-bits alsa
> plugin is delivered with the alsa-plugins package
>
> I haven't try yet, but I'm pretty sure I won't have sound with my
> favorite game (enemy-territory) neither.
>
> Question : is there a strong reason why a 32-bits version of
> alsa-plugins (that would install plugins in /usr/lib32/alsa-lib) is
> not included in emul-linux-x86-soundlibs ?
Opened issue http://bugs.gentoo.org/show_bug.cgi?id=194697
--
gentoo-amd64@... mailing list


Re: PulseAudio, multilib, emul-linux-x86-soundlibs

by Thomas Jost :: Rate this Message:

| View Threaded | Show Only this Message

2007/10/4, Rodolphe Rocca <fake2@...>:

> Rodolphe Rocca wrote:
> > Hi,
> >
> > I don't know if it's been discussed before so I don't open a bug right
> > now.
> >
> > The emul-linux-x86-soundlibs package (version 10.0-r1) comes with
> > basic alsa libraries.
> > However, some 32 bits applications using alsa may need 32 bits alsa
> > plugins.
> > This is especially true in my case where :
> > - I _need_  to use 32 bits skype (corporate decision I cannot discuss
> > although I would have much to say about)
> > - I _want_ to use the pulseaudio sound server whose 64-bits alsa
> > plugin is delivered with the alsa-plugins package
> >
> > I haven't try yet, but I'm pretty sure I won't have sound with my
> > favorite game (enemy-territory) neither.
> >
> > Question : is there a strong reason why a 32-bits version of
> > alsa-plugins (that would install plugins in /usr/lib32/alsa-lib) is
> > not included in emul-linux-x86-soundlibs ?
> Opened issue http://bugs.gentoo.org/show_bug.cgi?id=194697

There is already http://bugs.gentoo.org/show_bug.cgi?id=186820 (but it
is specifically about PulseAudio, not alsa-plugins in general).

In fact it is quite easy to have PulseAudio working in 32bit apps if
you have a 32bit chroot : you just have to emerge pulseaudio and
alsa-plugins with the right USE-flags, and then to copy the needed
files on your normal system.

But well, everybody doesn't have a 32bit chroot, so you will find the
needed files here:
http://fichiers.schnouki.net/Gentoo/alsa-pulse-32bit.tar.bz2 (files
from pulseaudio-0.9.5-r6 and alsa-plugins-1.0.14, I just compiled them
myself a few minutes ago on my 32bit chroot, and it looks like it
works pretty well with Skype).

Good luck ;-)

--
There's no place like 127.0.0.1
--
gentoo-amd64@... mailing list