Description of problem: Sometimes (but not always) I can not hear anything any more, after computer waked up from hibernation. Version-Release number of selected component (if applicable): I am not sure towards which component to report this bug. How reproducible: seldom Steps to Reproduce: 1. hibernate system (maybe with muted sound) 2. wake up 3. try to play some music with exaile - it seems to work, but without any sound Actual results: no sound alsamixer shows "muted" in console though xfce-mixer plugin shows "unmuted" state, i have to unmute manually in alsamixer Expected results: sound available - unmuted Additional info:
Anything in /var/log/pm-suspend.log? Anything in dmesg? Is pulseaudio running before/after the hibernate?
Created attachment 450260 [details] /var/log/pm-suspend.log
There are a lot of entries in dmesg like that: audit: name_count maxed, losing inode data: dev=00:07, inode=XX where XX is a number with five digits. Dunno if that could have something to do with waking up the sound card. But I do not understand what this should have to do with xfce4-mixer not being able to unmute, although I can unmute then with alsamixer in console. [raphael@schlebby /]$ ps aux |grep pulse raphael 2019 1.1 0.2 504140 6860 ? S<sl 19:23 0:08 /usr/bin/pulseaudio --start --log-target=syslog raphael 2391 0.0 0.0 105272 808 pts/0 S+ 19:35 0:00 grep pulse Oh, I found these (maybe helpful) lines with "grep pulse /var/log/messages" ... Sep 27 23:25:15 schlebby pulseaudio[2064]: alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_hda_intel'. Please report this issue to the ALSA developers. Sep 27 23:25:15 schlebby pulseaudio[2064]: alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Yeah, nothing there looks related to me. ;( If you toggle mute/unmute in xfce4-mixer does it start working? If you quit xfce4-mixer (remove from panel, quit), then start it again, does it show the correct state? Finally, can you try quitting it, then running it in a terminal with: xfce4-mixter --gst-debug-level=4 and get it into the odd state and attach the logs? Thanks!
(In reply to comment #4) If you toggle mute/unmute in xfce4-mixer does it start working? --> No. If you quit xfce4-mixer (remove from panel, quit), then start it again, does it show the correct state? --> No. Finally, can you try quitting it, then running it in a terminal with: xfce4-mixter --gst-debug-level=4 and get it into the odd state and attach the logs? I'll attach the log. it is really weird, I tried to unmute and mute again with alsamixer, afterwards started xfce4-mixer and it shows the correct muted state. But not after wake up from hibernation: alsamixer shows muted, xfce4-mixer unmuted.
Created attachment 451485 [details] xfce4-mixter --gst-debug-level=4 2>/tmp/xfce4-mixer.log I ran xfce4-mixter --gst-debug-level=4 2>/tmp/xfce4-mixer.log after waked the system up from hibernation. xfce4-mixer shows the wrong state "unmuted", although alsamixer shows the correct one "muted".
ok, Can you try this: yum remove alsa-plugins-pulseaudio then login see if sound is working. hibernate resume see if things are showing muted?
(In reply to comment #7) Great, it seems to work actually. But I am not quite sure if my issue is fixed for sure by having removed the package.
ok, so, it's looking like an odd pulseaudio issue. Moving over to there.
(In reply to comment #9) The odd thing about it is that xfce4-mixer is not able to unmute, nevertheless it lies unmuted state. Although, it is possible to unmute with alsamixer and I can hear some noise again.
I detected something new which could be helpful for finding the reason for that issue. Since I removed the pulseaudio plugin package, I can now see more than only the one main channel in alsamixer. And I have to unmute both the main channel and the speakers channel to hear something. Maybe xfce4-mixer gets confused of them two channels when pulseaudio is used?
Yeah, without the pulseaudio alsa plugin, you end up just using alsa directly. So, it seems like it's some weird thing where pulse is not unmuting the right channels or isn't exposing the right info to xfce4-mixer. ;(
Actually, it looks for me like an ALSA bug. Recently, I had to unmute "Headphones" channel to hear something through the laptop speakers.
Why is there the fc13 package available for the Fedora14 repository? [root@lokalhorst raphael]# yum search alsa-plugins-pulseaudio Geladene Plugins: langpacks, presto, refresh-packagekit Adding de_DE to language list ======================= Matched: alsa-plugins-pulseaudio ======================= alsa-plugins-pulseaudio.i686 : Alsa to PulseAudio backend alsa-plugins-pulseaudio.x86_64 : Alsa to PulseAudio backend [root@lokalhorst raphael]# uname -r 2.6.35.6-48.fc14.x86_64 Additionally, I get strange errors in exaile with Fedora 14 now. After restarting the whole system, it works again ... I can here some clicking from the speaker when I changed the volume with the mixer and sometimes the sound works again, but not in exaile. This has nothing to do if alsa-plugins-pulseaudio is installed or not.
(In reply to comment #14) [root@lokalhorst raphael]# yum info alsa-plugins-pulseaudio Geladene Plugins: langpacks, presto, refresh-packagekit Adding de_DE to language list Verfügbare Pakete Name : alsa-plugins-pulseaudio Arch : i686 Version : 1.0.22 Release : 1.fc13 Size : 34 k Repo : fedora Summary : Alsa to PulseAudio backend URL : http://www.alsa-project.org/ License : LGPLv2+ Beschreibung : This plugin allows any program that uses the ALSA API to access a : PulseAudio sound daemon. In other words, native ALSA applications : can play and record sound across a network. There are two plugins : in the suite, one for PCM and one for mixer control. Name : alsa-plugins-pulseaudio Arch : x86_64 Version : 1.0.22 Release : 1.fc13 Size : 35 k Repo : fedora Summary : Alsa to PulseAudio backend URL : http://www.alsa-project.org/ License : LGPLv2+ Beschreibung : This plugin allows any program that uses the ALSA API to access a : PulseAudio sound daemon. In other words, native ALSA applications : can play and record sound across a network. There are two plugins : in the suite, one for PCM and one for mixer control.
Last but not least, I would like to mention that there is only one channel (Master) available to control the volume size. Both with and without the plugin installed. With Fedora13, I had several different channels available if the plugin was not installed.
[raphael@lokalhorst /]$ lspci |grep Audio 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
yum remove pulseaudio alsa-plugins-pulseaudio This fixes it. I can now select also HDA Intel (Alsa mixer) as a sound device in xfce's configurations. Are you working on a fix in pulseaudio? I am wondering why there is still the fc13 package for Fedora14, no need to rebuild it?
(In reply to comment #13) > Actually, it looks for me like an ALSA bug. Recently, I had to unmute > "Headphones" channel to hear something through the laptop speakers. This suggests this is a kernel driver problem and incorrect routing information about your driver in the kernel driver. Reassigning.
EOL of Fedora 14. I am not quite sure if this bug is fixed....