Summary: | media-sound/pulseaudio-8.0: Sound stopped working after suspend | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Špondr <michal.spondr> |
Component: | [OLD] Unspecified | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | sound |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pavucontrol AFTER sleep
pavucontrol BEFORE sleep |
Description
Michal Špondr
2016-03-01 20:07:40 UTC
This are usually related with kernel updates, did you update your kernel recently? No, I am using linux-4.1.15-gentoo-r1 with date "Jan 23 22:48". It works like this about 1 month I guess. It's also weird I can't restart alsa: /etc/init.d/alsasound restart * WARNING: alsasound is already starting I tried to use older 4.1.12 kernel (it worked before) and it does the same, so I think it's not kernel related. Created attachment 427562 [details]
pavucontrol AFTER sleep
There's only S/PDIF output.
Created attachment 427564 [details]
pavucontrol BEFORE sleep
There's "line out" output and the sound works without problem. This choice disappears after waking up from sleep mode.
$ cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf7310000 irq 28 1 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf7080000 irq 17 Could it be somehow related with nVidia sound output which I don't use? It seems to be Pulseaudio problem. If I kill it directly via pulseaudio -k the sound starts playing. Still not sure why Pulseaudio has such problem after sleep mode. What pulseaudio version are you running? Anyway, I am unsure if it's really a pulseaudio problem, maybe killing it makes sound to start again simply because pulseaudio was the last one getting the sound device before suspending :/ https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#No_sound_after_resume_from_suspend Umm, if this is the case we should likely try to forward this to pulseaudio upstream to finally know what is causing this instead of relying on workaround It's version 8.0. "/usr/bin/pasuspender /bin/true" worked, I had to run pavucontrol after it and the sound started playing. Can you please send this bug to upstream then? https://bugs.freedesktop.org/enter_bug.cgi?product=PulseAudio L:ater, also post the link here to let us track the issue (and also for learning what kind of information we need to ask for this kind of bugs) Thanks I can try to submit it to freedesktop. Sound is working when using previous version pulseaudio-7.1. Please try with pulseaudio-9.0, is still failing please report to upstream and paste the link here to let us track the issue |