Bug 522555

Summary: Pulseaudio eats all the CPU
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: lkundrak, lpoetter, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-11 02:01:20 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: 473303    
Attachments:
Description Flags
dmesg
none
lspci none

Description Nicolas Mailhot 2009-09-10 17:35:40 UTC
Description of problem:

Every few seconds pulseaudio starts eating all the cpu till a killall pulseaudio is done

systems logs overflow with

Sep 10 08:06:24 arekh pulseaudio[2019]: alsa-sink.c: Resume failed, couldn't restore original fragment settings. (Old: 53136/13284, New 58980960/13320)

lines

(as in
# cat /var/log/messages |grep pulseaudio |grep "alsa-sink.c: Resume failed, couldn't restore original fragment settings." |wc -l
282326)

Monday's rawhide was working

Version-Release number of selected component (if applicable):

# uname -a
Linux arekh.okg 2.6.31-2.fc12.x86_64 #1 SMP Thu Sep 10 00:25:40 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

# rpm -q pulseaudio
pulseaudio-0.9.16-14.fc12.x86_64

Comment 1 Nicolas Mailhot 2009-09-10 17:37:00 UTC
Created attachment 360540 [details]
dmesg

Comment 2 Nicolas Mailhot 2009-09-10 17:37:55 UTC
Created attachment 360541 [details]
lspci

Comment 3 Lennart Poettering 2009-09-10 21:08:26 UTC
Hmm, can you figure out which card is the one where suspend fails? Is that the creative card?

Could you please get me a full "pulseaudio -vvvv" output when this happens?

Comment 4 Lennart Poettering 2009-09-10 21:12:02 UTC
Hmm, are you running PA with tsched=0? If you set that to 1, does the fix the prob?

Comment 5 Lennart Poettering 2009-09-10 23:23:31 UTC
Ok, maaged to track this down. Will commit fix shortly.

Comment 6 Lennart Poettering 2009-09-11 02:01:20 UTC
Fix is now building in koji.