Bug 624534

Summary: Processes using ALSA during suspend results in runaway noise upon resume
Product: [openSUSE] openSUSE 11.3 Reporter: Ankleface Wroughtlandmire <bummmm>
Component: SoundAssignee: Takashi Iwai <tiwai>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: psychonaut
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: alsa-info.sh output
hwinfo output

Description Ankleface Wroughtlandmire 2010-07-22 04:05:41 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:2.0b1) Gecko/20100630 Firefox/4.0b1

Hi I'm running openSUSE 11.3 with KDE. When I am listening to music and then suspend the system to RAM (using the KDE suspend framework) without shutting off the music, the process goes crazy upon resuming. It produces a full-volume screeching noise that hangs the whole system, forcing me to hard-power-off with the power button. It appears that mplayer is the program that most consistently results in this runaway noise condition after resuming. This should not happen, as it forces the user to power-off the computer and risks damaging his speakers or his ears, not mention data loss. ALSA should be suspended with the system during suspend.
Thanks!

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Takashi Iwai 2010-07-23 09:52:56 UTC
Which hardware?  Please give alsa-info.sh output.
Comment 2 Ankleface Wroughtlandmire 2010-07-23 14:38:51 UTC
Created attachment 378056 [details]
alsa-info.sh output
Comment 3 Ankleface Wroughtlandmire 2010-07-23 14:39:53 UTC
Created attachment 378058 [details]
hwinfo output
Comment 4 Ankleface Wroughtlandmire 2010-07-23 14:41:04 UTC
Thanks for handling this! I uploaded hwinfo and alsa-info, but basically this is an Acer 4810T Centrino laptop with Intel-everything components.
Comment 5 Takashi Iwai 2010-07-23 14:43:09 UTC
Hm, I myself own Acer 3810T but see no such a problem.  Are you using PulseAudio?
Comment 6 Ankleface Wroughtlandmire 2010-07-23 15:05:35 UTC
No, I don't use PulseAudio. My initial bug report is wrong where it says "Always reproducible".  I should have put "Sometimes".  I use the Clementine music player, which uses gstreamer, and it doesn't seem to cause this runaway noise problem. But playing an MP3 through Smplayer did cause this problem. It could have something to do with the amount of time you leave the system suspended. I usually have this problem with Smplayer after leaving the computer suspended for several hours. It may not be observable by just suspending and immediately resuming.

I remember in openSUSE around 10.3, there was an /etc/sysconfig option for "SUSPEND_MODULES" or something like that, as well as a "SUSPEND_SERVICES" setting for services that had to be stopped during the suspend/resume cycle. I wish these settings were still available in 11.3, I think they would solve the problem.

Thanks for the help, please let me know how to help you fix this.
Comment 7 Ankleface Wroughtlandmire 2010-08-11 05:27:58 UTC
Hi guys, any plans to look into this bug or at least confirm it?
Thanks!
Comment 8 Tristan Miller 2010-09-22 09:46:02 UTC
I had the same problem and reported it as Bug 633484.  Ironically it was happening quite consistently up until the moment I tried to reproduce it for the bug report!  Perhaps some software update I made in the meantime has fixed it.
Comment 9 Takashi Iwai 2012-10-11 08:40:50 UTC
11.3 is EOL.  If the problem still appears on 12.2, please reopen.