[Bug 1039441] New: pulseaudio loses sound
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 Bug ID: 1039441 Summary: pulseaudio loses sound Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Often after resuming from suspend sound is not working. Pulseaudio uses the dummy output and no hardware output is shown as alternative. Another strange thing I noticed is headphones are muted when plugged in. In testing plugging in headphones mutes speaker and unmutes headphones and unplugging does the reverse but the system is in state with headphones plugged and speakers unmuted. I don't know if some timeout fires when the system is suspended or the suspend has nothing to do with it and I just happen to check sound on resume. I have no idea how to debug this. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c1 --- Comment #1 from Takashi Iwai <tiwai@suse.com> --- Hardware details? Also, what about non-pulse usage? Does "aplay -Dsysdefault foo.wav" work? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c2 --- Comment #2 from Michal Suchanek <msuchanek@suse.com> --- I tried some debugging guide after some fiddling I got into a state when pulseaudio was still not working and aplay was failing due to device busy. Unfortunately, I already got the system into working state so I cannot recheck I had the correct device and whatnot. [ 99.893876] snd_hda_codec_idt hdaudioC0D0: autoconfig for 92HD91BXX: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker [ 99.895233] snd_hda_codec_idt hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 99.897002] snd_hda_codec_idt hdaudioC0D0: hp_outs=1 (0xb/0x0/0x0/0x0/0x0) [ 99.898763] snd_hda_codec_idt hdaudioC0D0: mono: mono_out=0x0 [ 99.900496] snd_hda_codec_idt hdaudioC0D0: inputs: [ 99.902160] snd_hda_codec_idt hdaudioC0D0: Internal Mic=0x11 [ 99.903757] snd_hda_codec_idt hdaudioC0D0: Mic=0xc [ 101.250448] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 101.944352] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/input16 [ 101.947239] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input17 [ 101.952980] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input18 [ 101.955128] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input20 aplay -L null Discard all samples (playback) or generate zero samples (capture) default Default ALSA Output (currently PulseAudio Sound Server) sysdefault:CARD=PCH HDA Intel PCH, 92HD91BXX Analog Default Audio Device front:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog Front speakers surround21:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog 2.1 Surround output to Front and Subwoofer speakers surround40:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog 4.0 Surround output to Front and Rear speakers surround41:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog 4.1 Surround output to Front, Rear and Subwoofer speakers surround50:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog 5.0 Surround output to Front, Center and Rear speakers surround51:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers surround71:CARD=PCH,DEV=0 HDA Intel PCH, 92HD91BXX Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers hdmi:CARD=PCH,DEV=0 HDA Intel PCH, HDMI 0 HDMI Audio Output -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c3 --- Comment #3 from Takashi Iwai <tiwai@suse.com> --- (In reply to Michal Suchanek from comment #2)
I tried some debugging guide after some fiddling I got into a state when pulseaudio was still not working and aplay was failing due to device busy.
In that case, you can run like pasuspender -- aplay -Dsysdefault foo.wav If this still gives EBUSY, it means something else is blocking. Check via fuser -v /dev/snd/*.
Unfortunately, I already got the system into working state so I cannot recheck I had the correct device and whatnot.
[ 99.893876] snd_hda_codec_idt hdaudioC0D0: autoconfig for 92HD91BXX: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker ....
Could you give alsa-info.sh output? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c4 Michal Suchanek <msuchanek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(msuchanek@suse.co | |m) | --- Comment #4 from Michal Suchanek <msuchanek@suse.com> --- Created attachment 727295 --> http://bugzilla.opensuse.org/attachment.cgi?id=727295&action=edit alsa-info output -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c5 --- Comment #5 from Takashi Iwai <tiwai@suse.com> --- There seem lots of kernel Oops or warning: [12724.435613] sysfs group 'power' not found for kobject 'event9' ..... [12724.435725] CPU: 0 PID: 3614 Comm: AudioThread Not tainted 4.11.0-2-default #1 ..... [12724.459603] sysfs group 'power' not found for kobject 'input35' ..... [12724.459734] CPU: 0 PID: 3614 Comm: AudioThread Tainted: G W 4.11.0-2-default #1 ..... Could you check the full kernel messages? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c6 --- Comment #6 from Michal Suchanek <msuchanek@suse.com> --- Created attachment 727449 --> http://bugzilla.opensuse.org/attachment.cgi?id=727449&action=edit kernel log -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1039441 http://bugzilla.opensuse.org/show_bug.cgi?id=1039441#c7 --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- Looks like an issue of uvc webcam. [12724.398292] usb 1-1.2: USB disconnect, device number 3 [12724.399781] uvcvideo: Failed to resubmit video URB (-19). [12724.435598] ------------[ cut here ]------------ [12724.435611] WARNING: CPU: 0 PID: 3614 at ../fs/sysfs/group.c:237 device_del+0x129/0x330 [12724.435613] sysfs group 'power' not found for kobject 'event9' .... [12724.435725] CPU: 0 PID: 3614 Comm: AudioThread Not tainted 4.11.0-2-default #1 [12724.435728] Hardware name: Hewlett-Packard HP ProBook 450 G1 Notebook PC/1949, BIOS L76 Ver. 00.43 01/10/2013 [12724.435730] Call Trace: [12724.435751] dump_stack+0x5c/0x7a [12724.435759] __warn+0xbe/0xe0 [12724.435766] warn_slowpath_fmt+0x4b/0x60 [12724.435772] ? kernfs_find_and_get_ns+0x43/0x50 [12724.435775] device_del+0x129/0x330 [12724.435782] evdev_disconnect+0x1e/0x50 [12724.435789] __input_unregister_device+0xad/0x170 [12724.435795] input_unregister_device+0x41/0x70 [12724.435804] uvc_delete+0x15/0x120 [uvcvideo] [12724.435823] device_release+0x2d/0x90 [12724.435828] kobject_release+0x65/0x180 [12724.435840] v4l2_release+0x42/0x70 [videodev] [12724.435847] __fput+0xc7/0x1d0 [12724.435853] task_work_run+0x79/0xa0 [12724.435859] exit_to_usermode_loop+0xa4/0xb0 [12724.435865] syscall_return_slowpath+0x54/0x60 [12724.435872] entry_SYSCALL_64_fastpath+0xab/0xad [12724.435876] ---[ end trace 0604e6fed1b81f89 ]--- [12724.459584] ------------[ cut here ]------------ So it spews multiple warnings due to the sysfs removal. The recent kernel removes sysfs entries recursively, but the driver seems still trying to remove the individual entries that have been already removed. If my guess is correct, it should be merely harmless warnings. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com