Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 286810

Summary: media-sound/pulseaudio: enable alsa-sink module when using the linux kernel
Product: Gentoo Linux Reporter: Fabio Erculiani (RETIRED) <lxnay>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info provided
dmesg output
/var/log/messages
lspci -vvv output
lsmod output

Description Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 17:54:01 UTC
Current default.pa in media-sound/pulseaudio ebuilds is shipped with alsa-sink module disabled.
This is causing the inability to play sound from applications using different sound systems (for eg. Audacious2 w/PA and Firefox+Flash w/ALSA).

I don't know what are the implications of enabling this option by default but fact is that without doing this, user is unable to properly enjoy music while watching Youtube vids ;).

The trick would be editing /etc/pulse/default.pa this way:
-#load-module module-alsa-sink
+load-module module-alsa-sink

I would like to collect opinions on the matter. Perhaps the best way would be binding this to USE="alsa".
In Sabayon we have this option enabled by default and is not causing any trouble.

Reproducible: Always
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 18:54:22 UTC
hal and udev take care of enabling the required modules; if you don't want autodetect you're on your own.
Comment 2 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:14:07 UTC
Then, module-udev-detect.so doesn't work properly, because here it fails at enabling alsa-sink and thus making ALSA working via PA.

Comment 3 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:16:47 UTC
Created attachment 205519 [details]
emerge --info provided

let me know if you need anything else to figure out what's wrong.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 19:17:29 UTC
Or maybe you should learn to file a bug report.

a) *this* issue is INVALID and so it'll have to stay;
b) if you really feel it's not your mistake, open a new bug report *providing information on how to reproduce your problem*; lack thereof will only cause further closed bugs.
Comment 5 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:19:56 UTC
I asked for what information you need. And no, it's not invalid, sorry.
Providing more logs in a second.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-09-28 19:23:05 UTC
OPEN A NEW BUG.
Comment 7 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:29:03 UTC
Created attachment 205523 [details]
dmesg output
Comment 8 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:30:25 UTC
Created attachment 205524 [details]
/var/log/messages

This actually shows an issue with ALSA and kernel, and reports a "Device or resource busy"
Comment 9 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:31:24 UTC
Created attachment 205527 [details]
lspci -vvv output
Comment 10 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:32:11 UTC
Created attachment 205529 [details]
lsmod output
Comment 11 Fabio Erculiani (RETIRED) gentoo-dev 2009-09-28 19:37:57 UTC
Ok, opening a new bug. You don't need to act this way though.