Bug 624534 - Processes using ALSA during suspend results in runaway noise upon resume
Summary: Processes using ALSA during suspend results in runaway noise upon resume
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: Sound (show other bugs)
Version: Final
Hardware: i686 openSUSE 11.3
: P5 - None : Critical with 5 votes (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-22 04:05 UTC by Ankleface Wroughtlandmire
Modified: 2012-10-11 08:40 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
alsa-info.sh output (30.90 KB, text/plain)
2010-07-23 14:38 UTC, Ankleface Wroughtlandmire
Details
hwinfo output (611.62 KB, text/plain)
2010-07-23 14:39 UTC, Ankleface Wroughtlandmire
Details

Note You need to log in before you can comment on or make changes to this bug.
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.