Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] sound stopped working [media-sound/pulseaudio-7.1]
Date: Tue, 19 Jan 2016 19:58:08
Message-Id: CAJ1xhMUqdbKuVGO6A=ZF=87eT6oGyosqjBFTULKe4-pkJEU2aQ@mail.gmail.com
In Reply to: Re: [gentoo-user] sound stopped working [media-sound/pulseaudio-7.1] by Alec Ten Harmsel
1 On Tue, Jan 19, 2016 at 7:10 PM, Alec Ten Harmsel <alec@××××××××××××××.com>
2 wrote:
3
4 > I use pulseaudio without ALSA, for what it's worth. I also don't use VLC
5 > or mplayer.
6 >
7
8 That's interesting. I didn't know one could use pulseaudio with ALSA left
9 out.
10
11 I set the global USE flag to '-alsa' in '/etc/portage/make.conf' and ran
12 'emerge -aU' to see what would be pulled in/unmerged. Here's a list of
13 packages emerge wanted to pull in:
14 Calculating dependencies . ... .... done!
15 [ebuild N ] media-plugins/gst-plugins-x-0.10.36-r1
16 [ebuild N ] media-plugins/gst-plugins-xvideo-0.10.36-r1
17 [ebuild N ] media-plugins/gst-plugins-vorbis-0.10.36-r1
18 [ebuild N ] media-plugins/gst-plugins-ogg-0.10.36-r1
19 [ebuild N ] media-libs/gst-plugins-bad-0.10.23-r2 USE="nls orc"
20 [ebuild N ] media-libs/faad2-2.7-r3 USE="-digitalradio -static-libs"
21 [ebuild N ] media-sound/cdparanoia-3.10.2-r6 USE="-static-libs"
22 [ebuild R ] net-misc/rdesktop-1.8.3 USE="-alsa*"
23 [ebuild N ] media-libs/gst-plugins-ugly-0.10.19-r1 USE="nls orc"
24 [ebuild N ] media-libs/gst-plugins-good-0.10.31-r1 USE="nls orc"
25 [ebuild N ] media-plugins/gst-plugins-resindvd-0.10.23-r1
26 [ebuild N ] media-plugins/gst-plugins-dts-0.10.23-r1 USE="orc"
27 [ebuild N ] media-plugins/gst-plugins-faad-0.10.23-r2
28 [ebuild N ] media-plugins/gst-plugins-xvid-0.10.23-r1
29 [ebuild N ] media-plugins/gst-plugins-cdparanoia-0.10.36-r1
30 [ebuild N ] media-plugins/gst-plugins-a52dec-0.10.19-r1 USE="orc"
31 [ebuild N ] media-plugins/gst-plugins-x264-0.10.19-r1
32 [ebuild N ] media-plugins/gst-plugins-mad-0.10.19-r1
33 [ebuild N ] media-plugins/gst-plugins-flac-0.10.31-r1
34 [ebuild N ] media-plugins/gst-plugins-dvdread-0.10.19-r1
35 [ebuild N ] media-plugins/gst-plugins-pulse-0.10.31-r1
36 [ebuild N ] media-plugins/gst-plugins-ffmpeg-0.10.13_p201211-r5
37 USE="orc -libav"
38 [ebuild N ] media-plugins/gst-plugins-mpeg2dec-0.10.19-r1
39 [ebuild R ] media-video/mplayer-1.2_pre20150214-r1 USE="-alsa*"
40 [ebuild N ] media-plugins/gst-plugins-meta-0.10-r10 USE="X a52 aac
41 cdda dts dvd ffmpeg flac mp3 mpeg ogg pulseaudio vorbis x264 xv xvid -alsa
42 -dv -dvb -http -jack -lame -libass -libvisual -mms -modplug -musepack -opus
43 -oss -taglib -theora -v4l -vcd -vpx -wavpack"
44 [ebuild R ] xfce-extra/xfce4-mixer-4.11.0 USE="-alsa*"
45 [ebuild R ] media-video/vlc-2.2.1-r1 USE="-alsa*"
46
47 Is this what you use, 'media-pugins/gst-plugins'?
48
49
50 >
51 > On Tue, Jan 19, 2016 at 06:33:41PM +0200, Alexander Kapshuk wrote:
52 > > Recently, sound has stopped working on one of my Gentoo systems. I have
53 > > checked the kernel, package and pulseaudio set-ups across all of my
54 > systems
55 > > in an attempt to pin down the problem, but so far to no avail. The sound
56 > > works fine on the other systems I have.
57 >
58 > Are they any changes you just made that may have caused the problem? Do
59 > all the systems have the same configuration?
60 >
61
62 I did not make any changes to alsa, or pulse audio that I'm aware of. Just
63 been pulling in whatever updates portage had for me on a regular bases.
64 Running a 4.4.0-vanilla kernel on all my systems, so that can't be the
65 culprit.
66
67
68 >
69 > >
70 > > Having 'alsa-sink' enabled, generates the following output in
71 > > '/var/log/messages'.
72 > > # grep 'Jan 19.*pulseaudio' /var/log/messages
73 > > Jan 19 17:58:23 box1 pulseaudio[3686]: [pulseaudio] module.c: Failed to
74 > > load module "module-alsa-sink" (argument: ""): initialization failed.
75 > > Jan 19 17:58:23 box1 pulseaudio[3686]: [pulseaudio] main.c: Module load
76 > > failed.
77 > > Jan 19 17:58:23 box1 pulseaudio[3686]: [pulseaudio] main.c: Failed to
78 > > initialize daemon.
79 > > Jan 19 17:58:23 box1 pulseaudio[3638]: [pulseaudio] main.c: Daemon
80 > startup
81 > > failed.
82 > > Jan 19 17:58:23 box1 pulseaudio[3706]: [pulseaudio] module.c: Failed to
83 > > load module "module-alsa-sink" (argument: ""): initialization failed.
84 > > Jan 19 17:58:23 box1 pulseaudio[3706]: [pulseaudio] main.c: Module load
85 > > failed.
86 > > Jan 19 17:58:23 box1 pulseaudio[3706]: [pulseaudio] main.c: Failed to
87 > > initialize daemon.
88 > > Jan 19 17:58:23 box1 pulseaudio[3703]: [pulseaudio] main.c: Daemon
89 > startup
90 > > failed.
91 > > Jan 19 17:58:23 box1 pulseaudio[3719]: [pulseaudio] module.c: Failed to
92 > > load module "module-alsa-sink" (argument: ""): initialization failed.
93 > > Jan 19 17:58:23 box1 pulseaudio[3719]: [pulseaudio] main.c: Module load
94 > > failed.
95 > > Jan 19 17:58:23 box1 pulseaudio[3719]: [pulseaudio] main.c: Failed to
96 > > initialize daemon.
97 > > Jan 19 17:58:23 box1 pulseaudio[3716]: [pulseaudio] main.c: Daemon
98 > startup
99 > > failed.
100 > >
101 > > My sound card details are.
102 > > lspci -k
103 > > ...
104 > > 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
105 > > Controller (rev 02)
106 > > Subsystem: Gigabyte Technology Co., Ltd 82801I (ICH9 Family) HD Audio
107 > > Controller
108 > > Kernel driver in use: snd_hda_intel
109 > > ...
110 >
111 > Have you looked at dmesg and/or any ALSA logs to see why ALSA-related
112 > stuff can't be initialized? Intel hardware and drivers have always
113 > treated me well, so this is strange.
114 >
115
116 '/var/log/dmesg' has this:
117 [ 1.361704] ALSA device list:
118 [ 1.361991] No soundcards found.
119
120 While 'aplay -l | grep HDA' says this:
121 card 1: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
122 card 1: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1
123 Digital]
124
125
126
127 >
128 > Alec
129 >
130 > P.S. Is there a particular reason you are using pulseaudio as a layer
131 > above ALSA? If not, you might just use PA in my opinion.
132 >
133 >
134 I seem to have a number of packages installed on my system that depend on
135 pulseaudio:
136 equery d pulseaudio
137 * These packages depend on pulseaudio:
138 dev-java/icedtea-sound-1.0.1 (>=media-sound/pulseaudio-0.9.11)
139 media-libs/libcanberra-0.30-r5 (pulseaudio ?
140 >=media-sound/pulseaudio-0.9.11[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
141 media-libs/libsdl-1.2.15-r9 (pulseaudio ?
142 >=media-sound/pulseaudio-2.1-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
143 media-libs/openal-1.15.1-r2 (pulseaudio ?
144 >=media-sound/pulseaudio-2.1-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
145 media-plugins/alsa-plugins-1.0.29 (pulseaudio ?
146 >=media-sound/pulseaudio-2.1-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
147 media-sound/mpg123-1.18.1 (pulseaudio ? media-sound/pulseaudio)
148 media-sound/pavucontrol-3.0 (>=media-sound/pulseaudio-3[glib])
149 media-video/ffmpeg-2.6.3 (pulseaudio ?
150 >=media-sound/pulseaudio-2.1-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?])
151 media-video/mplayer-1.2_pre20150214-r1 (pulseaudio ? media-sound/pulseaudio)
152 media-video/vlc-2.2.1-r1 (pulseaudio ? >=media-sound/pulseaudio-1:0)
153 net-im/skype-4.3.0.37 (media-sound/pulseaudio)
154 www-client/firefox-38.5.0 (pulseaudio ? media-sound/pulseaudio)
155 xfce-extra/xfce4-volumed-pulse-0.2.0 (>=media-sound/pulseaudio-0.9.19[glib])
156
157 Thanks for your reply. I'll keep on looking.

Replies

Subject Author
Re: [gentoo-user] sound stopped working [media-sound/pulseaudio-7.1] Alec Ten Harmsel <alec@××××××××××××××.com>