Bug 253445
Summary: | Leaving sound device opened is causing lots of wakeups | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | William Lovaton <walovaton> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8 | CC: | bnocera, jreiser, notting, tiagomatos, triage |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | bzcl34nup | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-01-09 04:51:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 204948 |
Description
William Lovaton
2007-08-19 17:32:07 UTC
Mmmm... doing extra investigation I realized that this is caused by esd now being enable by default and not by a kernel module regression. When I disable it in gnome-sound-properties, wake ups go down to normal. This is a problem with the sound system (ALSA). Whenever the device is opened, the hardware will generate interrupts. It's a kernel problem that's unlikely to be fixed. We'll get the fix for free when we switch to using PulseAudio by default. *** Bug 252352 has been marked as a duplicate of this bug. *** note that there are two aspects to this bug: 1) the wakeups caused by "device open but no sound" and 2) keeping/having the device open will prevent power saving from kicking in. I'll agree that 1) is an alsa core issue that alsa should be fixing ideally; but 2) is an esd issue; powersaving (turning off power to the codec and sound chip) kicks in on device closing, and that's the only thing that is right to do, since only "nobody has the device open" can qualify as criterium for this. A couple of things. First, esound doesn't like not being started from the session. See the default esd.conf: # autospawning is not recommended, since it can't really be done # right. If you want your login session to be using a sound daemon, # you should start it from the session controller, not some random # app inside. Secondly, esound isn't the default in F8 anymore (it's been replaced by PulseAudio in F8, along with esound-compat libraries). Finally, Lennart mentioned that Takashi is working on using high-resolution times for ALSA's ring buffer management, which means that we'd be able to not use interrupts on the hardware. So this bug needs to go to PA, or the kernel. As the fixes should happen in the kernel, pushing there. *** Bug 251534 has been marked as a duplicate of this bug. *** Retitling to be more accurate. pushing this to the kernel does not and will not fix the 2nd issue (preventing sound hardware from going to sleep), but I suppose we need to create a second bug for that. Based on the date this bug was created, it appears to have been reported during the development of Fedora 8. In order to refocus our efforts as a project we are changing the version of this bug to '8'. If this bug still exists in rawhide, please change the version back to rawhide. (If you're unable to change the bug's version, add a comment to the bug and someone will change it for you.) Thanks for your help and we apologize for the interruption. The process we're following is outlined here: http://fedoraproject.org/wiki/BugZappers/F9CleanUp We will be following the process here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping to ensure this doesn't happen again. This message is a reminder that Fedora 8 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 8. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 8's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 8 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |