[pulseaudio-discuss] gnome-shell hangs, waiting for pulse-audio

Tanu Kaskinen tanuk at iki.fi
Tue Nov 20 02:29:12 PST 2012


On Sat, 2012-11-03 at 23:55 +0100, Henrik /KaarPoSoft wrote:
> On 11/03/12 23:36, Colin Guthrie wrote:
> > 'Twas brillig, and Henrik /KaarPoSoft at 03/11/12 23:07 did gyre and gimble:
> >> On 11/03/12 19:20, Colin Guthrie wrote:
> >>> 'Twas brillig, and Henrik /KaarPoSoft at 10/09/12 21:13 did gyre and
> >>> gimble:
> >>>> Dear all,
> >>>>
> >>>> I am running gnome 3.4 and pulse-audio 2.1.
> >>>>
> >>>> When closing a window, gnome-shell sometimes hangs,
> >>>> waiting for pulse-audio.
> >>>>
> >>>> To reproduce:
> >>>> Open a gnome-terminal, press backspace which produces a nice beep,
> >>>> press the [X] in the window's title-bar.
> >>>> Now the whole desktop is unresponsive (the cursor moves with the mouse,
> >>>> but button presses are ignored).

I can't reproduce this (gnome-shell 3.4.2, pulseaudio 2.99.2).
gnome-terminal windows get closed immediately, even if the sound from
the backspace press hasn't finished yet.

I have noticed that if I run pulseaudio in gdb and the execution pauses,
gnome-shell freezes for a while if it tries to make any sound, but this
probably isn't relevant for your case (other than in the sense that if
my problem would get solved, probably yours would too).

> > As a quick question, how is the x11-bell handled? Are you enabling the
> > module inside PA that does this itself, or is canberra actually
> > generating the bell? If the former, this is likely not the right
> > approach. It's commented out by default in PA and I guess if it does
> > turn out to be the culprit, we should likely look to remove it. However
> > if it is canberra triggered then I guess it becomes a bit more complex.
> I have no clue about x11-bell handling.
> I am trying to install packages as close to upstream as possible.
> How can I peek my system to find out how x11-bell is handled???

"pactl list modules short" will list all loaded modules, and if
module-x11-bell is not listed, then you're fine.

-- 
Tanu



More information about the pulseaudio-discuss mailing list