Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186820 - app-emulation/emul-linux-x86-soundlibs should provide pulseaudio libraries
Summary: app-emulation/emul-linux-x86-soundlibs should provide pulseaudio libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Lowest critical with 4 votes (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 208209 214837 230355 250646 (view as bug list)
Depends on:
Blocks: emul-tracker 183757
  Show dependency tree
 
Reported: 2007-07-27 16:54 UTC by Per Wigren
Modified: 2009-12-27 10:47 UTC (History)
19 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Wigren 2007-07-27 16:54:51 UTC
PulseAudio is for audio what Compiz is for the desktop.
To make full use of it I use "pcm.!default { type pulse } ctl.!default { type pulse }" in /etc/asound.conf to route all ALSA audio through PulseAudio.
This works great but fails with 32-bit applications because the 32-bit alsa-library is unable to find the 32-bit pulseaudio plugin.
If the emul-linux-x86-soundlibs package could include the pulseaudio libraries and alsa-plugin it would bring a little bit of heaven to the Gentoo desktop. :)

Reproducible: Always

Steps to Reproduce:
Comment 1 Per Wigren 2007-07-27 19:20:13 UTC
The emul-linux-x86-soundlibs package should include at least these files:

(from media-sound/pulseaudio)
/usr/lib32/libpulse.so.*
/usr/lib32/libpulse-simple.so.*
/usr/lib32/libpulsedsp.so

(from media-plugins/alsa-plugins)
/usr/lib32/alsa-lib/libasound_module_ctl_pulse.*
/usr/lib32/alsa-lib/libasound_module_pcm_pulse.*

These are what is needed to make 32-bit ALSA applications play through pulseaudio and make libflashsupport and padsp work.
Comment 2 Thomas Jost 2007-08-04 18:48:49 UTC
I definitely agree. Adding these files is easy if you have a 32bits chroot, but everyone doesn't have one.

Could someone release a new version of this package including PulseAudio related libraries please?
Comment 3 jon R-B 2007-11-03 14:49:38 UTC
so whats needed todo this?
Comment 4 Mike Doty (RETIRED) gentoo-dev 2007-11-14 07:53:58 UTC
emul-linux-x86-soundlibs in the tree, package.masked.  use at your own risk.
Comment 5 Per Wigren 2007-11-14 09:36:06 UTC
Why was this bug closed? There are no pulse libs in the 20071114 emul packages. Am I missing something?
Comment 6 Mike Doty (RETIRED) gentoo-dev 2007-11-14 15:59:07 UTC
ok, you'll have to wait for the next set then
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2008-01-30 22:15:46 UTC
*** Bug 208209 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-03-26 09:21:37 UTC
*** Bug 214837 has been marked as a duplicate of this bug. ***
Comment 9 quarky9 2008-03-26 09:47:25 UTC
(In reply to comment #6)
> ok, you'll have to wait for the next set then
> 

Also there are currently no libraries from the alsa-plugins ebuild in the
emul-soundlibs package.

I provide both
http://www.startux.de/index.php/articles/34-linux/46-geting-wine-use-pulseaudio-on-gentoo-amd64 for now .)
Comment 10 Per Wigren 2008-03-26 11:43:49 UTC
I also used a 32-bit chroot to build the pulse libs and alsa-plugins.

Can we expect having the PulseAudio libs in emul-linux-x86-soundlibs in 2008?
Comment 11 Per Wigren 2008-03-29 10:28:10 UTC
> I provide both
> http://www.startux.de/index.php/articles/34-linux/46-geting-wine-use-pulseaudio-on-gentoo-amd64

I thought I'd upgrade my 32-bit pulse libs and use yours because my chroot is WAY out of date. I noticed that you didn't provide libpulse-simple though. :( It is needed for libflashsupport, which is the key to having stable Flash on Linux. libflashsupport is a plugin for Adobe's Flash-plugin that provides support for pulseaudio, esd, v4lv1 and some more.
Comment 12 quarky9 2008-03-31 07:46:23 UTC
I updated my libpulse archive and added libsamplerate and lib-pulse-simple.

You can still get it at
http://www.startux.de/index.php/articles/34-linux/46-geting-wine-use-pulseaudio-on-gentoo-amd64
Comment 13 Olivier Crete (RETIRED) gentoo-dev 2008-07-01 16:49:35 UTC
*** Bug 230355 has been marked as a duplicate of this bug. ***
Comment 14 Olivier Crete (RETIRED) gentoo-dev 2008-07-01 16:51:17 UTC
This should come soon...
Comment 15 Olivier Crete (RETIRED) gentoo-dev 2008-08-29 02:00:58 UTC
seems like alsa-plugins is missing from the 20080810 version... grr...
Comment 16 Yaroslav Isakov 2008-12-12 01:44:19 UTC
I'am also ask for 32-bit pulseaudio libs, and appropriate modification of padsp
Comment 17 Yaroslav Isakov 2008-12-12 01:45:07 UTC
*** Bug 250646 has been marked as a duplicate of this bug. ***
Comment 18 Maciej Blizinski 2008-12-12 07:46:24 UTC
I was trying to build this library, but I got stuck right at the beginning when building an emul environment; bug 242776 is open and waiting for some useful input.
Comment 19 Xavier Vachon 2009-05-01 03:10:47 UTC
The pulseaudio libraries in the package are outdated and should be upgraded. In my case, I am attempting to compile a pulseaudio backend for Wine (http://art.ified.ca/?page_id=40), and compilation fails with the following output:

make[2]: Entering directory `/home/xavier/wine-git/dlls/winepulse.drv'
../../tools/makedep -C. -S../.. -T../..  dsoutput.c waveout.c wavein.c pulse.c
make[2]: Leaving directory `/home/xavier/wine-git/dlls/winepulse.drv'
make[2]: Entering directory `/home/xavier/wine-git/dlls/winepulse.drv'
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o dsoutput.o dsoutput.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o waveout.o waveout.c
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o wavein.o wavein.c
wavein.c: In function 'widRecorder':
wavein.c:139: warning: 'wait' may be used uninitialized in this function
gcc -m32 -c -I. -I. -I../../include -I../../include  -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wtype-limits -Wpointer-arith  -g -O2  -o pulse.o pulse.c
pulse.c: In function 'PULSE_AddRingMessage':
pulse.c:207: warning: ignoring return value of 'write', declared with attribute warn_unused_result
pulse.c: In function 'PULSE_RetrieveRingMessage':
pulse.c:238: warning: ignoring return value of 'read', declared with attribute warn_unused_result
../../tools/winegcc/winegcc -m32 -B../../tools/winebuild -shared ./winepulse.drv.spec    dsoutput.o waveout.o wavein.o pulse.o       -o winepulse.drv.so  -ldxguid -luuid -lwinmm -luser32 -ladvapi32 -lkernel32../../libs/port/libwine_port.a -lpulse   -L/emul/linux/x86/usr/lib -L/emul/linux/x86/lib
waveout.o: In function `wodOpen':
/home/xavier/wine-git/dlls/winepulse.drv/waveout.c:699: undefined reference to `pa_stream_set_started_callback'
collect2: ld returned 1 exit status
winegcc: gcc failed
make[2]: *** [winepulse.drv.so] Error 2
make[2]: Leaving directory `/home/xavier/wine-git/dlls/winepulse.drv'
make[1]: *** [winepulse.drv] Error 2
make[1]: Leaving directory `/home/xavier/wine-git/dlls'
make: *** [dlls] Error 2

According to the developer of the backend, compilation fails because the 32-bit emulation libs of pulseaudio lack functions which are built in the librairies of a real 32-bit Gentoo build.
Comment 20 PhobosK 2009-06-20 08:00:10 UTC
As far as I see noone is working on this issue for quite a long time and it is quite annoying on 64-bit platforms.
@Mike Doty, as a maintainer of this ebuild, would you be so kind to tell us if fixing this issue will be possible in the very near future?
Comment 21 Stijn Tintel 2009-09-27 08:55:21 UTC
Bump ...

Would be nice if this got fixed before Gnome 2.26 goes stable, since it's volume applet needs PulseAudio. And so 32bit apps like Wine, should be able to use PA as well ...

Any feedback/update from a developer/maintainer would be well appreciated.
Comment 22 jon R-B 2009-09-29 18:41:10 UTC
bumpbumb

I migrated to OSSv4 for quite some time due to issues with ETQW and ALSA, but I have had to come back to ALSA + PA (since apps are starting to drop OSS support)

I now don't have sound in ETQW since it can't load 32bit Pulse or audio stuff

Comment 23 Justus Ranvier 2009-10-18 13:20:54 UTC
Without 32bit pulseaudio libraries wine support for pulseaudio (bug #271050) will not work on amd64.
Comment 24 Antek Grzymała (antoszka) 2009-10-27 22:33:13 UTC
What's stopping this bug on progressing. Can I help?
Comment 25 Per Wigren 2009-11-05 09:45:05 UTC
As the reporter of this bug, a full time Gentoo user for 7+ years (since before v1.0) who have been contributing ebuilds every now and then over the years, I grew so tired of what Gentoo has become the last years that I finally decided to migrate to Arch about a year ago. Suddenly I find myself in a community that is ALIVE and ENTHUSIASTIC again. It's a wonderful feeling!

(sorry about this off-topic rant)
Comment 26 Luciano 2009-12-20 13:47:34 UTC
This is also a dependency for (32 bit) Skype 2.1 with pulseaudio, which is not yet in the official tree. A bug was raised for this: # 283008. I tried upgrading to the masked packages 20091004, but still some stuff seems to be missing. Running skype I get:

ALSA lib pcm.c:2171:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_pulse.so 

Could this module also be added, please?

Beside this, my acroread plugin stopped working after installing the masked packages ...

Comment 27 Stijn Tintel 2009-12-22 15:57:15 UTC
Okay, so I had enough of 32bit apps not being able to use PulseAudio, and out of frustration I built a 32bit chroot to build these libs myself.

That seems to have worked, after some major symlinking ugliness.

Now, since no developer seems to care about this issue at all (no comments or whatsoever), and recently a new rc for emul-linux-x86-soundlibs has been released, WITHOUT pulse support, I would like to know how I can create a new emul-linux-x86-soundlibs ebuild myself, so I can help myself and the other people that are annoyed by this bug.

@Per Wigren: maybe you could increase the severity of this bug in the hope that will wake someone up. I can't since I'm not the reporter.
Comment 28 Per Wigren 2009-12-23 14:52:57 UTC
@Stijn Tintel: Sure. I have personally already left Gentoo behind me (for Arch) and this bug was one of the major reasons for that.
Comment 29 Pacho Ramos gentoo-dev 2009-12-27 10:47:20 UTC
Included in app-emulation/emul-linux-x86-soundlibs-20091226